pic32mx440f256h.pp 860 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639
  1. unit pic32mx440f256h;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getw : TBits_32; inline;
  55. procedure setON(thebits : TBits_1); inline;
  56. procedure setSWDTPS(thebits : TBits_5); inline;
  57. procedure setSWDTPS0(thebits : TBits_1); inline;
  58. procedure setSWDTPS1(thebits : TBits_1); inline;
  59. procedure setSWDTPS2(thebits : TBits_1); inline;
  60. procedure setSWDTPS3(thebits : TBits_1); inline;
  61. procedure setSWDTPS4(thebits : TBits_1); inline;
  62. procedure setWDTCLR(thebits : TBits_1); inline;
  63. procedure setWDTPS(thebits : TBits_5); inline;
  64. procedure setWDTPSTA(thebits : TBits_5); inline;
  65. procedure setw(thebits : TBits_32); inline;
  66. public
  67. procedure clearON; inline;
  68. procedure clearSWDTPS0; inline;
  69. procedure clearSWDTPS1; inline;
  70. procedure clearSWDTPS2; inline;
  71. procedure clearSWDTPS3; inline;
  72. procedure clearSWDTPS4; inline;
  73. procedure clearWDTCLR; inline;
  74. procedure setON; inline;
  75. procedure setSWDTPS0; inline;
  76. procedure setSWDTPS1; inline;
  77. procedure setSWDTPS2; inline;
  78. procedure setSWDTPS3; inline;
  79. procedure setSWDTPS4; inline;
  80. procedure setWDTCLR; inline;
  81. property ON : TBits_1 read getON write setON;
  82. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  83. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  84. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  85. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  86. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  87. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  88. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  89. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  90. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  91. property w : TBits_32 read getw write setw;
  92. end;
  93. type
  94. TWDTRegisters = record
  95. WDTCONbits : TWDT_WDTCON;
  96. WDTCON : longWord;
  97. WDTCONCLR : longWord;
  98. WDTCONSET : longWord;
  99. WDTCONINV : longWord;
  100. end;
  101. TRTCC_RTCCON = record
  102. private
  103. function getCAL : TBits_10; inline;
  104. function getHALFSEC : TBits_1; inline;
  105. function getON : TBits_1; inline;
  106. function getRTCCLKON : TBits_1; inline;
  107. function getRTCOE : TBits_1; inline;
  108. function getRTCSYNC : TBits_1; inline;
  109. function getRTCWREN : TBits_1; inline;
  110. function getRTSECSEL : TBits_1; inline;
  111. function getSIDL : TBits_1; inline;
  112. function getw : TBits_32; inline;
  113. procedure setCAL(thebits : TBits_10); inline;
  114. procedure setHALFSEC(thebits : TBits_1); inline;
  115. procedure setON(thebits : TBits_1); inline;
  116. procedure setRTCCLKON(thebits : TBits_1); inline;
  117. procedure setRTCOE(thebits : TBits_1); inline;
  118. procedure setRTCSYNC(thebits : TBits_1); inline;
  119. procedure setRTCWREN(thebits : TBits_1); inline;
  120. procedure setRTSECSEL(thebits : TBits_1); inline;
  121. procedure setSIDL(thebits : TBits_1); inline;
  122. procedure setw(thebits : TBits_32); inline;
  123. public
  124. procedure clearHALFSEC; inline;
  125. procedure clearON; inline;
  126. procedure clearRTCCLKON; inline;
  127. procedure clearRTCOE; inline;
  128. procedure clearRTCSYNC; inline;
  129. procedure clearRTCWREN; inline;
  130. procedure clearRTSECSEL; inline;
  131. procedure clearSIDL; inline;
  132. procedure setHALFSEC; inline;
  133. procedure setON; inline;
  134. procedure setRTCCLKON; inline;
  135. procedure setRTCOE; inline;
  136. procedure setRTCSYNC; inline;
  137. procedure setRTCWREN; inline;
  138. procedure setRTSECSEL; inline;
  139. procedure setSIDL; inline;
  140. property CAL : TBits_10 read getCAL write setCAL;
  141. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  142. property ON : TBits_1 read getON write setON;
  143. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  144. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  145. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  146. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  147. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  148. property SIDL : TBits_1 read getSIDL write setSIDL;
  149. property w : TBits_32 read getw write setw;
  150. end;
  151. TRTCC_RTCALRM = record
  152. private
  153. function getALRMEN : TBits_1; inline;
  154. function getALRMSYNC : TBits_1; inline;
  155. function getAMASK : TBits_4; inline;
  156. function getARPT : TBits_8; inline;
  157. function getCHIME : TBits_1; inline;
  158. function getPIV : TBits_1; inline;
  159. function getw : TBits_32; inline;
  160. procedure setALRMEN(thebits : TBits_1); inline;
  161. procedure setALRMSYNC(thebits : TBits_1); inline;
  162. procedure setAMASK(thebits : TBits_4); inline;
  163. procedure setARPT(thebits : TBits_8); inline;
  164. procedure setCHIME(thebits : TBits_1); inline;
  165. procedure setPIV(thebits : TBits_1); inline;
  166. procedure setw(thebits : TBits_32); inline;
  167. public
  168. procedure clearALRMEN; inline;
  169. procedure clearALRMSYNC; inline;
  170. procedure clearCHIME; inline;
  171. procedure clearPIV; inline;
  172. procedure setALRMEN; inline;
  173. procedure setALRMSYNC; inline;
  174. procedure setCHIME; inline;
  175. procedure setPIV; inline;
  176. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  177. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  178. property AMASK : TBits_4 read getAMASK write setAMASK;
  179. property ARPT : TBits_8 read getARPT write setARPT;
  180. property CHIME : TBits_1 read getCHIME write setCHIME;
  181. property PIV : TBits_1 read getPIV write setPIV;
  182. property w : TBits_32 read getw write setw;
  183. end;
  184. TRTCC_RTCTIME = record
  185. private
  186. function getHR01 : TBits_4; inline;
  187. function getHR10 : TBits_4; inline;
  188. function getMIN01 : TBits_4; inline;
  189. function getMIN10 : TBits_4; inline;
  190. function getSEC01 : TBits_4; inline;
  191. function getSEC10 : TBits_4; inline;
  192. function getw : TBits_32; inline;
  193. procedure setHR01(thebits : TBits_4); inline;
  194. procedure setHR10(thebits : TBits_4); inline;
  195. procedure setMIN01(thebits : TBits_4); inline;
  196. procedure setMIN10(thebits : TBits_4); inline;
  197. procedure setSEC01(thebits : TBits_4); inline;
  198. procedure setSEC10(thebits : TBits_4); inline;
  199. procedure setw(thebits : TBits_32); inline;
  200. public
  201. property HR01 : TBits_4 read getHR01 write setHR01;
  202. property HR10 : TBits_4 read getHR10 write setHR10;
  203. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  204. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  205. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  206. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  207. property w : TBits_32 read getw write setw;
  208. end;
  209. TRTCC_RTCDATE = record
  210. private
  211. function getDAY01 : TBits_4; inline;
  212. function getDAY10 : TBits_4; inline;
  213. function getMONTH01 : TBits_4; inline;
  214. function getMONTH10 : TBits_4; inline;
  215. function getWDAY01 : TBits_4; inline;
  216. function getYEAR01 : TBits_4; inline;
  217. function getYEAR10 : TBits_4; inline;
  218. function getw : TBits_32; inline;
  219. procedure setDAY01(thebits : TBits_4); inline;
  220. procedure setDAY10(thebits : TBits_4); inline;
  221. procedure setMONTH01(thebits : TBits_4); inline;
  222. procedure setMONTH10(thebits : TBits_4); inline;
  223. procedure setWDAY01(thebits : TBits_4); inline;
  224. procedure setYEAR01(thebits : TBits_4); inline;
  225. procedure setYEAR10(thebits : TBits_4); inline;
  226. procedure setw(thebits : TBits_32); inline;
  227. public
  228. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  229. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  230. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  231. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  232. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  233. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  234. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  235. property w : TBits_32 read getw write setw;
  236. end;
  237. TRTCC_ALRMTIME = record
  238. private
  239. function getHR01 : TBits_4; inline;
  240. function getHR10 : TBits_4; inline;
  241. function getMIN01 : TBits_4; inline;
  242. function getMIN10 : TBits_4; inline;
  243. function getSEC01 : TBits_4; inline;
  244. function getSEC10 : TBits_4; inline;
  245. function getw : TBits_32; inline;
  246. procedure setHR01(thebits : TBits_4); inline;
  247. procedure setHR10(thebits : TBits_4); inline;
  248. procedure setMIN01(thebits : TBits_4); inline;
  249. procedure setMIN10(thebits : TBits_4); inline;
  250. procedure setSEC01(thebits : TBits_4); inline;
  251. procedure setSEC10(thebits : TBits_4); inline;
  252. procedure setw(thebits : TBits_32); inline;
  253. public
  254. property HR01 : TBits_4 read getHR01 write setHR01;
  255. property HR10 : TBits_4 read getHR10 write setHR10;
  256. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  257. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  258. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  259. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  260. property w : TBits_32 read getw write setw;
  261. end;
  262. TRTCC_ALRMDATE = record
  263. private
  264. function getDAY01 : TBits_4; inline;
  265. function getDAY10 : TBits_4; inline;
  266. function getMONTH01 : TBits_4; inline;
  267. function getMONTH10 : TBits_4; inline;
  268. function getWDAY01 : TBits_4; inline;
  269. function getw : TBits_32; inline;
  270. procedure setDAY01(thebits : TBits_4); inline;
  271. procedure setDAY10(thebits : TBits_4); inline;
  272. procedure setMONTH01(thebits : TBits_4); inline;
  273. procedure setMONTH10(thebits : TBits_4); inline;
  274. procedure setWDAY01(thebits : TBits_4); inline;
  275. procedure setw(thebits : TBits_32); inline;
  276. public
  277. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  278. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  279. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  280. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  281. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  282. property w : TBits_32 read getw write setw;
  283. end;
  284. type
  285. TRTCCRegisters = record
  286. RTCCONbits : TRTCC_RTCCON;
  287. RTCCON : longWord;
  288. RTCCONCLR : longWord;
  289. RTCCONSET : longWord;
  290. RTCCONINV : longWord;
  291. RTCALRMbits : TRTCC_RTCALRM;
  292. RTCALRM : longWord;
  293. RTCALRMCLR : longWord;
  294. RTCALRMSET : longWord;
  295. RTCALRMINV : longWord;
  296. RTCTIMEbits : TRTCC_RTCTIME;
  297. RTCTIME : longWord;
  298. RTCTIMECLR : longWord;
  299. RTCTIMESET : longWord;
  300. RTCTIMEINV : longWord;
  301. RTCDATEbits : TRTCC_RTCDATE;
  302. RTCDATE : longWord;
  303. RTCDATECLR : longWord;
  304. RTCDATESET : longWord;
  305. RTCDATEINV : longWord;
  306. ALRMTIMEbits : TRTCC_ALRMTIME;
  307. ALRMTIME : longWord;
  308. ALRMTIMECLR : longWord;
  309. ALRMTIMESET : longWord;
  310. ALRMTIMEINV : longWord;
  311. ALRMDATEbits : TRTCC_ALRMDATE;
  312. ALRMDATE : longWord;
  313. ALRMDATECLR : longWord;
  314. ALRMDATESET : longWord;
  315. ALRMDATEINV : longWord;
  316. end;
  317. TTMR1_T1CON = record
  318. private
  319. function getON : TBits_1; inline;
  320. function getSIDL : TBits_1; inline;
  321. function getTCKPS : TBits_2; inline;
  322. function getTCKPS0 : TBits_1; inline;
  323. function getTCKPS1 : TBits_1; inline;
  324. function getTCS : TBits_1; inline;
  325. function getTGATE : TBits_1; inline;
  326. function getTON : TBits_1; inline;
  327. function getTSIDL : TBits_1; inline;
  328. function getTSYNC : TBits_1; inline;
  329. function getTWDIS : TBits_1; inline;
  330. function getTWIP : TBits_1; inline;
  331. function getw : TBits_32; inline;
  332. procedure setON(thebits : TBits_1); inline;
  333. procedure setSIDL(thebits : TBits_1); inline;
  334. procedure setTCKPS(thebits : TBits_2); inline;
  335. procedure setTCKPS0(thebits : TBits_1); inline;
  336. procedure setTCKPS1(thebits : TBits_1); inline;
  337. procedure setTCS(thebits : TBits_1); inline;
  338. procedure setTGATE(thebits : TBits_1); inline;
  339. procedure setTON(thebits : TBits_1); inline;
  340. procedure setTSIDL(thebits : TBits_1); inline;
  341. procedure setTSYNC(thebits : TBits_1); inline;
  342. procedure setTWDIS(thebits : TBits_1); inline;
  343. procedure setTWIP(thebits : TBits_1); inline;
  344. procedure setw(thebits : TBits_32); inline;
  345. public
  346. procedure clearON; inline;
  347. procedure clearSIDL; inline;
  348. procedure clearTCKPS0; inline;
  349. procedure clearTCKPS1; inline;
  350. procedure clearTCS; inline;
  351. procedure clearTGATE; inline;
  352. procedure clearTON; inline;
  353. procedure clearTSIDL; inline;
  354. procedure clearTSYNC; inline;
  355. procedure clearTWDIS; inline;
  356. procedure clearTWIP; inline;
  357. procedure setON; inline;
  358. procedure setSIDL; inline;
  359. procedure setTCKPS0; inline;
  360. procedure setTCKPS1; inline;
  361. procedure setTCS; inline;
  362. procedure setTGATE; inline;
  363. procedure setTON; inline;
  364. procedure setTSIDL; inline;
  365. procedure setTSYNC; inline;
  366. procedure setTWDIS; inline;
  367. procedure setTWIP; inline;
  368. property ON : TBits_1 read getON write setON;
  369. property SIDL : TBits_1 read getSIDL write setSIDL;
  370. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  371. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  372. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  373. property TCS : TBits_1 read getTCS write setTCS;
  374. property TGATE : TBits_1 read getTGATE write setTGATE;
  375. property TON : TBits_1 read getTON write setTON;
  376. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  377. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  378. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  379. property TWIP : TBits_1 read getTWIP write setTWIP;
  380. property w : TBits_32 read getw write setw;
  381. end;
  382. type
  383. TTMR1Registers = record
  384. T1CONbits : TTMR1_T1CON;
  385. T1CON : longWord;
  386. T1CONCLR : longWord;
  387. T1CONSET : longWord;
  388. T1CONINV : longWord;
  389. TMR1 : longWord;
  390. TMR1CLR : longWord;
  391. TMR1SET : longWord;
  392. TMR1INV : longWord;
  393. PR1 : longWord;
  394. PR1CLR : longWord;
  395. PR1SET : longWord;
  396. PR1INV : longWord;
  397. end;
  398. TTMR23_T2CON = record
  399. private
  400. function getON : TBits_1; inline;
  401. function getSIDL : TBits_1; inline;
  402. function getT32 : TBits_1; inline;
  403. function getTCKPS : TBits_3; inline;
  404. function getTCKPS0 : TBits_1; inline;
  405. function getTCKPS1 : TBits_1; inline;
  406. function getTCKPS2 : TBits_1; inline;
  407. function getTCS : TBits_1; inline;
  408. function getTGATE : TBits_1; inline;
  409. function getTON : TBits_1; inline;
  410. function getTSIDL : TBits_1; inline;
  411. function getw : TBits_32; inline;
  412. procedure setON(thebits : TBits_1); inline;
  413. procedure setSIDL(thebits : TBits_1); inline;
  414. procedure setT32(thebits : TBits_1); inline;
  415. procedure setTCKPS(thebits : TBits_3); inline;
  416. procedure setTCKPS0(thebits : TBits_1); inline;
  417. procedure setTCKPS1(thebits : TBits_1); inline;
  418. procedure setTCKPS2(thebits : TBits_1); inline;
  419. procedure setTCS(thebits : TBits_1); inline;
  420. procedure setTGATE(thebits : TBits_1); inline;
  421. procedure setTON(thebits : TBits_1); inline;
  422. procedure setTSIDL(thebits : TBits_1); inline;
  423. procedure setw(thebits : TBits_32); inline;
  424. public
  425. procedure clearON; inline;
  426. procedure clearSIDL; inline;
  427. procedure clearT32; inline;
  428. procedure clearTCKPS0; inline;
  429. procedure clearTCKPS1; inline;
  430. procedure clearTCKPS2; inline;
  431. procedure clearTCS; inline;
  432. procedure clearTGATE; inline;
  433. procedure clearTON; inline;
  434. procedure clearTSIDL; inline;
  435. procedure setON; inline;
  436. procedure setSIDL; inline;
  437. procedure setT32; inline;
  438. procedure setTCKPS0; inline;
  439. procedure setTCKPS1; inline;
  440. procedure setTCKPS2; inline;
  441. procedure setTCS; inline;
  442. procedure setTGATE; inline;
  443. procedure setTON; inline;
  444. procedure setTSIDL; inline;
  445. property ON : TBits_1 read getON write setON;
  446. property SIDL : TBits_1 read getSIDL write setSIDL;
  447. property T32 : TBits_1 read getT32 write setT32;
  448. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  449. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  450. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  451. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  452. property TCS : TBits_1 read getTCS write setTCS;
  453. property TGATE : TBits_1 read getTGATE write setTGATE;
  454. property TON : TBits_1 read getTON write setTON;
  455. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  456. property w : TBits_32 read getw write setw;
  457. end;
  458. type
  459. TTMR23Registers = record
  460. T2CONbits : TTMR23_T2CON;
  461. T2CON : longWord;
  462. T2CONCLR : longWord;
  463. T2CONSET : longWord;
  464. T2CONINV : longWord;
  465. TMR2 : longWord;
  466. TMR2CLR : longWord;
  467. TMR2SET : longWord;
  468. TMR2INV : longWord;
  469. PR2 : longWord;
  470. PR2CLR : longWord;
  471. PR2SET : longWord;
  472. PR2INV : longWord;
  473. end;
  474. TTMR3_T3CON = record
  475. private
  476. function getON : TBits_1; inline;
  477. function getSIDL : TBits_1; inline;
  478. function getTCKPS : TBits_3; inline;
  479. function getTCKPS0 : TBits_1; inline;
  480. function getTCKPS1 : TBits_1; inline;
  481. function getTCKPS2 : TBits_1; inline;
  482. function getTCS : TBits_1; inline;
  483. function getTGATE : TBits_1; inline;
  484. function getTON : TBits_1; inline;
  485. function getTSIDL : TBits_1; inline;
  486. function getw : TBits_32; inline;
  487. procedure setON(thebits : TBits_1); inline;
  488. procedure setSIDL(thebits : TBits_1); inline;
  489. procedure setTCKPS(thebits : TBits_3); inline;
  490. procedure setTCKPS0(thebits : TBits_1); inline;
  491. procedure setTCKPS1(thebits : TBits_1); inline;
  492. procedure setTCKPS2(thebits : TBits_1); inline;
  493. procedure setTCS(thebits : TBits_1); inline;
  494. procedure setTGATE(thebits : TBits_1); inline;
  495. procedure setTON(thebits : TBits_1); inline;
  496. procedure setTSIDL(thebits : TBits_1); inline;
  497. procedure setw(thebits : TBits_32); inline;
  498. public
  499. procedure clearON; inline;
  500. procedure clearSIDL; inline;
  501. procedure clearTCKPS0; inline;
  502. procedure clearTCKPS1; inline;
  503. procedure clearTCKPS2; inline;
  504. procedure clearTCS; inline;
  505. procedure clearTGATE; inline;
  506. procedure clearTON; inline;
  507. procedure clearTSIDL; inline;
  508. procedure setON; inline;
  509. procedure setSIDL; inline;
  510. procedure setTCKPS0; inline;
  511. procedure setTCKPS1; inline;
  512. procedure setTCKPS2; inline;
  513. procedure setTCS; inline;
  514. procedure setTGATE; inline;
  515. procedure setTON; inline;
  516. procedure setTSIDL; inline;
  517. property ON : TBits_1 read getON write setON;
  518. property SIDL : TBits_1 read getSIDL write setSIDL;
  519. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  520. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  521. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  522. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  523. property TCS : TBits_1 read getTCS write setTCS;
  524. property TGATE : TBits_1 read getTGATE write setTGATE;
  525. property TON : TBits_1 read getTON write setTON;
  526. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  527. property w : TBits_32 read getw write setw;
  528. end;
  529. type
  530. TTMR3Registers = record
  531. T3CONbits : TTMR3_T3CON;
  532. T3CON : longWord;
  533. T3CONCLR : longWord;
  534. T3CONSET : longWord;
  535. T3CONINV : longWord;
  536. TMR3 : longWord;
  537. TMR3CLR : longWord;
  538. TMR3SET : longWord;
  539. TMR3INV : longWord;
  540. PR3 : longWord;
  541. PR3CLR : longWord;
  542. PR3SET : longWord;
  543. PR3INV : longWord;
  544. end;
  545. TTMR4_T4CON = record
  546. private
  547. function getON : TBits_1; inline;
  548. function getSIDL : TBits_1; inline;
  549. function getT32 : TBits_1; inline;
  550. function getTCKPS : TBits_3; inline;
  551. function getTCKPS0 : TBits_1; inline;
  552. function getTCKPS1 : TBits_1; inline;
  553. function getTCKPS2 : TBits_1; inline;
  554. function getTCS : TBits_1; inline;
  555. function getTGATE : TBits_1; inline;
  556. function getTON : TBits_1; inline;
  557. function getTSIDL : TBits_1; inline;
  558. function getw : TBits_32; inline;
  559. procedure setON(thebits : TBits_1); inline;
  560. procedure setSIDL(thebits : TBits_1); inline;
  561. procedure setT32(thebits : TBits_1); inline;
  562. procedure setTCKPS(thebits : TBits_3); inline;
  563. procedure setTCKPS0(thebits : TBits_1); inline;
  564. procedure setTCKPS1(thebits : TBits_1); inline;
  565. procedure setTCKPS2(thebits : TBits_1); inline;
  566. procedure setTCS(thebits : TBits_1); inline;
  567. procedure setTGATE(thebits : TBits_1); inline;
  568. procedure setTON(thebits : TBits_1); inline;
  569. procedure setTSIDL(thebits : TBits_1); inline;
  570. procedure setw(thebits : TBits_32); inline;
  571. public
  572. procedure clearON; inline;
  573. procedure clearSIDL; inline;
  574. procedure clearT32; inline;
  575. procedure clearTCKPS0; inline;
  576. procedure clearTCKPS1; inline;
  577. procedure clearTCKPS2; inline;
  578. procedure clearTCS; inline;
  579. procedure clearTGATE; inline;
  580. procedure clearTON; inline;
  581. procedure clearTSIDL; inline;
  582. procedure setON; inline;
  583. procedure setSIDL; inline;
  584. procedure setT32; inline;
  585. procedure setTCKPS0; inline;
  586. procedure setTCKPS1; inline;
  587. procedure setTCKPS2; inline;
  588. procedure setTCS; inline;
  589. procedure setTGATE; inline;
  590. procedure setTON; inline;
  591. procedure setTSIDL; inline;
  592. property ON : TBits_1 read getON write setON;
  593. property SIDL : TBits_1 read getSIDL write setSIDL;
  594. property T32 : TBits_1 read getT32 write setT32;
  595. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  596. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  597. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  598. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  599. property TCS : TBits_1 read getTCS write setTCS;
  600. property TGATE : TBits_1 read getTGATE write setTGATE;
  601. property TON : TBits_1 read getTON write setTON;
  602. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  603. property w : TBits_32 read getw write setw;
  604. end;
  605. type
  606. TTMR4Registers = record
  607. T4CONbits : TTMR4_T4CON;
  608. T4CON : longWord;
  609. T4CONCLR : longWord;
  610. T4CONSET : longWord;
  611. T4CONINV : longWord;
  612. TMR4 : longWord;
  613. TMR4CLR : longWord;
  614. TMR4SET : longWord;
  615. TMR4INV : longWord;
  616. PR4 : longWord;
  617. PR4CLR : longWord;
  618. PR4SET : longWord;
  619. PR4INV : longWord;
  620. end;
  621. TTMR5_T5CON = record
  622. private
  623. function getON : TBits_1; inline;
  624. function getSIDL : TBits_1; inline;
  625. function getTCKPS : TBits_3; inline;
  626. function getTCKPS0 : TBits_1; inline;
  627. function getTCKPS1 : TBits_1; inline;
  628. function getTCKPS2 : TBits_1; inline;
  629. function getTCS : TBits_1; inline;
  630. function getTGATE : TBits_1; inline;
  631. function getTON : TBits_1; inline;
  632. function getTSIDL : TBits_1; inline;
  633. function getw : TBits_32; inline;
  634. procedure setON(thebits : TBits_1); inline;
  635. procedure setSIDL(thebits : TBits_1); inline;
  636. procedure setTCKPS(thebits : TBits_3); inline;
  637. procedure setTCKPS0(thebits : TBits_1); inline;
  638. procedure setTCKPS1(thebits : TBits_1); inline;
  639. procedure setTCKPS2(thebits : TBits_1); inline;
  640. procedure setTCS(thebits : TBits_1); inline;
  641. procedure setTGATE(thebits : TBits_1); inline;
  642. procedure setTON(thebits : TBits_1); inline;
  643. procedure setTSIDL(thebits : TBits_1); inline;
  644. procedure setw(thebits : TBits_32); inline;
  645. public
  646. procedure clearON; inline;
  647. procedure clearSIDL; inline;
  648. procedure clearTCKPS0; inline;
  649. procedure clearTCKPS1; inline;
  650. procedure clearTCKPS2; inline;
  651. procedure clearTCS; inline;
  652. procedure clearTGATE; inline;
  653. procedure clearTON; inline;
  654. procedure clearTSIDL; inline;
  655. procedure setON; inline;
  656. procedure setSIDL; inline;
  657. procedure setTCKPS0; inline;
  658. procedure setTCKPS1; inline;
  659. procedure setTCKPS2; inline;
  660. procedure setTCS; inline;
  661. procedure setTGATE; inline;
  662. procedure setTON; inline;
  663. procedure setTSIDL; inline;
  664. property ON : TBits_1 read getON write setON;
  665. property SIDL : TBits_1 read getSIDL write setSIDL;
  666. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  667. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  668. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  669. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  670. property TCS : TBits_1 read getTCS write setTCS;
  671. property TGATE : TBits_1 read getTGATE write setTGATE;
  672. property TON : TBits_1 read getTON write setTON;
  673. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  674. property w : TBits_32 read getw write setw;
  675. end;
  676. type
  677. TTMR5Registers = record
  678. T5CONbits : TTMR5_T5CON;
  679. T5CON : longWord;
  680. T5CONCLR : longWord;
  681. T5CONSET : longWord;
  682. T5CONINV : longWord;
  683. TMR5 : longWord;
  684. TMR5CLR : longWord;
  685. TMR5SET : longWord;
  686. TMR5INV : longWord;
  687. PR5 : longWord;
  688. PR5CLR : longWord;
  689. PR5SET : longWord;
  690. PR5INV : longWord;
  691. end;
  692. TICAP1_IC1CON = record
  693. private
  694. function getC32 : TBits_1; inline;
  695. function getFEDGE : TBits_1; inline;
  696. function getICBNE : TBits_1; inline;
  697. function getICI : TBits_2; inline;
  698. function getICI0 : TBits_1; inline;
  699. function getICI1 : TBits_1; inline;
  700. function getICM : TBits_3; inline;
  701. function getICM0 : TBits_1; inline;
  702. function getICM1 : TBits_1; inline;
  703. function getICM2 : TBits_1; inline;
  704. function getICOV : TBits_1; inline;
  705. function getICSIDL : TBits_1; inline;
  706. function getICTMR : TBits_1; inline;
  707. function getON : TBits_1; inline;
  708. function getSIDL : TBits_1; inline;
  709. function getw : TBits_32; inline;
  710. procedure setC32(thebits : TBits_1); inline;
  711. procedure setFEDGE(thebits : TBits_1); inline;
  712. procedure setICBNE(thebits : TBits_1); inline;
  713. procedure setICI(thebits : TBits_2); inline;
  714. procedure setICI0(thebits : TBits_1); inline;
  715. procedure setICI1(thebits : TBits_1); inline;
  716. procedure setICM(thebits : TBits_3); inline;
  717. procedure setICM0(thebits : TBits_1); inline;
  718. procedure setICM1(thebits : TBits_1); inline;
  719. procedure setICM2(thebits : TBits_1); inline;
  720. procedure setICOV(thebits : TBits_1); inline;
  721. procedure setICSIDL(thebits : TBits_1); inline;
  722. procedure setICTMR(thebits : TBits_1); inline;
  723. procedure setON(thebits : TBits_1); inline;
  724. procedure setSIDL(thebits : TBits_1); inline;
  725. procedure setw(thebits : TBits_32); inline;
  726. public
  727. procedure clearC32; inline;
  728. procedure clearFEDGE; inline;
  729. procedure clearICBNE; inline;
  730. procedure clearICI0; inline;
  731. procedure clearICI1; inline;
  732. procedure clearICM0; inline;
  733. procedure clearICM1; inline;
  734. procedure clearICM2; inline;
  735. procedure clearICOV; inline;
  736. procedure clearICSIDL; inline;
  737. procedure clearICTMR; inline;
  738. procedure clearON; inline;
  739. procedure clearSIDL; inline;
  740. procedure setC32; inline;
  741. procedure setFEDGE; inline;
  742. procedure setICBNE; inline;
  743. procedure setICI0; inline;
  744. procedure setICI1; inline;
  745. procedure setICM0; inline;
  746. procedure setICM1; inline;
  747. procedure setICM2; inline;
  748. procedure setICOV; inline;
  749. procedure setICSIDL; inline;
  750. procedure setICTMR; inline;
  751. procedure setON; inline;
  752. procedure setSIDL; inline;
  753. property C32 : TBits_1 read getC32 write setC32;
  754. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  755. property ICBNE : TBits_1 read getICBNE write setICBNE;
  756. property ICI : TBits_2 read getICI write setICI;
  757. property ICI0 : TBits_1 read getICI0 write setICI0;
  758. property ICI1 : TBits_1 read getICI1 write setICI1;
  759. property ICM : TBits_3 read getICM write setICM;
  760. property ICM0 : TBits_1 read getICM0 write setICM0;
  761. property ICM1 : TBits_1 read getICM1 write setICM1;
  762. property ICM2 : TBits_1 read getICM2 write setICM2;
  763. property ICOV : TBits_1 read getICOV write setICOV;
  764. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  765. property ICTMR : TBits_1 read getICTMR write setICTMR;
  766. property ON : TBits_1 read getON write setON;
  767. property SIDL : TBits_1 read getSIDL write setSIDL;
  768. property w : TBits_32 read getw write setw;
  769. end;
  770. type
  771. TICAP1Registers = record
  772. IC1CONbits : TICAP1_IC1CON;
  773. IC1CON : longWord;
  774. IC1CONCLR : longWord;
  775. IC1CONSET : longWord;
  776. IC1CONINV : longWord;
  777. IC1BUF : longWord;
  778. end;
  779. TICAP2_IC2CON = record
  780. private
  781. function getC32 : TBits_1; inline;
  782. function getFEDGE : TBits_1; inline;
  783. function getICBNE : TBits_1; inline;
  784. function getICI : TBits_2; inline;
  785. function getICI0 : TBits_1; inline;
  786. function getICI1 : TBits_1; inline;
  787. function getICM : TBits_3; inline;
  788. function getICM0 : TBits_1; inline;
  789. function getICM1 : TBits_1; inline;
  790. function getICM2 : TBits_1; inline;
  791. function getICOV : TBits_1; inline;
  792. function getICSIDL : TBits_1; inline;
  793. function getICTMR : TBits_1; inline;
  794. function getON : TBits_1; inline;
  795. function getSIDL : TBits_1; inline;
  796. function getw : TBits_32; inline;
  797. procedure setC32(thebits : TBits_1); inline;
  798. procedure setFEDGE(thebits : TBits_1); inline;
  799. procedure setICBNE(thebits : TBits_1); inline;
  800. procedure setICI(thebits : TBits_2); inline;
  801. procedure setICI0(thebits : TBits_1); inline;
  802. procedure setICI1(thebits : TBits_1); inline;
  803. procedure setICM(thebits : TBits_3); inline;
  804. procedure setICM0(thebits : TBits_1); inline;
  805. procedure setICM1(thebits : TBits_1); inline;
  806. procedure setICM2(thebits : TBits_1); inline;
  807. procedure setICOV(thebits : TBits_1); inline;
  808. procedure setICSIDL(thebits : TBits_1); inline;
  809. procedure setICTMR(thebits : TBits_1); inline;
  810. procedure setON(thebits : TBits_1); inline;
  811. procedure setSIDL(thebits : TBits_1); inline;
  812. procedure setw(thebits : TBits_32); inline;
  813. public
  814. procedure clearC32; inline;
  815. procedure clearFEDGE; inline;
  816. procedure clearICBNE; inline;
  817. procedure clearICI0; inline;
  818. procedure clearICI1; inline;
  819. procedure clearICM0; inline;
  820. procedure clearICM1; inline;
  821. procedure clearICM2; inline;
  822. procedure clearICOV; inline;
  823. procedure clearICSIDL; inline;
  824. procedure clearICTMR; inline;
  825. procedure clearON; inline;
  826. procedure clearSIDL; inline;
  827. procedure setC32; inline;
  828. procedure setFEDGE; inline;
  829. procedure setICBNE; inline;
  830. procedure setICI0; inline;
  831. procedure setICI1; inline;
  832. procedure setICM0; inline;
  833. procedure setICM1; inline;
  834. procedure setICM2; inline;
  835. procedure setICOV; inline;
  836. procedure setICSIDL; inline;
  837. procedure setICTMR; inline;
  838. procedure setON; inline;
  839. procedure setSIDL; inline;
  840. property C32 : TBits_1 read getC32 write setC32;
  841. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  842. property ICBNE : TBits_1 read getICBNE write setICBNE;
  843. property ICI : TBits_2 read getICI write setICI;
  844. property ICI0 : TBits_1 read getICI0 write setICI0;
  845. property ICI1 : TBits_1 read getICI1 write setICI1;
  846. property ICM : TBits_3 read getICM write setICM;
  847. property ICM0 : TBits_1 read getICM0 write setICM0;
  848. property ICM1 : TBits_1 read getICM1 write setICM1;
  849. property ICM2 : TBits_1 read getICM2 write setICM2;
  850. property ICOV : TBits_1 read getICOV write setICOV;
  851. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  852. property ICTMR : TBits_1 read getICTMR write setICTMR;
  853. property ON : TBits_1 read getON write setON;
  854. property SIDL : TBits_1 read getSIDL write setSIDL;
  855. property w : TBits_32 read getw write setw;
  856. end;
  857. type
  858. TICAP2Registers = record
  859. IC2CONbits : TICAP2_IC2CON;
  860. IC2CON : longWord;
  861. IC2CONCLR : longWord;
  862. IC2CONSET : longWord;
  863. IC2CONINV : longWord;
  864. IC2BUF : longWord;
  865. end;
  866. TICAP3_IC3CON = record
  867. private
  868. function getC32 : TBits_1; inline;
  869. function getFEDGE : TBits_1; inline;
  870. function getICBNE : TBits_1; inline;
  871. function getICI : TBits_2; inline;
  872. function getICI0 : TBits_1; inline;
  873. function getICI1 : TBits_1; inline;
  874. function getICM : TBits_3; inline;
  875. function getICM0 : TBits_1; inline;
  876. function getICM1 : TBits_1; inline;
  877. function getICM2 : TBits_1; inline;
  878. function getICOV : TBits_1; inline;
  879. function getICSIDL : TBits_1; inline;
  880. function getICTMR : TBits_1; inline;
  881. function getON : TBits_1; inline;
  882. function getSIDL : TBits_1; inline;
  883. function getw : TBits_32; inline;
  884. procedure setC32(thebits : TBits_1); inline;
  885. procedure setFEDGE(thebits : TBits_1); inline;
  886. procedure setICBNE(thebits : TBits_1); inline;
  887. procedure setICI(thebits : TBits_2); inline;
  888. procedure setICI0(thebits : TBits_1); inline;
  889. procedure setICI1(thebits : TBits_1); inline;
  890. procedure setICM(thebits : TBits_3); inline;
  891. procedure setICM0(thebits : TBits_1); inline;
  892. procedure setICM1(thebits : TBits_1); inline;
  893. procedure setICM2(thebits : TBits_1); inline;
  894. procedure setICOV(thebits : TBits_1); inline;
  895. procedure setICSIDL(thebits : TBits_1); inline;
  896. procedure setICTMR(thebits : TBits_1); inline;
  897. procedure setON(thebits : TBits_1); inline;
  898. procedure setSIDL(thebits : TBits_1); inline;
  899. procedure setw(thebits : TBits_32); inline;
  900. public
  901. procedure clearC32; inline;
  902. procedure clearFEDGE; inline;
  903. procedure clearICBNE; inline;
  904. procedure clearICI0; inline;
  905. procedure clearICI1; inline;
  906. procedure clearICM0; inline;
  907. procedure clearICM1; inline;
  908. procedure clearICM2; inline;
  909. procedure clearICOV; inline;
  910. procedure clearICSIDL; inline;
  911. procedure clearICTMR; inline;
  912. procedure clearON; inline;
  913. procedure clearSIDL; inline;
  914. procedure setC32; inline;
  915. procedure setFEDGE; inline;
  916. procedure setICBNE; inline;
  917. procedure setICI0; inline;
  918. procedure setICI1; inline;
  919. procedure setICM0; inline;
  920. procedure setICM1; inline;
  921. procedure setICM2; inline;
  922. procedure setICOV; inline;
  923. procedure setICSIDL; inline;
  924. procedure setICTMR; inline;
  925. procedure setON; inline;
  926. procedure setSIDL; inline;
  927. property C32 : TBits_1 read getC32 write setC32;
  928. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  929. property ICBNE : TBits_1 read getICBNE write setICBNE;
  930. property ICI : TBits_2 read getICI write setICI;
  931. property ICI0 : TBits_1 read getICI0 write setICI0;
  932. property ICI1 : TBits_1 read getICI1 write setICI1;
  933. property ICM : TBits_3 read getICM write setICM;
  934. property ICM0 : TBits_1 read getICM0 write setICM0;
  935. property ICM1 : TBits_1 read getICM1 write setICM1;
  936. property ICM2 : TBits_1 read getICM2 write setICM2;
  937. property ICOV : TBits_1 read getICOV write setICOV;
  938. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  939. property ICTMR : TBits_1 read getICTMR write setICTMR;
  940. property ON : TBits_1 read getON write setON;
  941. property SIDL : TBits_1 read getSIDL write setSIDL;
  942. property w : TBits_32 read getw write setw;
  943. end;
  944. type
  945. TICAP3Registers = record
  946. IC3CONbits : TICAP3_IC3CON;
  947. IC3CON : longWord;
  948. IC3CONCLR : longWord;
  949. IC3CONSET : longWord;
  950. IC3CONINV : longWord;
  951. IC3BUF : longWord;
  952. end;
  953. TICAP4_IC4CON = record
  954. private
  955. function getC32 : TBits_1; inline;
  956. function getFEDGE : TBits_1; inline;
  957. function getICBNE : TBits_1; inline;
  958. function getICI : TBits_2; inline;
  959. function getICI0 : TBits_1; inline;
  960. function getICI1 : TBits_1; inline;
  961. function getICM : TBits_3; inline;
  962. function getICM0 : TBits_1; inline;
  963. function getICM1 : TBits_1; inline;
  964. function getICM2 : TBits_1; inline;
  965. function getICOV : TBits_1; inline;
  966. function getICSIDL : TBits_1; inline;
  967. function getICTMR : TBits_1; inline;
  968. function getON : TBits_1; inline;
  969. function getSIDL : TBits_1; inline;
  970. function getw : TBits_32; inline;
  971. procedure setC32(thebits : TBits_1); inline;
  972. procedure setFEDGE(thebits : TBits_1); inline;
  973. procedure setICBNE(thebits : TBits_1); inline;
  974. procedure setICI(thebits : TBits_2); inline;
  975. procedure setICI0(thebits : TBits_1); inline;
  976. procedure setICI1(thebits : TBits_1); inline;
  977. procedure setICM(thebits : TBits_3); inline;
  978. procedure setICM0(thebits : TBits_1); inline;
  979. procedure setICM1(thebits : TBits_1); inline;
  980. procedure setICM2(thebits : TBits_1); inline;
  981. procedure setICOV(thebits : TBits_1); inline;
  982. procedure setICSIDL(thebits : TBits_1); inline;
  983. procedure setICTMR(thebits : TBits_1); inline;
  984. procedure setON(thebits : TBits_1); inline;
  985. procedure setSIDL(thebits : TBits_1); inline;
  986. procedure setw(thebits : TBits_32); inline;
  987. public
  988. procedure clearC32; inline;
  989. procedure clearFEDGE; inline;
  990. procedure clearICBNE; inline;
  991. procedure clearICI0; inline;
  992. procedure clearICI1; inline;
  993. procedure clearICM0; inline;
  994. procedure clearICM1; inline;
  995. procedure clearICM2; inline;
  996. procedure clearICOV; inline;
  997. procedure clearICSIDL; inline;
  998. procedure clearICTMR; inline;
  999. procedure clearON; inline;
  1000. procedure clearSIDL; inline;
  1001. procedure setC32; inline;
  1002. procedure setFEDGE; inline;
  1003. procedure setICBNE; inline;
  1004. procedure setICI0; inline;
  1005. procedure setICI1; inline;
  1006. procedure setICM0; inline;
  1007. procedure setICM1; inline;
  1008. procedure setICM2; inline;
  1009. procedure setICOV; inline;
  1010. procedure setICSIDL; inline;
  1011. procedure setICTMR; inline;
  1012. procedure setON; inline;
  1013. procedure setSIDL; inline;
  1014. property C32 : TBits_1 read getC32 write setC32;
  1015. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1016. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1017. property ICI : TBits_2 read getICI write setICI;
  1018. property ICI0 : TBits_1 read getICI0 write setICI0;
  1019. property ICI1 : TBits_1 read getICI1 write setICI1;
  1020. property ICM : TBits_3 read getICM write setICM;
  1021. property ICM0 : TBits_1 read getICM0 write setICM0;
  1022. property ICM1 : TBits_1 read getICM1 write setICM1;
  1023. property ICM2 : TBits_1 read getICM2 write setICM2;
  1024. property ICOV : TBits_1 read getICOV write setICOV;
  1025. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1026. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1027. property ON : TBits_1 read getON write setON;
  1028. property SIDL : TBits_1 read getSIDL write setSIDL;
  1029. property w : TBits_32 read getw write setw;
  1030. end;
  1031. type
  1032. TICAP4Registers = record
  1033. IC4CONbits : TICAP4_IC4CON;
  1034. IC4CON : longWord;
  1035. IC4CONCLR : longWord;
  1036. IC4CONSET : longWord;
  1037. IC4CONINV : longWord;
  1038. IC4BUF : longWord;
  1039. end;
  1040. TICAP5_IC5CON = record
  1041. private
  1042. function getC32 : TBits_1; inline;
  1043. function getFEDGE : TBits_1; inline;
  1044. function getICBNE : TBits_1; inline;
  1045. function getICI : TBits_2; inline;
  1046. function getICI0 : TBits_1; inline;
  1047. function getICI1 : TBits_1; inline;
  1048. function getICM : TBits_3; inline;
  1049. function getICM0 : TBits_1; inline;
  1050. function getICM1 : TBits_1; inline;
  1051. function getICM2 : TBits_1; inline;
  1052. function getICOV : TBits_1; inline;
  1053. function getICSIDL : TBits_1; inline;
  1054. function getICTMR : TBits_1; inline;
  1055. function getON : TBits_1; inline;
  1056. function getSIDL : TBits_1; inline;
  1057. function getw : TBits_32; inline;
  1058. procedure setC32(thebits : TBits_1); inline;
  1059. procedure setFEDGE(thebits : TBits_1); inline;
  1060. procedure setICBNE(thebits : TBits_1); inline;
  1061. procedure setICI(thebits : TBits_2); inline;
  1062. procedure setICI0(thebits : TBits_1); inline;
  1063. procedure setICI1(thebits : TBits_1); inline;
  1064. procedure setICM(thebits : TBits_3); inline;
  1065. procedure setICM0(thebits : TBits_1); inline;
  1066. procedure setICM1(thebits : TBits_1); inline;
  1067. procedure setICM2(thebits : TBits_1); inline;
  1068. procedure setICOV(thebits : TBits_1); inline;
  1069. procedure setICSIDL(thebits : TBits_1); inline;
  1070. procedure setICTMR(thebits : TBits_1); inline;
  1071. procedure setON(thebits : TBits_1); inline;
  1072. procedure setSIDL(thebits : TBits_1); inline;
  1073. procedure setw(thebits : TBits_32); inline;
  1074. public
  1075. procedure clearC32; inline;
  1076. procedure clearFEDGE; inline;
  1077. procedure clearICBNE; inline;
  1078. procedure clearICI0; inline;
  1079. procedure clearICI1; inline;
  1080. procedure clearICM0; inline;
  1081. procedure clearICM1; inline;
  1082. procedure clearICM2; inline;
  1083. procedure clearICOV; inline;
  1084. procedure clearICSIDL; inline;
  1085. procedure clearICTMR; inline;
  1086. procedure clearON; inline;
  1087. procedure clearSIDL; inline;
  1088. procedure setC32; inline;
  1089. procedure setFEDGE; inline;
  1090. procedure setICBNE; inline;
  1091. procedure setICI0; inline;
  1092. procedure setICI1; inline;
  1093. procedure setICM0; inline;
  1094. procedure setICM1; inline;
  1095. procedure setICM2; inline;
  1096. procedure setICOV; inline;
  1097. procedure setICSIDL; inline;
  1098. procedure setICTMR; inline;
  1099. procedure setON; inline;
  1100. procedure setSIDL; inline;
  1101. property C32 : TBits_1 read getC32 write setC32;
  1102. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1103. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1104. property ICI : TBits_2 read getICI write setICI;
  1105. property ICI0 : TBits_1 read getICI0 write setICI0;
  1106. property ICI1 : TBits_1 read getICI1 write setICI1;
  1107. property ICM : TBits_3 read getICM write setICM;
  1108. property ICM0 : TBits_1 read getICM0 write setICM0;
  1109. property ICM1 : TBits_1 read getICM1 write setICM1;
  1110. property ICM2 : TBits_1 read getICM2 write setICM2;
  1111. property ICOV : TBits_1 read getICOV write setICOV;
  1112. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1113. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1114. property ON : TBits_1 read getON write setON;
  1115. property SIDL : TBits_1 read getSIDL write setSIDL;
  1116. property w : TBits_32 read getw write setw;
  1117. end;
  1118. type
  1119. TICAP5Registers = record
  1120. IC5CONbits : TICAP5_IC5CON;
  1121. IC5CON : longWord;
  1122. IC5CONCLR : longWord;
  1123. IC5CONSET : longWord;
  1124. IC5CONINV : longWord;
  1125. IC5BUF : longWord;
  1126. end;
  1127. TOCMP1_OC1CON = record
  1128. private
  1129. function getOC32 : TBits_1; inline;
  1130. function getOCFLT : TBits_1; inline;
  1131. function getOCM : TBits_3; inline;
  1132. function getOCM0 : TBits_1; inline;
  1133. function getOCM1 : TBits_1; inline;
  1134. function getOCM2 : TBits_1; inline;
  1135. function getOCSIDL : TBits_1; inline;
  1136. function getOCTSEL : TBits_1; inline;
  1137. function getON : TBits_1; inline;
  1138. function getSIDL : TBits_1; inline;
  1139. function getw : TBits_32; inline;
  1140. procedure setOC32(thebits : TBits_1); inline;
  1141. procedure setOCFLT(thebits : TBits_1); inline;
  1142. procedure setOCM(thebits : TBits_3); inline;
  1143. procedure setOCM0(thebits : TBits_1); inline;
  1144. procedure setOCM1(thebits : TBits_1); inline;
  1145. procedure setOCM2(thebits : TBits_1); inline;
  1146. procedure setOCSIDL(thebits : TBits_1); inline;
  1147. procedure setOCTSEL(thebits : TBits_1); inline;
  1148. procedure setON(thebits : TBits_1); inline;
  1149. procedure setSIDL(thebits : TBits_1); inline;
  1150. procedure setw(thebits : TBits_32); inline;
  1151. public
  1152. procedure clearOC32; inline;
  1153. procedure clearOCFLT; inline;
  1154. procedure clearOCM0; inline;
  1155. procedure clearOCM1; inline;
  1156. procedure clearOCM2; inline;
  1157. procedure clearOCSIDL; inline;
  1158. procedure clearOCTSEL; inline;
  1159. procedure clearON; inline;
  1160. procedure clearSIDL; inline;
  1161. procedure setOC32; inline;
  1162. procedure setOCFLT; inline;
  1163. procedure setOCM0; inline;
  1164. procedure setOCM1; inline;
  1165. procedure setOCM2; inline;
  1166. procedure setOCSIDL; inline;
  1167. procedure setOCTSEL; inline;
  1168. procedure setON; inline;
  1169. procedure setSIDL; inline;
  1170. property OC32 : TBits_1 read getOC32 write setOC32;
  1171. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1172. property OCM : TBits_3 read getOCM write setOCM;
  1173. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1174. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1175. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1176. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1177. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1178. property ON : TBits_1 read getON write setON;
  1179. property SIDL : TBits_1 read getSIDL write setSIDL;
  1180. property w : TBits_32 read getw write setw;
  1181. end;
  1182. type
  1183. TOCMP1Registers = record
  1184. OC1CONbits : TOCMP1_OC1CON;
  1185. OC1CON : longWord;
  1186. OC1CONCLR : longWord;
  1187. OC1CONSET : longWord;
  1188. OC1CONINV : longWord;
  1189. OC1R : longWord;
  1190. OC1RCLR : longWord;
  1191. OC1RSET : longWord;
  1192. OC1RINV : longWord;
  1193. OC1RS : longWord;
  1194. OC1RSCLR : longWord;
  1195. OC1RSSET : longWord;
  1196. OC1RSINV : longWord;
  1197. end;
  1198. TOCMP2_OC2CON = record
  1199. private
  1200. function getOC32 : TBits_1; inline;
  1201. function getOCFLT : TBits_1; inline;
  1202. function getOCM : TBits_3; inline;
  1203. function getOCM0 : TBits_1; inline;
  1204. function getOCM1 : TBits_1; inline;
  1205. function getOCM2 : TBits_1; inline;
  1206. function getOCSIDL : TBits_1; inline;
  1207. function getOCTSEL : TBits_1; inline;
  1208. function getON : TBits_1; inline;
  1209. function getSIDL : TBits_1; inline;
  1210. function getw : TBits_32; inline;
  1211. procedure setOC32(thebits : TBits_1); inline;
  1212. procedure setOCFLT(thebits : TBits_1); inline;
  1213. procedure setOCM(thebits : TBits_3); inline;
  1214. procedure setOCM0(thebits : TBits_1); inline;
  1215. procedure setOCM1(thebits : TBits_1); inline;
  1216. procedure setOCM2(thebits : TBits_1); inline;
  1217. procedure setOCSIDL(thebits : TBits_1); inline;
  1218. procedure setOCTSEL(thebits : TBits_1); inline;
  1219. procedure setON(thebits : TBits_1); inline;
  1220. procedure setSIDL(thebits : TBits_1); inline;
  1221. procedure setw(thebits : TBits_32); inline;
  1222. public
  1223. procedure clearOC32; inline;
  1224. procedure clearOCFLT; inline;
  1225. procedure clearOCM0; inline;
  1226. procedure clearOCM1; inline;
  1227. procedure clearOCM2; inline;
  1228. procedure clearOCSIDL; inline;
  1229. procedure clearOCTSEL; inline;
  1230. procedure clearON; inline;
  1231. procedure clearSIDL; inline;
  1232. procedure setOC32; inline;
  1233. procedure setOCFLT; inline;
  1234. procedure setOCM0; inline;
  1235. procedure setOCM1; inline;
  1236. procedure setOCM2; inline;
  1237. procedure setOCSIDL; inline;
  1238. procedure setOCTSEL; inline;
  1239. procedure setON; inline;
  1240. procedure setSIDL; inline;
  1241. property OC32 : TBits_1 read getOC32 write setOC32;
  1242. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1243. property OCM : TBits_3 read getOCM write setOCM;
  1244. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1245. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1246. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1247. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1248. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1249. property ON : TBits_1 read getON write setON;
  1250. property SIDL : TBits_1 read getSIDL write setSIDL;
  1251. property w : TBits_32 read getw write setw;
  1252. end;
  1253. type
  1254. TOCMP2Registers = record
  1255. OC2CONbits : TOCMP2_OC2CON;
  1256. OC2CON : longWord;
  1257. OC2CONCLR : longWord;
  1258. OC2CONSET : longWord;
  1259. OC2CONINV : longWord;
  1260. OC2R : longWord;
  1261. OC2RCLR : longWord;
  1262. OC2RSET : longWord;
  1263. OC2RINV : longWord;
  1264. OC2RS : longWord;
  1265. OC2RSCLR : longWord;
  1266. OC2RSSET : longWord;
  1267. OC2RSINV : longWord;
  1268. end;
  1269. TOCMP3_OC3CON = record
  1270. private
  1271. function getOC32 : TBits_1; inline;
  1272. function getOCFLT : TBits_1; inline;
  1273. function getOCM : TBits_3; inline;
  1274. function getOCM0 : TBits_1; inline;
  1275. function getOCM1 : TBits_1; inline;
  1276. function getOCM2 : TBits_1; inline;
  1277. function getOCSIDL : TBits_1; inline;
  1278. function getOCTSEL : TBits_1; inline;
  1279. function getON : TBits_1; inline;
  1280. function getSIDL : TBits_1; inline;
  1281. function getw : TBits_32; inline;
  1282. procedure setOC32(thebits : TBits_1); inline;
  1283. procedure setOCFLT(thebits : TBits_1); inline;
  1284. procedure setOCM(thebits : TBits_3); inline;
  1285. procedure setOCM0(thebits : TBits_1); inline;
  1286. procedure setOCM1(thebits : TBits_1); inline;
  1287. procedure setOCM2(thebits : TBits_1); inline;
  1288. procedure setOCSIDL(thebits : TBits_1); inline;
  1289. procedure setOCTSEL(thebits : TBits_1); inline;
  1290. procedure setON(thebits : TBits_1); inline;
  1291. procedure setSIDL(thebits : TBits_1); inline;
  1292. procedure setw(thebits : TBits_32); inline;
  1293. public
  1294. procedure clearOC32; inline;
  1295. procedure clearOCFLT; inline;
  1296. procedure clearOCM0; inline;
  1297. procedure clearOCM1; inline;
  1298. procedure clearOCM2; inline;
  1299. procedure clearOCSIDL; inline;
  1300. procedure clearOCTSEL; inline;
  1301. procedure clearON; inline;
  1302. procedure clearSIDL; inline;
  1303. procedure setOC32; inline;
  1304. procedure setOCFLT; inline;
  1305. procedure setOCM0; inline;
  1306. procedure setOCM1; inline;
  1307. procedure setOCM2; inline;
  1308. procedure setOCSIDL; inline;
  1309. procedure setOCTSEL; inline;
  1310. procedure setON; inline;
  1311. procedure setSIDL; inline;
  1312. property OC32 : TBits_1 read getOC32 write setOC32;
  1313. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1314. property OCM : TBits_3 read getOCM write setOCM;
  1315. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1316. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1317. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1318. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1319. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1320. property ON : TBits_1 read getON write setON;
  1321. property SIDL : TBits_1 read getSIDL write setSIDL;
  1322. property w : TBits_32 read getw write setw;
  1323. end;
  1324. type
  1325. TOCMP3Registers = record
  1326. OC3CONbits : TOCMP3_OC3CON;
  1327. OC3CON : longWord;
  1328. OC3CONCLR : longWord;
  1329. OC3CONSET : longWord;
  1330. OC3CONINV : longWord;
  1331. OC3R : longWord;
  1332. OC3RCLR : longWord;
  1333. OC3RSET : longWord;
  1334. OC3RINV : longWord;
  1335. OC3RS : longWord;
  1336. OC3RSCLR : longWord;
  1337. OC3RSSET : longWord;
  1338. OC3RSINV : longWord;
  1339. end;
  1340. TOCMP4_OC4CON = record
  1341. private
  1342. function getOC32 : TBits_1; inline;
  1343. function getOCFLT : TBits_1; inline;
  1344. function getOCM : TBits_3; inline;
  1345. function getOCM0 : TBits_1; inline;
  1346. function getOCM1 : TBits_1; inline;
  1347. function getOCM2 : TBits_1; inline;
  1348. function getOCSIDL : TBits_1; inline;
  1349. function getOCTSEL : TBits_1; inline;
  1350. function getON : TBits_1; inline;
  1351. function getSIDL : TBits_1; inline;
  1352. function getw : TBits_32; inline;
  1353. procedure setOC32(thebits : TBits_1); inline;
  1354. procedure setOCFLT(thebits : TBits_1); inline;
  1355. procedure setOCM(thebits : TBits_3); inline;
  1356. procedure setOCM0(thebits : TBits_1); inline;
  1357. procedure setOCM1(thebits : TBits_1); inline;
  1358. procedure setOCM2(thebits : TBits_1); inline;
  1359. procedure setOCSIDL(thebits : TBits_1); inline;
  1360. procedure setOCTSEL(thebits : TBits_1); inline;
  1361. procedure setON(thebits : TBits_1); inline;
  1362. procedure setSIDL(thebits : TBits_1); inline;
  1363. procedure setw(thebits : TBits_32); inline;
  1364. public
  1365. procedure clearOC32; inline;
  1366. procedure clearOCFLT; inline;
  1367. procedure clearOCM0; inline;
  1368. procedure clearOCM1; inline;
  1369. procedure clearOCM2; inline;
  1370. procedure clearOCSIDL; inline;
  1371. procedure clearOCTSEL; inline;
  1372. procedure clearON; inline;
  1373. procedure clearSIDL; inline;
  1374. procedure setOC32; inline;
  1375. procedure setOCFLT; inline;
  1376. procedure setOCM0; inline;
  1377. procedure setOCM1; inline;
  1378. procedure setOCM2; inline;
  1379. procedure setOCSIDL; inline;
  1380. procedure setOCTSEL; inline;
  1381. procedure setON; inline;
  1382. procedure setSIDL; inline;
  1383. property OC32 : TBits_1 read getOC32 write setOC32;
  1384. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1385. property OCM : TBits_3 read getOCM write setOCM;
  1386. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1387. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1388. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1389. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1390. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1391. property ON : TBits_1 read getON write setON;
  1392. property SIDL : TBits_1 read getSIDL write setSIDL;
  1393. property w : TBits_32 read getw write setw;
  1394. end;
  1395. type
  1396. TOCMP4Registers = record
  1397. OC4CONbits : TOCMP4_OC4CON;
  1398. OC4CON : longWord;
  1399. OC4CONCLR : longWord;
  1400. OC4CONSET : longWord;
  1401. OC4CONINV : longWord;
  1402. OC4R : longWord;
  1403. OC4RCLR : longWord;
  1404. OC4RSET : longWord;
  1405. OC4RINV : longWord;
  1406. OC4RS : longWord;
  1407. OC4RSCLR : longWord;
  1408. OC4RSSET : longWord;
  1409. OC4RSINV : longWord;
  1410. end;
  1411. TOCMP5_OC5CON = record
  1412. private
  1413. function getOC32 : TBits_1; inline;
  1414. function getOCFLT : TBits_1; inline;
  1415. function getOCM : TBits_3; inline;
  1416. function getOCM0 : TBits_1; inline;
  1417. function getOCM1 : TBits_1; inline;
  1418. function getOCM2 : TBits_1; inline;
  1419. function getOCSIDL : TBits_1; inline;
  1420. function getOCTSEL : TBits_1; inline;
  1421. function getON : TBits_1; inline;
  1422. function getSIDL : TBits_1; inline;
  1423. function getw : TBits_32; inline;
  1424. procedure setOC32(thebits : TBits_1); inline;
  1425. procedure setOCFLT(thebits : TBits_1); inline;
  1426. procedure setOCM(thebits : TBits_3); inline;
  1427. procedure setOCM0(thebits : TBits_1); inline;
  1428. procedure setOCM1(thebits : TBits_1); inline;
  1429. procedure setOCM2(thebits : TBits_1); inline;
  1430. procedure setOCSIDL(thebits : TBits_1); inline;
  1431. procedure setOCTSEL(thebits : TBits_1); inline;
  1432. procedure setON(thebits : TBits_1); inline;
  1433. procedure setSIDL(thebits : TBits_1); inline;
  1434. procedure setw(thebits : TBits_32); inline;
  1435. public
  1436. procedure clearOC32; inline;
  1437. procedure clearOCFLT; inline;
  1438. procedure clearOCM0; inline;
  1439. procedure clearOCM1; inline;
  1440. procedure clearOCM2; inline;
  1441. procedure clearOCSIDL; inline;
  1442. procedure clearOCTSEL; inline;
  1443. procedure clearON; inline;
  1444. procedure clearSIDL; inline;
  1445. procedure setOC32; inline;
  1446. procedure setOCFLT; inline;
  1447. procedure setOCM0; inline;
  1448. procedure setOCM1; inline;
  1449. procedure setOCM2; inline;
  1450. procedure setOCSIDL; inline;
  1451. procedure setOCTSEL; inline;
  1452. procedure setON; inline;
  1453. procedure setSIDL; inline;
  1454. property OC32 : TBits_1 read getOC32 write setOC32;
  1455. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1456. property OCM : TBits_3 read getOCM write setOCM;
  1457. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1458. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1459. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1460. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1461. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1462. property ON : TBits_1 read getON write setON;
  1463. property SIDL : TBits_1 read getSIDL write setSIDL;
  1464. property w : TBits_32 read getw write setw;
  1465. end;
  1466. type
  1467. TOCMP5Registers = record
  1468. OC5CONbits : TOCMP5_OC5CON;
  1469. OC5CON : longWord;
  1470. OC5CONCLR : longWord;
  1471. OC5CONSET : longWord;
  1472. OC5CONINV : longWord;
  1473. OC5R : longWord;
  1474. OC5RCLR : longWord;
  1475. OC5RSET : longWord;
  1476. OC5RINV : longWord;
  1477. OC5RS : longWord;
  1478. OC5RSCLR : longWord;
  1479. OC5RSSET : longWord;
  1480. OC5RSINV : longWord;
  1481. end;
  1482. TI2C1_I2C1CON = record
  1483. private
  1484. function getA10M : TBits_1; inline;
  1485. function getACKDT : TBits_1; inline;
  1486. function getACKEN : TBits_1; inline;
  1487. function getDISSLW : TBits_1; inline;
  1488. function getGCEN : TBits_1; inline;
  1489. function getI2CEN : TBits_1; inline;
  1490. function getI2CSIDL : TBits_1; inline;
  1491. function getIPMIEN : TBits_1; inline;
  1492. function getON : TBits_1; inline;
  1493. function getPEN : TBits_1; inline;
  1494. function getRCEN : TBits_1; inline;
  1495. function getRSEN : TBits_1; inline;
  1496. function getSCLREL : TBits_1; inline;
  1497. function getSEN : TBits_1; inline;
  1498. function getSIDL : TBits_1; inline;
  1499. function getSMEN : TBits_1; inline;
  1500. function getSTREN : TBits_1; inline;
  1501. function getSTRICT : TBits_1; inline;
  1502. function getw : TBits_32; inline;
  1503. procedure setA10M(thebits : TBits_1); inline;
  1504. procedure setACKDT(thebits : TBits_1); inline;
  1505. procedure setACKEN(thebits : TBits_1); inline;
  1506. procedure setDISSLW(thebits : TBits_1); inline;
  1507. procedure setGCEN(thebits : TBits_1); inline;
  1508. procedure setI2CEN(thebits : TBits_1); inline;
  1509. procedure setI2CSIDL(thebits : TBits_1); inline;
  1510. procedure setIPMIEN(thebits : TBits_1); inline;
  1511. procedure setON(thebits : TBits_1); inline;
  1512. procedure setPEN(thebits : TBits_1); inline;
  1513. procedure setRCEN(thebits : TBits_1); inline;
  1514. procedure setRSEN(thebits : TBits_1); inline;
  1515. procedure setSCLREL(thebits : TBits_1); inline;
  1516. procedure setSEN(thebits : TBits_1); inline;
  1517. procedure setSIDL(thebits : TBits_1); inline;
  1518. procedure setSMEN(thebits : TBits_1); inline;
  1519. procedure setSTREN(thebits : TBits_1); inline;
  1520. procedure setSTRICT(thebits : TBits_1); inline;
  1521. procedure setw(thebits : TBits_32); inline;
  1522. public
  1523. procedure clearA10M; inline;
  1524. procedure clearACKDT; inline;
  1525. procedure clearACKEN; inline;
  1526. procedure clearDISSLW; inline;
  1527. procedure clearGCEN; inline;
  1528. procedure clearI2CEN; inline;
  1529. procedure clearI2CSIDL; inline;
  1530. procedure clearIPMIEN; inline;
  1531. procedure clearON; inline;
  1532. procedure clearPEN; inline;
  1533. procedure clearRCEN; inline;
  1534. procedure clearRSEN; inline;
  1535. procedure clearSCLREL; inline;
  1536. procedure clearSEN; inline;
  1537. procedure clearSIDL; inline;
  1538. procedure clearSMEN; inline;
  1539. procedure clearSTREN; inline;
  1540. procedure clearSTRICT; inline;
  1541. procedure setA10M; inline;
  1542. procedure setACKDT; inline;
  1543. procedure setACKEN; inline;
  1544. procedure setDISSLW; inline;
  1545. procedure setGCEN; inline;
  1546. procedure setI2CEN; inline;
  1547. procedure setI2CSIDL; inline;
  1548. procedure setIPMIEN; inline;
  1549. procedure setON; inline;
  1550. procedure setPEN; inline;
  1551. procedure setRCEN; inline;
  1552. procedure setRSEN; inline;
  1553. procedure setSCLREL; inline;
  1554. procedure setSEN; inline;
  1555. procedure setSIDL; inline;
  1556. procedure setSMEN; inline;
  1557. procedure setSTREN; inline;
  1558. procedure setSTRICT; inline;
  1559. property A10M : TBits_1 read getA10M write setA10M;
  1560. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1561. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1562. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1563. property GCEN : TBits_1 read getGCEN write setGCEN;
  1564. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1565. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1566. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1567. property ON : TBits_1 read getON write setON;
  1568. property PEN : TBits_1 read getPEN write setPEN;
  1569. property RCEN : TBits_1 read getRCEN write setRCEN;
  1570. property RSEN : TBits_1 read getRSEN write setRSEN;
  1571. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1572. property SEN : TBits_1 read getSEN write setSEN;
  1573. property SIDL : TBits_1 read getSIDL write setSIDL;
  1574. property SMEN : TBits_1 read getSMEN write setSMEN;
  1575. property STREN : TBits_1 read getSTREN write setSTREN;
  1576. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1577. property w : TBits_32 read getw write setw;
  1578. end;
  1579. TI2C1_I2C1STAT = record
  1580. private
  1581. function getACKSTAT : TBits_1; inline;
  1582. function getADD10 : TBits_1; inline;
  1583. function getBCL : TBits_1; inline;
  1584. function getD_A : TBits_1; inline;
  1585. function getGCSTAT : TBits_1; inline;
  1586. function getI2COV : TBits_1; inline;
  1587. function getI2CPOV : TBits_1; inline;
  1588. function getIWCOL : TBits_1; inline;
  1589. function getP : TBits_1; inline;
  1590. function getRBF : TBits_1; inline;
  1591. function getR_W : TBits_1; inline;
  1592. function getS : TBits_1; inline;
  1593. function getTBF : TBits_1; inline;
  1594. function getTRSTAT : TBits_1; inline;
  1595. function getw : TBits_32; inline;
  1596. procedure setACKSTAT(thebits : TBits_1); inline;
  1597. procedure setADD10(thebits : TBits_1); inline;
  1598. procedure setBCL(thebits : TBits_1); inline;
  1599. procedure setD_A(thebits : TBits_1); inline;
  1600. procedure setGCSTAT(thebits : TBits_1); inline;
  1601. procedure setI2COV(thebits : TBits_1); inline;
  1602. procedure setI2CPOV(thebits : TBits_1); inline;
  1603. procedure setIWCOL(thebits : TBits_1); inline;
  1604. procedure setP(thebits : TBits_1); inline;
  1605. procedure setRBF(thebits : TBits_1); inline;
  1606. procedure setR_W(thebits : TBits_1); inline;
  1607. procedure setS(thebits : TBits_1); inline;
  1608. procedure setTBF(thebits : TBits_1); inline;
  1609. procedure setTRSTAT(thebits : TBits_1); inline;
  1610. procedure setw(thebits : TBits_32); inline;
  1611. public
  1612. procedure clearACKSTAT; inline;
  1613. procedure clearADD10; inline;
  1614. procedure clearBCL; inline;
  1615. procedure clearD_A; inline;
  1616. procedure clearGCSTAT; inline;
  1617. procedure clearI2COV; inline;
  1618. procedure clearI2CPOV; inline;
  1619. procedure clearIWCOL; inline;
  1620. procedure clearP; inline;
  1621. procedure clearRBF; inline;
  1622. procedure clearR_W; inline;
  1623. procedure clearS; inline;
  1624. procedure clearTBF; inline;
  1625. procedure clearTRSTAT; inline;
  1626. procedure setACKSTAT; inline;
  1627. procedure setADD10; inline;
  1628. procedure setBCL; inline;
  1629. procedure setD_A; inline;
  1630. procedure setGCSTAT; inline;
  1631. procedure setI2COV; inline;
  1632. procedure setI2CPOV; inline;
  1633. procedure setIWCOL; inline;
  1634. procedure setP; inline;
  1635. procedure setRBF; inline;
  1636. procedure setR_W; inline;
  1637. procedure setS; inline;
  1638. procedure setTBF; inline;
  1639. procedure setTRSTAT; inline;
  1640. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1641. property ADD10 : TBits_1 read getADD10 write setADD10;
  1642. property BCL : TBits_1 read getBCL write setBCL;
  1643. property D_A : TBits_1 read getD_A write setD_A;
  1644. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1645. property I2COV : TBits_1 read getI2COV write setI2COV;
  1646. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1647. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1648. property P : TBits_1 read getP write setP;
  1649. property RBF : TBits_1 read getRBF write setRBF;
  1650. property R_W : TBits_1 read getR_W write setR_W;
  1651. property S : TBits_1 read getS write setS;
  1652. property TBF : TBits_1 read getTBF write setTBF;
  1653. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1654. property w : TBits_32 read getw write setw;
  1655. end;
  1656. type
  1657. TI2C1Registers = record
  1658. I2C1CONbits : TI2C1_I2C1CON;
  1659. I2C1CON : longWord;
  1660. I2C1CONCLR : longWord;
  1661. I2C1CONSET : longWord;
  1662. I2C1CONINV : longWord;
  1663. I2C1STATbits : TI2C1_I2C1STAT;
  1664. I2C1STAT : longWord;
  1665. I2C1STATCLR : longWord;
  1666. I2C1STATSET : longWord;
  1667. I2C1STATINV : longWord;
  1668. I2C1ADD : longWord;
  1669. I2C1ADDCLR : longWord;
  1670. I2C1ADDSET : longWord;
  1671. I2C1ADDINV : longWord;
  1672. I2C1MSK : longWord;
  1673. I2C1MSKCLR : longWord;
  1674. I2C1MSKSET : longWord;
  1675. I2C1MSKINV : longWord;
  1676. I2C1BRG : longWord;
  1677. I2C1BRGCLR : longWord;
  1678. I2C1BRGSET : longWord;
  1679. I2C1BRGINV : longWord;
  1680. I2C1TRN : longWord;
  1681. I2C1TRNCLR : longWord;
  1682. I2C1TRNSET : longWord;
  1683. I2C1TRNINV : longWord;
  1684. I2C1RCV : longWord;
  1685. end;
  1686. TI2C2_I2C2CON = record
  1687. private
  1688. function getA10M : TBits_1; inline;
  1689. function getACKDT : TBits_1; inline;
  1690. function getACKEN : TBits_1; inline;
  1691. function getDISSLW : TBits_1; inline;
  1692. function getGCEN : TBits_1; inline;
  1693. function getI2CEN : TBits_1; inline;
  1694. function getI2CSIDL : TBits_1; inline;
  1695. function getIPMIEN : TBits_1; inline;
  1696. function getON : TBits_1; inline;
  1697. function getPEN : TBits_1; inline;
  1698. function getRCEN : TBits_1; inline;
  1699. function getRSEN : TBits_1; inline;
  1700. function getSCLREL : TBits_1; inline;
  1701. function getSEN : TBits_1; inline;
  1702. function getSIDL : TBits_1; inline;
  1703. function getSMEN : TBits_1; inline;
  1704. function getSTREN : TBits_1; inline;
  1705. function getSTRICT : TBits_1; inline;
  1706. function getw : TBits_32; inline;
  1707. procedure setA10M(thebits : TBits_1); inline;
  1708. procedure setACKDT(thebits : TBits_1); inline;
  1709. procedure setACKEN(thebits : TBits_1); inline;
  1710. procedure setDISSLW(thebits : TBits_1); inline;
  1711. procedure setGCEN(thebits : TBits_1); inline;
  1712. procedure setI2CEN(thebits : TBits_1); inline;
  1713. procedure setI2CSIDL(thebits : TBits_1); inline;
  1714. procedure setIPMIEN(thebits : TBits_1); inline;
  1715. procedure setON(thebits : TBits_1); inline;
  1716. procedure setPEN(thebits : TBits_1); inline;
  1717. procedure setRCEN(thebits : TBits_1); inline;
  1718. procedure setRSEN(thebits : TBits_1); inline;
  1719. procedure setSCLREL(thebits : TBits_1); inline;
  1720. procedure setSEN(thebits : TBits_1); inline;
  1721. procedure setSIDL(thebits : TBits_1); inline;
  1722. procedure setSMEN(thebits : TBits_1); inline;
  1723. procedure setSTREN(thebits : TBits_1); inline;
  1724. procedure setSTRICT(thebits : TBits_1); inline;
  1725. procedure setw(thebits : TBits_32); inline;
  1726. public
  1727. procedure clearA10M; inline;
  1728. procedure clearACKDT; inline;
  1729. procedure clearACKEN; inline;
  1730. procedure clearDISSLW; inline;
  1731. procedure clearGCEN; inline;
  1732. procedure clearI2CEN; inline;
  1733. procedure clearI2CSIDL; inline;
  1734. procedure clearIPMIEN; inline;
  1735. procedure clearON; inline;
  1736. procedure clearPEN; inline;
  1737. procedure clearRCEN; inline;
  1738. procedure clearRSEN; inline;
  1739. procedure clearSCLREL; inline;
  1740. procedure clearSEN; inline;
  1741. procedure clearSIDL; inline;
  1742. procedure clearSMEN; inline;
  1743. procedure clearSTREN; inline;
  1744. procedure clearSTRICT; inline;
  1745. procedure setA10M; inline;
  1746. procedure setACKDT; inline;
  1747. procedure setACKEN; inline;
  1748. procedure setDISSLW; inline;
  1749. procedure setGCEN; inline;
  1750. procedure setI2CEN; inline;
  1751. procedure setI2CSIDL; inline;
  1752. procedure setIPMIEN; inline;
  1753. procedure setON; inline;
  1754. procedure setPEN; inline;
  1755. procedure setRCEN; inline;
  1756. procedure setRSEN; inline;
  1757. procedure setSCLREL; inline;
  1758. procedure setSEN; inline;
  1759. procedure setSIDL; inline;
  1760. procedure setSMEN; inline;
  1761. procedure setSTREN; inline;
  1762. procedure setSTRICT; inline;
  1763. property A10M : TBits_1 read getA10M write setA10M;
  1764. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1765. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1766. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1767. property GCEN : TBits_1 read getGCEN write setGCEN;
  1768. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1769. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1770. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1771. property ON : TBits_1 read getON write setON;
  1772. property PEN : TBits_1 read getPEN write setPEN;
  1773. property RCEN : TBits_1 read getRCEN write setRCEN;
  1774. property RSEN : TBits_1 read getRSEN write setRSEN;
  1775. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1776. property SEN : TBits_1 read getSEN write setSEN;
  1777. property SIDL : TBits_1 read getSIDL write setSIDL;
  1778. property SMEN : TBits_1 read getSMEN write setSMEN;
  1779. property STREN : TBits_1 read getSTREN write setSTREN;
  1780. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1781. property w : TBits_32 read getw write setw;
  1782. end;
  1783. TI2C2_I2C2STAT = record
  1784. private
  1785. function getACKSTAT : TBits_1; inline;
  1786. function getADD10 : TBits_1; inline;
  1787. function getBCL : TBits_1; inline;
  1788. function getD_A : TBits_1; inline;
  1789. function getGCSTAT : TBits_1; inline;
  1790. function getI2COV : TBits_1; inline;
  1791. function getI2CPOV : TBits_1; inline;
  1792. function getIWCOL : TBits_1; inline;
  1793. function getP : TBits_1; inline;
  1794. function getRBF : TBits_1; inline;
  1795. function getR_W : TBits_1; inline;
  1796. function getS : TBits_1; inline;
  1797. function getTBF : TBits_1; inline;
  1798. function getTRSTAT : TBits_1; inline;
  1799. function getw : TBits_32; inline;
  1800. procedure setACKSTAT(thebits : TBits_1); inline;
  1801. procedure setADD10(thebits : TBits_1); inline;
  1802. procedure setBCL(thebits : TBits_1); inline;
  1803. procedure setD_A(thebits : TBits_1); inline;
  1804. procedure setGCSTAT(thebits : TBits_1); inline;
  1805. procedure setI2COV(thebits : TBits_1); inline;
  1806. procedure setI2CPOV(thebits : TBits_1); inline;
  1807. procedure setIWCOL(thebits : TBits_1); inline;
  1808. procedure setP(thebits : TBits_1); inline;
  1809. procedure setRBF(thebits : TBits_1); inline;
  1810. procedure setR_W(thebits : TBits_1); inline;
  1811. procedure setS(thebits : TBits_1); inline;
  1812. procedure setTBF(thebits : TBits_1); inline;
  1813. procedure setTRSTAT(thebits : TBits_1); inline;
  1814. procedure setw(thebits : TBits_32); inline;
  1815. public
  1816. procedure clearACKSTAT; inline;
  1817. procedure clearADD10; inline;
  1818. procedure clearBCL; inline;
  1819. procedure clearD_A; inline;
  1820. procedure clearGCSTAT; inline;
  1821. procedure clearI2COV; inline;
  1822. procedure clearI2CPOV; inline;
  1823. procedure clearIWCOL; inline;
  1824. procedure clearP; inline;
  1825. procedure clearRBF; inline;
  1826. procedure clearR_W; inline;
  1827. procedure clearS; inline;
  1828. procedure clearTBF; inline;
  1829. procedure clearTRSTAT; inline;
  1830. procedure setACKSTAT; inline;
  1831. procedure setADD10; inline;
  1832. procedure setBCL; inline;
  1833. procedure setD_A; inline;
  1834. procedure setGCSTAT; inline;
  1835. procedure setI2COV; inline;
  1836. procedure setI2CPOV; inline;
  1837. procedure setIWCOL; inline;
  1838. procedure setP; inline;
  1839. procedure setRBF; inline;
  1840. procedure setR_W; inline;
  1841. procedure setS; inline;
  1842. procedure setTBF; inline;
  1843. procedure setTRSTAT; inline;
  1844. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1845. property ADD10 : TBits_1 read getADD10 write setADD10;
  1846. property BCL : TBits_1 read getBCL write setBCL;
  1847. property D_A : TBits_1 read getD_A write setD_A;
  1848. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1849. property I2COV : TBits_1 read getI2COV write setI2COV;
  1850. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1851. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1852. property P : TBits_1 read getP write setP;
  1853. property RBF : TBits_1 read getRBF write setRBF;
  1854. property R_W : TBits_1 read getR_W write setR_W;
  1855. property S : TBits_1 read getS write setS;
  1856. property TBF : TBits_1 read getTBF write setTBF;
  1857. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1858. property w : TBits_32 read getw write setw;
  1859. end;
  1860. type
  1861. TI2C2Registers = record
  1862. I2C2CONbits : TI2C2_I2C2CON;
  1863. I2C2CON : longWord;
  1864. I2C2CONCLR : longWord;
  1865. I2C2CONSET : longWord;
  1866. I2C2CONINV : longWord;
  1867. I2C2STATbits : TI2C2_I2C2STAT;
  1868. I2C2STAT : longWord;
  1869. I2C2STATCLR : longWord;
  1870. I2C2STATSET : longWord;
  1871. I2C2STATINV : longWord;
  1872. I2C2ADD : longWord;
  1873. I2C2ADDCLR : longWord;
  1874. I2C2ADDSET : longWord;
  1875. I2C2ADDINV : longWord;
  1876. I2C2MSK : longWord;
  1877. I2C2MSKCLR : longWord;
  1878. I2C2MSKSET : longWord;
  1879. I2C2MSKINV : longWord;
  1880. I2C2BRG : longWord;
  1881. I2C2BRGCLR : longWord;
  1882. I2C2BRGSET : longWord;
  1883. I2C2BRGINV : longWord;
  1884. I2C2TRN : longWord;
  1885. I2C2TRNCLR : longWord;
  1886. I2C2TRNSET : longWord;
  1887. I2C2TRNINV : longWord;
  1888. I2C2RCV : longWord;
  1889. end;
  1890. TSPI2_SPI2CON = record
  1891. private
  1892. function getCKE : TBits_1; inline;
  1893. function getCKP : TBits_1; inline;
  1894. function getDISSDO : TBits_1; inline;
  1895. function getFRMEN : TBits_1; inline;
  1896. function getFRMPOL : TBits_1; inline;
  1897. function getFRMSYNC : TBits_1; inline;
  1898. function getMODE16 : TBits_1; inline;
  1899. function getMODE32 : TBits_1; inline;
  1900. function getMSTEN : TBits_1; inline;
  1901. function getON : TBits_1; inline;
  1902. function getSIDL : TBits_1; inline;
  1903. function getSMP : TBits_1; inline;
  1904. function getSPIFE : TBits_1; inline;
  1905. function getSSEN : TBits_1; inline;
  1906. function getw : TBits_32; inline;
  1907. procedure setCKE(thebits : TBits_1); inline;
  1908. procedure setCKP(thebits : TBits_1); inline;
  1909. procedure setDISSDO(thebits : TBits_1); inline;
  1910. procedure setFRMEN(thebits : TBits_1); inline;
  1911. procedure setFRMPOL(thebits : TBits_1); inline;
  1912. procedure setFRMSYNC(thebits : TBits_1); inline;
  1913. procedure setMODE16(thebits : TBits_1); inline;
  1914. procedure setMODE32(thebits : TBits_1); inline;
  1915. procedure setMSTEN(thebits : TBits_1); inline;
  1916. procedure setON(thebits : TBits_1); inline;
  1917. procedure setSIDL(thebits : TBits_1); inline;
  1918. procedure setSMP(thebits : TBits_1); inline;
  1919. procedure setSPIFE(thebits : TBits_1); inline;
  1920. procedure setSSEN(thebits : TBits_1); inline;
  1921. procedure setw(thebits : TBits_32); inline;
  1922. public
  1923. procedure clearCKE; inline;
  1924. procedure clearCKP; inline;
  1925. procedure clearDISSDO; inline;
  1926. procedure clearFRMEN; inline;
  1927. procedure clearFRMPOL; inline;
  1928. procedure clearFRMSYNC; inline;
  1929. procedure clearMODE16; inline;
  1930. procedure clearMODE32; inline;
  1931. procedure clearMSTEN; inline;
  1932. procedure clearON; inline;
  1933. procedure clearSIDL; inline;
  1934. procedure clearSMP; inline;
  1935. procedure clearSPIFE; inline;
  1936. procedure clearSSEN; inline;
  1937. procedure setCKE; inline;
  1938. procedure setCKP; inline;
  1939. procedure setDISSDO; inline;
  1940. procedure setFRMEN; inline;
  1941. procedure setFRMPOL; inline;
  1942. procedure setFRMSYNC; inline;
  1943. procedure setMODE16; inline;
  1944. procedure setMODE32; inline;
  1945. procedure setMSTEN; inline;
  1946. procedure setON; inline;
  1947. procedure setSIDL; inline;
  1948. procedure setSMP; inline;
  1949. procedure setSPIFE; inline;
  1950. procedure setSSEN; inline;
  1951. property CKE : TBits_1 read getCKE write setCKE;
  1952. property CKP : TBits_1 read getCKP write setCKP;
  1953. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  1954. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  1955. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  1956. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  1957. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  1958. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  1959. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  1960. property ON : TBits_1 read getON write setON;
  1961. property SIDL : TBits_1 read getSIDL write setSIDL;
  1962. property SMP : TBits_1 read getSMP write setSMP;
  1963. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  1964. property SSEN : TBits_1 read getSSEN write setSSEN;
  1965. property w : TBits_32 read getw write setw;
  1966. end;
  1967. TSPI2_SPI2STAT = record
  1968. private
  1969. function getSPIBUSY : TBits_1; inline;
  1970. function getSPIRBF : TBits_1; inline;
  1971. function getSPIROV : TBits_1; inline;
  1972. function getSPITBE : TBits_1; inline;
  1973. function getw : TBits_32; inline;
  1974. procedure setSPIBUSY(thebits : TBits_1); inline;
  1975. procedure setSPIRBF(thebits : TBits_1); inline;
  1976. procedure setSPIROV(thebits : TBits_1); inline;
  1977. procedure setSPITBE(thebits : TBits_1); inline;
  1978. procedure setw(thebits : TBits_32); inline;
  1979. public
  1980. procedure clearSPIBUSY; inline;
  1981. procedure clearSPIRBF; inline;
  1982. procedure clearSPIROV; inline;
  1983. procedure clearSPITBE; inline;
  1984. procedure setSPIBUSY; inline;
  1985. procedure setSPIRBF; inline;
  1986. procedure setSPIROV; inline;
  1987. procedure setSPITBE; inline;
  1988. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  1989. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  1990. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  1991. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  1992. property w : TBits_32 read getw write setw;
  1993. end;
  1994. type
  1995. TSPI2Registers = record
  1996. SPI2CONbits : TSPI2_SPI2CON;
  1997. SPI2CON : longWord;
  1998. SPI2CONCLR : longWord;
  1999. SPI2CONSET : longWord;
  2000. SPI2CONINV : longWord;
  2001. SPI2STATbits : TSPI2_SPI2STAT;
  2002. SPI2STAT : longWord;
  2003. SPI2STATCLR : longWord;
  2004. SPI2STATSET : longWord;
  2005. SPI2STATINV : longWord;
  2006. SPI2BUF : longWord;
  2007. SPI2BRG : longWord;
  2008. SPI2BRGCLR : longWord;
  2009. SPI2BRGSET : longWord;
  2010. SPI2BRGINV : longWord;
  2011. end;
  2012. TUART1_U1MODE = record
  2013. private
  2014. function getABAUD : TBits_1; inline;
  2015. function getBRGH : TBits_1; inline;
  2016. function getIREN : TBits_1; inline;
  2017. function getLPBACK : TBits_1; inline;
  2018. function getON : TBits_1; inline;
  2019. function getPDSEL : TBits_2; inline;
  2020. function getPDSEL0 : TBits_1; inline;
  2021. function getPDSEL1 : TBits_1; inline;
  2022. function getRTSMD : TBits_1; inline;
  2023. function getRXINV : TBits_1; inline;
  2024. function getSIDL : TBits_1; inline;
  2025. function getSTSEL : TBits_1; inline;
  2026. function getUARTEN : TBits_1; inline;
  2027. function getUEN : TBits_2; inline;
  2028. function getUEN0 : TBits_1; inline;
  2029. function getUEN1 : TBits_1; inline;
  2030. function getUSIDL : TBits_1; inline;
  2031. function getWAKE : TBits_1; inline;
  2032. function getw : TBits_32; inline;
  2033. procedure setABAUD(thebits : TBits_1); inline;
  2034. procedure setBRGH(thebits : TBits_1); inline;
  2035. procedure setIREN(thebits : TBits_1); inline;
  2036. procedure setLPBACK(thebits : TBits_1); inline;
  2037. procedure setON(thebits : TBits_1); inline;
  2038. procedure setPDSEL(thebits : TBits_2); inline;
  2039. procedure setPDSEL0(thebits : TBits_1); inline;
  2040. procedure setPDSEL1(thebits : TBits_1); inline;
  2041. procedure setRTSMD(thebits : TBits_1); inline;
  2042. procedure setRXINV(thebits : TBits_1); inline;
  2043. procedure setSIDL(thebits : TBits_1); inline;
  2044. procedure setSTSEL(thebits : TBits_1); inline;
  2045. procedure setUARTEN(thebits : TBits_1); inline;
  2046. procedure setUEN(thebits : TBits_2); inline;
  2047. procedure setUEN0(thebits : TBits_1); inline;
  2048. procedure setUEN1(thebits : TBits_1); inline;
  2049. procedure setUSIDL(thebits : TBits_1); inline;
  2050. procedure setWAKE(thebits : TBits_1); inline;
  2051. procedure setw(thebits : TBits_32); inline;
  2052. public
  2053. procedure clearABAUD; inline;
  2054. procedure clearBRGH; inline;
  2055. procedure clearIREN; inline;
  2056. procedure clearLPBACK; inline;
  2057. procedure clearON; inline;
  2058. procedure clearPDSEL0; inline;
  2059. procedure clearPDSEL1; inline;
  2060. procedure clearRTSMD; inline;
  2061. procedure clearRXINV; inline;
  2062. procedure clearSIDL; inline;
  2063. procedure clearSTSEL; inline;
  2064. procedure clearUARTEN; inline;
  2065. procedure clearUEN0; inline;
  2066. procedure clearUEN1; inline;
  2067. procedure clearUSIDL; inline;
  2068. procedure clearWAKE; inline;
  2069. procedure setABAUD; inline;
  2070. procedure setBRGH; inline;
  2071. procedure setIREN; inline;
  2072. procedure setLPBACK; inline;
  2073. procedure setON; inline;
  2074. procedure setPDSEL0; inline;
  2075. procedure setPDSEL1; inline;
  2076. procedure setRTSMD; inline;
  2077. procedure setRXINV; inline;
  2078. procedure setSIDL; inline;
  2079. procedure setSTSEL; inline;
  2080. procedure setUARTEN; inline;
  2081. procedure setUEN0; inline;
  2082. procedure setUEN1; inline;
  2083. procedure setUSIDL; inline;
  2084. procedure setWAKE; inline;
  2085. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2086. property BRGH : TBits_1 read getBRGH write setBRGH;
  2087. property IREN : TBits_1 read getIREN write setIREN;
  2088. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2089. property ON : TBits_1 read getON write setON;
  2090. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2091. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2092. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2093. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2094. property RXINV : TBits_1 read getRXINV write setRXINV;
  2095. property SIDL : TBits_1 read getSIDL write setSIDL;
  2096. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2097. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2098. property UEN : TBits_2 read getUEN write setUEN;
  2099. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2100. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2101. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2102. property WAKE : TBits_1 read getWAKE write setWAKE;
  2103. property w : TBits_32 read getw write setw;
  2104. end;
  2105. TUART1_U1STA = record
  2106. private
  2107. function getADDEN : TBits_1; inline;
  2108. function getADDR : TBits_8; inline;
  2109. function getADM_EN : TBits_1; inline;
  2110. function getFERR : TBits_1; inline;
  2111. function getOERR : TBits_1; inline;
  2112. function getPERR : TBits_1; inline;
  2113. function getRIDLE : TBits_1; inline;
  2114. function getTRMT : TBits_1; inline;
  2115. function getURXDA : TBits_1; inline;
  2116. function getURXEN : TBits_1; inline;
  2117. function getURXISEL : TBits_2; inline;
  2118. function getURXISEL0 : TBits_1; inline;
  2119. function getURXISEL1 : TBits_1; inline;
  2120. function getUTXBF : TBits_1; inline;
  2121. function getUTXBRK : TBits_1; inline;
  2122. function getUTXEN : TBits_1; inline;
  2123. function getUTXINV : TBits_1; inline;
  2124. function getUTXISEL : TBits_2; inline;
  2125. function getUTXISEL0 : TBits_1; inline;
  2126. function getUTXISEL1 : TBits_1; inline;
  2127. function getUTXSEL : TBits_2; inline;
  2128. function getw : TBits_32; inline;
  2129. procedure setADDEN(thebits : TBits_1); inline;
  2130. procedure setADDR(thebits : TBits_8); inline;
  2131. procedure setADM_EN(thebits : TBits_1); inline;
  2132. procedure setFERR(thebits : TBits_1); inline;
  2133. procedure setOERR(thebits : TBits_1); inline;
  2134. procedure setPERR(thebits : TBits_1); inline;
  2135. procedure setRIDLE(thebits : TBits_1); inline;
  2136. procedure setTRMT(thebits : TBits_1); inline;
  2137. procedure setURXDA(thebits : TBits_1); inline;
  2138. procedure setURXEN(thebits : TBits_1); inline;
  2139. procedure setURXISEL(thebits : TBits_2); inline;
  2140. procedure setURXISEL0(thebits : TBits_1); inline;
  2141. procedure setURXISEL1(thebits : TBits_1); inline;
  2142. procedure setUTXBF(thebits : TBits_1); inline;
  2143. procedure setUTXBRK(thebits : TBits_1); inline;
  2144. procedure setUTXEN(thebits : TBits_1); inline;
  2145. procedure setUTXINV(thebits : TBits_1); inline;
  2146. procedure setUTXISEL(thebits : TBits_2); inline;
  2147. procedure setUTXISEL0(thebits : TBits_1); inline;
  2148. procedure setUTXISEL1(thebits : TBits_1); inline;
  2149. procedure setUTXSEL(thebits : TBits_2); inline;
  2150. procedure setw(thebits : TBits_32); inline;
  2151. public
  2152. procedure clearADDEN; inline;
  2153. procedure clearADM_EN; inline;
  2154. procedure clearFERR; inline;
  2155. procedure clearOERR; inline;
  2156. procedure clearPERR; inline;
  2157. procedure clearRIDLE; inline;
  2158. procedure clearTRMT; inline;
  2159. procedure clearURXDA; inline;
  2160. procedure clearURXEN; inline;
  2161. procedure clearURXISEL0; inline;
  2162. procedure clearURXISEL1; inline;
  2163. procedure clearUTXBF; inline;
  2164. procedure clearUTXBRK; inline;
  2165. procedure clearUTXEN; inline;
  2166. procedure clearUTXINV; inline;
  2167. procedure clearUTXISEL0; inline;
  2168. procedure clearUTXISEL1; inline;
  2169. procedure setADDEN; inline;
  2170. procedure setADM_EN; inline;
  2171. procedure setFERR; inline;
  2172. procedure setOERR; inline;
  2173. procedure setPERR; inline;
  2174. procedure setRIDLE; inline;
  2175. procedure setTRMT; inline;
  2176. procedure setURXDA; inline;
  2177. procedure setURXEN; inline;
  2178. procedure setURXISEL0; inline;
  2179. procedure setURXISEL1; inline;
  2180. procedure setUTXBF; inline;
  2181. procedure setUTXBRK; inline;
  2182. procedure setUTXEN; inline;
  2183. procedure setUTXINV; inline;
  2184. procedure setUTXISEL0; inline;
  2185. procedure setUTXISEL1; inline;
  2186. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2187. property ADDR : TBits_8 read getADDR write setADDR;
  2188. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2189. property FERR : TBits_1 read getFERR write setFERR;
  2190. property OERR : TBits_1 read getOERR write setOERR;
  2191. property PERR : TBits_1 read getPERR write setPERR;
  2192. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2193. property TRMT : TBits_1 read getTRMT write setTRMT;
  2194. property URXDA : TBits_1 read getURXDA write setURXDA;
  2195. property URXEN : TBits_1 read getURXEN write setURXEN;
  2196. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2197. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2198. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2199. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2200. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2201. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2202. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2203. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2204. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2205. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2206. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2207. property w : TBits_32 read getw write setw;
  2208. end;
  2209. type
  2210. TUART1Registers = record
  2211. U1MODEbits : TUART1_U1MODE;
  2212. U1MODE : longWord;
  2213. U1MODECLR : longWord;
  2214. U1MODESET : longWord;
  2215. U1MODEINV : longWord;
  2216. U1STAbits : TUART1_U1STA;
  2217. U1STA : longWord;
  2218. U1STACLR : longWord;
  2219. U1STASET : longWord;
  2220. U1STAINV : longWord;
  2221. U1TXREG : longWord;
  2222. U1RXREG : longWord;
  2223. U1BRG : longWord;
  2224. U1BRGCLR : longWord;
  2225. U1BRGSET : longWord;
  2226. U1BRGINV : longWord;
  2227. end;
  2228. TUART2_U2MODE = record
  2229. private
  2230. function getABAUD : TBits_1; inline;
  2231. function getBRGH : TBits_1; inline;
  2232. function getIREN : TBits_1; inline;
  2233. function getLPBACK : TBits_1; inline;
  2234. function getON : TBits_1; inline;
  2235. function getPDSEL : TBits_2; inline;
  2236. function getPDSEL0 : TBits_1; inline;
  2237. function getPDSEL1 : TBits_1; inline;
  2238. function getRTSMD : TBits_1; inline;
  2239. function getRXINV : TBits_1; inline;
  2240. function getSIDL : TBits_1; inline;
  2241. function getSTSEL : TBits_1; inline;
  2242. function getUARTEN : TBits_1; inline;
  2243. function getUEN : TBits_2; inline;
  2244. function getUEN0 : TBits_1; inline;
  2245. function getUEN1 : TBits_1; inline;
  2246. function getUSIDL : TBits_1; inline;
  2247. function getWAKE : TBits_1; inline;
  2248. function getw : TBits_32; inline;
  2249. procedure setABAUD(thebits : TBits_1); inline;
  2250. procedure setBRGH(thebits : TBits_1); inline;
  2251. procedure setIREN(thebits : TBits_1); inline;
  2252. procedure setLPBACK(thebits : TBits_1); inline;
  2253. procedure setON(thebits : TBits_1); inline;
  2254. procedure setPDSEL(thebits : TBits_2); inline;
  2255. procedure setPDSEL0(thebits : TBits_1); inline;
  2256. procedure setPDSEL1(thebits : TBits_1); inline;
  2257. procedure setRTSMD(thebits : TBits_1); inline;
  2258. procedure setRXINV(thebits : TBits_1); inline;
  2259. procedure setSIDL(thebits : TBits_1); inline;
  2260. procedure setSTSEL(thebits : TBits_1); inline;
  2261. procedure setUARTEN(thebits : TBits_1); inline;
  2262. procedure setUEN(thebits : TBits_2); inline;
  2263. procedure setUEN0(thebits : TBits_1); inline;
  2264. procedure setUEN1(thebits : TBits_1); inline;
  2265. procedure setUSIDL(thebits : TBits_1); inline;
  2266. procedure setWAKE(thebits : TBits_1); inline;
  2267. procedure setw(thebits : TBits_32); inline;
  2268. public
  2269. procedure clearABAUD; inline;
  2270. procedure clearBRGH; inline;
  2271. procedure clearIREN; inline;
  2272. procedure clearLPBACK; inline;
  2273. procedure clearON; inline;
  2274. procedure clearPDSEL0; inline;
  2275. procedure clearPDSEL1; inline;
  2276. procedure clearRTSMD; inline;
  2277. procedure clearRXINV; inline;
  2278. procedure clearSIDL; inline;
  2279. procedure clearSTSEL; inline;
  2280. procedure clearUARTEN; inline;
  2281. procedure clearUEN0; inline;
  2282. procedure clearUEN1; inline;
  2283. procedure clearUSIDL; inline;
  2284. procedure clearWAKE; inline;
  2285. procedure setABAUD; inline;
  2286. procedure setBRGH; inline;
  2287. procedure setIREN; inline;
  2288. procedure setLPBACK; inline;
  2289. procedure setON; inline;
  2290. procedure setPDSEL0; inline;
  2291. procedure setPDSEL1; inline;
  2292. procedure setRTSMD; inline;
  2293. procedure setRXINV; inline;
  2294. procedure setSIDL; inline;
  2295. procedure setSTSEL; inline;
  2296. procedure setUARTEN; inline;
  2297. procedure setUEN0; inline;
  2298. procedure setUEN1; inline;
  2299. procedure setUSIDL; inline;
  2300. procedure setWAKE; inline;
  2301. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2302. property BRGH : TBits_1 read getBRGH write setBRGH;
  2303. property IREN : TBits_1 read getIREN write setIREN;
  2304. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2305. property ON : TBits_1 read getON write setON;
  2306. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2307. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2308. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2309. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2310. property RXINV : TBits_1 read getRXINV write setRXINV;
  2311. property SIDL : TBits_1 read getSIDL write setSIDL;
  2312. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2313. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2314. property UEN : TBits_2 read getUEN write setUEN;
  2315. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2316. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2317. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2318. property WAKE : TBits_1 read getWAKE write setWAKE;
  2319. property w : TBits_32 read getw write setw;
  2320. end;
  2321. TUART2_U2STA = record
  2322. private
  2323. function getADDEN : TBits_1; inline;
  2324. function getADDR : TBits_8; inline;
  2325. function getADM_EN : TBits_1; inline;
  2326. function getFERR : TBits_1; inline;
  2327. function getOERR : TBits_1; inline;
  2328. function getPERR : TBits_1; inline;
  2329. function getRIDLE : TBits_1; inline;
  2330. function getTRMT : TBits_1; inline;
  2331. function getURXDA : TBits_1; inline;
  2332. function getURXEN : TBits_1; inline;
  2333. function getURXISEL : TBits_2; inline;
  2334. function getURXISEL0 : TBits_1; inline;
  2335. function getURXISEL1 : TBits_1; inline;
  2336. function getUTXBF : TBits_1; inline;
  2337. function getUTXBRK : TBits_1; inline;
  2338. function getUTXEN : TBits_1; inline;
  2339. function getUTXINV : TBits_1; inline;
  2340. function getUTXISEL : TBits_2; inline;
  2341. function getUTXISEL0 : TBits_1; inline;
  2342. function getUTXISEL1 : TBits_1; inline;
  2343. function getUTXSEL : TBits_2; inline;
  2344. function getw : TBits_32; inline;
  2345. procedure setADDEN(thebits : TBits_1); inline;
  2346. procedure setADDR(thebits : TBits_8); inline;
  2347. procedure setADM_EN(thebits : TBits_1); inline;
  2348. procedure setFERR(thebits : TBits_1); inline;
  2349. procedure setOERR(thebits : TBits_1); inline;
  2350. procedure setPERR(thebits : TBits_1); inline;
  2351. procedure setRIDLE(thebits : TBits_1); inline;
  2352. procedure setTRMT(thebits : TBits_1); inline;
  2353. procedure setURXDA(thebits : TBits_1); inline;
  2354. procedure setURXEN(thebits : TBits_1); inline;
  2355. procedure setURXISEL(thebits : TBits_2); inline;
  2356. procedure setURXISEL0(thebits : TBits_1); inline;
  2357. procedure setURXISEL1(thebits : TBits_1); inline;
  2358. procedure setUTXBF(thebits : TBits_1); inline;
  2359. procedure setUTXBRK(thebits : TBits_1); inline;
  2360. procedure setUTXEN(thebits : TBits_1); inline;
  2361. procedure setUTXINV(thebits : TBits_1); inline;
  2362. procedure setUTXISEL(thebits : TBits_2); inline;
  2363. procedure setUTXISEL0(thebits : TBits_1); inline;
  2364. procedure setUTXISEL1(thebits : TBits_1); inline;
  2365. procedure setUTXSEL(thebits : TBits_2); inline;
  2366. procedure setw(thebits : TBits_32); inline;
  2367. public
  2368. procedure clearADDEN; inline;
  2369. procedure clearADM_EN; inline;
  2370. procedure clearFERR; inline;
  2371. procedure clearOERR; inline;
  2372. procedure clearPERR; inline;
  2373. procedure clearRIDLE; inline;
  2374. procedure clearTRMT; inline;
  2375. procedure clearURXDA; inline;
  2376. procedure clearURXEN; inline;
  2377. procedure clearURXISEL0; inline;
  2378. procedure clearURXISEL1; inline;
  2379. procedure clearUTXBF; inline;
  2380. procedure clearUTXBRK; inline;
  2381. procedure clearUTXEN; inline;
  2382. procedure clearUTXINV; inline;
  2383. procedure clearUTXISEL0; inline;
  2384. procedure clearUTXISEL1; inline;
  2385. procedure setADDEN; inline;
  2386. procedure setADM_EN; inline;
  2387. procedure setFERR; inline;
  2388. procedure setOERR; inline;
  2389. procedure setPERR; inline;
  2390. procedure setRIDLE; inline;
  2391. procedure setTRMT; inline;
  2392. procedure setURXDA; inline;
  2393. procedure setURXEN; inline;
  2394. procedure setURXISEL0; inline;
  2395. procedure setURXISEL1; inline;
  2396. procedure setUTXBF; inline;
  2397. procedure setUTXBRK; inline;
  2398. procedure setUTXEN; inline;
  2399. procedure setUTXINV; inline;
  2400. procedure setUTXISEL0; inline;
  2401. procedure setUTXISEL1; inline;
  2402. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2403. property ADDR : TBits_8 read getADDR write setADDR;
  2404. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2405. property FERR : TBits_1 read getFERR write setFERR;
  2406. property OERR : TBits_1 read getOERR write setOERR;
  2407. property PERR : TBits_1 read getPERR write setPERR;
  2408. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2409. property TRMT : TBits_1 read getTRMT write setTRMT;
  2410. property URXDA : TBits_1 read getURXDA write setURXDA;
  2411. property URXEN : TBits_1 read getURXEN write setURXEN;
  2412. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2413. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2414. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2415. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2416. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2417. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2418. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2419. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2420. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2421. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2422. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2423. property w : TBits_32 read getw write setw;
  2424. end;
  2425. type
  2426. TUART2Registers = record
  2427. U2MODEbits : TUART2_U2MODE;
  2428. U2MODE : longWord;
  2429. U2MODECLR : longWord;
  2430. U2MODESET : longWord;
  2431. U2MODEINV : longWord;
  2432. U2STAbits : TUART2_U2STA;
  2433. U2STA : longWord;
  2434. U2STACLR : longWord;
  2435. U2STASET : longWord;
  2436. U2STAINV : longWord;
  2437. U2TXREG : longWord;
  2438. U2RXREG : longWord;
  2439. U2BRG : longWord;
  2440. U2BRGCLR : longWord;
  2441. U2BRGSET : longWord;
  2442. U2BRGINV : longWord;
  2443. end;
  2444. TPMP_PMCON = record
  2445. private
  2446. function getADRMUX : TBits_2; inline;
  2447. function getADRMUX0 : TBits_1; inline;
  2448. function getADRMUX1 : TBits_1; inline;
  2449. function getALP : TBits_1; inline;
  2450. function getCS1P : TBits_1; inline;
  2451. function getCS2P : TBits_1; inline;
  2452. function getCSF : TBits_2; inline;
  2453. function getCSF0 : TBits_1; inline;
  2454. function getCSF1 : TBits_1; inline;
  2455. function getON : TBits_1; inline;
  2456. function getPMPEN : TBits_1; inline;
  2457. function getPMPTTL : TBits_1; inline;
  2458. function getPSIDL : TBits_1; inline;
  2459. function getPTRDEN : TBits_1; inline;
  2460. function getPTWREN : TBits_1; inline;
  2461. function getRDSP : TBits_1; inline;
  2462. function getSIDL : TBits_1; inline;
  2463. function getWRSP : TBits_1; inline;
  2464. function getw : TBits_32; inline;
  2465. procedure setADRMUX(thebits : TBits_2); inline;
  2466. procedure setADRMUX0(thebits : TBits_1); inline;
  2467. procedure setADRMUX1(thebits : TBits_1); inline;
  2468. procedure setALP(thebits : TBits_1); inline;
  2469. procedure setCS1P(thebits : TBits_1); inline;
  2470. procedure setCS2P(thebits : TBits_1); inline;
  2471. procedure setCSF(thebits : TBits_2); inline;
  2472. procedure setCSF0(thebits : TBits_1); inline;
  2473. procedure setCSF1(thebits : TBits_1); inline;
  2474. procedure setON(thebits : TBits_1); inline;
  2475. procedure setPMPEN(thebits : TBits_1); inline;
  2476. procedure setPMPTTL(thebits : TBits_1); inline;
  2477. procedure setPSIDL(thebits : TBits_1); inline;
  2478. procedure setPTRDEN(thebits : TBits_1); inline;
  2479. procedure setPTWREN(thebits : TBits_1); inline;
  2480. procedure setRDSP(thebits : TBits_1); inline;
  2481. procedure setSIDL(thebits : TBits_1); inline;
  2482. procedure setWRSP(thebits : TBits_1); inline;
  2483. procedure setw(thebits : TBits_32); inline;
  2484. public
  2485. procedure clearADRMUX0; inline;
  2486. procedure clearADRMUX1; inline;
  2487. procedure clearALP; inline;
  2488. procedure clearCS1P; inline;
  2489. procedure clearCS2P; inline;
  2490. procedure clearCSF0; inline;
  2491. procedure clearCSF1; inline;
  2492. procedure clearON; inline;
  2493. procedure clearPMPEN; inline;
  2494. procedure clearPMPTTL; inline;
  2495. procedure clearPSIDL; inline;
  2496. procedure clearPTRDEN; inline;
  2497. procedure clearPTWREN; inline;
  2498. procedure clearRDSP; inline;
  2499. procedure clearSIDL; inline;
  2500. procedure clearWRSP; inline;
  2501. procedure setADRMUX0; inline;
  2502. procedure setADRMUX1; inline;
  2503. procedure setALP; inline;
  2504. procedure setCS1P; inline;
  2505. procedure setCS2P; inline;
  2506. procedure setCSF0; inline;
  2507. procedure setCSF1; inline;
  2508. procedure setON; inline;
  2509. procedure setPMPEN; inline;
  2510. procedure setPMPTTL; inline;
  2511. procedure setPSIDL; inline;
  2512. procedure setPTRDEN; inline;
  2513. procedure setPTWREN; inline;
  2514. procedure setRDSP; inline;
  2515. procedure setSIDL; inline;
  2516. procedure setWRSP; inline;
  2517. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  2518. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  2519. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  2520. property ALP : TBits_1 read getALP write setALP;
  2521. property CS1P : TBits_1 read getCS1P write setCS1P;
  2522. property CS2P : TBits_1 read getCS2P write setCS2P;
  2523. property CSF : TBits_2 read getCSF write setCSF;
  2524. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  2525. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  2526. property ON : TBits_1 read getON write setON;
  2527. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  2528. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  2529. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  2530. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  2531. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  2532. property RDSP : TBits_1 read getRDSP write setRDSP;
  2533. property SIDL : TBits_1 read getSIDL write setSIDL;
  2534. property WRSP : TBits_1 read getWRSP write setWRSP;
  2535. property w : TBits_32 read getw write setw;
  2536. end;
  2537. TPMP_PMMODE = record
  2538. private
  2539. function getBUSY : TBits_1; inline;
  2540. function getINCM : TBits_2; inline;
  2541. function getINCM0 : TBits_1; inline;
  2542. function getINCM1 : TBits_1; inline;
  2543. function getIRQM : TBits_2; inline;
  2544. function getIRQM0 : TBits_1; inline;
  2545. function getIRQM1 : TBits_1; inline;
  2546. function getMODE : TBits_2; inline;
  2547. function getMODE0 : TBits_1; inline;
  2548. function getMODE1 : TBits_1; inline;
  2549. function getMODE16 : TBits_1; inline;
  2550. function getWAITB : TBits_2; inline;
  2551. function getWAITB0 : TBits_1; inline;
  2552. function getWAITB1 : TBits_1; inline;
  2553. function getWAITE : TBits_2; inline;
  2554. function getWAITE0 : TBits_1; inline;
  2555. function getWAITE1 : TBits_1; inline;
  2556. function getWAITM : TBits_4; inline;
  2557. function getWAITM0 : TBits_1; inline;
  2558. function getWAITM1 : TBits_1; inline;
  2559. function getWAITM2 : TBits_1; inline;
  2560. function getWAITM3 : TBits_1; inline;
  2561. function getw : TBits_32; inline;
  2562. procedure setBUSY(thebits : TBits_1); inline;
  2563. procedure setINCM(thebits : TBits_2); inline;
  2564. procedure setINCM0(thebits : TBits_1); inline;
  2565. procedure setINCM1(thebits : TBits_1); inline;
  2566. procedure setIRQM(thebits : TBits_2); inline;
  2567. procedure setIRQM0(thebits : TBits_1); inline;
  2568. procedure setIRQM1(thebits : TBits_1); inline;
  2569. procedure setMODE(thebits : TBits_2); inline;
  2570. procedure setMODE0(thebits : TBits_1); inline;
  2571. procedure setMODE1(thebits : TBits_1); inline;
  2572. procedure setMODE16(thebits : TBits_1); inline;
  2573. procedure setWAITB(thebits : TBits_2); inline;
  2574. procedure setWAITB0(thebits : TBits_1); inline;
  2575. procedure setWAITB1(thebits : TBits_1); inline;
  2576. procedure setWAITE(thebits : TBits_2); inline;
  2577. procedure setWAITE0(thebits : TBits_1); inline;
  2578. procedure setWAITE1(thebits : TBits_1); inline;
  2579. procedure setWAITM(thebits : TBits_4); inline;
  2580. procedure setWAITM0(thebits : TBits_1); inline;
  2581. procedure setWAITM1(thebits : TBits_1); inline;
  2582. procedure setWAITM2(thebits : TBits_1); inline;
  2583. procedure setWAITM3(thebits : TBits_1); inline;
  2584. procedure setw(thebits : TBits_32); inline;
  2585. public
  2586. procedure clearBUSY; inline;
  2587. procedure clearINCM0; inline;
  2588. procedure clearINCM1; inline;
  2589. procedure clearIRQM0; inline;
  2590. procedure clearIRQM1; inline;
  2591. procedure clearMODE0; inline;
  2592. procedure clearMODE16; inline;
  2593. procedure clearMODE1; inline;
  2594. procedure clearWAITB0; inline;
  2595. procedure clearWAITB1; inline;
  2596. procedure clearWAITE0; inline;
  2597. procedure clearWAITE1; inline;
  2598. procedure clearWAITM0; inline;
  2599. procedure clearWAITM1; inline;
  2600. procedure clearWAITM2; inline;
  2601. procedure clearWAITM3; inline;
  2602. procedure setBUSY; inline;
  2603. procedure setINCM0; inline;
  2604. procedure setINCM1; inline;
  2605. procedure setIRQM0; inline;
  2606. procedure setIRQM1; inline;
  2607. procedure setMODE0; inline;
  2608. procedure setMODE16; inline;
  2609. procedure setMODE1; inline;
  2610. procedure setWAITB0; inline;
  2611. procedure setWAITB1; inline;
  2612. procedure setWAITE0; inline;
  2613. procedure setWAITE1; inline;
  2614. procedure setWAITM0; inline;
  2615. procedure setWAITM1; inline;
  2616. procedure setWAITM2; inline;
  2617. procedure setWAITM3; inline;
  2618. property BUSY : TBits_1 read getBUSY write setBUSY;
  2619. property INCM : TBits_2 read getINCM write setINCM;
  2620. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  2621. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  2622. property IRQM : TBits_2 read getIRQM write setIRQM;
  2623. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  2624. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  2625. property MODE : TBits_2 read getMODE write setMODE;
  2626. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  2627. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  2628. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2629. property WAITB : TBits_2 read getWAITB write setWAITB;
  2630. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  2631. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  2632. property WAITE : TBits_2 read getWAITE write setWAITE;
  2633. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  2634. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  2635. property WAITM : TBits_4 read getWAITM write setWAITM;
  2636. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  2637. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  2638. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  2639. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  2640. property w : TBits_32 read getw write setw;
  2641. end;
  2642. TPMP_PMADDR = record
  2643. private
  2644. function getADDR : TBits_14; inline;
  2645. function getCS : TBits_2; inline;
  2646. function getCS1 : TBits_1; inline;
  2647. function getCS2 : TBits_1; inline;
  2648. function getPADDR : TBits_14; inline;
  2649. function getw : TBits_32; inline;
  2650. procedure setADDR(thebits : TBits_14); inline;
  2651. procedure setCS(thebits : TBits_2); inline;
  2652. procedure setCS1(thebits : TBits_1); inline;
  2653. procedure setCS2(thebits : TBits_1); inline;
  2654. procedure setPADDR(thebits : TBits_14); inline;
  2655. procedure setw(thebits : TBits_32); inline;
  2656. public
  2657. procedure clearCS1; inline;
  2658. procedure clearCS2; inline;
  2659. procedure setCS1; inline;
  2660. procedure setCS2; inline;
  2661. property ADDR : TBits_14 read getADDR write setADDR;
  2662. property CS : TBits_2 read getCS write setCS;
  2663. property CS1 : TBits_1 read getCS1 write setCS1;
  2664. property CS2 : TBits_1 read getCS2 write setCS2;
  2665. property PADDR : TBits_14 read getPADDR write setPADDR;
  2666. property w : TBits_32 read getw write setw;
  2667. end;
  2668. TPMP_PMDOUT = record
  2669. private
  2670. function getDATAOUT : TBits_32; inline;
  2671. function getw : TBits_32; inline;
  2672. procedure setDATAOUT(thebits : TBits_32); inline;
  2673. procedure setw(thebits : TBits_32); inline;
  2674. public
  2675. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  2676. property w : TBits_32 read getw write setw;
  2677. end;
  2678. TPMP_PMDIN = record
  2679. private
  2680. function getDATAIN : TBits_32; inline;
  2681. function getw : TBits_32; inline;
  2682. procedure setDATAIN(thebits : TBits_32); inline;
  2683. procedure setw(thebits : TBits_32); inline;
  2684. public
  2685. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  2686. property w : TBits_32 read getw write setw;
  2687. end;
  2688. TPMP_PMAEN = record
  2689. private
  2690. function getPTEN : TBits_16; inline;
  2691. function getPTEN0 : TBits_1; inline;
  2692. function getPTEN1 : TBits_1; inline;
  2693. function getPTEN10 : TBits_1; inline;
  2694. function getPTEN11 : TBits_1; inline;
  2695. function getPTEN12 : TBits_1; inline;
  2696. function getPTEN13 : TBits_1; inline;
  2697. function getPTEN14 : TBits_1; inline;
  2698. function getPTEN15 : TBits_1; inline;
  2699. function getPTEN2 : TBits_1; inline;
  2700. function getPTEN3 : TBits_1; inline;
  2701. function getPTEN4 : TBits_1; inline;
  2702. function getPTEN5 : TBits_1; inline;
  2703. function getPTEN6 : TBits_1; inline;
  2704. function getPTEN7 : TBits_1; inline;
  2705. function getPTEN8 : TBits_1; inline;
  2706. function getPTEN9 : TBits_1; inline;
  2707. function getw : TBits_32; inline;
  2708. procedure setPTEN(thebits : TBits_16); inline;
  2709. procedure setPTEN0(thebits : TBits_1); inline;
  2710. procedure setPTEN1(thebits : TBits_1); inline;
  2711. procedure setPTEN10(thebits : TBits_1); inline;
  2712. procedure setPTEN11(thebits : TBits_1); inline;
  2713. procedure setPTEN12(thebits : TBits_1); inline;
  2714. procedure setPTEN13(thebits : TBits_1); inline;
  2715. procedure setPTEN14(thebits : TBits_1); inline;
  2716. procedure setPTEN15(thebits : TBits_1); inline;
  2717. procedure setPTEN2(thebits : TBits_1); inline;
  2718. procedure setPTEN3(thebits : TBits_1); inline;
  2719. procedure setPTEN4(thebits : TBits_1); inline;
  2720. procedure setPTEN5(thebits : TBits_1); inline;
  2721. procedure setPTEN6(thebits : TBits_1); inline;
  2722. procedure setPTEN7(thebits : TBits_1); inline;
  2723. procedure setPTEN8(thebits : TBits_1); inline;
  2724. procedure setPTEN9(thebits : TBits_1); inline;
  2725. procedure setw(thebits : TBits_32); inline;
  2726. public
  2727. procedure clearPTEN0; inline;
  2728. procedure clearPTEN10; inline;
  2729. procedure clearPTEN11; inline;
  2730. procedure clearPTEN12; inline;
  2731. procedure clearPTEN13; inline;
  2732. procedure clearPTEN14; inline;
  2733. procedure clearPTEN15; inline;
  2734. procedure clearPTEN1; inline;
  2735. procedure clearPTEN2; inline;
  2736. procedure clearPTEN3; inline;
  2737. procedure clearPTEN4; inline;
  2738. procedure clearPTEN5; inline;
  2739. procedure clearPTEN6; inline;
  2740. procedure clearPTEN7; inline;
  2741. procedure clearPTEN8; inline;
  2742. procedure clearPTEN9; inline;
  2743. procedure setPTEN0; inline;
  2744. procedure setPTEN10; inline;
  2745. procedure setPTEN11; inline;
  2746. procedure setPTEN12; inline;
  2747. procedure setPTEN13; inline;
  2748. procedure setPTEN14; inline;
  2749. procedure setPTEN15; inline;
  2750. procedure setPTEN1; inline;
  2751. procedure setPTEN2; inline;
  2752. procedure setPTEN3; inline;
  2753. procedure setPTEN4; inline;
  2754. procedure setPTEN5; inline;
  2755. procedure setPTEN6; inline;
  2756. procedure setPTEN7; inline;
  2757. procedure setPTEN8; inline;
  2758. procedure setPTEN9; inline;
  2759. property PTEN : TBits_16 read getPTEN write setPTEN;
  2760. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  2761. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  2762. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  2763. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  2764. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  2765. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  2766. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  2767. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  2768. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  2769. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  2770. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  2771. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  2772. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  2773. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  2774. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  2775. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. TPMP_PMSTAT = record
  2779. private
  2780. function getIB0F : TBits_1; inline;
  2781. function getIB1F : TBits_1; inline;
  2782. function getIB2F : TBits_1; inline;
  2783. function getIB3F : TBits_1; inline;
  2784. function getIBF : TBits_1; inline;
  2785. function getIBOV : TBits_1; inline;
  2786. function getOB0E : TBits_1; inline;
  2787. function getOB1E : TBits_1; inline;
  2788. function getOB2E : TBits_1; inline;
  2789. function getOB3E : TBits_1; inline;
  2790. function getOBE : TBits_1; inline;
  2791. function getOBUF : TBits_1; inline;
  2792. function getw : TBits_32; inline;
  2793. procedure setIB0F(thebits : TBits_1); inline;
  2794. procedure setIB1F(thebits : TBits_1); inline;
  2795. procedure setIB2F(thebits : TBits_1); inline;
  2796. procedure setIB3F(thebits : TBits_1); inline;
  2797. procedure setIBF(thebits : TBits_1); inline;
  2798. procedure setIBOV(thebits : TBits_1); inline;
  2799. procedure setOB0E(thebits : TBits_1); inline;
  2800. procedure setOB1E(thebits : TBits_1); inline;
  2801. procedure setOB2E(thebits : TBits_1); inline;
  2802. procedure setOB3E(thebits : TBits_1); inline;
  2803. procedure setOBE(thebits : TBits_1); inline;
  2804. procedure setOBUF(thebits : TBits_1); inline;
  2805. procedure setw(thebits : TBits_32); inline;
  2806. public
  2807. procedure clearIB0F; inline;
  2808. procedure clearIB1F; inline;
  2809. procedure clearIB2F; inline;
  2810. procedure clearIB3F; inline;
  2811. procedure clearIBF; inline;
  2812. procedure clearIBOV; inline;
  2813. procedure clearOB0E; inline;
  2814. procedure clearOB1E; inline;
  2815. procedure clearOB2E; inline;
  2816. procedure clearOB3E; inline;
  2817. procedure clearOBE; inline;
  2818. procedure clearOBUF; inline;
  2819. procedure setIB0F; inline;
  2820. procedure setIB1F; inline;
  2821. procedure setIB2F; inline;
  2822. procedure setIB3F; inline;
  2823. procedure setIBF; inline;
  2824. procedure setIBOV; inline;
  2825. procedure setOB0E; inline;
  2826. procedure setOB1E; inline;
  2827. procedure setOB2E; inline;
  2828. procedure setOB3E; inline;
  2829. procedure setOBE; inline;
  2830. procedure setOBUF; inline;
  2831. property IB0F : TBits_1 read getIB0F write setIB0F;
  2832. property IB1F : TBits_1 read getIB1F write setIB1F;
  2833. property IB2F : TBits_1 read getIB2F write setIB2F;
  2834. property IB3F : TBits_1 read getIB3F write setIB3F;
  2835. property IBF : TBits_1 read getIBF write setIBF;
  2836. property IBOV : TBits_1 read getIBOV write setIBOV;
  2837. property OB0E : TBits_1 read getOB0E write setOB0E;
  2838. property OB1E : TBits_1 read getOB1E write setOB1E;
  2839. property OB2E : TBits_1 read getOB2E write setOB2E;
  2840. property OB3E : TBits_1 read getOB3E write setOB3E;
  2841. property OBE : TBits_1 read getOBE write setOBE;
  2842. property OBUF : TBits_1 read getOBUF write setOBUF;
  2843. property w : TBits_32 read getw write setw;
  2844. end;
  2845. type
  2846. TPMPRegisters = record
  2847. PMCONbits : TPMP_PMCON;
  2848. PMCON : longWord;
  2849. PMCONCLR : longWord;
  2850. PMCONSET : longWord;
  2851. PMCONINV : longWord;
  2852. PMMODEbits : TPMP_PMMODE;
  2853. PMMODE : longWord;
  2854. PMMODECLR : longWord;
  2855. PMMODESET : longWord;
  2856. PMMODEINV : longWord;
  2857. PMADDRbits : TPMP_PMADDR;
  2858. PMADDR : longWord;
  2859. PMADDRCLR : longWord;
  2860. PMADDRSET : longWord;
  2861. PMADDRINV : longWord;
  2862. PMDOUTbits : TPMP_PMDOUT;
  2863. PMDOUT : longWord;
  2864. PMDOUTCLR : longWord;
  2865. PMDOUTSET : longWord;
  2866. PMDOUTINV : longWord;
  2867. PMDINbits : TPMP_PMDIN;
  2868. PMDIN : longWord;
  2869. PMDINCLR : longWord;
  2870. PMDINSET : longWord;
  2871. PMDININV : longWord;
  2872. PMAENbits : TPMP_PMAEN;
  2873. PMAEN : longWord;
  2874. PMAENCLR : longWord;
  2875. PMAENSET : longWord;
  2876. PMAENINV : longWord;
  2877. PMSTATbits : TPMP_PMSTAT;
  2878. PMSTAT : longWord;
  2879. PMSTATCLR : longWord;
  2880. PMSTATSET : longWord;
  2881. PMSTATINV : longWord;
  2882. end;
  2883. TADC10_AD1CON1 = record
  2884. private
  2885. function getADON : TBits_1; inline;
  2886. function getADSIDL : TBits_1; inline;
  2887. function getASAM : TBits_1; inline;
  2888. function getCLRASAM : TBits_1; inline;
  2889. function getDONE : TBits_1; inline;
  2890. function getFORM : TBits_3; inline;
  2891. function getFORM0 : TBits_1; inline;
  2892. function getFORM1 : TBits_1; inline;
  2893. function getFORM2 : TBits_1; inline;
  2894. function getON : TBits_1; inline;
  2895. function getSAMP : TBits_1; inline;
  2896. function getSIDL : TBits_1; inline;
  2897. function getSSRC : TBits_3; inline;
  2898. function getSSRC0 : TBits_1; inline;
  2899. function getSSRC1 : TBits_1; inline;
  2900. function getSSRC2 : TBits_1; inline;
  2901. function getw : TBits_32; inline;
  2902. procedure setADON(thebits : TBits_1); inline;
  2903. procedure setADSIDL(thebits : TBits_1); inline;
  2904. procedure setASAM(thebits : TBits_1); inline;
  2905. procedure setCLRASAM(thebits : TBits_1); inline;
  2906. procedure setDONE(thebits : TBits_1); inline;
  2907. procedure setFORM(thebits : TBits_3); inline;
  2908. procedure setFORM0(thebits : TBits_1); inline;
  2909. procedure setFORM1(thebits : TBits_1); inline;
  2910. procedure setFORM2(thebits : TBits_1); inline;
  2911. procedure setON(thebits : TBits_1); inline;
  2912. procedure setSAMP(thebits : TBits_1); inline;
  2913. procedure setSIDL(thebits : TBits_1); inline;
  2914. procedure setSSRC(thebits : TBits_3); inline;
  2915. procedure setSSRC0(thebits : TBits_1); inline;
  2916. procedure setSSRC1(thebits : TBits_1); inline;
  2917. procedure setSSRC2(thebits : TBits_1); inline;
  2918. procedure setw(thebits : TBits_32); inline;
  2919. public
  2920. procedure clearADON; inline;
  2921. procedure clearADSIDL; inline;
  2922. procedure clearASAM; inline;
  2923. procedure clearCLRASAM; inline;
  2924. procedure clearDONE; inline;
  2925. procedure clearFORM0; inline;
  2926. procedure clearFORM1; inline;
  2927. procedure clearFORM2; inline;
  2928. procedure clearON; inline;
  2929. procedure clearSAMP; inline;
  2930. procedure clearSIDL; inline;
  2931. procedure clearSSRC0; inline;
  2932. procedure clearSSRC1; inline;
  2933. procedure clearSSRC2; inline;
  2934. procedure setADON; inline;
  2935. procedure setADSIDL; inline;
  2936. procedure setASAM; inline;
  2937. procedure setCLRASAM; inline;
  2938. procedure setDONE; inline;
  2939. procedure setFORM0; inline;
  2940. procedure setFORM1; inline;
  2941. procedure setFORM2; inline;
  2942. procedure setON; inline;
  2943. procedure setSAMP; inline;
  2944. procedure setSIDL; inline;
  2945. procedure setSSRC0; inline;
  2946. procedure setSSRC1; inline;
  2947. procedure setSSRC2; inline;
  2948. property ADON : TBits_1 read getADON write setADON;
  2949. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  2950. property ASAM : TBits_1 read getASAM write setASAM;
  2951. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  2952. property DONE : TBits_1 read getDONE write setDONE;
  2953. property FORM : TBits_3 read getFORM write setFORM;
  2954. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  2955. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  2956. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  2957. property ON : TBits_1 read getON write setON;
  2958. property SAMP : TBits_1 read getSAMP write setSAMP;
  2959. property SIDL : TBits_1 read getSIDL write setSIDL;
  2960. property SSRC : TBits_3 read getSSRC write setSSRC;
  2961. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  2962. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  2963. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  2964. property w : TBits_32 read getw write setw;
  2965. end;
  2966. TADC10_AD1CON2 = record
  2967. private
  2968. function getALTS : TBits_1; inline;
  2969. function getBUFM : TBits_1; inline;
  2970. function getBUFS : TBits_1; inline;
  2971. function getCSCNA : TBits_1; inline;
  2972. function getOFFCAL : TBits_1; inline;
  2973. function getSMPI : TBits_4; inline;
  2974. function getSMPI0 : TBits_1; inline;
  2975. function getSMPI1 : TBits_1; inline;
  2976. function getSMPI2 : TBits_1; inline;
  2977. function getSMPI3 : TBits_1; inline;
  2978. function getVCFG : TBits_3; inline;
  2979. function getVCFG0 : TBits_1; inline;
  2980. function getVCFG1 : TBits_1; inline;
  2981. function getVCFG2 : TBits_1; inline;
  2982. function getw : TBits_32; inline;
  2983. procedure setALTS(thebits : TBits_1); inline;
  2984. procedure setBUFM(thebits : TBits_1); inline;
  2985. procedure setBUFS(thebits : TBits_1); inline;
  2986. procedure setCSCNA(thebits : TBits_1); inline;
  2987. procedure setOFFCAL(thebits : TBits_1); inline;
  2988. procedure setSMPI(thebits : TBits_4); inline;
  2989. procedure setSMPI0(thebits : TBits_1); inline;
  2990. procedure setSMPI1(thebits : TBits_1); inline;
  2991. procedure setSMPI2(thebits : TBits_1); inline;
  2992. procedure setSMPI3(thebits : TBits_1); inline;
  2993. procedure setVCFG(thebits : TBits_3); inline;
  2994. procedure setVCFG0(thebits : TBits_1); inline;
  2995. procedure setVCFG1(thebits : TBits_1); inline;
  2996. procedure setVCFG2(thebits : TBits_1); inline;
  2997. procedure setw(thebits : TBits_32); inline;
  2998. public
  2999. procedure clearALTS; inline;
  3000. procedure clearBUFM; inline;
  3001. procedure clearBUFS; inline;
  3002. procedure clearCSCNA; inline;
  3003. procedure clearOFFCAL; inline;
  3004. procedure clearSMPI0; inline;
  3005. procedure clearSMPI1; inline;
  3006. procedure clearSMPI2; inline;
  3007. procedure clearSMPI3; inline;
  3008. procedure clearVCFG0; inline;
  3009. procedure clearVCFG1; inline;
  3010. procedure clearVCFG2; inline;
  3011. procedure setALTS; inline;
  3012. procedure setBUFM; inline;
  3013. procedure setBUFS; inline;
  3014. procedure setCSCNA; inline;
  3015. procedure setOFFCAL; inline;
  3016. procedure setSMPI0; inline;
  3017. procedure setSMPI1; inline;
  3018. procedure setSMPI2; inline;
  3019. procedure setSMPI3; inline;
  3020. procedure setVCFG0; inline;
  3021. procedure setVCFG1; inline;
  3022. procedure setVCFG2; inline;
  3023. property ALTS : TBits_1 read getALTS write setALTS;
  3024. property BUFM : TBits_1 read getBUFM write setBUFM;
  3025. property BUFS : TBits_1 read getBUFS write setBUFS;
  3026. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  3027. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  3028. property SMPI : TBits_4 read getSMPI write setSMPI;
  3029. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  3030. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  3031. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  3032. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  3033. property VCFG : TBits_3 read getVCFG write setVCFG;
  3034. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  3035. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  3036. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  3037. property w : TBits_32 read getw write setw;
  3038. end;
  3039. TADC10_AD1CON3 = record
  3040. private
  3041. function getADCS : TBits_8; inline;
  3042. function getADCS0 : TBits_1; inline;
  3043. function getADCS1 : TBits_1; inline;
  3044. function getADCS2 : TBits_1; inline;
  3045. function getADCS3 : TBits_1; inline;
  3046. function getADCS4 : TBits_1; inline;
  3047. function getADCS5 : TBits_1; inline;
  3048. function getADCS6 : TBits_1; inline;
  3049. function getADCS7 : TBits_1; inline;
  3050. function getADRC : TBits_1; inline;
  3051. function getSAMC : TBits_5; inline;
  3052. function getSAMC0 : TBits_1; inline;
  3053. function getSAMC1 : TBits_1; inline;
  3054. function getSAMC2 : TBits_1; inline;
  3055. function getSAMC3 : TBits_1; inline;
  3056. function getSAMC4 : TBits_1; inline;
  3057. function getw : TBits_32; inline;
  3058. procedure setADCS(thebits : TBits_8); inline;
  3059. procedure setADCS0(thebits : TBits_1); inline;
  3060. procedure setADCS1(thebits : TBits_1); inline;
  3061. procedure setADCS2(thebits : TBits_1); inline;
  3062. procedure setADCS3(thebits : TBits_1); inline;
  3063. procedure setADCS4(thebits : TBits_1); inline;
  3064. procedure setADCS5(thebits : TBits_1); inline;
  3065. procedure setADCS6(thebits : TBits_1); inline;
  3066. procedure setADCS7(thebits : TBits_1); inline;
  3067. procedure setADRC(thebits : TBits_1); inline;
  3068. procedure setSAMC(thebits : TBits_5); inline;
  3069. procedure setSAMC0(thebits : TBits_1); inline;
  3070. procedure setSAMC1(thebits : TBits_1); inline;
  3071. procedure setSAMC2(thebits : TBits_1); inline;
  3072. procedure setSAMC3(thebits : TBits_1); inline;
  3073. procedure setSAMC4(thebits : TBits_1); inline;
  3074. procedure setw(thebits : TBits_32); inline;
  3075. public
  3076. procedure clearADCS0; inline;
  3077. procedure clearADCS1; inline;
  3078. procedure clearADCS2; inline;
  3079. procedure clearADCS3; inline;
  3080. procedure clearADCS4; inline;
  3081. procedure clearADCS5; inline;
  3082. procedure clearADCS6; inline;
  3083. procedure clearADCS7; inline;
  3084. procedure clearADRC; inline;
  3085. procedure clearSAMC0; inline;
  3086. procedure clearSAMC1; inline;
  3087. procedure clearSAMC2; inline;
  3088. procedure clearSAMC3; inline;
  3089. procedure clearSAMC4; inline;
  3090. procedure setADCS0; inline;
  3091. procedure setADCS1; inline;
  3092. procedure setADCS2; inline;
  3093. procedure setADCS3; inline;
  3094. procedure setADCS4; inline;
  3095. procedure setADCS5; inline;
  3096. procedure setADCS6; inline;
  3097. procedure setADCS7; inline;
  3098. procedure setADRC; inline;
  3099. procedure setSAMC0; inline;
  3100. procedure setSAMC1; inline;
  3101. procedure setSAMC2; inline;
  3102. procedure setSAMC3; inline;
  3103. procedure setSAMC4; inline;
  3104. property ADCS : TBits_8 read getADCS write setADCS;
  3105. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  3106. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  3107. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  3108. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  3109. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  3110. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  3111. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  3112. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  3113. property ADRC : TBits_1 read getADRC write setADRC;
  3114. property SAMC : TBits_5 read getSAMC write setSAMC;
  3115. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  3116. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  3117. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  3118. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  3119. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  3120. property w : TBits_32 read getw write setw;
  3121. end;
  3122. TADC10_AD1CHS = record
  3123. private
  3124. function getCH0NA : TBits_1; inline;
  3125. function getCH0NB : TBits_1; inline;
  3126. function getCH0SA : TBits_4; inline;
  3127. function getCH0SA0 : TBits_1; inline;
  3128. function getCH0SA1 : TBits_1; inline;
  3129. function getCH0SA2 : TBits_1; inline;
  3130. function getCH0SA3 : TBits_1; inline;
  3131. function getCH0SB : TBits_4; inline;
  3132. function getCH0SB0 : TBits_1; inline;
  3133. function getCH0SB1 : TBits_1; inline;
  3134. function getCH0SB2 : TBits_1; inline;
  3135. function getCH0SB3 : TBits_1; inline;
  3136. function getw : TBits_32; inline;
  3137. procedure setCH0NA(thebits : TBits_1); inline;
  3138. procedure setCH0NB(thebits : TBits_1); inline;
  3139. procedure setCH0SA(thebits : TBits_4); inline;
  3140. procedure setCH0SA0(thebits : TBits_1); inline;
  3141. procedure setCH0SA1(thebits : TBits_1); inline;
  3142. procedure setCH0SA2(thebits : TBits_1); inline;
  3143. procedure setCH0SA3(thebits : TBits_1); inline;
  3144. procedure setCH0SB(thebits : TBits_4); inline;
  3145. procedure setCH0SB0(thebits : TBits_1); inline;
  3146. procedure setCH0SB1(thebits : TBits_1); inline;
  3147. procedure setCH0SB2(thebits : TBits_1); inline;
  3148. procedure setCH0SB3(thebits : TBits_1); inline;
  3149. procedure setw(thebits : TBits_32); inline;
  3150. public
  3151. procedure clearCH0NA; inline;
  3152. procedure clearCH0NB; inline;
  3153. procedure clearCH0SA0; inline;
  3154. procedure clearCH0SA1; inline;
  3155. procedure clearCH0SA2; inline;
  3156. procedure clearCH0SA3; inline;
  3157. procedure clearCH0SB0; inline;
  3158. procedure clearCH0SB1; inline;
  3159. procedure clearCH0SB2; inline;
  3160. procedure clearCH0SB3; inline;
  3161. procedure setCH0NA; inline;
  3162. procedure setCH0NB; inline;
  3163. procedure setCH0SA0; inline;
  3164. procedure setCH0SA1; inline;
  3165. procedure setCH0SA2; inline;
  3166. procedure setCH0SA3; inline;
  3167. procedure setCH0SB0; inline;
  3168. procedure setCH0SB1; inline;
  3169. procedure setCH0SB2; inline;
  3170. procedure setCH0SB3; inline;
  3171. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  3172. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  3173. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  3174. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  3175. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  3176. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  3177. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  3178. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  3179. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  3180. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  3181. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  3182. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  3183. property w : TBits_32 read getw write setw;
  3184. end;
  3185. TADC10_AD1CSSL = record
  3186. private
  3187. function getCSSL : TBits_16; inline;
  3188. function getCSSL0 : TBits_1; inline;
  3189. function getCSSL1 : TBits_1; inline;
  3190. function getCSSL10 : TBits_1; inline;
  3191. function getCSSL11 : TBits_1; inline;
  3192. function getCSSL12 : TBits_1; inline;
  3193. function getCSSL13 : TBits_1; inline;
  3194. function getCSSL14 : TBits_1; inline;
  3195. function getCSSL15 : TBits_1; inline;
  3196. function getCSSL2 : TBits_1; inline;
  3197. function getCSSL3 : TBits_1; inline;
  3198. function getCSSL4 : TBits_1; inline;
  3199. function getCSSL5 : TBits_1; inline;
  3200. function getCSSL6 : TBits_1; inline;
  3201. function getCSSL7 : TBits_1; inline;
  3202. function getCSSL8 : TBits_1; inline;
  3203. function getCSSL9 : TBits_1; inline;
  3204. function getw : TBits_32; inline;
  3205. procedure setCSSL(thebits : TBits_16); inline;
  3206. procedure setCSSL0(thebits : TBits_1); inline;
  3207. procedure setCSSL1(thebits : TBits_1); inline;
  3208. procedure setCSSL10(thebits : TBits_1); inline;
  3209. procedure setCSSL11(thebits : TBits_1); inline;
  3210. procedure setCSSL12(thebits : TBits_1); inline;
  3211. procedure setCSSL13(thebits : TBits_1); inline;
  3212. procedure setCSSL14(thebits : TBits_1); inline;
  3213. procedure setCSSL15(thebits : TBits_1); inline;
  3214. procedure setCSSL2(thebits : TBits_1); inline;
  3215. procedure setCSSL3(thebits : TBits_1); inline;
  3216. procedure setCSSL4(thebits : TBits_1); inline;
  3217. procedure setCSSL5(thebits : TBits_1); inline;
  3218. procedure setCSSL6(thebits : TBits_1); inline;
  3219. procedure setCSSL7(thebits : TBits_1); inline;
  3220. procedure setCSSL8(thebits : TBits_1); inline;
  3221. procedure setCSSL9(thebits : TBits_1); inline;
  3222. procedure setw(thebits : TBits_32); inline;
  3223. public
  3224. procedure clearCSSL0; inline;
  3225. procedure clearCSSL10; inline;
  3226. procedure clearCSSL11; inline;
  3227. procedure clearCSSL12; inline;
  3228. procedure clearCSSL13; inline;
  3229. procedure clearCSSL14; inline;
  3230. procedure clearCSSL15; inline;
  3231. procedure clearCSSL1; inline;
  3232. procedure clearCSSL2; inline;
  3233. procedure clearCSSL3; inline;
  3234. procedure clearCSSL4; inline;
  3235. procedure clearCSSL5; inline;
  3236. procedure clearCSSL6; inline;
  3237. procedure clearCSSL7; inline;
  3238. procedure clearCSSL8; inline;
  3239. procedure clearCSSL9; inline;
  3240. procedure setCSSL0; inline;
  3241. procedure setCSSL10; inline;
  3242. procedure setCSSL11; inline;
  3243. procedure setCSSL12; inline;
  3244. procedure setCSSL13; inline;
  3245. procedure setCSSL14; inline;
  3246. procedure setCSSL15; inline;
  3247. procedure setCSSL1; inline;
  3248. procedure setCSSL2; inline;
  3249. procedure setCSSL3; inline;
  3250. procedure setCSSL4; inline;
  3251. procedure setCSSL5; inline;
  3252. procedure setCSSL6; inline;
  3253. procedure setCSSL7; inline;
  3254. procedure setCSSL8; inline;
  3255. procedure setCSSL9; inline;
  3256. property CSSL : TBits_16 read getCSSL write setCSSL;
  3257. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  3258. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  3259. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  3260. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  3261. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  3262. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  3263. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  3264. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  3265. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  3266. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  3267. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  3268. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  3269. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  3270. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  3271. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  3272. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  3273. property w : TBits_32 read getw write setw;
  3274. end;
  3275. TADC10_AD1PCFG = record
  3276. private
  3277. function getPCFG : TBits_16; inline;
  3278. function getPCFG0 : TBits_1; inline;
  3279. function getPCFG1 : TBits_1; inline;
  3280. function getPCFG10 : TBits_1; inline;
  3281. function getPCFG11 : TBits_1; inline;
  3282. function getPCFG12 : TBits_1; inline;
  3283. function getPCFG13 : TBits_1; inline;
  3284. function getPCFG14 : TBits_1; inline;
  3285. function getPCFG15 : TBits_1; inline;
  3286. function getPCFG2 : TBits_1; inline;
  3287. function getPCFG3 : TBits_1; inline;
  3288. function getPCFG4 : TBits_1; inline;
  3289. function getPCFG5 : TBits_1; inline;
  3290. function getPCFG6 : TBits_1; inline;
  3291. function getPCFG7 : TBits_1; inline;
  3292. function getPCFG8 : TBits_1; inline;
  3293. function getPCFG9 : TBits_1; inline;
  3294. function getw : TBits_32; inline;
  3295. procedure setPCFG(thebits : TBits_16); inline;
  3296. procedure setPCFG0(thebits : TBits_1); inline;
  3297. procedure setPCFG1(thebits : TBits_1); inline;
  3298. procedure setPCFG10(thebits : TBits_1); inline;
  3299. procedure setPCFG11(thebits : TBits_1); inline;
  3300. procedure setPCFG12(thebits : TBits_1); inline;
  3301. procedure setPCFG13(thebits : TBits_1); inline;
  3302. procedure setPCFG14(thebits : TBits_1); inline;
  3303. procedure setPCFG15(thebits : TBits_1); inline;
  3304. procedure setPCFG2(thebits : TBits_1); inline;
  3305. procedure setPCFG3(thebits : TBits_1); inline;
  3306. procedure setPCFG4(thebits : TBits_1); inline;
  3307. procedure setPCFG5(thebits : TBits_1); inline;
  3308. procedure setPCFG6(thebits : TBits_1); inline;
  3309. procedure setPCFG7(thebits : TBits_1); inline;
  3310. procedure setPCFG8(thebits : TBits_1); inline;
  3311. procedure setPCFG9(thebits : TBits_1); inline;
  3312. procedure setw(thebits : TBits_32); inline;
  3313. public
  3314. procedure clearPCFG0; inline;
  3315. procedure clearPCFG10; inline;
  3316. procedure clearPCFG11; inline;
  3317. procedure clearPCFG12; inline;
  3318. procedure clearPCFG13; inline;
  3319. procedure clearPCFG14; inline;
  3320. procedure clearPCFG15; inline;
  3321. procedure clearPCFG1; inline;
  3322. procedure clearPCFG2; inline;
  3323. procedure clearPCFG3; inline;
  3324. procedure clearPCFG4; inline;
  3325. procedure clearPCFG5; inline;
  3326. procedure clearPCFG6; inline;
  3327. procedure clearPCFG7; inline;
  3328. procedure clearPCFG8; inline;
  3329. procedure clearPCFG9; inline;
  3330. procedure setPCFG0; inline;
  3331. procedure setPCFG10; inline;
  3332. procedure setPCFG11; inline;
  3333. procedure setPCFG12; inline;
  3334. procedure setPCFG13; inline;
  3335. procedure setPCFG14; inline;
  3336. procedure setPCFG15; inline;
  3337. procedure setPCFG1; inline;
  3338. procedure setPCFG2; inline;
  3339. procedure setPCFG3; inline;
  3340. procedure setPCFG4; inline;
  3341. procedure setPCFG5; inline;
  3342. procedure setPCFG6; inline;
  3343. procedure setPCFG7; inline;
  3344. procedure setPCFG8; inline;
  3345. procedure setPCFG9; inline;
  3346. property PCFG : TBits_16 read getPCFG write setPCFG;
  3347. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  3348. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  3349. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  3350. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  3351. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  3352. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  3353. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  3354. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  3355. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  3356. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  3357. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  3358. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  3359. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  3360. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  3361. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  3362. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  3363. property w : TBits_32 read getw write setw;
  3364. end;
  3365. type
  3366. TADC10Registers = record
  3367. AD1CON1bits : TADC10_AD1CON1;
  3368. AD1CON1 : longWord;
  3369. AD1CON1CLR : longWord;
  3370. AD1CON1SET : longWord;
  3371. AD1CON1INV : longWord;
  3372. AD1CON2bits : TADC10_AD1CON2;
  3373. AD1CON2 : longWord;
  3374. AD1CON2CLR : longWord;
  3375. AD1CON2SET : longWord;
  3376. AD1CON2INV : longWord;
  3377. AD1CON3bits : TADC10_AD1CON3;
  3378. AD1CON3 : longWord;
  3379. AD1CON3CLR : longWord;
  3380. AD1CON3SET : longWord;
  3381. AD1CON3INV : longWord;
  3382. AD1CHSbits : TADC10_AD1CHS;
  3383. AD1CHS : longWord;
  3384. AD1CHSCLR : longWord;
  3385. AD1CHSSET : longWord;
  3386. AD1CHSINV : longWord;
  3387. AD1CSSLbits : TADC10_AD1CSSL;
  3388. AD1CSSL : longWord;
  3389. AD1CSSLCLR : longWord;
  3390. AD1CSSLSET : longWord;
  3391. AD1CSSLINV : longWord;
  3392. AD1PCFGbits : TADC10_AD1PCFG;
  3393. AD1PCFG : longWord;
  3394. AD1PCFGCLR : longWord;
  3395. AD1PCFGSET : longWord;
  3396. AD1PCFGINV : longWord;
  3397. ADC1BUF0 : longWord;
  3398. ADC1BUF1 : longWord;
  3399. ADC1BUF2 : longWord;
  3400. ADC1BUF3 : longWord;
  3401. ADC1BUF4 : longWord;
  3402. ADC1BUF5 : longWord;
  3403. ADC1BUF6 : longWord;
  3404. ADC1BUF7 : longWord;
  3405. ADC1BUF8 : longWord;
  3406. ADC1BUF9 : longWord;
  3407. ADC1BUFA : longWord;
  3408. ADC1BUFB : longWord;
  3409. ADC1BUFC : longWord;
  3410. ADC1BUFD : longWord;
  3411. ADC1BUFE : longWord;
  3412. ADC1BUFF : longWord;
  3413. end;
  3414. TCVR_CVRCON = record
  3415. private
  3416. function getCVR : TBits_4; inline;
  3417. function getCVR0 : TBits_1; inline;
  3418. function getCVR1 : TBits_1; inline;
  3419. function getCVR2 : TBits_1; inline;
  3420. function getCVR3 : TBits_1; inline;
  3421. function getCVROE : TBits_1; inline;
  3422. function getCVRR : TBits_1; inline;
  3423. function getCVRSS : TBits_1; inline;
  3424. function getON : TBits_1; inline;
  3425. function getw : TBits_32; inline;
  3426. procedure setCVR(thebits : TBits_4); inline;
  3427. procedure setCVR0(thebits : TBits_1); inline;
  3428. procedure setCVR1(thebits : TBits_1); inline;
  3429. procedure setCVR2(thebits : TBits_1); inline;
  3430. procedure setCVR3(thebits : TBits_1); inline;
  3431. procedure setCVROE(thebits : TBits_1); inline;
  3432. procedure setCVRR(thebits : TBits_1); inline;
  3433. procedure setCVRSS(thebits : TBits_1); inline;
  3434. procedure setON(thebits : TBits_1); inline;
  3435. procedure setw(thebits : TBits_32); inline;
  3436. public
  3437. procedure clearCVR0; inline;
  3438. procedure clearCVR1; inline;
  3439. procedure clearCVR2; inline;
  3440. procedure clearCVR3; inline;
  3441. procedure clearCVROE; inline;
  3442. procedure clearCVRR; inline;
  3443. procedure clearCVRSS; inline;
  3444. procedure clearON; inline;
  3445. procedure setCVR0; inline;
  3446. procedure setCVR1; inline;
  3447. procedure setCVR2; inline;
  3448. procedure setCVR3; inline;
  3449. procedure setCVROE; inline;
  3450. procedure setCVRR; inline;
  3451. procedure setCVRSS; inline;
  3452. procedure setON; inline;
  3453. property CVR : TBits_4 read getCVR write setCVR;
  3454. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  3455. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  3456. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  3457. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  3458. property CVROE : TBits_1 read getCVROE write setCVROE;
  3459. property CVRR : TBits_1 read getCVRR write setCVRR;
  3460. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  3461. property ON : TBits_1 read getON write setON;
  3462. property w : TBits_32 read getw write setw;
  3463. end;
  3464. type
  3465. TCVRRegisters = record
  3466. CVRCONbits : TCVR_CVRCON;
  3467. CVRCON : longWord;
  3468. CVRCONCLR : longWord;
  3469. CVRCONSET : longWord;
  3470. CVRCONINV : longWord;
  3471. end;
  3472. TCMP_CM1CON = record
  3473. private
  3474. function getCCH : TBits_2; inline;
  3475. function getCCH0 : TBits_1; inline;
  3476. function getCCH1 : TBits_1; inline;
  3477. function getCOE : TBits_1; inline;
  3478. function getCOUT : TBits_1; inline;
  3479. function getCPOL : TBits_1; inline;
  3480. function getCREF : TBits_1; inline;
  3481. function getEVPOL : TBits_2; inline;
  3482. function getEVPOL0 : TBits_1; inline;
  3483. function getEVPOL1 : TBits_1; inline;
  3484. function getON : TBits_1; inline;
  3485. function getw : TBits_32; inline;
  3486. procedure setCCH(thebits : TBits_2); inline;
  3487. procedure setCCH0(thebits : TBits_1); inline;
  3488. procedure setCCH1(thebits : TBits_1); inline;
  3489. procedure setCOE(thebits : TBits_1); inline;
  3490. procedure setCOUT(thebits : TBits_1); inline;
  3491. procedure setCPOL(thebits : TBits_1); inline;
  3492. procedure setCREF(thebits : TBits_1); inline;
  3493. procedure setEVPOL(thebits : TBits_2); inline;
  3494. procedure setEVPOL0(thebits : TBits_1); inline;
  3495. procedure setEVPOL1(thebits : TBits_1); inline;
  3496. procedure setON(thebits : TBits_1); inline;
  3497. procedure setw(thebits : TBits_32); inline;
  3498. public
  3499. procedure clearCCH0; inline;
  3500. procedure clearCCH1; inline;
  3501. procedure clearCOE; inline;
  3502. procedure clearCOUT; inline;
  3503. procedure clearCPOL; inline;
  3504. procedure clearCREF; inline;
  3505. procedure clearEVPOL0; inline;
  3506. procedure clearEVPOL1; inline;
  3507. procedure clearON; inline;
  3508. procedure setCCH0; inline;
  3509. procedure setCCH1; inline;
  3510. procedure setCOE; inline;
  3511. procedure setCOUT; inline;
  3512. procedure setCPOL; inline;
  3513. procedure setCREF; inline;
  3514. procedure setEVPOL0; inline;
  3515. procedure setEVPOL1; inline;
  3516. procedure setON; inline;
  3517. property CCH : TBits_2 read getCCH write setCCH;
  3518. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3519. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3520. property COE : TBits_1 read getCOE write setCOE;
  3521. property COUT : TBits_1 read getCOUT write setCOUT;
  3522. property CPOL : TBits_1 read getCPOL write setCPOL;
  3523. property CREF : TBits_1 read getCREF write setCREF;
  3524. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3525. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3526. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3527. property ON : TBits_1 read getON write setON;
  3528. property w : TBits_32 read getw write setw;
  3529. end;
  3530. TCMP_CM2CON = record
  3531. private
  3532. function getCCH : TBits_2; inline;
  3533. function getCCH0 : TBits_1; inline;
  3534. function getCCH1 : TBits_1; inline;
  3535. function getCOE : TBits_1; inline;
  3536. function getCOUT : TBits_1; inline;
  3537. function getCPOL : TBits_1; inline;
  3538. function getCREF : TBits_1; inline;
  3539. function getEVPOL : TBits_2; inline;
  3540. function getEVPOL0 : TBits_1; inline;
  3541. function getEVPOL1 : TBits_1; inline;
  3542. function getON : TBits_1; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setCCH(thebits : TBits_2); inline;
  3545. procedure setCCH0(thebits : TBits_1); inline;
  3546. procedure setCCH1(thebits : TBits_1); inline;
  3547. procedure setCOE(thebits : TBits_1); inline;
  3548. procedure setCOUT(thebits : TBits_1); inline;
  3549. procedure setCPOL(thebits : TBits_1); inline;
  3550. procedure setCREF(thebits : TBits_1); inline;
  3551. procedure setEVPOL(thebits : TBits_2); inline;
  3552. procedure setEVPOL0(thebits : TBits_1); inline;
  3553. procedure setEVPOL1(thebits : TBits_1); inline;
  3554. procedure setON(thebits : TBits_1); inline;
  3555. procedure setw(thebits : TBits_32); inline;
  3556. public
  3557. procedure clearCCH0; inline;
  3558. procedure clearCCH1; inline;
  3559. procedure clearCOE; inline;
  3560. procedure clearCOUT; inline;
  3561. procedure clearCPOL; inline;
  3562. procedure clearCREF; inline;
  3563. procedure clearEVPOL0; inline;
  3564. procedure clearEVPOL1; inline;
  3565. procedure clearON; inline;
  3566. procedure setCCH0; inline;
  3567. procedure setCCH1; inline;
  3568. procedure setCOE; inline;
  3569. procedure setCOUT; inline;
  3570. procedure setCPOL; inline;
  3571. procedure setCREF; inline;
  3572. procedure setEVPOL0; inline;
  3573. procedure setEVPOL1; inline;
  3574. procedure setON; inline;
  3575. property CCH : TBits_2 read getCCH write setCCH;
  3576. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3577. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3578. property COE : TBits_1 read getCOE write setCOE;
  3579. property COUT : TBits_1 read getCOUT write setCOUT;
  3580. property CPOL : TBits_1 read getCPOL write setCPOL;
  3581. property CREF : TBits_1 read getCREF write setCREF;
  3582. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3583. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3584. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3585. property ON : TBits_1 read getON write setON;
  3586. property w : TBits_32 read getw write setw;
  3587. end;
  3588. TCMP_CMSTAT = record
  3589. private
  3590. function getC1OUT : TBits_1; inline;
  3591. function getC2OUT : TBits_1; inline;
  3592. function getSIDL : TBits_1; inline;
  3593. function getw : TBits_32; inline;
  3594. procedure setC1OUT(thebits : TBits_1); inline;
  3595. procedure setC2OUT(thebits : TBits_1); inline;
  3596. procedure setSIDL(thebits : TBits_1); inline;
  3597. procedure setw(thebits : TBits_32); inline;
  3598. public
  3599. procedure clearC1OUT; inline;
  3600. procedure clearC2OUT; inline;
  3601. procedure clearSIDL; inline;
  3602. procedure setC1OUT; inline;
  3603. procedure setC2OUT; inline;
  3604. procedure setSIDL; inline;
  3605. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  3606. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  3607. property SIDL : TBits_1 read getSIDL write setSIDL;
  3608. property w : TBits_32 read getw write setw;
  3609. end;
  3610. type
  3611. TCMPRegisters = record
  3612. CM1CONbits : TCMP_CM1CON;
  3613. CM1CON : longWord;
  3614. CM1CONCLR : longWord;
  3615. CM1CONSET : longWord;
  3616. CM1CONINV : longWord;
  3617. CM2CONbits : TCMP_CM2CON;
  3618. CM2CON : longWord;
  3619. CM2CONCLR : longWord;
  3620. CM2CONSET : longWord;
  3621. CM2CONINV : longWord;
  3622. CMSTATbits : TCMP_CMSTAT;
  3623. CMSTAT : longWord;
  3624. CMSTATCLR : longWord;
  3625. CMSTATSET : longWord;
  3626. CMSTATINV : longWord;
  3627. end;
  3628. TOSC_OSCCON = record
  3629. private
  3630. function getCF : TBits_1; inline;
  3631. function getCLKLOCK : TBits_1; inline;
  3632. function getCOSC : TBits_3; inline;
  3633. function getCOSC0 : TBits_1; inline;
  3634. function getCOSC1 : TBits_1; inline;
  3635. function getCOSC2 : TBits_1; inline;
  3636. function getFRCDIV : TBits_3; inline;
  3637. function getFRCDIV0 : TBits_1; inline;
  3638. function getFRCDIV1 : TBits_1; inline;
  3639. function getFRCDIV2 : TBits_1; inline;
  3640. function getLOCK : TBits_1; inline;
  3641. function getNOSC : TBits_3; inline;
  3642. function getNOSC0 : TBits_1; inline;
  3643. function getNOSC1 : TBits_1; inline;
  3644. function getNOSC2 : TBits_1; inline;
  3645. function getOSWEN : TBits_1; inline;
  3646. function getPBDIV : TBits_2; inline;
  3647. function getPBDIV0 : TBits_1; inline;
  3648. function getPBDIV1 : TBits_1; inline;
  3649. function getPLLMULT : TBits_3; inline;
  3650. function getPLLMULT0 : TBits_1; inline;
  3651. function getPLLMULT1 : TBits_1; inline;
  3652. function getPLLMULT2 : TBits_1; inline;
  3653. function getPLLODIV : TBits_3; inline;
  3654. function getPLLODIV0 : TBits_1; inline;
  3655. function getPLLODIV1 : TBits_1; inline;
  3656. function getPLLODIV2 : TBits_1; inline;
  3657. function getSLPEN : TBits_1; inline;
  3658. function getSOSCEN : TBits_1; inline;
  3659. function getSOSCRDY : TBits_1; inline;
  3660. function getUFRCEN : TBits_1; inline;
  3661. function getULOCK : TBits_1; inline;
  3662. function getw : TBits_32; inline;
  3663. procedure setCF(thebits : TBits_1); inline;
  3664. procedure setCLKLOCK(thebits : TBits_1); inline;
  3665. procedure setCOSC(thebits : TBits_3); inline;
  3666. procedure setCOSC0(thebits : TBits_1); inline;
  3667. procedure setCOSC1(thebits : TBits_1); inline;
  3668. procedure setCOSC2(thebits : TBits_1); inline;
  3669. procedure setFRCDIV(thebits : TBits_3); inline;
  3670. procedure setFRCDIV0(thebits : TBits_1); inline;
  3671. procedure setFRCDIV1(thebits : TBits_1); inline;
  3672. procedure setFRCDIV2(thebits : TBits_1); inline;
  3673. procedure setLOCK(thebits : TBits_1); inline;
  3674. procedure setNOSC(thebits : TBits_3); inline;
  3675. procedure setNOSC0(thebits : TBits_1); inline;
  3676. procedure setNOSC1(thebits : TBits_1); inline;
  3677. procedure setNOSC2(thebits : TBits_1); inline;
  3678. procedure setOSWEN(thebits : TBits_1); inline;
  3679. procedure setPBDIV(thebits : TBits_2); inline;
  3680. procedure setPBDIV0(thebits : TBits_1); inline;
  3681. procedure setPBDIV1(thebits : TBits_1); inline;
  3682. procedure setPLLMULT(thebits : TBits_3); inline;
  3683. procedure setPLLMULT0(thebits : TBits_1); inline;
  3684. procedure setPLLMULT1(thebits : TBits_1); inline;
  3685. procedure setPLLMULT2(thebits : TBits_1); inline;
  3686. procedure setPLLODIV(thebits : TBits_3); inline;
  3687. procedure setPLLODIV0(thebits : TBits_1); inline;
  3688. procedure setPLLODIV1(thebits : TBits_1); inline;
  3689. procedure setPLLODIV2(thebits : TBits_1); inline;
  3690. procedure setSLPEN(thebits : TBits_1); inline;
  3691. procedure setSOSCEN(thebits : TBits_1); inline;
  3692. procedure setSOSCRDY(thebits : TBits_1); inline;
  3693. procedure setUFRCEN(thebits : TBits_1); inline;
  3694. procedure setULOCK(thebits : TBits_1); inline;
  3695. procedure setw(thebits : TBits_32); inline;
  3696. public
  3697. procedure clearCF; inline;
  3698. procedure clearCLKLOCK; inline;
  3699. procedure clearCOSC0; inline;
  3700. procedure clearCOSC1; inline;
  3701. procedure clearCOSC2; inline;
  3702. procedure clearFRCDIV0; inline;
  3703. procedure clearFRCDIV1; inline;
  3704. procedure clearFRCDIV2; inline;
  3705. procedure clearLOCK; inline;
  3706. procedure clearNOSC0; inline;
  3707. procedure clearNOSC1; inline;
  3708. procedure clearNOSC2; inline;
  3709. procedure clearOSWEN; inline;
  3710. procedure clearPBDIV0; inline;
  3711. procedure clearPBDIV1; inline;
  3712. procedure clearPLLMULT0; inline;
  3713. procedure clearPLLMULT1; inline;
  3714. procedure clearPLLMULT2; inline;
  3715. procedure clearPLLODIV0; inline;
  3716. procedure clearPLLODIV1; inline;
  3717. procedure clearPLLODIV2; inline;
  3718. procedure clearSLPEN; inline;
  3719. procedure clearSOSCEN; inline;
  3720. procedure clearSOSCRDY; inline;
  3721. procedure clearUFRCEN; inline;
  3722. procedure clearULOCK; inline;
  3723. procedure setCF; inline;
  3724. procedure setCLKLOCK; inline;
  3725. procedure setCOSC0; inline;
  3726. procedure setCOSC1; inline;
  3727. procedure setCOSC2; inline;
  3728. procedure setFRCDIV0; inline;
  3729. procedure setFRCDIV1; inline;
  3730. procedure setFRCDIV2; inline;
  3731. procedure setLOCK; inline;
  3732. procedure setNOSC0; inline;
  3733. procedure setNOSC1; inline;
  3734. procedure setNOSC2; inline;
  3735. procedure setOSWEN; inline;
  3736. procedure setPBDIV0; inline;
  3737. procedure setPBDIV1; inline;
  3738. procedure setPLLMULT0; inline;
  3739. procedure setPLLMULT1; inline;
  3740. procedure setPLLMULT2; inline;
  3741. procedure setPLLODIV0; inline;
  3742. procedure setPLLODIV1; inline;
  3743. procedure setPLLODIV2; inline;
  3744. procedure setSLPEN; inline;
  3745. procedure setSOSCEN; inline;
  3746. procedure setSOSCRDY; inline;
  3747. procedure setUFRCEN; inline;
  3748. procedure setULOCK; inline;
  3749. property CF : TBits_1 read getCF write setCF;
  3750. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  3751. property COSC : TBits_3 read getCOSC write setCOSC;
  3752. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  3753. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  3754. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  3755. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  3756. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  3757. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  3758. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  3759. property LOCK : TBits_1 read getLOCK write setLOCK;
  3760. property NOSC : TBits_3 read getNOSC write setNOSC;
  3761. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  3762. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  3763. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  3764. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  3765. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  3766. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  3767. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  3768. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  3769. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  3770. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  3771. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  3772. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  3773. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  3774. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  3775. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  3776. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  3777. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  3778. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  3779. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  3780. property ULOCK : TBits_1 read getULOCK write setULOCK;
  3781. property w : TBits_32 read getw write setw;
  3782. end;
  3783. TOSC_OSCTUN = record
  3784. private
  3785. function getTUN : TBits_6; inline;
  3786. function getTUN0 : TBits_1; inline;
  3787. function getTUN1 : TBits_1; inline;
  3788. function getTUN2 : TBits_1; inline;
  3789. function getTUN3 : TBits_1; inline;
  3790. function getTUN4 : TBits_1; inline;
  3791. function getTUN5 : TBits_1; inline;
  3792. function getw : TBits_32; inline;
  3793. procedure setTUN(thebits : TBits_6); inline;
  3794. procedure setTUN0(thebits : TBits_1); inline;
  3795. procedure setTUN1(thebits : TBits_1); inline;
  3796. procedure setTUN2(thebits : TBits_1); inline;
  3797. procedure setTUN3(thebits : TBits_1); inline;
  3798. procedure setTUN4(thebits : TBits_1); inline;
  3799. procedure setTUN5(thebits : TBits_1); inline;
  3800. procedure setw(thebits : TBits_32); inline;
  3801. public
  3802. procedure clearTUN0; inline;
  3803. procedure clearTUN1; inline;
  3804. procedure clearTUN2; inline;
  3805. procedure clearTUN3; inline;
  3806. procedure clearTUN4; inline;
  3807. procedure clearTUN5; inline;
  3808. procedure setTUN0; inline;
  3809. procedure setTUN1; inline;
  3810. procedure setTUN2; inline;
  3811. procedure setTUN3; inline;
  3812. procedure setTUN4; inline;
  3813. procedure setTUN5; inline;
  3814. property TUN : TBits_6 read getTUN write setTUN;
  3815. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  3816. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  3817. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  3818. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  3819. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  3820. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  3821. property w : TBits_32 read getw write setw;
  3822. end;
  3823. type
  3824. TOSCRegisters = record
  3825. OSCCONbits : TOSC_OSCCON;
  3826. OSCCON : longWord;
  3827. OSCCONCLR : longWord;
  3828. OSCCONSET : longWord;
  3829. OSCCONINV : longWord;
  3830. OSCTUNbits : TOSC_OSCTUN;
  3831. OSCTUN : longWord;
  3832. OSCTUNCLR : longWord;
  3833. OSCTUNSET : longWord;
  3834. OSCTUNINV : longWord;
  3835. end;
  3836. type
  3837. TCFGRegisters = record
  3838. DDPCON : longWord;
  3839. DEVID : longWord;
  3840. SYSKEY : longWord;
  3841. SYSKEYCLR : longWord;
  3842. SYSKEYSET : longWord;
  3843. SYSKEYINV : longWord;
  3844. end;
  3845. TNVM_NVMCON = record
  3846. private
  3847. function getLVDERR : TBits_1; inline;
  3848. function getLVDSTAT : TBits_1; inline;
  3849. function getNVMOP : TBits_4; inline;
  3850. function getNVMOP0 : TBits_1; inline;
  3851. function getNVMOP1 : TBits_1; inline;
  3852. function getNVMOP2 : TBits_1; inline;
  3853. function getNVMOP3 : TBits_1; inline;
  3854. function getPROGOP : TBits_4; inline;
  3855. function getPROGOP0 : TBits_1; inline;
  3856. function getPROGOP1 : TBits_1; inline;
  3857. function getPROGOP2 : TBits_1; inline;
  3858. function getPROGOP3 : TBits_1; inline;
  3859. function getWR : TBits_1; inline;
  3860. function getWREN : TBits_1; inline;
  3861. function getWRERR : TBits_1; inline;
  3862. function getw : TBits_32; inline;
  3863. procedure setLVDERR(thebits : TBits_1); inline;
  3864. procedure setLVDSTAT(thebits : TBits_1); inline;
  3865. procedure setNVMOP(thebits : TBits_4); inline;
  3866. procedure setNVMOP0(thebits : TBits_1); inline;
  3867. procedure setNVMOP1(thebits : TBits_1); inline;
  3868. procedure setNVMOP2(thebits : TBits_1); inline;
  3869. procedure setNVMOP3(thebits : TBits_1); inline;
  3870. procedure setPROGOP(thebits : TBits_4); inline;
  3871. procedure setPROGOP0(thebits : TBits_1); inline;
  3872. procedure setPROGOP1(thebits : TBits_1); inline;
  3873. procedure setPROGOP2(thebits : TBits_1); inline;
  3874. procedure setPROGOP3(thebits : TBits_1); inline;
  3875. procedure setWR(thebits : TBits_1); inline;
  3876. procedure setWREN(thebits : TBits_1); inline;
  3877. procedure setWRERR(thebits : TBits_1); inline;
  3878. procedure setw(thebits : TBits_32); inline;
  3879. public
  3880. procedure clearLVDERR; inline;
  3881. procedure clearLVDSTAT; inline;
  3882. procedure clearNVMOP0; inline;
  3883. procedure clearNVMOP1; inline;
  3884. procedure clearNVMOP2; inline;
  3885. procedure clearNVMOP3; inline;
  3886. procedure clearPROGOP0; inline;
  3887. procedure clearPROGOP1; inline;
  3888. procedure clearPROGOP2; inline;
  3889. procedure clearPROGOP3; inline;
  3890. procedure clearWR; inline;
  3891. procedure clearWREN; inline;
  3892. procedure clearWRERR; inline;
  3893. procedure setLVDERR; inline;
  3894. procedure setLVDSTAT; inline;
  3895. procedure setNVMOP0; inline;
  3896. procedure setNVMOP1; inline;
  3897. procedure setNVMOP2; inline;
  3898. procedure setNVMOP3; inline;
  3899. procedure setPROGOP0; inline;
  3900. procedure setPROGOP1; inline;
  3901. procedure setPROGOP2; inline;
  3902. procedure setPROGOP3; inline;
  3903. procedure setWR; inline;
  3904. procedure setWREN; inline;
  3905. procedure setWRERR; inline;
  3906. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  3907. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  3908. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  3909. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  3910. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  3911. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  3912. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  3913. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  3914. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  3915. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  3916. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  3917. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  3918. property WR : TBits_1 read getWR write setWR;
  3919. property WREN : TBits_1 read getWREN write setWREN;
  3920. property WRERR : TBits_1 read getWRERR write setWRERR;
  3921. property w : TBits_32 read getw write setw;
  3922. end;
  3923. type
  3924. TNVMRegisters = record
  3925. NVMCONbits : TNVM_NVMCON;
  3926. NVMCON : longWord;
  3927. NVMCONCLR : longWord;
  3928. NVMCONSET : longWord;
  3929. NVMCONINV : longWord;
  3930. NVMKEY : longWord;
  3931. NVMADDR : longWord;
  3932. NVMADDRCLR : longWord;
  3933. NVMADDRSET : longWord;
  3934. NVMADDRINV : longWord;
  3935. NVMDATA : longWord;
  3936. NVMSRCADDR : longWord;
  3937. end;
  3938. TRCON_RCON = record
  3939. private
  3940. function getBOR : TBits_1; inline;
  3941. function getCMR : TBits_1; inline;
  3942. function getEXTR : TBits_1; inline;
  3943. function getIDLE : TBits_1; inline;
  3944. function getPOR : TBits_1; inline;
  3945. function getSLEEP : TBits_1; inline;
  3946. function getSWR : TBits_1; inline;
  3947. function getVREGS : TBits_1; inline;
  3948. function getWDTO : TBits_1; inline;
  3949. function getw : TBits_32; inline;
  3950. procedure setBOR(thebits : TBits_1); inline;
  3951. procedure setCMR(thebits : TBits_1); inline;
  3952. procedure setEXTR(thebits : TBits_1); inline;
  3953. procedure setIDLE(thebits : TBits_1); inline;
  3954. procedure setPOR(thebits : TBits_1); inline;
  3955. procedure setSLEEP(thebits : TBits_1); inline;
  3956. procedure setSWR(thebits : TBits_1); inline;
  3957. procedure setVREGS(thebits : TBits_1); inline;
  3958. procedure setWDTO(thebits : TBits_1); inline;
  3959. procedure setw(thebits : TBits_32); inline;
  3960. public
  3961. procedure clearBOR; inline;
  3962. procedure clearCMR; inline;
  3963. procedure clearEXTR; inline;
  3964. procedure clearIDLE; inline;
  3965. procedure clearPOR; inline;
  3966. procedure clearSLEEP; inline;
  3967. procedure clearSWR; inline;
  3968. procedure clearVREGS; inline;
  3969. procedure clearWDTO; inline;
  3970. procedure setBOR; inline;
  3971. procedure setCMR; inline;
  3972. procedure setEXTR; inline;
  3973. procedure setIDLE; inline;
  3974. procedure setPOR; inline;
  3975. procedure setSLEEP; inline;
  3976. procedure setSWR; inline;
  3977. procedure setVREGS; inline;
  3978. procedure setWDTO; inline;
  3979. property BOR : TBits_1 read getBOR write setBOR;
  3980. property CMR : TBits_1 read getCMR write setCMR;
  3981. property EXTR : TBits_1 read getEXTR write setEXTR;
  3982. property IDLE : TBits_1 read getIDLE write setIDLE;
  3983. property POR : TBits_1 read getPOR write setPOR;
  3984. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  3985. property SWR : TBits_1 read getSWR write setSWR;
  3986. property VREGS : TBits_1 read getVREGS write setVREGS;
  3987. property WDTO : TBits_1 read getWDTO write setWDTO;
  3988. property w : TBits_32 read getw write setw;
  3989. end;
  3990. TRCON_RSWRST = record
  3991. private
  3992. function getSWRST : TBits_1; inline;
  3993. function getw : TBits_32; inline;
  3994. procedure setSWRST(thebits : TBits_1); inline;
  3995. procedure setw(thebits : TBits_32); inline;
  3996. public
  3997. procedure clearSWRST; inline;
  3998. procedure setSWRST; inline;
  3999. property SWRST : TBits_1 read getSWRST write setSWRST;
  4000. property w : TBits_32 read getw write setw;
  4001. end;
  4002. type
  4003. TRCONRegisters = record
  4004. RCONbits : TRCON_RCON;
  4005. RCON : longWord;
  4006. RCONCLR : longWord;
  4007. RCONSET : longWord;
  4008. RCONINV : longWord;
  4009. RSWRSTbits : TRCON_RSWRST;
  4010. RSWRST : longWord;
  4011. RSWRSTCLR : longWord;
  4012. RSWRSTSET : longWord;
  4013. RSWRSTINV : longWord;
  4014. end;
  4015. type
  4016. T_DDPSTATRegisters = record
  4017. _DDPSTAT : longWord;
  4018. end;
  4019. type
  4020. T_STRORegisters = record
  4021. _STRO : longWord;
  4022. _STROCLR : longWord;
  4023. _STROSET : longWord;
  4024. _STROINV : longWord;
  4025. end;
  4026. type
  4027. T_APPORegisters = record
  4028. _APPO : longWord;
  4029. _APPOCLR : longWord;
  4030. _APPOSET : longWord;
  4031. _APPOINV : longWord;
  4032. end;
  4033. type
  4034. T_APPIRegisters = record
  4035. _APPI : longWord;
  4036. end;
  4037. TINT_INTSTAT = record
  4038. private
  4039. function getRIPL : TBits_3; inline;
  4040. function getSRIPL : TBits_3; inline;
  4041. function getVEC : TBits_6; inline;
  4042. procedure setRIPL(thebits : TBits_3); inline;
  4043. procedure setSRIPL(thebits : TBits_3); inline;
  4044. procedure setVEC(thebits : TBits_6); inline;
  4045. public
  4046. property RIPL : TBits_3 read getRIPL write setRIPL;
  4047. property SRIPL : TBits_3 read getSRIPL write setSRIPL;
  4048. property VEC : TBits_6 read getVEC write setVEC;
  4049. end;
  4050. type
  4051. TINTRegisters = record
  4052. INTCON : longWord;
  4053. INTCONCLR : longWord;
  4054. INTCONSET : longWord;
  4055. INTCONINV : longWord;
  4056. INTSTATbits : TINT_INTSTAT;
  4057. INTSTAT : longWord;
  4058. IPTMR : longWord;
  4059. IPTMRCLR : longWord;
  4060. IPTMRSET : longWord;
  4061. IPTMRINV : longWord;
  4062. IFS0 : longWord;
  4063. IFS0CLR : longWord;
  4064. IFS0SET : longWord;
  4065. IFS0INV : longWord;
  4066. IFS1 : longWord;
  4067. IFS1CLR : longWord;
  4068. IFS1SET : longWord;
  4069. IFS1INV : longWord;
  4070. IEC0 : longWord;
  4071. IEC0CLR : longWord;
  4072. IEC0SET : longWord;
  4073. IEC0INV : longWord;
  4074. IEC1 : longWord;
  4075. IEC1CLR : longWord;
  4076. IEC1SET : longWord;
  4077. IEC1INV : longWord;
  4078. IPC0 : longWord;
  4079. IPC0CLR : longWord;
  4080. IPC0SET : longWord;
  4081. IPC0INV : longWord;
  4082. IPC1 : longWord;
  4083. IPC1CLR : longWord;
  4084. IPC1SET : longWord;
  4085. IPC1INV : longWord;
  4086. IPC2 : longWord;
  4087. IPC2CLR : longWord;
  4088. IPC2SET : longWord;
  4089. IPC2INV : longWord;
  4090. IPC3 : longWord;
  4091. IPC3CLR : longWord;
  4092. IPC3SET : longWord;
  4093. IPC3INV : longWord;
  4094. IPC4 : longWord;
  4095. IPC4CLR : longWord;
  4096. IPC4SET : longWord;
  4097. IPC4INV : longWord;
  4098. IPC5 : longWord;
  4099. IPC5CLR : longWord;
  4100. IPC5SET : longWord;
  4101. IPC5INV : longWord;
  4102. IPC6 : longWord;
  4103. IPC6CLR : longWord;
  4104. IPC6SET : longWord;
  4105. IPC6INV : longWord;
  4106. IPC7 : longWord;
  4107. IPC7CLR : longWord;
  4108. IPC7SET : longWord;
  4109. IPC7INV : longWord;
  4110. IPC8 : longWord;
  4111. IPC8CLR : longWord;
  4112. IPC8SET : longWord;
  4113. IPC8INV : longWord;
  4114. IPC9 : longWord;
  4115. IPC9CLR : longWord;
  4116. IPC9SET : longWord;
  4117. IPC9INV : longWord;
  4118. IPC11 : longWord;
  4119. IPC11CLR : longWord;
  4120. IPC11SET : longWord;
  4121. IPC11INV : longWord;
  4122. end;
  4123. TBMX_BMXCON = record
  4124. private
  4125. function getBMXARB : TBits_3; inline;
  4126. function getBMXCHEDMA : TBits_1; inline;
  4127. function getBMXERRDMA : TBits_1; inline;
  4128. function getBMXERRDS : TBits_1; inline;
  4129. function getBMXERRICD : TBits_1; inline;
  4130. function getBMXERRIS : TBits_1; inline;
  4131. function getBMXERRIXI : TBits_1; inline;
  4132. function getBMXWSDRM : TBits_1; inline;
  4133. function getw : TBits_32; inline;
  4134. procedure setBMXARB(thebits : TBits_3); inline;
  4135. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  4136. procedure setBMXERRDMA(thebits : TBits_1); inline;
  4137. procedure setBMXERRDS(thebits : TBits_1); inline;
  4138. procedure setBMXERRICD(thebits : TBits_1); inline;
  4139. procedure setBMXERRIS(thebits : TBits_1); inline;
  4140. procedure setBMXERRIXI(thebits : TBits_1); inline;
  4141. procedure setBMXWSDRM(thebits : TBits_1); inline;
  4142. procedure setw(thebits : TBits_32); inline;
  4143. public
  4144. procedure clearBMXCHEDMA; inline;
  4145. procedure clearBMXERRDMA; inline;
  4146. procedure clearBMXERRDS; inline;
  4147. procedure clearBMXERRICD; inline;
  4148. procedure clearBMXERRIS; inline;
  4149. procedure clearBMXERRIXI; inline;
  4150. procedure clearBMXWSDRM; inline;
  4151. procedure setBMXCHEDMA; inline;
  4152. procedure setBMXERRDMA; inline;
  4153. procedure setBMXERRDS; inline;
  4154. procedure setBMXERRICD; inline;
  4155. procedure setBMXERRIS; inline;
  4156. procedure setBMXERRIXI; inline;
  4157. procedure setBMXWSDRM; inline;
  4158. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  4159. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  4160. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  4161. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  4162. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  4163. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  4164. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  4165. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  4166. property w : TBits_32 read getw write setw;
  4167. end;
  4168. type
  4169. TBMXRegisters = record
  4170. BMXCONbits : TBMX_BMXCON;
  4171. BMXCON : longWord;
  4172. BMXCONCLR : longWord;
  4173. BMXCONSET : longWord;
  4174. BMXCONINV : longWord;
  4175. BMXDKPBA : longWord;
  4176. BMXDKPBACLR : longWord;
  4177. BMXDKPBASET : longWord;
  4178. BMXDKPBAINV : longWord;
  4179. BMXDUDBA : longWord;
  4180. BMXDUDBACLR : longWord;
  4181. BMXDUDBASET : longWord;
  4182. BMXDUDBAINV : longWord;
  4183. BMXDUPBA : longWord;
  4184. BMXDUPBACLR : longWord;
  4185. BMXDUPBASET : longWord;
  4186. BMXDUPBAINV : longWord;
  4187. BMXDRMSZ : longWord;
  4188. BMXPUPBA : longWord;
  4189. BMXPUPBACLR : longWord;
  4190. BMXPUPBASET : longWord;
  4191. BMXPUPBAINV : longWord;
  4192. BMXPFMSZ : longWord;
  4193. BMXBOOTSZ : longWord;
  4194. end;
  4195. TDMAC_DMACON = record
  4196. private
  4197. function getON : TBits_1; inline;
  4198. function getSIDL : TBits_1; inline;
  4199. function getSUSPEND : TBits_1; inline;
  4200. function getw : TBits_32; inline;
  4201. procedure setON(thebits : TBits_1); inline;
  4202. procedure setSIDL(thebits : TBits_1); inline;
  4203. procedure setSUSPEND(thebits : TBits_1); inline;
  4204. procedure setw(thebits : TBits_32); inline;
  4205. public
  4206. procedure clearON; inline;
  4207. procedure clearSIDL; inline;
  4208. procedure clearSUSPEND; inline;
  4209. procedure setON; inline;
  4210. procedure setSIDL; inline;
  4211. procedure setSUSPEND; inline;
  4212. property ON : TBits_1 read getON write setON;
  4213. property SIDL : TBits_1 read getSIDL write setSIDL;
  4214. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  4215. property w : TBits_32 read getw write setw;
  4216. end;
  4217. TDMAC_DMASTAT = record
  4218. private
  4219. function getDMACH : TBits_2; inline;
  4220. function getRDWR : TBits_1; inline;
  4221. function getw : TBits_32; inline;
  4222. procedure setDMACH(thebits : TBits_2); inline;
  4223. procedure setRDWR(thebits : TBits_1); inline;
  4224. procedure setw(thebits : TBits_32); inline;
  4225. public
  4226. procedure clearRDWR; inline;
  4227. procedure setRDWR; inline;
  4228. property DMACH : TBits_2 read getDMACH write setDMACH;
  4229. property RDWR : TBits_1 read getRDWR write setRDWR;
  4230. property w : TBits_32 read getw write setw;
  4231. end;
  4232. TDMAC_DCRCCON = record
  4233. private
  4234. function getBITO : TBits_1; inline;
  4235. function getBYTO : TBits_2; inline;
  4236. function getCRCAPP : TBits_1; inline;
  4237. function getCRCCH : TBits_2; inline;
  4238. function getCRCEN : TBits_1; inline;
  4239. function getCRCTYP : TBits_1; inline;
  4240. function getPLEN : TBits_4; inline;
  4241. function getWBO : TBits_1; inline;
  4242. function getw : TBits_32; inline;
  4243. procedure setBITO(thebits : TBits_1); inline;
  4244. procedure setBYTO(thebits : TBits_2); inline;
  4245. procedure setCRCAPP(thebits : TBits_1); inline;
  4246. procedure setCRCCH(thebits : TBits_2); inline;
  4247. procedure setCRCEN(thebits : TBits_1); inline;
  4248. procedure setCRCTYP(thebits : TBits_1); inline;
  4249. procedure setPLEN(thebits : TBits_4); inline;
  4250. procedure setWBO(thebits : TBits_1); inline;
  4251. procedure setw(thebits : TBits_32); inline;
  4252. public
  4253. procedure clearBITO; inline;
  4254. procedure clearCRCAPP; inline;
  4255. procedure clearCRCEN; inline;
  4256. procedure clearCRCTYP; inline;
  4257. procedure clearWBO; inline;
  4258. procedure setBITO; inline;
  4259. procedure setCRCAPP; inline;
  4260. procedure setCRCEN; inline;
  4261. procedure setCRCTYP; inline;
  4262. procedure setWBO; inline;
  4263. property BITO : TBits_1 read getBITO write setBITO;
  4264. property BYTO : TBits_2 read getBYTO write setBYTO;
  4265. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  4266. property CRCCH : TBits_2 read getCRCCH write setCRCCH;
  4267. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  4268. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  4269. property PLEN : TBits_4 read getPLEN write setPLEN;
  4270. property WBO : TBits_1 read getWBO write setWBO;
  4271. property w : TBits_32 read getw write setw;
  4272. end;
  4273. type
  4274. TDMACRegisters = record
  4275. DMACONbits : TDMAC_DMACON;
  4276. DMACON : longWord;
  4277. DMACONCLR : longWord;
  4278. DMACONSET : longWord;
  4279. DMACONINV : longWord;
  4280. DMASTATbits : TDMAC_DMASTAT;
  4281. DMASTAT : longWord;
  4282. DMASTATCLR : longWord;
  4283. DMASTATSET : longWord;
  4284. DMASTATINV : longWord;
  4285. DMAADDR : longWord;
  4286. DMAADDRCLR : longWord;
  4287. DMAADDRSET : longWord;
  4288. DMAADDRINV : longWord;
  4289. DCRCCONbits : TDMAC_DCRCCON;
  4290. DCRCCON : longWord;
  4291. DCRCCONCLR : longWord;
  4292. DCRCCONSET : longWord;
  4293. DCRCCONINV : longWord;
  4294. DCRCDATA : longWord;
  4295. DCRCDATACLR : longWord;
  4296. DCRCDATASET : longWord;
  4297. DCRCDATAINV : longWord;
  4298. DCRCXOR : longWord;
  4299. DCRCXORCLR : longWord;
  4300. DCRCXORSET : longWord;
  4301. DCRCXORINV : longWord;
  4302. end;
  4303. TDMAC0_DCH0CON = record
  4304. private
  4305. function getCHAED : TBits_1; inline;
  4306. function getCHAEN : TBits_1; inline;
  4307. function getCHCHN : TBits_1; inline;
  4308. function getCHCHNS : TBits_1; inline;
  4309. function getCHEDET : TBits_1; inline;
  4310. function getCHEN : TBits_1; inline;
  4311. function getCHPRI : TBits_2; inline;
  4312. function getw : TBits_32; inline;
  4313. procedure setCHAED(thebits : TBits_1); inline;
  4314. procedure setCHAEN(thebits : TBits_1); inline;
  4315. procedure setCHCHN(thebits : TBits_1); inline;
  4316. procedure setCHCHNS(thebits : TBits_1); inline;
  4317. procedure setCHEDET(thebits : TBits_1); inline;
  4318. procedure setCHEN(thebits : TBits_1); inline;
  4319. procedure setCHPRI(thebits : TBits_2); inline;
  4320. procedure setw(thebits : TBits_32); inline;
  4321. public
  4322. procedure clearCHAED; inline;
  4323. procedure clearCHAEN; inline;
  4324. procedure clearCHCHN; inline;
  4325. procedure clearCHCHNS; inline;
  4326. procedure clearCHEDET; inline;
  4327. procedure clearCHEN; inline;
  4328. procedure setCHAED; inline;
  4329. procedure setCHAEN; inline;
  4330. procedure setCHCHN; inline;
  4331. procedure setCHCHNS; inline;
  4332. procedure setCHEDET; inline;
  4333. procedure setCHEN; inline;
  4334. property CHAED : TBits_1 read getCHAED write setCHAED;
  4335. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4336. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4337. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4338. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4339. property CHEN : TBits_1 read getCHEN write setCHEN;
  4340. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4341. property w : TBits_32 read getw write setw;
  4342. end;
  4343. TDMAC0_DCH0ECON = record
  4344. private
  4345. function getAIRQEN : TBits_1; inline;
  4346. function getCABORT : TBits_1; inline;
  4347. function getCFORCE : TBits_1; inline;
  4348. function getCHAIRQ : TBits_8; inline;
  4349. function getCHSIRQ : TBits_8; inline;
  4350. function getPATEN : TBits_1; inline;
  4351. function getSIRQEN : TBits_1; inline;
  4352. function getw : TBits_32; inline;
  4353. procedure setAIRQEN(thebits : TBits_1); inline;
  4354. procedure setCABORT(thebits : TBits_1); inline;
  4355. procedure setCFORCE(thebits : TBits_1); inline;
  4356. procedure setCHAIRQ(thebits : TBits_8); inline;
  4357. procedure setCHSIRQ(thebits : TBits_8); inline;
  4358. procedure setPATEN(thebits : TBits_1); inline;
  4359. procedure setSIRQEN(thebits : TBits_1); inline;
  4360. procedure setw(thebits : TBits_32); inline;
  4361. public
  4362. procedure clearAIRQEN; inline;
  4363. procedure clearCABORT; inline;
  4364. procedure clearCFORCE; inline;
  4365. procedure clearPATEN; inline;
  4366. procedure clearSIRQEN; inline;
  4367. procedure setAIRQEN; inline;
  4368. procedure setCABORT; inline;
  4369. procedure setCFORCE; inline;
  4370. procedure setPATEN; inline;
  4371. procedure setSIRQEN; inline;
  4372. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4373. property CABORT : TBits_1 read getCABORT write setCABORT;
  4374. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4375. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4376. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4377. property PATEN : TBits_1 read getPATEN write setPATEN;
  4378. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4379. property w : TBits_32 read getw write setw;
  4380. end;
  4381. TDMAC0_DCH0INT = record
  4382. private
  4383. function getCHBCIE : TBits_1; inline;
  4384. function getCHBCIF : TBits_1; inline;
  4385. function getCHCCIE : TBits_1; inline;
  4386. function getCHCCIF : TBits_1; inline;
  4387. function getCHDDIE : TBits_1; inline;
  4388. function getCHDDIF : TBits_1; inline;
  4389. function getCHDHIE : TBits_1; inline;
  4390. function getCHDHIF : TBits_1; inline;
  4391. function getCHERIE : TBits_1; inline;
  4392. function getCHERIF : TBits_1; inline;
  4393. function getCHSDIE : TBits_1; inline;
  4394. function getCHSDIF : TBits_1; inline;
  4395. function getCHSHIE : TBits_1; inline;
  4396. function getCHSHIF : TBits_1; inline;
  4397. function getCHTAIE : TBits_1; inline;
  4398. function getCHTAIF : TBits_1; inline;
  4399. function getw : TBits_32; inline;
  4400. procedure setCHBCIE(thebits : TBits_1); inline;
  4401. procedure setCHBCIF(thebits : TBits_1); inline;
  4402. procedure setCHCCIE(thebits : TBits_1); inline;
  4403. procedure setCHCCIF(thebits : TBits_1); inline;
  4404. procedure setCHDDIE(thebits : TBits_1); inline;
  4405. procedure setCHDDIF(thebits : TBits_1); inline;
  4406. procedure setCHDHIE(thebits : TBits_1); inline;
  4407. procedure setCHDHIF(thebits : TBits_1); inline;
  4408. procedure setCHERIE(thebits : TBits_1); inline;
  4409. procedure setCHERIF(thebits : TBits_1); inline;
  4410. procedure setCHSDIE(thebits : TBits_1); inline;
  4411. procedure setCHSDIF(thebits : TBits_1); inline;
  4412. procedure setCHSHIE(thebits : TBits_1); inline;
  4413. procedure setCHSHIF(thebits : TBits_1); inline;
  4414. procedure setCHTAIE(thebits : TBits_1); inline;
  4415. procedure setCHTAIF(thebits : TBits_1); inline;
  4416. procedure setw(thebits : TBits_32); inline;
  4417. public
  4418. procedure clearCHBCIE; inline;
  4419. procedure clearCHBCIF; inline;
  4420. procedure clearCHCCIE; inline;
  4421. procedure clearCHCCIF; inline;
  4422. procedure clearCHDDIE; inline;
  4423. procedure clearCHDDIF; inline;
  4424. procedure clearCHDHIE; inline;
  4425. procedure clearCHDHIF; inline;
  4426. procedure clearCHERIE; inline;
  4427. procedure clearCHERIF; inline;
  4428. procedure clearCHSDIE; inline;
  4429. procedure clearCHSDIF; inline;
  4430. procedure clearCHSHIE; inline;
  4431. procedure clearCHSHIF; inline;
  4432. procedure clearCHTAIE; inline;
  4433. procedure clearCHTAIF; inline;
  4434. procedure setCHBCIE; inline;
  4435. procedure setCHBCIF; inline;
  4436. procedure setCHCCIE; inline;
  4437. procedure setCHCCIF; inline;
  4438. procedure setCHDDIE; inline;
  4439. procedure setCHDDIF; inline;
  4440. procedure setCHDHIE; inline;
  4441. procedure setCHDHIF; inline;
  4442. procedure setCHERIE; inline;
  4443. procedure setCHERIF; inline;
  4444. procedure setCHSDIE; inline;
  4445. procedure setCHSDIF; inline;
  4446. procedure setCHSHIE; inline;
  4447. procedure setCHSHIF; inline;
  4448. procedure setCHTAIE; inline;
  4449. procedure setCHTAIF; inline;
  4450. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4451. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4452. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4453. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4454. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4455. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4456. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4457. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4458. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4459. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4460. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4461. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4462. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4463. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4464. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4465. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4466. property w : TBits_32 read getw write setw;
  4467. end;
  4468. type
  4469. TDMAC0Registers = record
  4470. DCH0CONbits : TDMAC0_DCH0CON;
  4471. DCH0CON : longWord;
  4472. DCH0CONCLR : longWord;
  4473. DCH0CONSET : longWord;
  4474. DCH0CONINV : longWord;
  4475. DCH0ECONbits : TDMAC0_DCH0ECON;
  4476. DCH0ECON : longWord;
  4477. DCH0ECONCLR : longWord;
  4478. DCH0ECONSET : longWord;
  4479. DCH0ECONINV : longWord;
  4480. DCH0INTbits : TDMAC0_DCH0INT;
  4481. DCH0INT : longWord;
  4482. DCH0INTCLR : longWord;
  4483. DCH0INTSET : longWord;
  4484. DCH0INTINV : longWord;
  4485. DCH0SSA : longWord;
  4486. DCH0SSACLR : longWord;
  4487. DCH0SSASET : longWord;
  4488. DCH0SSAINV : longWord;
  4489. DCH0DSA : longWord;
  4490. DCH0DSACLR : longWord;
  4491. DCH0DSASET : longWord;
  4492. DCH0DSAINV : longWord;
  4493. DCH0SSIZ : longWord;
  4494. DCH0SSIZCLR : longWord;
  4495. DCH0SSIZSET : longWord;
  4496. DCH0SSIZINV : longWord;
  4497. DCH0DSIZ : longWord;
  4498. DCH0DSIZCLR : longWord;
  4499. DCH0DSIZSET : longWord;
  4500. DCH0DSIZINV : longWord;
  4501. DCH0SPTR : longWord;
  4502. DCH0SPTRCLR : longWord;
  4503. DCH0SPTRSET : longWord;
  4504. DCH0SPTRINV : longWord;
  4505. DCH0DPTR : longWord;
  4506. DCH0DPTRCLR : longWord;
  4507. DCH0DPTRSET : longWord;
  4508. DCH0DPTRINV : longWord;
  4509. DCH0CSIZ : longWord;
  4510. DCH0CSIZCLR : longWord;
  4511. DCH0CSIZSET : longWord;
  4512. DCH0CSIZINV : longWord;
  4513. DCH0CPTR : longWord;
  4514. DCH0CPTRCLR : longWord;
  4515. DCH0CPTRSET : longWord;
  4516. DCH0CPTRINV : longWord;
  4517. DCH0DAT : longWord;
  4518. DCH0DATCLR : longWord;
  4519. DCH0DATSET : longWord;
  4520. DCH0DATINV : longWord;
  4521. end;
  4522. TDMAC1_DCH1CON = record
  4523. private
  4524. function getCHAED : TBits_1; inline;
  4525. function getCHAEN : TBits_1; inline;
  4526. function getCHCHN : TBits_1; inline;
  4527. function getCHCHNS : TBits_1; inline;
  4528. function getCHEDET : TBits_1; inline;
  4529. function getCHEN : TBits_1; inline;
  4530. function getCHPRI : TBits_2; inline;
  4531. function getw : TBits_32; inline;
  4532. procedure setCHAED(thebits : TBits_1); inline;
  4533. procedure setCHAEN(thebits : TBits_1); inline;
  4534. procedure setCHCHN(thebits : TBits_1); inline;
  4535. procedure setCHCHNS(thebits : TBits_1); inline;
  4536. procedure setCHEDET(thebits : TBits_1); inline;
  4537. procedure setCHEN(thebits : TBits_1); inline;
  4538. procedure setCHPRI(thebits : TBits_2); inline;
  4539. procedure setw(thebits : TBits_32); inline;
  4540. public
  4541. procedure clearCHAED; inline;
  4542. procedure clearCHAEN; inline;
  4543. procedure clearCHCHN; inline;
  4544. procedure clearCHCHNS; inline;
  4545. procedure clearCHEDET; inline;
  4546. procedure clearCHEN; inline;
  4547. procedure setCHAED; inline;
  4548. procedure setCHAEN; inline;
  4549. procedure setCHCHN; inline;
  4550. procedure setCHCHNS; inline;
  4551. procedure setCHEDET; inline;
  4552. procedure setCHEN; inline;
  4553. property CHAED : TBits_1 read getCHAED write setCHAED;
  4554. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4555. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4556. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4557. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4558. property CHEN : TBits_1 read getCHEN write setCHEN;
  4559. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4560. property w : TBits_32 read getw write setw;
  4561. end;
  4562. TDMAC1_DCH1ECON = record
  4563. private
  4564. function getAIRQEN : TBits_1; inline;
  4565. function getCABORT : TBits_1; inline;
  4566. function getCFORCE : TBits_1; inline;
  4567. function getCHAIRQ : TBits_8; inline;
  4568. function getCHSIRQ : TBits_8; inline;
  4569. function getPATEN : TBits_1; inline;
  4570. function getSIRQEN : TBits_1; inline;
  4571. function getw : TBits_32; inline;
  4572. procedure setAIRQEN(thebits : TBits_1); inline;
  4573. procedure setCABORT(thebits : TBits_1); inline;
  4574. procedure setCFORCE(thebits : TBits_1); inline;
  4575. procedure setCHAIRQ(thebits : TBits_8); inline;
  4576. procedure setCHSIRQ(thebits : TBits_8); inline;
  4577. procedure setPATEN(thebits : TBits_1); inline;
  4578. procedure setSIRQEN(thebits : TBits_1); inline;
  4579. procedure setw(thebits : TBits_32); inline;
  4580. public
  4581. procedure clearAIRQEN; inline;
  4582. procedure clearCABORT; inline;
  4583. procedure clearCFORCE; inline;
  4584. procedure clearPATEN; inline;
  4585. procedure clearSIRQEN; inline;
  4586. procedure setAIRQEN; inline;
  4587. procedure setCABORT; inline;
  4588. procedure setCFORCE; inline;
  4589. procedure setPATEN; inline;
  4590. procedure setSIRQEN; inline;
  4591. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4592. property CABORT : TBits_1 read getCABORT write setCABORT;
  4593. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4594. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4595. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4596. property PATEN : TBits_1 read getPATEN write setPATEN;
  4597. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4598. property w : TBits_32 read getw write setw;
  4599. end;
  4600. TDMAC1_DCH1INT = record
  4601. private
  4602. function getCHBCIE : TBits_1; inline;
  4603. function getCHBCIF : TBits_1; inline;
  4604. function getCHCCIE : TBits_1; inline;
  4605. function getCHCCIF : TBits_1; inline;
  4606. function getCHDDIE : TBits_1; inline;
  4607. function getCHDDIF : TBits_1; inline;
  4608. function getCHDHIE : TBits_1; inline;
  4609. function getCHDHIF : TBits_1; inline;
  4610. function getCHERIE : TBits_1; inline;
  4611. function getCHERIF : TBits_1; inline;
  4612. function getCHSDIE : TBits_1; inline;
  4613. function getCHSDIF : TBits_1; inline;
  4614. function getCHSHIE : TBits_1; inline;
  4615. function getCHSHIF : TBits_1; inline;
  4616. function getCHTAIE : TBits_1; inline;
  4617. function getCHTAIF : TBits_1; inline;
  4618. function getw : TBits_32; inline;
  4619. procedure setCHBCIE(thebits : TBits_1); inline;
  4620. procedure setCHBCIF(thebits : TBits_1); inline;
  4621. procedure setCHCCIE(thebits : TBits_1); inline;
  4622. procedure setCHCCIF(thebits : TBits_1); inline;
  4623. procedure setCHDDIE(thebits : TBits_1); inline;
  4624. procedure setCHDDIF(thebits : TBits_1); inline;
  4625. procedure setCHDHIE(thebits : TBits_1); inline;
  4626. procedure setCHDHIF(thebits : TBits_1); inline;
  4627. procedure setCHERIE(thebits : TBits_1); inline;
  4628. procedure setCHERIF(thebits : TBits_1); inline;
  4629. procedure setCHSDIE(thebits : TBits_1); inline;
  4630. procedure setCHSDIF(thebits : TBits_1); inline;
  4631. procedure setCHSHIE(thebits : TBits_1); inline;
  4632. procedure setCHSHIF(thebits : TBits_1); inline;
  4633. procedure setCHTAIE(thebits : TBits_1); inline;
  4634. procedure setCHTAIF(thebits : TBits_1); inline;
  4635. procedure setw(thebits : TBits_32); inline;
  4636. public
  4637. procedure clearCHBCIE; inline;
  4638. procedure clearCHBCIF; inline;
  4639. procedure clearCHCCIE; inline;
  4640. procedure clearCHCCIF; inline;
  4641. procedure clearCHDDIE; inline;
  4642. procedure clearCHDDIF; inline;
  4643. procedure clearCHDHIE; inline;
  4644. procedure clearCHDHIF; inline;
  4645. procedure clearCHERIE; inline;
  4646. procedure clearCHERIF; inline;
  4647. procedure clearCHSDIE; inline;
  4648. procedure clearCHSDIF; inline;
  4649. procedure clearCHSHIE; inline;
  4650. procedure clearCHSHIF; inline;
  4651. procedure clearCHTAIE; inline;
  4652. procedure clearCHTAIF; inline;
  4653. procedure setCHBCIE; inline;
  4654. procedure setCHBCIF; inline;
  4655. procedure setCHCCIE; inline;
  4656. procedure setCHCCIF; inline;
  4657. procedure setCHDDIE; inline;
  4658. procedure setCHDDIF; inline;
  4659. procedure setCHDHIE; inline;
  4660. procedure setCHDHIF; inline;
  4661. procedure setCHERIE; inline;
  4662. procedure setCHERIF; inline;
  4663. procedure setCHSDIE; inline;
  4664. procedure setCHSDIF; inline;
  4665. procedure setCHSHIE; inline;
  4666. procedure setCHSHIF; inline;
  4667. procedure setCHTAIE; inline;
  4668. procedure setCHTAIF; inline;
  4669. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4670. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4671. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4672. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4673. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4674. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4675. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4676. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4677. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4678. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4679. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4680. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4681. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4682. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4683. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4684. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4685. property w : TBits_32 read getw write setw;
  4686. end;
  4687. type
  4688. TDMAC1Registers = record
  4689. DCH1CONbits : TDMAC1_DCH1CON;
  4690. DCH1CON : longWord;
  4691. DCH1CONCLR : longWord;
  4692. DCH1CONSET : longWord;
  4693. DCH1CONINV : longWord;
  4694. DCH1ECONbits : TDMAC1_DCH1ECON;
  4695. DCH1ECON : longWord;
  4696. DCH1ECONCLR : longWord;
  4697. DCH1ECONSET : longWord;
  4698. DCH1ECONINV : longWord;
  4699. DCH1INTbits : TDMAC1_DCH1INT;
  4700. DCH1INT : longWord;
  4701. DCH1INTCLR : longWord;
  4702. DCH1INTSET : longWord;
  4703. DCH1INTINV : longWord;
  4704. DCH1SSA : longWord;
  4705. DCH1SSACLR : longWord;
  4706. DCH1SSASET : longWord;
  4707. DCH1SSAINV : longWord;
  4708. DCH1DSA : longWord;
  4709. DCH1DSACLR : longWord;
  4710. DCH1DSASET : longWord;
  4711. DCH1DSAINV : longWord;
  4712. DCH1SSIZ : longWord;
  4713. DCH1SSIZCLR : longWord;
  4714. DCH1SSIZSET : longWord;
  4715. DCH1SSIZINV : longWord;
  4716. DCH1DSIZ : longWord;
  4717. DCH1DSIZCLR : longWord;
  4718. DCH1DSIZSET : longWord;
  4719. DCH1DSIZINV : longWord;
  4720. DCH1SPTR : longWord;
  4721. DCH1SPTRCLR : longWord;
  4722. DCH1SPTRSET : longWord;
  4723. DCH1SPTRINV : longWord;
  4724. DCH1DPTR : longWord;
  4725. DCH1DPTRCLR : longWord;
  4726. DCH1DPTRSET : longWord;
  4727. DCH1DPTRINV : longWord;
  4728. DCH1CSIZ : longWord;
  4729. DCH1CSIZCLR : longWord;
  4730. DCH1CSIZSET : longWord;
  4731. DCH1CSIZINV : longWord;
  4732. DCH1CPTR : longWord;
  4733. DCH1CPTRCLR : longWord;
  4734. DCH1CPTRSET : longWord;
  4735. DCH1CPTRINV : longWord;
  4736. DCH1DAT : longWord;
  4737. DCH1DATCLR : longWord;
  4738. DCH1DATSET : longWord;
  4739. DCH1DATINV : longWord;
  4740. end;
  4741. TDMAC2_DCH2CON = record
  4742. private
  4743. function getCHAED : TBits_1; inline;
  4744. function getCHAEN : TBits_1; inline;
  4745. function getCHCHN : TBits_1; inline;
  4746. function getCHCHNS : TBits_1; inline;
  4747. function getCHEDET : TBits_1; inline;
  4748. function getCHEN : TBits_1; inline;
  4749. function getCHPRI : TBits_2; inline;
  4750. function getw : TBits_32; inline;
  4751. procedure setCHAED(thebits : TBits_1); inline;
  4752. procedure setCHAEN(thebits : TBits_1); inline;
  4753. procedure setCHCHN(thebits : TBits_1); inline;
  4754. procedure setCHCHNS(thebits : TBits_1); inline;
  4755. procedure setCHEDET(thebits : TBits_1); inline;
  4756. procedure setCHEN(thebits : TBits_1); inline;
  4757. procedure setCHPRI(thebits : TBits_2); inline;
  4758. procedure setw(thebits : TBits_32); inline;
  4759. public
  4760. procedure clearCHAED; inline;
  4761. procedure clearCHAEN; inline;
  4762. procedure clearCHCHN; inline;
  4763. procedure clearCHCHNS; inline;
  4764. procedure clearCHEDET; inline;
  4765. procedure clearCHEN; inline;
  4766. procedure setCHAED; inline;
  4767. procedure setCHAEN; inline;
  4768. procedure setCHCHN; inline;
  4769. procedure setCHCHNS; inline;
  4770. procedure setCHEDET; inline;
  4771. procedure setCHEN; inline;
  4772. property CHAED : TBits_1 read getCHAED write setCHAED;
  4773. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4774. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4775. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4776. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4777. property CHEN : TBits_1 read getCHEN write setCHEN;
  4778. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4779. property w : TBits_32 read getw write setw;
  4780. end;
  4781. TDMAC2_DCH2ECON = record
  4782. private
  4783. function getAIRQEN : TBits_1; inline;
  4784. function getCABORT : TBits_1; inline;
  4785. function getCFORCE : TBits_1; inline;
  4786. function getCHAIRQ : TBits_8; inline;
  4787. function getCHSIRQ : TBits_8; inline;
  4788. function getPATEN : TBits_1; inline;
  4789. function getSIRQEN : TBits_1; inline;
  4790. function getw : TBits_32; inline;
  4791. procedure setAIRQEN(thebits : TBits_1); inline;
  4792. procedure setCABORT(thebits : TBits_1); inline;
  4793. procedure setCFORCE(thebits : TBits_1); inline;
  4794. procedure setCHAIRQ(thebits : TBits_8); inline;
  4795. procedure setCHSIRQ(thebits : TBits_8); inline;
  4796. procedure setPATEN(thebits : TBits_1); inline;
  4797. procedure setSIRQEN(thebits : TBits_1); inline;
  4798. procedure setw(thebits : TBits_32); inline;
  4799. public
  4800. procedure clearAIRQEN; inline;
  4801. procedure clearCABORT; inline;
  4802. procedure clearCFORCE; inline;
  4803. procedure clearPATEN; inline;
  4804. procedure clearSIRQEN; inline;
  4805. procedure setAIRQEN; inline;
  4806. procedure setCABORT; inline;
  4807. procedure setCFORCE; inline;
  4808. procedure setPATEN; inline;
  4809. procedure setSIRQEN; inline;
  4810. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4811. property CABORT : TBits_1 read getCABORT write setCABORT;
  4812. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4813. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4814. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4815. property PATEN : TBits_1 read getPATEN write setPATEN;
  4816. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4817. property w : TBits_32 read getw write setw;
  4818. end;
  4819. TDMAC2_DCH2INT = record
  4820. private
  4821. function getCHBCIE : TBits_1; inline;
  4822. function getCHBCIF : TBits_1; inline;
  4823. function getCHCCIE : TBits_1; inline;
  4824. function getCHCCIF : TBits_1; inline;
  4825. function getCHDDIE : TBits_1; inline;
  4826. function getCHDDIF : TBits_1; inline;
  4827. function getCHDHIE : TBits_1; inline;
  4828. function getCHDHIF : TBits_1; inline;
  4829. function getCHERIE : TBits_1; inline;
  4830. function getCHERIF : TBits_1; inline;
  4831. function getCHSDIE : TBits_1; inline;
  4832. function getCHSDIF : TBits_1; inline;
  4833. function getCHSHIE : TBits_1; inline;
  4834. function getCHSHIF : TBits_1; inline;
  4835. function getCHTAIE : TBits_1; inline;
  4836. function getCHTAIF : TBits_1; inline;
  4837. function getw : TBits_32; inline;
  4838. procedure setCHBCIE(thebits : TBits_1); inline;
  4839. procedure setCHBCIF(thebits : TBits_1); inline;
  4840. procedure setCHCCIE(thebits : TBits_1); inline;
  4841. procedure setCHCCIF(thebits : TBits_1); inline;
  4842. procedure setCHDDIE(thebits : TBits_1); inline;
  4843. procedure setCHDDIF(thebits : TBits_1); inline;
  4844. procedure setCHDHIE(thebits : TBits_1); inline;
  4845. procedure setCHDHIF(thebits : TBits_1); inline;
  4846. procedure setCHERIE(thebits : TBits_1); inline;
  4847. procedure setCHERIF(thebits : TBits_1); inline;
  4848. procedure setCHSDIE(thebits : TBits_1); inline;
  4849. procedure setCHSDIF(thebits : TBits_1); inline;
  4850. procedure setCHSHIE(thebits : TBits_1); inline;
  4851. procedure setCHSHIF(thebits : TBits_1); inline;
  4852. procedure setCHTAIE(thebits : TBits_1); inline;
  4853. procedure setCHTAIF(thebits : TBits_1); inline;
  4854. procedure setw(thebits : TBits_32); inline;
  4855. public
  4856. procedure clearCHBCIE; inline;
  4857. procedure clearCHBCIF; inline;
  4858. procedure clearCHCCIE; inline;
  4859. procedure clearCHCCIF; inline;
  4860. procedure clearCHDDIE; inline;
  4861. procedure clearCHDDIF; inline;
  4862. procedure clearCHDHIE; inline;
  4863. procedure clearCHDHIF; inline;
  4864. procedure clearCHERIE; inline;
  4865. procedure clearCHERIF; inline;
  4866. procedure clearCHSDIE; inline;
  4867. procedure clearCHSDIF; inline;
  4868. procedure clearCHSHIE; inline;
  4869. procedure clearCHSHIF; inline;
  4870. procedure clearCHTAIE; inline;
  4871. procedure clearCHTAIF; inline;
  4872. procedure setCHBCIE; inline;
  4873. procedure setCHBCIF; inline;
  4874. procedure setCHCCIE; inline;
  4875. procedure setCHCCIF; inline;
  4876. procedure setCHDDIE; inline;
  4877. procedure setCHDDIF; inline;
  4878. procedure setCHDHIE; inline;
  4879. procedure setCHDHIF; inline;
  4880. procedure setCHERIE; inline;
  4881. procedure setCHERIF; inline;
  4882. procedure setCHSDIE; inline;
  4883. procedure setCHSDIF; inline;
  4884. procedure setCHSHIE; inline;
  4885. procedure setCHSHIF; inline;
  4886. procedure setCHTAIE; inline;
  4887. procedure setCHTAIF; inline;
  4888. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4889. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4890. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4891. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4892. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4893. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4894. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4895. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4896. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4897. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4898. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4899. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4900. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4901. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4902. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4903. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4904. property w : TBits_32 read getw write setw;
  4905. end;
  4906. type
  4907. TDMAC2Registers = record
  4908. DCH2CONbits : TDMAC2_DCH2CON;
  4909. DCH2CON : longWord;
  4910. DCH2CONCLR : longWord;
  4911. DCH2CONSET : longWord;
  4912. DCH2CONINV : longWord;
  4913. DCH2ECONbits : TDMAC2_DCH2ECON;
  4914. DCH2ECON : longWord;
  4915. DCH2ECONCLR : longWord;
  4916. DCH2ECONSET : longWord;
  4917. DCH2ECONINV : longWord;
  4918. DCH2INTbits : TDMAC2_DCH2INT;
  4919. DCH2INT : longWord;
  4920. DCH2INTCLR : longWord;
  4921. DCH2INTSET : longWord;
  4922. DCH2INTINV : longWord;
  4923. DCH2SSA : longWord;
  4924. DCH2SSACLR : longWord;
  4925. DCH2SSASET : longWord;
  4926. DCH2SSAINV : longWord;
  4927. DCH2DSA : longWord;
  4928. DCH2DSACLR : longWord;
  4929. DCH2DSASET : longWord;
  4930. DCH2DSAINV : longWord;
  4931. DCH2SSIZ : longWord;
  4932. DCH2SSIZCLR : longWord;
  4933. DCH2SSIZSET : longWord;
  4934. DCH2SSIZINV : longWord;
  4935. DCH2DSIZ : longWord;
  4936. DCH2DSIZCLR : longWord;
  4937. DCH2DSIZSET : longWord;
  4938. DCH2DSIZINV : longWord;
  4939. DCH2SPTR : longWord;
  4940. DCH2SPTRCLR : longWord;
  4941. DCH2SPTRSET : longWord;
  4942. DCH2SPTRINV : longWord;
  4943. DCH2DPTR : longWord;
  4944. DCH2DPTRCLR : longWord;
  4945. DCH2DPTRSET : longWord;
  4946. DCH2DPTRINV : longWord;
  4947. DCH2CSIZ : longWord;
  4948. DCH2CSIZCLR : longWord;
  4949. DCH2CSIZSET : longWord;
  4950. DCH2CSIZINV : longWord;
  4951. DCH2CPTR : longWord;
  4952. DCH2CPTRCLR : longWord;
  4953. DCH2CPTRSET : longWord;
  4954. DCH2CPTRINV : longWord;
  4955. DCH2DAT : longWord;
  4956. DCH2DATCLR : longWord;
  4957. DCH2DATSET : longWord;
  4958. DCH2DATINV : longWord;
  4959. end;
  4960. TDMAC3_DCH3CON = record
  4961. private
  4962. function getCHAED : TBits_1; inline;
  4963. function getCHAEN : TBits_1; inline;
  4964. function getCHCHN : TBits_1; inline;
  4965. function getCHCHNS : TBits_1; inline;
  4966. function getCHEDET : TBits_1; inline;
  4967. function getCHEN : TBits_1; inline;
  4968. function getCHPRI : TBits_2; inline;
  4969. function getw : TBits_32; inline;
  4970. procedure setCHAED(thebits : TBits_1); inline;
  4971. procedure setCHAEN(thebits : TBits_1); inline;
  4972. procedure setCHCHN(thebits : TBits_1); inline;
  4973. procedure setCHCHNS(thebits : TBits_1); inline;
  4974. procedure setCHEDET(thebits : TBits_1); inline;
  4975. procedure setCHEN(thebits : TBits_1); inline;
  4976. procedure setCHPRI(thebits : TBits_2); inline;
  4977. procedure setw(thebits : TBits_32); inline;
  4978. public
  4979. procedure clearCHAED; inline;
  4980. procedure clearCHAEN; inline;
  4981. procedure clearCHCHN; inline;
  4982. procedure clearCHCHNS; inline;
  4983. procedure clearCHEDET; inline;
  4984. procedure clearCHEN; inline;
  4985. procedure setCHAED; inline;
  4986. procedure setCHAEN; inline;
  4987. procedure setCHCHN; inline;
  4988. procedure setCHCHNS; inline;
  4989. procedure setCHEDET; inline;
  4990. procedure setCHEN; inline;
  4991. property CHAED : TBits_1 read getCHAED write setCHAED;
  4992. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4993. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4994. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4995. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4996. property CHEN : TBits_1 read getCHEN write setCHEN;
  4997. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4998. property w : TBits_32 read getw write setw;
  4999. end;
  5000. TDMAC3_DCH3ECON = record
  5001. private
  5002. function getAIRQEN : TBits_1; inline;
  5003. function getCABORT : TBits_1; inline;
  5004. function getCFORCE : TBits_1; inline;
  5005. function getCHAIRQ : TBits_8; inline;
  5006. function getCHSIRQ : TBits_8; inline;
  5007. function getPATEN : TBits_1; inline;
  5008. function getSIRQEN : TBits_1; inline;
  5009. function getw : TBits_32; inline;
  5010. procedure setAIRQEN(thebits : TBits_1); inline;
  5011. procedure setCABORT(thebits : TBits_1); inline;
  5012. procedure setCFORCE(thebits : TBits_1); inline;
  5013. procedure setCHAIRQ(thebits : TBits_8); inline;
  5014. procedure setCHSIRQ(thebits : TBits_8); inline;
  5015. procedure setPATEN(thebits : TBits_1); inline;
  5016. procedure setSIRQEN(thebits : TBits_1); inline;
  5017. procedure setw(thebits : TBits_32); inline;
  5018. public
  5019. procedure clearAIRQEN; inline;
  5020. procedure clearCABORT; inline;
  5021. procedure clearCFORCE; inline;
  5022. procedure clearPATEN; inline;
  5023. procedure clearSIRQEN; inline;
  5024. procedure setAIRQEN; inline;
  5025. procedure setCABORT; inline;
  5026. procedure setCFORCE; inline;
  5027. procedure setPATEN; inline;
  5028. procedure setSIRQEN; inline;
  5029. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  5030. property CABORT : TBits_1 read getCABORT write setCABORT;
  5031. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  5032. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  5033. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  5034. property PATEN : TBits_1 read getPATEN write setPATEN;
  5035. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  5036. property w : TBits_32 read getw write setw;
  5037. end;
  5038. TDMAC3_DCH3INT = record
  5039. private
  5040. function getCHBCIE : TBits_1; inline;
  5041. function getCHBCIF : TBits_1; inline;
  5042. function getCHCCIE : TBits_1; inline;
  5043. function getCHCCIF : TBits_1; inline;
  5044. function getCHDDIE : TBits_1; inline;
  5045. function getCHDDIF : TBits_1; inline;
  5046. function getCHDHIE : TBits_1; inline;
  5047. function getCHDHIF : TBits_1; inline;
  5048. function getCHERIE : TBits_1; inline;
  5049. function getCHERIF : TBits_1; inline;
  5050. function getCHSDIE : TBits_1; inline;
  5051. function getCHSDIF : TBits_1; inline;
  5052. function getCHSHIE : TBits_1; inline;
  5053. function getCHSHIF : TBits_1; inline;
  5054. function getCHTAIE : TBits_1; inline;
  5055. function getCHTAIF : TBits_1; inline;
  5056. function getw : TBits_32; inline;
  5057. procedure setCHBCIE(thebits : TBits_1); inline;
  5058. procedure setCHBCIF(thebits : TBits_1); inline;
  5059. procedure setCHCCIE(thebits : TBits_1); inline;
  5060. procedure setCHCCIF(thebits : TBits_1); inline;
  5061. procedure setCHDDIE(thebits : TBits_1); inline;
  5062. procedure setCHDDIF(thebits : TBits_1); inline;
  5063. procedure setCHDHIE(thebits : TBits_1); inline;
  5064. procedure setCHDHIF(thebits : TBits_1); inline;
  5065. procedure setCHERIE(thebits : TBits_1); inline;
  5066. procedure setCHERIF(thebits : TBits_1); inline;
  5067. procedure setCHSDIE(thebits : TBits_1); inline;
  5068. procedure setCHSDIF(thebits : TBits_1); inline;
  5069. procedure setCHSHIE(thebits : TBits_1); inline;
  5070. procedure setCHSHIF(thebits : TBits_1); inline;
  5071. procedure setCHTAIE(thebits : TBits_1); inline;
  5072. procedure setCHTAIF(thebits : TBits_1); inline;
  5073. procedure setw(thebits : TBits_32); inline;
  5074. public
  5075. procedure clearCHBCIE; inline;
  5076. procedure clearCHBCIF; inline;
  5077. procedure clearCHCCIE; inline;
  5078. procedure clearCHCCIF; inline;
  5079. procedure clearCHDDIE; inline;
  5080. procedure clearCHDDIF; inline;
  5081. procedure clearCHDHIE; inline;
  5082. procedure clearCHDHIF; inline;
  5083. procedure clearCHERIE; inline;
  5084. procedure clearCHERIF; inline;
  5085. procedure clearCHSDIE; inline;
  5086. procedure clearCHSDIF; inline;
  5087. procedure clearCHSHIE; inline;
  5088. procedure clearCHSHIF; inline;
  5089. procedure clearCHTAIE; inline;
  5090. procedure clearCHTAIF; inline;
  5091. procedure setCHBCIE; inline;
  5092. procedure setCHBCIF; inline;
  5093. procedure setCHCCIE; inline;
  5094. procedure setCHCCIF; inline;
  5095. procedure setCHDDIE; inline;
  5096. procedure setCHDDIF; inline;
  5097. procedure setCHDHIE; inline;
  5098. procedure setCHDHIF; inline;
  5099. procedure setCHERIE; inline;
  5100. procedure setCHERIF; inline;
  5101. procedure setCHSDIE; inline;
  5102. procedure setCHSDIF; inline;
  5103. procedure setCHSHIE; inline;
  5104. procedure setCHSHIF; inline;
  5105. procedure setCHTAIE; inline;
  5106. procedure setCHTAIF; inline;
  5107. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  5108. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  5109. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  5110. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  5111. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  5112. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  5113. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  5114. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  5115. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  5116. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  5117. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  5118. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  5119. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  5120. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  5121. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  5122. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  5123. property w : TBits_32 read getw write setw;
  5124. end;
  5125. type
  5126. TDMAC3Registers = record
  5127. DCH3CONbits : TDMAC3_DCH3CON;
  5128. DCH3CON : longWord;
  5129. DCH3CONCLR : longWord;
  5130. DCH3CONSET : longWord;
  5131. DCH3CONINV : longWord;
  5132. DCH3ECONbits : TDMAC3_DCH3ECON;
  5133. DCH3ECON : longWord;
  5134. DCH3ECONCLR : longWord;
  5135. DCH3ECONSET : longWord;
  5136. DCH3ECONINV : longWord;
  5137. DCH3INTbits : TDMAC3_DCH3INT;
  5138. DCH3INT : longWord;
  5139. DCH3INTCLR : longWord;
  5140. DCH3INTSET : longWord;
  5141. DCH3INTINV : longWord;
  5142. DCH3SSA : longWord;
  5143. DCH3SSACLR : longWord;
  5144. DCH3SSASET : longWord;
  5145. DCH3SSAINV : longWord;
  5146. DCH3DSA : longWord;
  5147. DCH3DSACLR : longWord;
  5148. DCH3DSASET : longWord;
  5149. DCH3DSAINV : longWord;
  5150. DCH3SSIZ : longWord;
  5151. DCH3SSIZCLR : longWord;
  5152. DCH3SSIZSET : longWord;
  5153. DCH3SSIZINV : longWord;
  5154. DCH3DSIZ : longWord;
  5155. DCH3DSIZCLR : longWord;
  5156. DCH3DSIZSET : longWord;
  5157. DCH3DSIZINV : longWord;
  5158. DCH3SPTR : longWord;
  5159. DCH3SPTRCLR : longWord;
  5160. DCH3SPTRSET : longWord;
  5161. DCH3SPTRINV : longWord;
  5162. DCH3DPTR : longWord;
  5163. DCH3DPTRCLR : longWord;
  5164. DCH3DPTRSET : longWord;
  5165. DCH3DPTRINV : longWord;
  5166. DCH3CSIZ : longWord;
  5167. DCH3CSIZCLR : longWord;
  5168. DCH3CSIZSET : longWord;
  5169. DCH3CSIZINV : longWord;
  5170. DCH3CPTR : longWord;
  5171. DCH3CPTRCLR : longWord;
  5172. DCH3CPTRSET : longWord;
  5173. DCH3CPTRINV : longWord;
  5174. DCH3DAT : longWord;
  5175. DCH3DATCLR : longWord;
  5176. DCH3DATSET : longWord;
  5177. DCH3DATINV : longWord;
  5178. end;
  5179. TPCACHE_CHECON = record
  5180. private
  5181. function getCHECOH : TBits_1; inline;
  5182. function getDCSZ : TBits_2; inline;
  5183. function getPFMWS : TBits_3; inline;
  5184. function getPREFEN : TBits_2; inline;
  5185. function getw : TBits_32; inline;
  5186. procedure setCHECOH(thebits : TBits_1); inline;
  5187. procedure setDCSZ(thebits : TBits_2); inline;
  5188. procedure setPFMWS(thebits : TBits_3); inline;
  5189. procedure setPREFEN(thebits : TBits_2); inline;
  5190. procedure setw(thebits : TBits_32); inline;
  5191. public
  5192. procedure clearCHECOH; inline;
  5193. procedure setCHECOH; inline;
  5194. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  5195. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  5196. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  5197. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  5198. property w : TBits_32 read getw write setw;
  5199. end;
  5200. TPCACHE_CHETAG = record
  5201. private
  5202. function getLLOCK : TBits_1; inline;
  5203. function getLTAG : TBits_20; inline;
  5204. function getLTAGBOOT : TBits_1; inline;
  5205. function getLTYPE : TBits_1; inline;
  5206. function getLVALID : TBits_1; inline;
  5207. function getw : TBits_32; inline;
  5208. procedure setLLOCK(thebits : TBits_1); inline;
  5209. procedure setLTAG(thebits : TBits_20); inline;
  5210. procedure setLTAGBOOT(thebits : TBits_1); inline;
  5211. procedure setLTYPE(thebits : TBits_1); inline;
  5212. procedure setLVALID(thebits : TBits_1); inline;
  5213. procedure setw(thebits : TBits_32); inline;
  5214. public
  5215. procedure clearLLOCK; inline;
  5216. procedure clearLTAGBOOT; inline;
  5217. procedure clearLTYPE; inline;
  5218. procedure clearLVALID; inline;
  5219. procedure setLLOCK; inline;
  5220. procedure setLTAGBOOT; inline;
  5221. procedure setLTYPE; inline;
  5222. procedure setLVALID; inline;
  5223. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  5224. property LTAG : TBits_20 read getLTAG write setLTAG;
  5225. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  5226. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  5227. property LVALID : TBits_1 read getLVALID write setLVALID;
  5228. property w : TBits_32 read getw write setw;
  5229. end;
  5230. type
  5231. TPCACHERegisters = record
  5232. CHECONbits : TPCACHE_CHECON;
  5233. CHECON : longWord;
  5234. CHECONCLR : longWord;
  5235. CHECONSET : longWord;
  5236. CHECONINV : longWord;
  5237. CHEACC : longWord;
  5238. CHEACCCLR : longWord;
  5239. CHEACCSET : longWord;
  5240. CHEACCINV : longWord;
  5241. CHETAGbits : TPCACHE_CHETAG;
  5242. CHETAG : longWord;
  5243. CHETAGCLR : longWord;
  5244. CHETAGSET : longWord;
  5245. CHETAGINV : longWord;
  5246. CHEMSK : longWord;
  5247. CHEMSKCLR : longWord;
  5248. CHEMSKSET : longWord;
  5249. CHEMSKINV : longWord;
  5250. CHEW0 : longWord;
  5251. CHEW1 : longWord;
  5252. CHEW2 : longWord;
  5253. CHEW3 : longWord;
  5254. CHELRU : longWord;
  5255. CHEHIT : longWord;
  5256. CHEMIS : longWord;
  5257. CHEPFABT : longWord;
  5258. end;
  5259. TUSB_U1IR = record
  5260. private
  5261. function getATTACHIF : TBits_1; inline;
  5262. function getDETACHIF : TBits_1; inline;
  5263. function getIDLEIF : TBits_1; inline;
  5264. function getRESUMEIF : TBits_1; inline;
  5265. function getSOFIF : TBits_1; inline;
  5266. function getSTALLIF : TBits_1; inline;
  5267. function getTRNIF : TBits_1; inline;
  5268. function getUERRIF : TBits_1; inline;
  5269. function getURSTIF : TBits_1; inline;
  5270. function getURSTIF_DETACHIF : TBits_1; inline;
  5271. procedure setATTACHIF(thebits : TBits_1); inline;
  5272. procedure setDETACHIF(thebits : TBits_1); inline;
  5273. procedure setIDLEIF(thebits : TBits_1); inline;
  5274. procedure setRESUMEIF(thebits : TBits_1); inline;
  5275. procedure setSOFIF(thebits : TBits_1); inline;
  5276. procedure setSTALLIF(thebits : TBits_1); inline;
  5277. procedure setTRNIF(thebits : TBits_1); inline;
  5278. procedure setUERRIF(thebits : TBits_1); inline;
  5279. procedure setURSTIF(thebits : TBits_1); inline;
  5280. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  5281. public
  5282. procedure clearATTACHIF; inline;
  5283. procedure clearDETACHIF; inline;
  5284. procedure clearIDLEIF; inline;
  5285. procedure clearRESUMEIF; inline;
  5286. procedure clearSOFIF; inline;
  5287. procedure clearSTALLIF; inline;
  5288. procedure clearTRNIF; inline;
  5289. procedure clearUERRIF; inline;
  5290. procedure clearURSTIF; inline;
  5291. procedure clearURSTIF_DETACHIF; inline;
  5292. procedure setATTACHIF; inline;
  5293. procedure setDETACHIF; inline;
  5294. procedure setIDLEIF; inline;
  5295. procedure setRESUMEIF; inline;
  5296. procedure setSOFIF; inline;
  5297. procedure setSTALLIF; inline;
  5298. procedure setTRNIF; inline;
  5299. procedure setUERRIF; inline;
  5300. procedure setURSTIF; inline;
  5301. procedure setURSTIF_DETACHIF; inline;
  5302. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  5303. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  5304. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  5305. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  5306. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  5307. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  5308. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  5309. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  5310. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  5311. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  5312. end;
  5313. TUSB_U1IE = record
  5314. private
  5315. function getATTACHIE : TBits_1; inline;
  5316. function getDETACHIE : TBits_1; inline;
  5317. function getIDLEIE : TBits_1; inline;
  5318. function getRESUMEIE : TBits_1; inline;
  5319. function getSOFIE : TBits_1; inline;
  5320. function getSTALLIE : TBits_1; inline;
  5321. function getTRNIE : TBits_1; inline;
  5322. function getUERRIE : TBits_1; inline;
  5323. function getURSTIE : TBits_1; inline;
  5324. function getURSTIE_DETACHIE : TBits_1; inline;
  5325. procedure setATTACHIE(thebits : TBits_1); inline;
  5326. procedure setDETACHIE(thebits : TBits_1); inline;
  5327. procedure setIDLEIE(thebits : TBits_1); inline;
  5328. procedure setRESUMEIE(thebits : TBits_1); inline;
  5329. procedure setSOFIE(thebits : TBits_1); inline;
  5330. procedure setSTALLIE(thebits : TBits_1); inline;
  5331. procedure setTRNIE(thebits : TBits_1); inline;
  5332. procedure setUERRIE(thebits : TBits_1); inline;
  5333. procedure setURSTIE(thebits : TBits_1); inline;
  5334. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  5335. public
  5336. procedure clearATTACHIE; inline;
  5337. procedure clearDETACHIE; inline;
  5338. procedure clearIDLEIE; inline;
  5339. procedure clearRESUMEIE; inline;
  5340. procedure clearSOFIE; inline;
  5341. procedure clearSTALLIE; inline;
  5342. procedure clearTRNIE; inline;
  5343. procedure clearUERRIE; inline;
  5344. procedure clearURSTIE; inline;
  5345. procedure clearURSTIE_DETACHIE; inline;
  5346. procedure setATTACHIE; inline;
  5347. procedure setDETACHIE; inline;
  5348. procedure setIDLEIE; inline;
  5349. procedure setRESUMEIE; inline;
  5350. procedure setSOFIE; inline;
  5351. procedure setSTALLIE; inline;
  5352. procedure setTRNIE; inline;
  5353. procedure setUERRIE; inline;
  5354. procedure setURSTIE; inline;
  5355. procedure setURSTIE_DETACHIE; inline;
  5356. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  5357. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  5358. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  5359. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  5360. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  5361. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  5362. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  5363. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  5364. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  5365. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  5366. end;
  5367. TUSB_U1EIR = record
  5368. private
  5369. function getBMXEF : TBits_1; inline;
  5370. function getBTOEF : TBits_1; inline;
  5371. function getBTSEF : TBits_1; inline;
  5372. function getCRC16EF : TBits_1; inline;
  5373. function getCRC5EF : TBits_1; inline;
  5374. function getCRC5EF_EOFEF : TBits_1; inline;
  5375. function getDFN8EF : TBits_1; inline;
  5376. function getDMAEF : TBits_1; inline;
  5377. function getEOFEF : TBits_1; inline;
  5378. function getPIDEF : TBits_1; inline;
  5379. procedure setBMXEF(thebits : TBits_1); inline;
  5380. procedure setBTOEF(thebits : TBits_1); inline;
  5381. procedure setBTSEF(thebits : TBits_1); inline;
  5382. procedure setCRC16EF(thebits : TBits_1); inline;
  5383. procedure setCRC5EF(thebits : TBits_1); inline;
  5384. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  5385. procedure setDFN8EF(thebits : TBits_1); inline;
  5386. procedure setDMAEF(thebits : TBits_1); inline;
  5387. procedure setEOFEF(thebits : TBits_1); inline;
  5388. procedure setPIDEF(thebits : TBits_1); inline;
  5389. public
  5390. procedure clearBMXEF; inline;
  5391. procedure clearBTOEF; inline;
  5392. procedure clearBTSEF; inline;
  5393. procedure clearCRC16EF; inline;
  5394. procedure clearCRC5EF; inline;
  5395. procedure clearCRC5EF_EOFEF; inline;
  5396. procedure clearDFN8EF; inline;
  5397. procedure clearDMAEF; inline;
  5398. procedure clearEOFEF; inline;
  5399. procedure clearPIDEF; inline;
  5400. procedure setBMXEF; inline;
  5401. procedure setBTOEF; inline;
  5402. procedure setBTSEF; inline;
  5403. procedure setCRC16EF; inline;
  5404. procedure setCRC5EF; inline;
  5405. procedure setCRC5EF_EOFEF; inline;
  5406. procedure setDFN8EF; inline;
  5407. procedure setDMAEF; inline;
  5408. procedure setEOFEF; inline;
  5409. procedure setPIDEF; inline;
  5410. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  5411. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  5412. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  5413. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  5414. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  5415. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  5416. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  5417. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  5418. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  5419. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  5420. end;
  5421. TUSB_U1EIE = record
  5422. private
  5423. function getBMXEE : TBits_1; inline;
  5424. function getBTOEE : TBits_1; inline;
  5425. function getBTSEE : TBits_1; inline;
  5426. function getCRC16EE : TBits_1; inline;
  5427. function getCRC5EE : TBits_1; inline;
  5428. function getCRC5EE_EOFEE : TBits_1; inline;
  5429. function getDFN8EE : TBits_1; inline;
  5430. function getDMAEE : TBits_1; inline;
  5431. function getEOFEE : TBits_1; inline;
  5432. function getPIDEE : TBits_1; inline;
  5433. procedure setBMXEE(thebits : TBits_1); inline;
  5434. procedure setBTOEE(thebits : TBits_1); inline;
  5435. procedure setBTSEE(thebits : TBits_1); inline;
  5436. procedure setCRC16EE(thebits : TBits_1); inline;
  5437. procedure setCRC5EE(thebits : TBits_1); inline;
  5438. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  5439. procedure setDFN8EE(thebits : TBits_1); inline;
  5440. procedure setDMAEE(thebits : TBits_1); inline;
  5441. procedure setEOFEE(thebits : TBits_1); inline;
  5442. procedure setPIDEE(thebits : TBits_1); inline;
  5443. public
  5444. procedure clearBMXEE; inline;
  5445. procedure clearBTOEE; inline;
  5446. procedure clearBTSEE; inline;
  5447. procedure clearCRC16EE; inline;
  5448. procedure clearCRC5EE; inline;
  5449. procedure clearCRC5EE_EOFEE; inline;
  5450. procedure clearDFN8EE; inline;
  5451. procedure clearDMAEE; inline;
  5452. procedure clearEOFEE; inline;
  5453. procedure clearPIDEE; inline;
  5454. procedure setBMXEE; inline;
  5455. procedure setBTOEE; inline;
  5456. procedure setBTSEE; inline;
  5457. procedure setCRC16EE; inline;
  5458. procedure setCRC5EE; inline;
  5459. procedure setCRC5EE_EOFEE; inline;
  5460. procedure setDFN8EE; inline;
  5461. procedure setDMAEE; inline;
  5462. procedure setEOFEE; inline;
  5463. procedure setPIDEE; inline;
  5464. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  5465. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  5466. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  5467. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  5468. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  5469. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  5470. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  5471. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  5472. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  5473. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  5474. end;
  5475. TUSB_U1STAT = record
  5476. private
  5477. function getDIR : TBits_1; inline;
  5478. function getENDPT : TBits_4; inline;
  5479. function getENDPT0 : TBits_1; inline;
  5480. function getENDPT1 : TBits_1; inline;
  5481. function getENDPT2 : TBits_1; inline;
  5482. function getENDPT3 : TBits_1; inline;
  5483. function getPPBI : TBits_1; inline;
  5484. procedure setDIR(thebits : TBits_1); inline;
  5485. procedure setENDPT(thebits : TBits_4); inline;
  5486. procedure setENDPT0(thebits : TBits_1); inline;
  5487. procedure setENDPT1(thebits : TBits_1); inline;
  5488. procedure setENDPT2(thebits : TBits_1); inline;
  5489. procedure setENDPT3(thebits : TBits_1); inline;
  5490. procedure setPPBI(thebits : TBits_1); inline;
  5491. public
  5492. procedure clearDIR; inline;
  5493. procedure clearENDPT0; inline;
  5494. procedure clearENDPT1; inline;
  5495. procedure clearENDPT2; inline;
  5496. procedure clearENDPT3; inline;
  5497. procedure clearPPBI; inline;
  5498. procedure setDIR; inline;
  5499. procedure setENDPT0; inline;
  5500. procedure setENDPT1; inline;
  5501. procedure setENDPT2; inline;
  5502. procedure setENDPT3; inline;
  5503. procedure setPPBI; inline;
  5504. property DIR : TBits_1 read getDIR write setDIR;
  5505. property ENDPT : TBits_4 read getENDPT write setENDPT;
  5506. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  5507. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  5508. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  5509. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  5510. property PPBI : TBits_1 read getPPBI write setPPBI;
  5511. end;
  5512. TUSB_U1CON = record
  5513. private
  5514. function getHOSTEN : TBits_1; inline;
  5515. function getJSTATE : TBits_1; inline;
  5516. function getPKTDIS : TBits_1; inline;
  5517. function getPKTDIS_TOKBUSY : TBits_1; inline;
  5518. function getPPBRST : TBits_1; inline;
  5519. function getRESUME : TBits_1; inline;
  5520. function getSE0 : TBits_1; inline;
  5521. function getSOFEN : TBits_1; inline;
  5522. function getTOKBUSY : TBits_1; inline;
  5523. function getUSBEN : TBits_1; inline;
  5524. function getUSBEN_SOFEN : TBits_1; inline;
  5525. function getUSBRST : TBits_1; inline;
  5526. procedure setHOSTEN(thebits : TBits_1); inline;
  5527. procedure setJSTATE(thebits : TBits_1); inline;
  5528. procedure setPKTDIS(thebits : TBits_1); inline;
  5529. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  5530. procedure setPPBRST(thebits : TBits_1); inline;
  5531. procedure setRESUME(thebits : TBits_1); inline;
  5532. procedure setSE0(thebits : TBits_1); inline;
  5533. procedure setSOFEN(thebits : TBits_1); inline;
  5534. procedure setTOKBUSY(thebits : TBits_1); inline;
  5535. procedure setUSBEN(thebits : TBits_1); inline;
  5536. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  5537. procedure setUSBRST(thebits : TBits_1); inline;
  5538. public
  5539. procedure clearHOSTEN; inline;
  5540. procedure clearJSTATE; inline;
  5541. procedure clearPKTDIS; inline;
  5542. procedure clearPKTDIS_TOKBUSY; inline;
  5543. procedure clearPPBRST; inline;
  5544. procedure clearRESUME; inline;
  5545. procedure clearSE0; inline;
  5546. procedure clearSOFEN; inline;
  5547. procedure clearTOKBUSY; inline;
  5548. procedure clearUSBEN; inline;
  5549. procedure clearUSBEN_SOFEN; inline;
  5550. procedure clearUSBRST; inline;
  5551. procedure setHOSTEN; inline;
  5552. procedure setJSTATE; inline;
  5553. procedure setPKTDIS; inline;
  5554. procedure setPKTDIS_TOKBUSY; inline;
  5555. procedure setPPBRST; inline;
  5556. procedure setRESUME; inline;
  5557. procedure setSE0; inline;
  5558. procedure setSOFEN; inline;
  5559. procedure setTOKBUSY; inline;
  5560. procedure setUSBEN; inline;
  5561. procedure setUSBEN_SOFEN; inline;
  5562. procedure setUSBRST; inline;
  5563. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  5564. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  5565. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  5566. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  5567. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  5568. property RESUME : TBits_1 read getRESUME write setRESUME;
  5569. property SE0 : TBits_1 read getSE0 write setSE0;
  5570. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  5571. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  5572. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  5573. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  5574. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  5575. end;
  5576. TUSB_U1ADDR = record
  5577. private
  5578. function getDEVADDR : TBits_7; inline;
  5579. function getDEVADDR0 : TBits_1; inline;
  5580. function getDEVADDR1 : TBits_1; inline;
  5581. function getDEVADDR2 : TBits_1; inline;
  5582. function getDEVADDR3 : TBits_1; inline;
  5583. function getDEVADDR4 : TBits_1; inline;
  5584. function getDEVADDR5 : TBits_1; inline;
  5585. function getDEVADDR6 : TBits_1; inline;
  5586. function getLSPDEN : TBits_1; inline;
  5587. procedure setDEVADDR(thebits : TBits_7); inline;
  5588. procedure setDEVADDR0(thebits : TBits_1); inline;
  5589. procedure setDEVADDR1(thebits : TBits_1); inline;
  5590. procedure setDEVADDR2(thebits : TBits_1); inline;
  5591. procedure setDEVADDR3(thebits : TBits_1); inline;
  5592. procedure setDEVADDR4(thebits : TBits_1); inline;
  5593. procedure setDEVADDR5(thebits : TBits_1); inline;
  5594. procedure setDEVADDR6(thebits : TBits_1); inline;
  5595. procedure setLSPDEN(thebits : TBits_1); inline;
  5596. public
  5597. procedure clearDEVADDR0; inline;
  5598. procedure clearDEVADDR1; inline;
  5599. procedure clearDEVADDR2; inline;
  5600. procedure clearDEVADDR3; inline;
  5601. procedure clearDEVADDR4; inline;
  5602. procedure clearDEVADDR5; inline;
  5603. procedure clearDEVADDR6; inline;
  5604. procedure clearLSPDEN; inline;
  5605. procedure setDEVADDR0; inline;
  5606. procedure setDEVADDR1; inline;
  5607. procedure setDEVADDR2; inline;
  5608. procedure setDEVADDR3; inline;
  5609. procedure setDEVADDR4; inline;
  5610. procedure setDEVADDR5; inline;
  5611. procedure setDEVADDR6; inline;
  5612. procedure setLSPDEN; inline;
  5613. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  5614. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  5615. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  5616. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  5617. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  5618. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  5619. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  5620. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  5621. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  5622. end;
  5623. TUSB_U1FRML = record
  5624. private
  5625. function getFRM0 : TBits_1; inline;
  5626. function getFRM1 : TBits_1; inline;
  5627. function getFRM2 : TBits_1; inline;
  5628. function getFRM3 : TBits_1; inline;
  5629. function getFRM4 : TBits_1; inline;
  5630. function getFRM5 : TBits_1; inline;
  5631. function getFRM6 : TBits_1; inline;
  5632. function getFRM7 : TBits_1; inline;
  5633. function getFRML : TBits_8; inline;
  5634. procedure setFRM0(thebits : TBits_1); inline;
  5635. procedure setFRM1(thebits : TBits_1); inline;
  5636. procedure setFRM2(thebits : TBits_1); inline;
  5637. procedure setFRM3(thebits : TBits_1); inline;
  5638. procedure setFRM4(thebits : TBits_1); inline;
  5639. procedure setFRM5(thebits : TBits_1); inline;
  5640. procedure setFRM6(thebits : TBits_1); inline;
  5641. procedure setFRM7(thebits : TBits_1); inline;
  5642. procedure setFRML(thebits : TBits_8); inline;
  5643. public
  5644. procedure clearFRM0; inline;
  5645. procedure clearFRM1; inline;
  5646. procedure clearFRM2; inline;
  5647. procedure clearFRM3; inline;
  5648. procedure clearFRM4; inline;
  5649. procedure clearFRM5; inline;
  5650. procedure clearFRM6; inline;
  5651. procedure clearFRM7; inline;
  5652. procedure setFRM0; inline;
  5653. procedure setFRM1; inline;
  5654. procedure setFRM2; inline;
  5655. procedure setFRM3; inline;
  5656. procedure setFRM4; inline;
  5657. procedure setFRM5; inline;
  5658. procedure setFRM6; inline;
  5659. procedure setFRM7; inline;
  5660. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  5661. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  5662. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  5663. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  5664. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  5665. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  5666. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  5667. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  5668. property FRML : TBits_8 read getFRML write setFRML;
  5669. end;
  5670. TUSB_U1FRMH = record
  5671. private
  5672. function getFRM10 : TBits_1; inline;
  5673. function getFRM8 : TBits_1; inline;
  5674. function getFRM9 : TBits_1; inline;
  5675. function getFRMH : TBits_3; inline;
  5676. procedure setFRM10(thebits : TBits_1); inline;
  5677. procedure setFRM8(thebits : TBits_1); inline;
  5678. procedure setFRM9(thebits : TBits_1); inline;
  5679. procedure setFRMH(thebits : TBits_3); inline;
  5680. public
  5681. procedure clearFRM10; inline;
  5682. procedure clearFRM8; inline;
  5683. procedure clearFRM9; inline;
  5684. procedure setFRM10; inline;
  5685. procedure setFRM8; inline;
  5686. procedure setFRM9; inline;
  5687. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  5688. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  5689. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  5690. property FRMH : TBits_3 read getFRMH write setFRMH;
  5691. end;
  5692. TUSB_U1TOK = record
  5693. private
  5694. function getEP : TBits_4; inline;
  5695. function getEP0 : TBits_1; inline;
  5696. function getEP1 : TBits_1; inline;
  5697. function getEP2 : TBits_1; inline;
  5698. function getEP3 : TBits_1; inline;
  5699. function getPID : TBits_4; inline;
  5700. function getPID0 : TBits_1; inline;
  5701. function getPID1 : TBits_1; inline;
  5702. function getPID2 : TBits_1; inline;
  5703. function getPID3 : TBits_1; inline;
  5704. procedure setEP(thebits : TBits_4); inline;
  5705. procedure setEP0(thebits : TBits_1); inline;
  5706. procedure setEP1(thebits : TBits_1); inline;
  5707. procedure setEP2(thebits : TBits_1); inline;
  5708. procedure setEP3(thebits : TBits_1); inline;
  5709. procedure setPID(thebits : TBits_4); inline;
  5710. procedure setPID0(thebits : TBits_1); inline;
  5711. procedure setPID1(thebits : TBits_1); inline;
  5712. procedure setPID2(thebits : TBits_1); inline;
  5713. procedure setPID3(thebits : TBits_1); inline;
  5714. public
  5715. procedure clearEP0; inline;
  5716. procedure clearEP1; inline;
  5717. procedure clearEP2; inline;
  5718. procedure clearEP3; inline;
  5719. procedure clearPID0; inline;
  5720. procedure clearPID1; inline;
  5721. procedure clearPID2; inline;
  5722. procedure clearPID3; inline;
  5723. procedure setEP0; inline;
  5724. procedure setEP1; inline;
  5725. procedure setEP2; inline;
  5726. procedure setEP3; inline;
  5727. procedure setPID0; inline;
  5728. procedure setPID1; inline;
  5729. procedure setPID2; inline;
  5730. procedure setPID3; inline;
  5731. property EP : TBits_4 read getEP write setEP;
  5732. property EP0 : TBits_1 read getEP0 write setEP0;
  5733. property EP1 : TBits_1 read getEP1 write setEP1;
  5734. property EP2 : TBits_1 read getEP2 write setEP2;
  5735. property EP3 : TBits_1 read getEP3 write setEP3;
  5736. property PID : TBits_4 read getPID write setPID;
  5737. property PID0 : TBits_1 read getPID0 write setPID0;
  5738. property PID1 : TBits_1 read getPID1 write setPID1;
  5739. property PID2 : TBits_1 read getPID2 write setPID2;
  5740. property PID3 : TBits_1 read getPID3 write setPID3;
  5741. end;
  5742. type
  5743. TUSBRegisters = record
  5744. U1OTGIR : longWord;
  5745. U1OTGIRCLR : longWord;
  5746. U1OTGIE : longWord;
  5747. U1OTGIECLR : longWord;
  5748. U1OTGIESET : longWord;
  5749. U1OTGIEINV : longWord;
  5750. U1OTGSTAT : longWord;
  5751. U1OTGSTATCLR : longWord;
  5752. U1OTGCON : longWord;
  5753. U1OTGCONCLR : longWord;
  5754. U1OTGCONSET : longWord;
  5755. U1OTGCONINV : longWord;
  5756. U1PWRC : longWord;
  5757. U1PWRCCLR : longWord;
  5758. U1PWRCSET : longWord;
  5759. U1PWRCINV : longWord;
  5760. U1IRbits : TUSB_U1IR;
  5761. U1IR : longWord;
  5762. U1IRCLR : longWord;
  5763. U1IEbits : TUSB_U1IE;
  5764. U1IE : longWord;
  5765. U1IECLR : longWord;
  5766. U1IESET : longWord;
  5767. U1IEINV : longWord;
  5768. U1EIRbits : TUSB_U1EIR;
  5769. U1EIR : longWord;
  5770. U1EIRCLR : longWord;
  5771. U1EIEbits : TUSB_U1EIE;
  5772. U1EIE : longWord;
  5773. U1EIECLR : longWord;
  5774. U1EIESET : longWord;
  5775. U1EIEINV : longWord;
  5776. U1STATbits : TUSB_U1STAT;
  5777. U1STAT : longWord;
  5778. U1STATCLR : longWord;
  5779. U1STATSET : longWord;
  5780. U1STATINV : longWord;
  5781. U1CONbits : TUSB_U1CON;
  5782. U1CON : longWord;
  5783. U1CONCLR : longWord;
  5784. U1CONSET : longWord;
  5785. U1CONINV : longWord;
  5786. U1ADDRbits : TUSB_U1ADDR;
  5787. U1ADDR : longWord;
  5788. U1ADDRCLR : longWord;
  5789. U1ADDRSET : longWord;
  5790. U1ADDRINV : longWord;
  5791. U1BDTP1 : longWord;
  5792. U1BDTP1CLR : longWord;
  5793. U1BDTP1SET : longWord;
  5794. U1BDTP1INV : longWord;
  5795. U1FRMLbits : TUSB_U1FRML;
  5796. U1FRML : longWord;
  5797. U1FRMLCLR : longWord;
  5798. U1FRMLSET : longWord;
  5799. U1FRMLINV : longWord;
  5800. U1FRMHbits : TUSB_U1FRMH;
  5801. U1FRMH : longWord;
  5802. U1FRMHCLR : longWord;
  5803. U1FRMHSET : longWord;
  5804. U1FRMHINV : longWord;
  5805. U1TOKbits : TUSB_U1TOK;
  5806. U1TOK : longWord;
  5807. U1TOKCLR : longWord;
  5808. U1TOKSET : longWord;
  5809. U1TOKINV : longWord;
  5810. U1SOF : longWord;
  5811. U1SOFCLR : longWord;
  5812. U1SOFSET : longWord;
  5813. U1SOFINV : longWord;
  5814. U1BDTP2 : longWord;
  5815. U1BDTP2CLR : longWord;
  5816. U1BDTP2SET : longWord;
  5817. U1BDTP2INV : longWord;
  5818. U1BDTP3 : longWord;
  5819. U1BDTP3CLR : longWord;
  5820. U1BDTP3SET : longWord;
  5821. U1BDTP3INV : longWord;
  5822. U1CNFG1 : longWord;
  5823. U1CNFG1CLR : longWord;
  5824. U1CNFG1SET : longWord;
  5825. U1CNFG1INV : longWord;
  5826. U1EP0 : longWord;
  5827. U1EP0CLR : longWord;
  5828. U1EP0SET : longWord;
  5829. U1EP0INV : longWord;
  5830. U1EP1 : longWord;
  5831. U1EP1CLR : longWord;
  5832. U1EP1SET : longWord;
  5833. U1EP1INV : longWord;
  5834. U1EP2 : longWord;
  5835. U1EP2CLR : longWord;
  5836. U1EP2SET : longWord;
  5837. U1EP2INV : longWord;
  5838. U1EP3 : longWord;
  5839. U1EP3CLR : longWord;
  5840. U1EP3SET : longWord;
  5841. U1EP3INV : longWord;
  5842. U1EP4 : longWord;
  5843. U1EP4CLR : longWord;
  5844. U1EP4SET : longWord;
  5845. U1EP4INV : longWord;
  5846. U1EP5 : longWord;
  5847. U1EP5CLR : longWord;
  5848. U1EP5SET : longWord;
  5849. U1EP5INV : longWord;
  5850. U1EP6 : longWord;
  5851. U1EP6CLR : longWord;
  5852. U1EP6SET : longWord;
  5853. U1EP6INV : longWord;
  5854. U1EP7 : longWord;
  5855. U1EP7CLR : longWord;
  5856. U1EP7SET : longWord;
  5857. U1EP7INV : longWord;
  5858. U1EP8 : longWord;
  5859. U1EP8CLR : longWord;
  5860. U1EP8SET : longWord;
  5861. U1EP8INV : longWord;
  5862. U1EP9 : longWord;
  5863. U1EP9CLR : longWord;
  5864. U1EP9SET : longWord;
  5865. U1EP9INV : longWord;
  5866. U1EP10 : longWord;
  5867. U1EP10CLR : longWord;
  5868. U1EP10SET : longWord;
  5869. U1EP10INV : longWord;
  5870. U1EP11 : longWord;
  5871. U1EP11CLR : longWord;
  5872. U1EP11SET : longWord;
  5873. U1EP11INV : longWord;
  5874. U1EP12 : longWord;
  5875. U1EP12CLR : longWord;
  5876. U1EP12SET : longWord;
  5877. U1EP12INV : longWord;
  5878. U1EP13 : longWord;
  5879. U1EP13CLR : longWord;
  5880. U1EP13SET : longWord;
  5881. U1EP13INV : longWord;
  5882. U1EP14 : longWord;
  5883. U1EP14CLR : longWord;
  5884. U1EP14SET : longWord;
  5885. U1EP14INV : longWord;
  5886. U1EP15 : longWord;
  5887. U1EP15CLR : longWord;
  5888. U1EP15SET : longWord;
  5889. U1EP15INV : longWord;
  5890. end;
  5891. TPORTB_TRISB = record
  5892. private
  5893. function getTRISB0 : TBits_1; inline;
  5894. function getTRISB1 : TBits_1; inline;
  5895. function getTRISB10 : TBits_1; inline;
  5896. function getTRISB11 : TBits_1; inline;
  5897. function getTRISB12 : TBits_1; inline;
  5898. function getTRISB13 : TBits_1; inline;
  5899. function getTRISB14 : TBits_1; inline;
  5900. function getTRISB15 : TBits_1; inline;
  5901. function getTRISB2 : TBits_1; inline;
  5902. function getTRISB3 : TBits_1; inline;
  5903. function getTRISB4 : TBits_1; inline;
  5904. function getTRISB5 : TBits_1; inline;
  5905. function getTRISB6 : TBits_1; inline;
  5906. function getTRISB7 : TBits_1; inline;
  5907. function getTRISB8 : TBits_1; inline;
  5908. function getTRISB9 : TBits_1; inline;
  5909. function getw : TBits_32; inline;
  5910. procedure setTRISB0(thebits : TBits_1); inline;
  5911. procedure setTRISB1(thebits : TBits_1); inline;
  5912. procedure setTRISB10(thebits : TBits_1); inline;
  5913. procedure setTRISB11(thebits : TBits_1); inline;
  5914. procedure setTRISB12(thebits : TBits_1); inline;
  5915. procedure setTRISB13(thebits : TBits_1); inline;
  5916. procedure setTRISB14(thebits : TBits_1); inline;
  5917. procedure setTRISB15(thebits : TBits_1); inline;
  5918. procedure setTRISB2(thebits : TBits_1); inline;
  5919. procedure setTRISB3(thebits : TBits_1); inline;
  5920. procedure setTRISB4(thebits : TBits_1); inline;
  5921. procedure setTRISB5(thebits : TBits_1); inline;
  5922. procedure setTRISB6(thebits : TBits_1); inline;
  5923. procedure setTRISB7(thebits : TBits_1); inline;
  5924. procedure setTRISB8(thebits : TBits_1); inline;
  5925. procedure setTRISB9(thebits : TBits_1); inline;
  5926. procedure setw(thebits : TBits_32); inline;
  5927. public
  5928. procedure clearTRISB0; inline;
  5929. procedure clearTRISB10; inline;
  5930. procedure clearTRISB11; inline;
  5931. procedure clearTRISB12; inline;
  5932. procedure clearTRISB13; inline;
  5933. procedure clearTRISB14; inline;
  5934. procedure clearTRISB15; inline;
  5935. procedure clearTRISB1; inline;
  5936. procedure clearTRISB2; inline;
  5937. procedure clearTRISB3; inline;
  5938. procedure clearTRISB4; inline;
  5939. procedure clearTRISB5; inline;
  5940. procedure clearTRISB6; inline;
  5941. procedure clearTRISB7; inline;
  5942. procedure clearTRISB8; inline;
  5943. procedure clearTRISB9; inline;
  5944. procedure setTRISB0; inline;
  5945. procedure setTRISB10; inline;
  5946. procedure setTRISB11; inline;
  5947. procedure setTRISB12; inline;
  5948. procedure setTRISB13; inline;
  5949. procedure setTRISB14; inline;
  5950. procedure setTRISB15; inline;
  5951. procedure setTRISB1; inline;
  5952. procedure setTRISB2; inline;
  5953. procedure setTRISB3; inline;
  5954. procedure setTRISB4; inline;
  5955. procedure setTRISB5; inline;
  5956. procedure setTRISB6; inline;
  5957. procedure setTRISB7; inline;
  5958. procedure setTRISB8; inline;
  5959. procedure setTRISB9; inline;
  5960. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  5961. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  5962. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  5963. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  5964. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  5965. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  5966. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  5967. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  5968. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  5969. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  5970. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  5971. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  5972. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  5973. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  5974. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  5975. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  5976. property w : TBits_32 read getw write setw;
  5977. end;
  5978. TPORTB_PORTB = record
  5979. private
  5980. function getRB0 : TBits_1; inline;
  5981. function getRB1 : TBits_1; inline;
  5982. function getRB10 : TBits_1; inline;
  5983. function getRB11 : TBits_1; inline;
  5984. function getRB12 : TBits_1; inline;
  5985. function getRB13 : TBits_1; inline;
  5986. function getRB14 : TBits_1; inline;
  5987. function getRB15 : TBits_1; inline;
  5988. function getRB2 : TBits_1; inline;
  5989. function getRB3 : TBits_1; inline;
  5990. function getRB4 : TBits_1; inline;
  5991. function getRB5 : TBits_1; inline;
  5992. function getRB6 : TBits_1; inline;
  5993. function getRB7 : TBits_1; inline;
  5994. function getRB8 : TBits_1; inline;
  5995. function getRB9 : TBits_1; inline;
  5996. function getw : TBits_32; inline;
  5997. procedure setRB0(thebits : TBits_1); inline;
  5998. procedure setRB1(thebits : TBits_1); inline;
  5999. procedure setRB10(thebits : TBits_1); inline;
  6000. procedure setRB11(thebits : TBits_1); inline;
  6001. procedure setRB12(thebits : TBits_1); inline;
  6002. procedure setRB13(thebits : TBits_1); inline;
  6003. procedure setRB14(thebits : TBits_1); inline;
  6004. procedure setRB15(thebits : TBits_1); inline;
  6005. procedure setRB2(thebits : TBits_1); inline;
  6006. procedure setRB3(thebits : TBits_1); inline;
  6007. procedure setRB4(thebits : TBits_1); inline;
  6008. procedure setRB5(thebits : TBits_1); inline;
  6009. procedure setRB6(thebits : TBits_1); inline;
  6010. procedure setRB7(thebits : TBits_1); inline;
  6011. procedure setRB8(thebits : TBits_1); inline;
  6012. procedure setRB9(thebits : TBits_1); inline;
  6013. procedure setw(thebits : TBits_32); inline;
  6014. public
  6015. procedure clearRB0; inline;
  6016. procedure clearRB10; inline;
  6017. procedure clearRB11; inline;
  6018. procedure clearRB12; inline;
  6019. procedure clearRB13; inline;
  6020. procedure clearRB14; inline;
  6021. procedure clearRB15; inline;
  6022. procedure clearRB1; inline;
  6023. procedure clearRB2; inline;
  6024. procedure clearRB3; inline;
  6025. procedure clearRB4; inline;
  6026. procedure clearRB5; inline;
  6027. procedure clearRB6; inline;
  6028. procedure clearRB7; inline;
  6029. procedure clearRB8; inline;
  6030. procedure clearRB9; inline;
  6031. procedure setRB0; inline;
  6032. procedure setRB10; inline;
  6033. procedure setRB11; inline;
  6034. procedure setRB12; inline;
  6035. procedure setRB13; inline;
  6036. procedure setRB14; inline;
  6037. procedure setRB15; inline;
  6038. procedure setRB1; inline;
  6039. procedure setRB2; inline;
  6040. procedure setRB3; inline;
  6041. procedure setRB4; inline;
  6042. procedure setRB5; inline;
  6043. procedure setRB6; inline;
  6044. procedure setRB7; inline;
  6045. procedure setRB8; inline;
  6046. procedure setRB9; inline;
  6047. property RB0 : TBits_1 read getRB0 write setRB0;
  6048. property RB1 : TBits_1 read getRB1 write setRB1;
  6049. property RB10 : TBits_1 read getRB10 write setRB10;
  6050. property RB11 : TBits_1 read getRB11 write setRB11;
  6051. property RB12 : TBits_1 read getRB12 write setRB12;
  6052. property RB13 : TBits_1 read getRB13 write setRB13;
  6053. property RB14 : TBits_1 read getRB14 write setRB14;
  6054. property RB15 : TBits_1 read getRB15 write setRB15;
  6055. property RB2 : TBits_1 read getRB2 write setRB2;
  6056. property RB3 : TBits_1 read getRB3 write setRB3;
  6057. property RB4 : TBits_1 read getRB4 write setRB4;
  6058. property RB5 : TBits_1 read getRB5 write setRB5;
  6059. property RB6 : TBits_1 read getRB6 write setRB6;
  6060. property RB7 : TBits_1 read getRB7 write setRB7;
  6061. property RB8 : TBits_1 read getRB8 write setRB8;
  6062. property RB9 : TBits_1 read getRB9 write setRB9;
  6063. property w : TBits_32 read getw write setw;
  6064. end;
  6065. 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);
  6066. TPortB_bitset = set of TPortB_bits;
  6067. TPORTB_LATB = record
  6068. private
  6069. function getLATB0 : TBits_1; inline;
  6070. function getLATB1 : TBits_1; inline;
  6071. function getLATB10 : TBits_1; inline;
  6072. function getLATB11 : TBits_1; inline;
  6073. function getLATB12 : TBits_1; inline;
  6074. function getLATB13 : TBits_1; inline;
  6075. function getLATB14 : TBits_1; inline;
  6076. function getLATB15 : TBits_1; inline;
  6077. function getLATB2 : TBits_1; inline;
  6078. function getLATB3 : TBits_1; inline;
  6079. function getLATB4 : TBits_1; inline;
  6080. function getLATB5 : TBits_1; inline;
  6081. function getLATB6 : TBits_1; inline;
  6082. function getLATB7 : TBits_1; inline;
  6083. function getLATB8 : TBits_1; inline;
  6084. function getLATB9 : TBits_1; inline;
  6085. function getw : TBits_32; inline;
  6086. procedure setLATB0(thebits : TBits_1); inline;
  6087. procedure setLATB1(thebits : TBits_1); inline;
  6088. procedure setLATB10(thebits : TBits_1); inline;
  6089. procedure setLATB11(thebits : TBits_1); inline;
  6090. procedure setLATB12(thebits : TBits_1); inline;
  6091. procedure setLATB13(thebits : TBits_1); inline;
  6092. procedure setLATB14(thebits : TBits_1); inline;
  6093. procedure setLATB15(thebits : TBits_1); inline;
  6094. procedure setLATB2(thebits : TBits_1); inline;
  6095. procedure setLATB3(thebits : TBits_1); inline;
  6096. procedure setLATB4(thebits : TBits_1); inline;
  6097. procedure setLATB5(thebits : TBits_1); inline;
  6098. procedure setLATB6(thebits : TBits_1); inline;
  6099. procedure setLATB7(thebits : TBits_1); inline;
  6100. procedure setLATB8(thebits : TBits_1); inline;
  6101. procedure setLATB9(thebits : TBits_1); inline;
  6102. procedure setw(thebits : TBits_32); inline;
  6103. public
  6104. procedure clearLATB0; inline;
  6105. procedure clearLATB10; inline;
  6106. procedure clearLATB11; inline;
  6107. procedure clearLATB12; inline;
  6108. procedure clearLATB13; inline;
  6109. procedure clearLATB14; inline;
  6110. procedure clearLATB15; inline;
  6111. procedure clearLATB1; inline;
  6112. procedure clearLATB2; inline;
  6113. procedure clearLATB3; inline;
  6114. procedure clearLATB4; inline;
  6115. procedure clearLATB5; inline;
  6116. procedure clearLATB6; inline;
  6117. procedure clearLATB7; inline;
  6118. procedure clearLATB8; inline;
  6119. procedure clearLATB9; inline;
  6120. procedure setLATB0; inline;
  6121. procedure setLATB10; inline;
  6122. procedure setLATB11; inline;
  6123. procedure setLATB12; inline;
  6124. procedure setLATB13; inline;
  6125. procedure setLATB14; inline;
  6126. procedure setLATB15; inline;
  6127. procedure setLATB1; inline;
  6128. procedure setLATB2; inline;
  6129. procedure setLATB3; inline;
  6130. procedure setLATB4; inline;
  6131. procedure setLATB5; inline;
  6132. procedure setLATB6; inline;
  6133. procedure setLATB7; inline;
  6134. procedure setLATB8; inline;
  6135. procedure setLATB9; inline;
  6136. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  6137. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  6138. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  6139. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  6140. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  6141. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  6142. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  6143. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  6144. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  6145. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  6146. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  6147. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  6148. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  6149. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  6150. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  6151. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  6152. property w : TBits_32 read getw write setw;
  6153. end;
  6154. TPORTB_ODCB = record
  6155. private
  6156. function getODCB0 : TBits_1; inline;
  6157. function getODCB1 : TBits_1; inline;
  6158. function getODCB10 : TBits_1; inline;
  6159. function getODCB11 : TBits_1; inline;
  6160. function getODCB12 : TBits_1; inline;
  6161. function getODCB13 : TBits_1; inline;
  6162. function getODCB14 : TBits_1; inline;
  6163. function getODCB15 : TBits_1; inline;
  6164. function getODCB2 : TBits_1; inline;
  6165. function getODCB3 : TBits_1; inline;
  6166. function getODCB4 : TBits_1; inline;
  6167. function getODCB5 : TBits_1; inline;
  6168. function getODCB6 : TBits_1; inline;
  6169. function getODCB7 : TBits_1; inline;
  6170. function getODCB8 : TBits_1; inline;
  6171. function getODCB9 : TBits_1; inline;
  6172. function getw : TBits_32; inline;
  6173. procedure setODCB0(thebits : TBits_1); inline;
  6174. procedure setODCB1(thebits : TBits_1); inline;
  6175. procedure setODCB10(thebits : TBits_1); inline;
  6176. procedure setODCB11(thebits : TBits_1); inline;
  6177. procedure setODCB12(thebits : TBits_1); inline;
  6178. procedure setODCB13(thebits : TBits_1); inline;
  6179. procedure setODCB14(thebits : TBits_1); inline;
  6180. procedure setODCB15(thebits : TBits_1); inline;
  6181. procedure setODCB2(thebits : TBits_1); inline;
  6182. procedure setODCB3(thebits : TBits_1); inline;
  6183. procedure setODCB4(thebits : TBits_1); inline;
  6184. procedure setODCB5(thebits : TBits_1); inline;
  6185. procedure setODCB6(thebits : TBits_1); inline;
  6186. procedure setODCB7(thebits : TBits_1); inline;
  6187. procedure setODCB8(thebits : TBits_1); inline;
  6188. procedure setODCB9(thebits : TBits_1); inline;
  6189. procedure setw(thebits : TBits_32); inline;
  6190. public
  6191. procedure clearODCB0; inline;
  6192. procedure clearODCB10; inline;
  6193. procedure clearODCB11; inline;
  6194. procedure clearODCB12; inline;
  6195. procedure clearODCB13; inline;
  6196. procedure clearODCB14; inline;
  6197. procedure clearODCB15; inline;
  6198. procedure clearODCB1; inline;
  6199. procedure clearODCB2; inline;
  6200. procedure clearODCB3; inline;
  6201. procedure clearODCB4; inline;
  6202. procedure clearODCB5; inline;
  6203. procedure clearODCB6; inline;
  6204. procedure clearODCB7; inline;
  6205. procedure clearODCB8; inline;
  6206. procedure clearODCB9; inline;
  6207. procedure setODCB0; inline;
  6208. procedure setODCB10; inline;
  6209. procedure setODCB11; inline;
  6210. procedure setODCB12; inline;
  6211. procedure setODCB13; inline;
  6212. procedure setODCB14; inline;
  6213. procedure setODCB15; inline;
  6214. procedure setODCB1; inline;
  6215. procedure setODCB2; inline;
  6216. procedure setODCB3; inline;
  6217. procedure setODCB4; inline;
  6218. procedure setODCB5; inline;
  6219. procedure setODCB6; inline;
  6220. procedure setODCB7; inline;
  6221. procedure setODCB8; inline;
  6222. procedure setODCB9; inline;
  6223. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  6224. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  6225. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  6226. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  6227. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  6228. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  6229. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  6230. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  6231. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  6232. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  6233. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  6234. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  6235. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  6236. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  6237. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  6238. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  6239. property w : TBits_32 read getw write setw;
  6240. end;
  6241. type
  6242. TPORTBRegisters = record
  6243. TRISBbits : TPORTB_TRISB;
  6244. TRISB : longWord;
  6245. TRISBCLR : longWord;
  6246. TRISBSET : longWord;
  6247. TRISBINV : longWord;
  6248. PORTBbits : TPORTB_PORTB;
  6249. PORTB : longWord;
  6250. PORTBCLR : longWord;
  6251. PORTBSET : longWord;
  6252. PORTBINV : longWord;
  6253. LATBbits : TPORTB_LATB;
  6254. LATB : longWord;
  6255. LATBCLR : longWord;
  6256. LATBSET : longWord;
  6257. LATBINV : longWord;
  6258. ODCBbits : TPORTB_ODCB;
  6259. ODCB : longWord;
  6260. ODCBCLR : longWord;
  6261. ODCBSET : longWord;
  6262. ODCBINV : longWord;
  6263. end;
  6264. TPORTC_TRISC = record
  6265. private
  6266. function getTRISC12 : TBits_1; inline;
  6267. function getTRISC13 : TBits_1; inline;
  6268. function getTRISC14 : TBits_1; inline;
  6269. function getTRISC15 : TBits_1; inline;
  6270. function getw : TBits_32; inline;
  6271. procedure setTRISC12(thebits : TBits_1); inline;
  6272. procedure setTRISC13(thebits : TBits_1); inline;
  6273. procedure setTRISC14(thebits : TBits_1); inline;
  6274. procedure setTRISC15(thebits : TBits_1); inline;
  6275. procedure setw(thebits : TBits_32); inline;
  6276. public
  6277. procedure clearTRISC12; inline;
  6278. procedure clearTRISC13; inline;
  6279. procedure clearTRISC14; inline;
  6280. procedure clearTRISC15; inline;
  6281. procedure setTRISC12; inline;
  6282. procedure setTRISC13; inline;
  6283. procedure setTRISC14; inline;
  6284. procedure setTRISC15; inline;
  6285. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  6286. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  6287. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  6288. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  6289. property w : TBits_32 read getw write setw;
  6290. end;
  6291. TPORTC_PORTC = record
  6292. private
  6293. function getRC12 : TBits_1; inline;
  6294. function getRC13 : TBits_1; inline;
  6295. function getRC14 : TBits_1; inline;
  6296. function getRC15 : TBits_1; inline;
  6297. function getw : TBits_32; inline;
  6298. procedure setRC12(thebits : TBits_1); inline;
  6299. procedure setRC13(thebits : TBits_1); inline;
  6300. procedure setRC14(thebits : TBits_1); inline;
  6301. procedure setRC15(thebits : TBits_1); inline;
  6302. procedure setw(thebits : TBits_32); inline;
  6303. public
  6304. procedure clearRC12; inline;
  6305. procedure clearRC13; inline;
  6306. procedure clearRC14; inline;
  6307. procedure clearRC15; inline;
  6308. procedure setRC12; inline;
  6309. procedure setRC13; inline;
  6310. procedure setRC14; inline;
  6311. procedure setRC15; inline;
  6312. property RC12 : TBits_1 read getRC12 write setRC12;
  6313. property RC13 : TBits_1 read getRC13 write setRC13;
  6314. property RC14 : TBits_1 read getRC14 write setRC14;
  6315. property RC15 : TBits_1 read getRC15 write setRC15;
  6316. property w : TBits_32 read getw write setw;
  6317. end;
  6318. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  6319. TPortC_bitset = set of TPortC_bits;
  6320. TPORTC_LATC = record
  6321. private
  6322. function getLATC12 : TBits_1; inline;
  6323. function getLATC13 : TBits_1; inline;
  6324. function getLATC14 : TBits_1; inline;
  6325. function getLATC15 : TBits_1; inline;
  6326. function getw : TBits_32; inline;
  6327. procedure setLATC12(thebits : TBits_1); inline;
  6328. procedure setLATC13(thebits : TBits_1); inline;
  6329. procedure setLATC14(thebits : TBits_1); inline;
  6330. procedure setLATC15(thebits : TBits_1); inline;
  6331. procedure setw(thebits : TBits_32); inline;
  6332. public
  6333. procedure clearLATC12; inline;
  6334. procedure clearLATC13; inline;
  6335. procedure clearLATC14; inline;
  6336. procedure clearLATC15; inline;
  6337. procedure setLATC12; inline;
  6338. procedure setLATC13; inline;
  6339. procedure setLATC14; inline;
  6340. procedure setLATC15; inline;
  6341. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  6342. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  6343. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  6344. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  6345. property w : TBits_32 read getw write setw;
  6346. end;
  6347. TPORTC_ODCC = record
  6348. private
  6349. function getODCC12 : TBits_1; inline;
  6350. function getODCC13 : TBits_1; inline;
  6351. function getODCC14 : TBits_1; inline;
  6352. function getODCC15 : TBits_1; inline;
  6353. function getw : TBits_32; inline;
  6354. procedure setODCC12(thebits : TBits_1); inline;
  6355. procedure setODCC13(thebits : TBits_1); inline;
  6356. procedure setODCC14(thebits : TBits_1); inline;
  6357. procedure setODCC15(thebits : TBits_1); inline;
  6358. procedure setw(thebits : TBits_32); inline;
  6359. public
  6360. procedure clearODCC12; inline;
  6361. procedure clearODCC13; inline;
  6362. procedure clearODCC14; inline;
  6363. procedure clearODCC15; inline;
  6364. procedure setODCC12; inline;
  6365. procedure setODCC13; inline;
  6366. procedure setODCC14; inline;
  6367. procedure setODCC15; inline;
  6368. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  6369. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  6370. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  6371. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  6372. property w : TBits_32 read getw write setw;
  6373. end;
  6374. type
  6375. TPORTCRegisters = record
  6376. TRISCbits : TPORTC_TRISC;
  6377. TRISC : longWord;
  6378. TRISCCLR : longWord;
  6379. TRISCSET : longWord;
  6380. TRISCINV : longWord;
  6381. PORTCbits : TPORTC_PORTC;
  6382. PORTC : longWord;
  6383. PORTCCLR : longWord;
  6384. PORTCSET : longWord;
  6385. PORTCINV : longWord;
  6386. LATCbits : TPORTC_LATC;
  6387. LATC : longWord;
  6388. LATCCLR : longWord;
  6389. LATCSET : longWord;
  6390. LATCINV : longWord;
  6391. ODCCbits : TPORTC_ODCC;
  6392. ODCC : longWord;
  6393. ODCCCLR : longWord;
  6394. ODCCSET : longWord;
  6395. ODCCINV : longWord;
  6396. end;
  6397. TPORTD_TRISD = record
  6398. private
  6399. function getTRISD0 : TBits_1; inline;
  6400. function getTRISD1 : TBits_1; inline;
  6401. function getTRISD10 : TBits_1; inline;
  6402. function getTRISD11 : TBits_1; inline;
  6403. function getTRISD2 : TBits_1; inline;
  6404. function getTRISD3 : TBits_1; inline;
  6405. function getTRISD4 : TBits_1; inline;
  6406. function getTRISD5 : TBits_1; inline;
  6407. function getTRISD6 : TBits_1; inline;
  6408. function getTRISD7 : TBits_1; inline;
  6409. function getTRISD8 : TBits_1; inline;
  6410. function getTRISD9 : TBits_1; inline;
  6411. function getw : TBits_32; inline;
  6412. procedure setTRISD0(thebits : TBits_1); inline;
  6413. procedure setTRISD1(thebits : TBits_1); inline;
  6414. procedure setTRISD10(thebits : TBits_1); inline;
  6415. procedure setTRISD11(thebits : TBits_1); inline;
  6416. procedure setTRISD2(thebits : TBits_1); inline;
  6417. procedure setTRISD3(thebits : TBits_1); inline;
  6418. procedure setTRISD4(thebits : TBits_1); inline;
  6419. procedure setTRISD5(thebits : TBits_1); inline;
  6420. procedure setTRISD6(thebits : TBits_1); inline;
  6421. procedure setTRISD7(thebits : TBits_1); inline;
  6422. procedure setTRISD8(thebits : TBits_1); inline;
  6423. procedure setTRISD9(thebits : TBits_1); inline;
  6424. procedure setw(thebits : TBits_32); inline;
  6425. public
  6426. procedure clearTRISD0; inline;
  6427. procedure clearTRISD10; inline;
  6428. procedure clearTRISD11; inline;
  6429. procedure clearTRISD1; inline;
  6430. procedure clearTRISD2; inline;
  6431. procedure clearTRISD3; inline;
  6432. procedure clearTRISD4; inline;
  6433. procedure clearTRISD5; inline;
  6434. procedure clearTRISD6; inline;
  6435. procedure clearTRISD7; inline;
  6436. procedure clearTRISD8; inline;
  6437. procedure clearTRISD9; inline;
  6438. procedure setTRISD0; inline;
  6439. procedure setTRISD10; inline;
  6440. procedure setTRISD11; inline;
  6441. procedure setTRISD1; inline;
  6442. procedure setTRISD2; inline;
  6443. procedure setTRISD3; inline;
  6444. procedure setTRISD4; inline;
  6445. procedure setTRISD5; inline;
  6446. procedure setTRISD6; inline;
  6447. procedure setTRISD7; inline;
  6448. procedure setTRISD8; inline;
  6449. procedure setTRISD9; inline;
  6450. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  6451. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  6452. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  6453. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  6454. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  6455. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  6456. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  6457. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  6458. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  6459. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  6460. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  6461. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  6462. property w : TBits_32 read getw write setw;
  6463. end;
  6464. TPORTD_PORTD = record
  6465. private
  6466. function getRD0 : TBits_1; inline;
  6467. function getRD1 : TBits_1; inline;
  6468. function getRD10 : TBits_1; inline;
  6469. function getRD11 : TBits_1; inline;
  6470. function getRD2 : TBits_1; inline;
  6471. function getRD3 : TBits_1; inline;
  6472. function getRD4 : TBits_1; inline;
  6473. function getRD5 : TBits_1; inline;
  6474. function getRD6 : TBits_1; inline;
  6475. function getRD7 : TBits_1; inline;
  6476. function getRD8 : TBits_1; inline;
  6477. function getRD9 : TBits_1; inline;
  6478. function getw : TBits_32; inline;
  6479. procedure setRD0(thebits : TBits_1); inline;
  6480. procedure setRD1(thebits : TBits_1); inline;
  6481. procedure setRD10(thebits : TBits_1); inline;
  6482. procedure setRD11(thebits : TBits_1); inline;
  6483. procedure setRD2(thebits : TBits_1); inline;
  6484. procedure setRD3(thebits : TBits_1); inline;
  6485. procedure setRD4(thebits : TBits_1); inline;
  6486. procedure setRD5(thebits : TBits_1); inline;
  6487. procedure setRD6(thebits : TBits_1); inline;
  6488. procedure setRD7(thebits : TBits_1); inline;
  6489. procedure setRD8(thebits : TBits_1); inline;
  6490. procedure setRD9(thebits : TBits_1); inline;
  6491. procedure setw(thebits : TBits_32); inline;
  6492. public
  6493. procedure clearRD0; inline;
  6494. procedure clearRD10; inline;
  6495. procedure clearRD11; inline;
  6496. procedure clearRD1; inline;
  6497. procedure clearRD2; inline;
  6498. procedure clearRD3; inline;
  6499. procedure clearRD4; inline;
  6500. procedure clearRD5; inline;
  6501. procedure clearRD6; inline;
  6502. procedure clearRD7; inline;
  6503. procedure clearRD8; inline;
  6504. procedure clearRD9; inline;
  6505. procedure setRD0; inline;
  6506. procedure setRD10; inline;
  6507. procedure setRD11; inline;
  6508. procedure setRD1; inline;
  6509. procedure setRD2; inline;
  6510. procedure setRD3; inline;
  6511. procedure setRD4; inline;
  6512. procedure setRD5; inline;
  6513. procedure setRD6; inline;
  6514. procedure setRD7; inline;
  6515. procedure setRD8; inline;
  6516. procedure setRD9; inline;
  6517. property RD0 : TBits_1 read getRD0 write setRD0;
  6518. property RD1 : TBits_1 read getRD1 write setRD1;
  6519. property RD10 : TBits_1 read getRD10 write setRD10;
  6520. property RD11 : TBits_1 read getRD11 write setRD11;
  6521. property RD2 : TBits_1 read getRD2 write setRD2;
  6522. property RD3 : TBits_1 read getRD3 write setRD3;
  6523. property RD4 : TBits_1 read getRD4 write setRD4;
  6524. property RD5 : TBits_1 read getRD5 write setRD5;
  6525. property RD6 : TBits_1 read getRD6 write setRD6;
  6526. property RD7 : TBits_1 read getRD7 write setRD7;
  6527. property RD8 : TBits_1 read getRD8 write setRD8;
  6528. property RD9 : TBits_1 read getRD9 write setRD9;
  6529. property w : TBits_32 read getw write setw;
  6530. end;
  6531. TPortD_bits=(RD0=0,RD1=1,RD2=2,RD3=3,RD4=4,RD5=5,RD6=6,RD7=7,RD8=8,RD9=9,RD10=10,RD11=11);
  6532. TPortD_bitset = set of TPortD_bits;
  6533. TPORTD_LATD = record
  6534. private
  6535. function getLATD0 : TBits_1; inline;
  6536. function getLATD1 : TBits_1; inline;
  6537. function getLATD10 : TBits_1; inline;
  6538. function getLATD11 : TBits_1; inline;
  6539. function getLATD2 : TBits_1; inline;
  6540. function getLATD3 : TBits_1; inline;
  6541. function getLATD4 : TBits_1; inline;
  6542. function getLATD5 : TBits_1; inline;
  6543. function getLATD6 : TBits_1; inline;
  6544. function getLATD7 : TBits_1; inline;
  6545. function getLATD8 : TBits_1; inline;
  6546. function getLATD9 : TBits_1; inline;
  6547. function getw : TBits_32; inline;
  6548. procedure setLATD0(thebits : TBits_1); inline;
  6549. procedure setLATD1(thebits : TBits_1); inline;
  6550. procedure setLATD10(thebits : TBits_1); inline;
  6551. procedure setLATD11(thebits : TBits_1); inline;
  6552. procedure setLATD2(thebits : TBits_1); inline;
  6553. procedure setLATD3(thebits : TBits_1); inline;
  6554. procedure setLATD4(thebits : TBits_1); inline;
  6555. procedure setLATD5(thebits : TBits_1); inline;
  6556. procedure setLATD6(thebits : TBits_1); inline;
  6557. procedure setLATD7(thebits : TBits_1); inline;
  6558. procedure setLATD8(thebits : TBits_1); inline;
  6559. procedure setLATD9(thebits : TBits_1); inline;
  6560. procedure setw(thebits : TBits_32); inline;
  6561. public
  6562. procedure clearLATD0; inline;
  6563. procedure clearLATD10; inline;
  6564. procedure clearLATD11; inline;
  6565. procedure clearLATD1; inline;
  6566. procedure clearLATD2; inline;
  6567. procedure clearLATD3; inline;
  6568. procedure clearLATD4; inline;
  6569. procedure clearLATD5; inline;
  6570. procedure clearLATD6; inline;
  6571. procedure clearLATD7; inline;
  6572. procedure clearLATD8; inline;
  6573. procedure clearLATD9; inline;
  6574. procedure setLATD0; inline;
  6575. procedure setLATD10; inline;
  6576. procedure setLATD11; inline;
  6577. procedure setLATD1; inline;
  6578. procedure setLATD2; inline;
  6579. procedure setLATD3; inline;
  6580. procedure setLATD4; inline;
  6581. procedure setLATD5; inline;
  6582. procedure setLATD6; inline;
  6583. procedure setLATD7; inline;
  6584. procedure setLATD8; inline;
  6585. procedure setLATD9; inline;
  6586. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  6587. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  6588. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  6589. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  6590. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  6591. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  6592. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  6593. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  6594. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  6595. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  6596. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  6597. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  6598. property w : TBits_32 read getw write setw;
  6599. end;
  6600. TPORTD_ODCD = record
  6601. private
  6602. function getODCD0 : TBits_1; inline;
  6603. function getODCD1 : TBits_1; inline;
  6604. function getODCD10 : TBits_1; inline;
  6605. function getODCD11 : TBits_1; inline;
  6606. function getODCD2 : TBits_1; inline;
  6607. function getODCD3 : TBits_1; inline;
  6608. function getODCD4 : TBits_1; inline;
  6609. function getODCD5 : TBits_1; inline;
  6610. function getODCD6 : TBits_1; inline;
  6611. function getODCD7 : TBits_1; inline;
  6612. function getODCD8 : TBits_1; inline;
  6613. function getODCD9 : TBits_1; inline;
  6614. function getw : TBits_32; inline;
  6615. procedure setODCD0(thebits : TBits_1); inline;
  6616. procedure setODCD1(thebits : TBits_1); inline;
  6617. procedure setODCD10(thebits : TBits_1); inline;
  6618. procedure setODCD11(thebits : TBits_1); inline;
  6619. procedure setODCD2(thebits : TBits_1); inline;
  6620. procedure setODCD3(thebits : TBits_1); inline;
  6621. procedure setODCD4(thebits : TBits_1); inline;
  6622. procedure setODCD5(thebits : TBits_1); inline;
  6623. procedure setODCD6(thebits : TBits_1); inline;
  6624. procedure setODCD7(thebits : TBits_1); inline;
  6625. procedure setODCD8(thebits : TBits_1); inline;
  6626. procedure setODCD9(thebits : TBits_1); inline;
  6627. procedure setw(thebits : TBits_32); inline;
  6628. public
  6629. procedure clearODCD0; inline;
  6630. procedure clearODCD10; inline;
  6631. procedure clearODCD11; inline;
  6632. procedure clearODCD1; inline;
  6633. procedure clearODCD2; inline;
  6634. procedure clearODCD3; inline;
  6635. procedure clearODCD4; inline;
  6636. procedure clearODCD5; inline;
  6637. procedure clearODCD6; inline;
  6638. procedure clearODCD7; inline;
  6639. procedure clearODCD8; inline;
  6640. procedure clearODCD9; inline;
  6641. procedure setODCD0; inline;
  6642. procedure setODCD10; inline;
  6643. procedure setODCD11; inline;
  6644. procedure setODCD1; inline;
  6645. procedure setODCD2; inline;
  6646. procedure setODCD3; inline;
  6647. procedure setODCD4; inline;
  6648. procedure setODCD5; inline;
  6649. procedure setODCD6; inline;
  6650. procedure setODCD7; inline;
  6651. procedure setODCD8; inline;
  6652. procedure setODCD9; inline;
  6653. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  6654. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  6655. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  6656. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  6657. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  6658. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  6659. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  6660. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  6661. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  6662. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  6663. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  6664. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  6665. property w : TBits_32 read getw write setw;
  6666. end;
  6667. type
  6668. TPORTDRegisters = record
  6669. TRISDbits : TPORTD_TRISD;
  6670. TRISD : longWord;
  6671. TRISDCLR : longWord;
  6672. TRISDSET : longWord;
  6673. TRISDINV : longWord;
  6674. PORTDbits : TPORTD_PORTD;
  6675. PORTD : longWord;
  6676. PORTDCLR : longWord;
  6677. PORTDSET : longWord;
  6678. PORTDINV : longWord;
  6679. LATDbits : TPORTD_LATD;
  6680. LATD : longWord;
  6681. LATDCLR : longWord;
  6682. LATDSET : longWord;
  6683. LATDINV : longWord;
  6684. ODCDbits : TPORTD_ODCD;
  6685. ODCD : longWord;
  6686. ODCDCLR : longWord;
  6687. ODCDSET : longWord;
  6688. ODCDINV : longWord;
  6689. end;
  6690. TPORTE_TRISE = record
  6691. private
  6692. function getTRISE0 : TBits_1; inline;
  6693. function getTRISE1 : TBits_1; inline;
  6694. function getTRISE2 : TBits_1; inline;
  6695. function getTRISE3 : TBits_1; inline;
  6696. function getTRISE4 : TBits_1; inline;
  6697. function getTRISE5 : TBits_1; inline;
  6698. function getTRISE6 : TBits_1; inline;
  6699. function getTRISE7 : TBits_1; inline;
  6700. function getw : TBits_32; inline;
  6701. procedure setTRISE0(thebits : TBits_1); inline;
  6702. procedure setTRISE1(thebits : TBits_1); inline;
  6703. procedure setTRISE2(thebits : TBits_1); inline;
  6704. procedure setTRISE3(thebits : TBits_1); inline;
  6705. procedure setTRISE4(thebits : TBits_1); inline;
  6706. procedure setTRISE5(thebits : TBits_1); inline;
  6707. procedure setTRISE6(thebits : TBits_1); inline;
  6708. procedure setTRISE7(thebits : TBits_1); inline;
  6709. procedure setw(thebits : TBits_32); inline;
  6710. public
  6711. procedure clearTRISE0; inline;
  6712. procedure clearTRISE1; inline;
  6713. procedure clearTRISE2; inline;
  6714. procedure clearTRISE3; inline;
  6715. procedure clearTRISE4; inline;
  6716. procedure clearTRISE5; inline;
  6717. procedure clearTRISE6; inline;
  6718. procedure clearTRISE7; inline;
  6719. procedure setTRISE0; inline;
  6720. procedure setTRISE1; inline;
  6721. procedure setTRISE2; inline;
  6722. procedure setTRISE3; inline;
  6723. procedure setTRISE4; inline;
  6724. procedure setTRISE5; inline;
  6725. procedure setTRISE6; inline;
  6726. procedure setTRISE7; inline;
  6727. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  6728. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  6729. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  6730. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  6731. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  6732. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  6733. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  6734. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  6735. property w : TBits_32 read getw write setw;
  6736. end;
  6737. TPORTE_PORTE = record
  6738. private
  6739. function getRE0 : TBits_1; inline;
  6740. function getRE1 : TBits_1; inline;
  6741. function getRE2 : TBits_1; inline;
  6742. function getRE3 : TBits_1; inline;
  6743. function getRE4 : TBits_1; inline;
  6744. function getRE5 : TBits_1; inline;
  6745. function getRE6 : TBits_1; inline;
  6746. function getRE7 : TBits_1; inline;
  6747. function getw : TBits_32; inline;
  6748. procedure setRE0(thebits : TBits_1); inline;
  6749. procedure setRE1(thebits : TBits_1); inline;
  6750. procedure setRE2(thebits : TBits_1); inline;
  6751. procedure setRE3(thebits : TBits_1); inline;
  6752. procedure setRE4(thebits : TBits_1); inline;
  6753. procedure setRE5(thebits : TBits_1); inline;
  6754. procedure setRE6(thebits : TBits_1); inline;
  6755. procedure setRE7(thebits : TBits_1); inline;
  6756. procedure setw(thebits : TBits_32); inline;
  6757. public
  6758. procedure clearRE0; inline;
  6759. procedure clearRE1; inline;
  6760. procedure clearRE2; inline;
  6761. procedure clearRE3; inline;
  6762. procedure clearRE4; inline;
  6763. procedure clearRE5; inline;
  6764. procedure clearRE6; inline;
  6765. procedure clearRE7; inline;
  6766. procedure setRE0; inline;
  6767. procedure setRE1; inline;
  6768. procedure setRE2; inline;
  6769. procedure setRE3; inline;
  6770. procedure setRE4; inline;
  6771. procedure setRE5; inline;
  6772. procedure setRE6; inline;
  6773. procedure setRE7; inline;
  6774. property RE0 : TBits_1 read getRE0 write setRE0;
  6775. property RE1 : TBits_1 read getRE1 write setRE1;
  6776. property RE2 : TBits_1 read getRE2 write setRE2;
  6777. property RE3 : TBits_1 read getRE3 write setRE3;
  6778. property RE4 : TBits_1 read getRE4 write setRE4;
  6779. property RE5 : TBits_1 read getRE5 write setRE5;
  6780. property RE6 : TBits_1 read getRE6 write setRE6;
  6781. property RE7 : TBits_1 read getRE7 write setRE7;
  6782. property w : TBits_32 read getw write setw;
  6783. end;
  6784. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  6785. TPortE_bitset = set of TPortE_bits;
  6786. TPORTE_LATE = record
  6787. private
  6788. function getLATE0 : TBits_1; inline;
  6789. function getLATE1 : TBits_1; inline;
  6790. function getLATE2 : TBits_1; inline;
  6791. function getLATE3 : TBits_1; inline;
  6792. function getLATE4 : TBits_1; inline;
  6793. function getLATE5 : TBits_1; inline;
  6794. function getLATE6 : TBits_1; inline;
  6795. function getLATE7 : TBits_1; inline;
  6796. function getw : TBits_32; inline;
  6797. procedure setLATE0(thebits : TBits_1); inline;
  6798. procedure setLATE1(thebits : TBits_1); inline;
  6799. procedure setLATE2(thebits : TBits_1); inline;
  6800. procedure setLATE3(thebits : TBits_1); inline;
  6801. procedure setLATE4(thebits : TBits_1); inline;
  6802. procedure setLATE5(thebits : TBits_1); inline;
  6803. procedure setLATE6(thebits : TBits_1); inline;
  6804. procedure setLATE7(thebits : TBits_1); inline;
  6805. procedure setw(thebits : TBits_32); inline;
  6806. public
  6807. procedure clearLATE0; inline;
  6808. procedure clearLATE1; inline;
  6809. procedure clearLATE2; inline;
  6810. procedure clearLATE3; inline;
  6811. procedure clearLATE4; inline;
  6812. procedure clearLATE5; inline;
  6813. procedure clearLATE6; inline;
  6814. procedure clearLATE7; inline;
  6815. procedure setLATE0; inline;
  6816. procedure setLATE1; inline;
  6817. procedure setLATE2; inline;
  6818. procedure setLATE3; inline;
  6819. procedure setLATE4; inline;
  6820. procedure setLATE5; inline;
  6821. procedure setLATE6; inline;
  6822. procedure setLATE7; inline;
  6823. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  6824. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  6825. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  6826. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  6827. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  6828. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  6829. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  6830. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  6831. property w : TBits_32 read getw write setw;
  6832. end;
  6833. TPORTE_ODCE = record
  6834. private
  6835. function getODCE0 : TBits_1; inline;
  6836. function getODCE1 : TBits_1; inline;
  6837. function getODCE2 : TBits_1; inline;
  6838. function getODCE3 : TBits_1; inline;
  6839. function getODCE4 : TBits_1; inline;
  6840. function getODCE5 : TBits_1; inline;
  6841. function getODCE6 : TBits_1; inline;
  6842. function getODCE7 : TBits_1; inline;
  6843. function getw : TBits_32; inline;
  6844. procedure setODCE0(thebits : TBits_1); inline;
  6845. procedure setODCE1(thebits : TBits_1); inline;
  6846. procedure setODCE2(thebits : TBits_1); inline;
  6847. procedure setODCE3(thebits : TBits_1); inline;
  6848. procedure setODCE4(thebits : TBits_1); inline;
  6849. procedure setODCE5(thebits : TBits_1); inline;
  6850. procedure setODCE6(thebits : TBits_1); inline;
  6851. procedure setODCE7(thebits : TBits_1); inline;
  6852. procedure setw(thebits : TBits_32); inline;
  6853. public
  6854. procedure clearODCE0; inline;
  6855. procedure clearODCE1; inline;
  6856. procedure clearODCE2; inline;
  6857. procedure clearODCE3; inline;
  6858. procedure clearODCE4; inline;
  6859. procedure clearODCE5; inline;
  6860. procedure clearODCE6; inline;
  6861. procedure clearODCE7; inline;
  6862. procedure setODCE0; inline;
  6863. procedure setODCE1; inline;
  6864. procedure setODCE2; inline;
  6865. procedure setODCE3; inline;
  6866. procedure setODCE4; inline;
  6867. procedure setODCE5; inline;
  6868. procedure setODCE6; inline;
  6869. procedure setODCE7; inline;
  6870. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  6871. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  6872. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  6873. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  6874. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  6875. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  6876. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  6877. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  6878. property w : TBits_32 read getw write setw;
  6879. end;
  6880. type
  6881. TPORTERegisters = record
  6882. TRISEbits : TPORTE_TRISE;
  6883. TRISE : longWord;
  6884. TRISECLR : longWord;
  6885. TRISESET : longWord;
  6886. TRISEINV : longWord;
  6887. PORTEbits : TPORTE_PORTE;
  6888. PORTE : longWord;
  6889. PORTECLR : longWord;
  6890. PORTESET : longWord;
  6891. PORTEINV : longWord;
  6892. LATEbits : TPORTE_LATE;
  6893. LATE : longWord;
  6894. LATECLR : longWord;
  6895. LATESET : longWord;
  6896. LATEINV : longWord;
  6897. ODCEbits : TPORTE_ODCE;
  6898. ODCE : longWord;
  6899. ODCECLR : longWord;
  6900. ODCESET : longWord;
  6901. ODCEINV : longWord;
  6902. end;
  6903. TPORTF_TRISF = record
  6904. private
  6905. function getTRISF0 : TBits_1; inline;
  6906. function getTRISF1 : TBits_1; inline;
  6907. function getTRISF3 : TBits_1; inline;
  6908. function getTRISF4 : TBits_1; inline;
  6909. function getTRISF5 : TBits_1; inline;
  6910. function getw : TBits_32; inline;
  6911. procedure setTRISF0(thebits : TBits_1); inline;
  6912. procedure setTRISF1(thebits : TBits_1); inline;
  6913. procedure setTRISF3(thebits : TBits_1); inline;
  6914. procedure setTRISF4(thebits : TBits_1); inline;
  6915. procedure setTRISF5(thebits : TBits_1); inline;
  6916. procedure setw(thebits : TBits_32); inline;
  6917. public
  6918. procedure clearTRISF0; inline;
  6919. procedure clearTRISF1; inline;
  6920. procedure clearTRISF3; inline;
  6921. procedure clearTRISF4; inline;
  6922. procedure clearTRISF5; inline;
  6923. procedure setTRISF0; inline;
  6924. procedure setTRISF1; inline;
  6925. procedure setTRISF3; inline;
  6926. procedure setTRISF4; inline;
  6927. procedure setTRISF5; inline;
  6928. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  6929. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  6930. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  6931. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  6932. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  6933. property w : TBits_32 read getw write setw;
  6934. end;
  6935. TPORTF_PORTF = record
  6936. private
  6937. function getRF0 : TBits_1; inline;
  6938. function getRF1 : TBits_1; inline;
  6939. function getRF3 : TBits_1; inline;
  6940. function getRF4 : TBits_1; inline;
  6941. function getRF5 : TBits_1; inline;
  6942. function getw : TBits_32; inline;
  6943. procedure setRF0(thebits : TBits_1); inline;
  6944. procedure setRF1(thebits : TBits_1); inline;
  6945. procedure setRF3(thebits : TBits_1); inline;
  6946. procedure setRF4(thebits : TBits_1); inline;
  6947. procedure setRF5(thebits : TBits_1); inline;
  6948. procedure setw(thebits : TBits_32); inline;
  6949. public
  6950. procedure clearRF0; inline;
  6951. procedure clearRF1; inline;
  6952. procedure clearRF3; inline;
  6953. procedure clearRF4; inline;
  6954. procedure clearRF5; inline;
  6955. procedure setRF0; inline;
  6956. procedure setRF1; inline;
  6957. procedure setRF3; inline;
  6958. procedure setRF4; inline;
  6959. procedure setRF5; inline;
  6960. property RF0 : TBits_1 read getRF0 write setRF0;
  6961. property RF1 : TBits_1 read getRF1 write setRF1;
  6962. property RF3 : TBits_1 read getRF3 write setRF3;
  6963. property RF4 : TBits_1 read getRF4 write setRF4;
  6964. property RF5 : TBits_1 read getRF5 write setRF5;
  6965. property w : TBits_32 read getw write setw;
  6966. end;
  6967. TPortF_bits=(RF0=0,RF1=1,RF3=3,RF4=4,RF5=5);
  6968. TPortF_bitset = set of TPortF_bits;
  6969. TPORTF_LATF = record
  6970. private
  6971. function getLATF0 : TBits_1; inline;
  6972. function getLATF1 : TBits_1; inline;
  6973. function getLATF3 : TBits_1; inline;
  6974. function getLATF4 : TBits_1; inline;
  6975. function getLATF5 : TBits_1; inline;
  6976. function getw : TBits_32; inline;
  6977. procedure setLATF0(thebits : TBits_1); inline;
  6978. procedure setLATF1(thebits : TBits_1); inline;
  6979. procedure setLATF3(thebits : TBits_1); inline;
  6980. procedure setLATF4(thebits : TBits_1); inline;
  6981. procedure setLATF5(thebits : TBits_1); inline;
  6982. procedure setw(thebits : TBits_32); inline;
  6983. public
  6984. procedure clearLATF0; inline;
  6985. procedure clearLATF1; inline;
  6986. procedure clearLATF3; inline;
  6987. procedure clearLATF4; inline;
  6988. procedure clearLATF5; inline;
  6989. procedure setLATF0; inline;
  6990. procedure setLATF1; inline;
  6991. procedure setLATF3; inline;
  6992. procedure setLATF4; inline;
  6993. procedure setLATF5; inline;
  6994. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  6995. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  6996. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  6997. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  6998. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  6999. property w : TBits_32 read getw write setw;
  7000. end;
  7001. TPORTF_ODCF = record
  7002. private
  7003. function getODCF0 : TBits_1; inline;
  7004. function getODCF1 : TBits_1; inline;
  7005. function getODCF3 : TBits_1; inline;
  7006. function getODCF4 : TBits_1; inline;
  7007. function getODCF5 : TBits_1; inline;
  7008. function getw : TBits_32; inline;
  7009. procedure setODCF0(thebits : TBits_1); inline;
  7010. procedure setODCF1(thebits : TBits_1); inline;
  7011. procedure setODCF3(thebits : TBits_1); inline;
  7012. procedure setODCF4(thebits : TBits_1); inline;
  7013. procedure setODCF5(thebits : TBits_1); inline;
  7014. procedure setw(thebits : TBits_32); inline;
  7015. public
  7016. procedure clearODCF0; inline;
  7017. procedure clearODCF1; inline;
  7018. procedure clearODCF3; inline;
  7019. procedure clearODCF4; inline;
  7020. procedure clearODCF5; inline;
  7021. procedure setODCF0; inline;
  7022. procedure setODCF1; inline;
  7023. procedure setODCF3; inline;
  7024. procedure setODCF4; inline;
  7025. procedure setODCF5; inline;
  7026. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  7027. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  7028. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  7029. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  7030. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  7031. property w : TBits_32 read getw write setw;
  7032. end;
  7033. type
  7034. TPORTFRegisters = record
  7035. TRISFbits : TPORTF_TRISF;
  7036. TRISF : longWord;
  7037. TRISFCLR : longWord;
  7038. TRISFSET : longWord;
  7039. TRISFINV : longWord;
  7040. PORTFbits : TPORTF_PORTF;
  7041. PORTF : longWord;
  7042. PORTFCLR : longWord;
  7043. PORTFSET : longWord;
  7044. PORTFINV : longWord;
  7045. LATFbits : TPORTF_LATF;
  7046. LATF : longWord;
  7047. LATFCLR : longWord;
  7048. LATFSET : longWord;
  7049. LATFINV : longWord;
  7050. ODCFbits : TPORTF_ODCF;
  7051. ODCF : longWord;
  7052. ODCFCLR : longWord;
  7053. ODCFSET : longWord;
  7054. ODCFINV : longWord;
  7055. end;
  7056. TPORTG_TRISG = record
  7057. private
  7058. function getTRISG2 : TBits_1; inline;
  7059. function getTRISG3 : TBits_1; inline;
  7060. function getTRISG6 : TBits_1; inline;
  7061. function getTRISG7 : TBits_1; inline;
  7062. function getTRISG8 : TBits_1; inline;
  7063. function getTRISG9 : TBits_1; inline;
  7064. function getw : TBits_32; inline;
  7065. procedure setTRISG2(thebits : TBits_1); inline;
  7066. procedure setTRISG3(thebits : TBits_1); inline;
  7067. procedure setTRISG6(thebits : TBits_1); inline;
  7068. procedure setTRISG7(thebits : TBits_1); inline;
  7069. procedure setTRISG8(thebits : TBits_1); inline;
  7070. procedure setTRISG9(thebits : TBits_1); inline;
  7071. procedure setw(thebits : TBits_32); inline;
  7072. public
  7073. procedure clearTRISG2; inline;
  7074. procedure clearTRISG3; inline;
  7075. procedure clearTRISG6; inline;
  7076. procedure clearTRISG7; inline;
  7077. procedure clearTRISG8; inline;
  7078. procedure clearTRISG9; inline;
  7079. procedure setTRISG2; inline;
  7080. procedure setTRISG3; inline;
  7081. procedure setTRISG6; inline;
  7082. procedure setTRISG7; inline;
  7083. procedure setTRISG8; inline;
  7084. procedure setTRISG9; inline;
  7085. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  7086. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  7087. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  7088. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  7089. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  7090. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  7091. property w : TBits_32 read getw write setw;
  7092. end;
  7093. TPORTG_PORTG = record
  7094. private
  7095. function getRG2 : TBits_1; inline;
  7096. function getRG3 : TBits_1; inline;
  7097. function getRG6 : TBits_1; inline;
  7098. function getRG7 : TBits_1; inline;
  7099. function getRG8 : TBits_1; inline;
  7100. function getRG9 : TBits_1; inline;
  7101. function getw : TBits_32; inline;
  7102. procedure setRG2(thebits : TBits_1); inline;
  7103. procedure setRG3(thebits : TBits_1); inline;
  7104. procedure setRG6(thebits : TBits_1); inline;
  7105. procedure setRG7(thebits : TBits_1); inline;
  7106. procedure setRG8(thebits : TBits_1); inline;
  7107. procedure setRG9(thebits : TBits_1); inline;
  7108. procedure setw(thebits : TBits_32); inline;
  7109. public
  7110. procedure clearRG2; inline;
  7111. procedure clearRG3; inline;
  7112. procedure clearRG6; inline;
  7113. procedure clearRG7; inline;
  7114. procedure clearRG8; inline;
  7115. procedure clearRG9; inline;
  7116. procedure setRG2; inline;
  7117. procedure setRG3; inline;
  7118. procedure setRG6; inline;
  7119. procedure setRG7; inline;
  7120. procedure setRG8; inline;
  7121. procedure setRG9; inline;
  7122. property RG2 : TBits_1 read getRG2 write setRG2;
  7123. property RG3 : TBits_1 read getRG3 write setRG3;
  7124. property RG6 : TBits_1 read getRG6 write setRG6;
  7125. property RG7 : TBits_1 read getRG7 write setRG7;
  7126. property RG8 : TBits_1 read getRG8 write setRG8;
  7127. property RG9 : TBits_1 read getRG9 write setRG9;
  7128. property w : TBits_32 read getw write setw;
  7129. end;
  7130. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  7131. TPortG_bitset = set of TPortG_bits;
  7132. TPORTG_LATG = record
  7133. private
  7134. function getLATG2 : TBits_1; inline;
  7135. function getLATG3 : TBits_1; inline;
  7136. function getLATG6 : TBits_1; inline;
  7137. function getLATG7 : TBits_1; inline;
  7138. function getLATG8 : TBits_1; inline;
  7139. function getLATG9 : TBits_1; inline;
  7140. function getw : TBits_32; inline;
  7141. procedure setLATG2(thebits : TBits_1); inline;
  7142. procedure setLATG3(thebits : TBits_1); inline;
  7143. procedure setLATG6(thebits : TBits_1); inline;
  7144. procedure setLATG7(thebits : TBits_1); inline;
  7145. procedure setLATG8(thebits : TBits_1); inline;
  7146. procedure setLATG9(thebits : TBits_1); inline;
  7147. procedure setw(thebits : TBits_32); inline;
  7148. public
  7149. procedure clearLATG2; inline;
  7150. procedure clearLATG3; inline;
  7151. procedure clearLATG6; inline;
  7152. procedure clearLATG7; inline;
  7153. procedure clearLATG8; inline;
  7154. procedure clearLATG9; inline;
  7155. procedure setLATG2; inline;
  7156. procedure setLATG3; inline;
  7157. procedure setLATG6; inline;
  7158. procedure setLATG7; inline;
  7159. procedure setLATG8; inline;
  7160. procedure setLATG9; inline;
  7161. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  7162. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  7163. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  7164. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  7165. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  7166. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  7167. property w : TBits_32 read getw write setw;
  7168. end;
  7169. TPORTG_ODCG = record
  7170. private
  7171. function getODCG2 : TBits_1; inline;
  7172. function getODCG3 : TBits_1; inline;
  7173. function getODCG6 : TBits_1; inline;
  7174. function getODCG7 : TBits_1; inline;
  7175. function getODCG8 : TBits_1; inline;
  7176. function getODCG9 : TBits_1; inline;
  7177. function getw : TBits_32; inline;
  7178. procedure setODCG2(thebits : TBits_1); inline;
  7179. procedure setODCG3(thebits : TBits_1); inline;
  7180. procedure setODCG6(thebits : TBits_1); inline;
  7181. procedure setODCG7(thebits : TBits_1); inline;
  7182. procedure setODCG8(thebits : TBits_1); inline;
  7183. procedure setODCG9(thebits : TBits_1); inline;
  7184. procedure setw(thebits : TBits_32); inline;
  7185. public
  7186. procedure clearODCG2; inline;
  7187. procedure clearODCG3; inline;
  7188. procedure clearODCG6; inline;
  7189. procedure clearODCG7; inline;
  7190. procedure clearODCG8; inline;
  7191. procedure clearODCG9; inline;
  7192. procedure setODCG2; inline;
  7193. procedure setODCG3; inline;
  7194. procedure setODCG6; inline;
  7195. procedure setODCG7; inline;
  7196. procedure setODCG8; inline;
  7197. procedure setODCG9; inline;
  7198. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  7199. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  7200. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  7201. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  7202. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  7203. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  7204. property w : TBits_32 read getw write setw;
  7205. end;
  7206. TPORTG_CNCON = record
  7207. private
  7208. function getON : TBits_1; inline;
  7209. function getSIDL : TBits_1; inline;
  7210. function getw : TBits_32; inline;
  7211. procedure setON(thebits : TBits_1); inline;
  7212. procedure setSIDL(thebits : TBits_1); inline;
  7213. procedure setw(thebits : TBits_32); inline;
  7214. public
  7215. procedure clearON; inline;
  7216. procedure clearSIDL; inline;
  7217. procedure setON; inline;
  7218. procedure setSIDL; inline;
  7219. property ON : TBits_1 read getON write setON;
  7220. property SIDL : TBits_1 read getSIDL write setSIDL;
  7221. property w : TBits_32 read getw write setw;
  7222. end;
  7223. TPORTG_CNEN = record
  7224. private
  7225. function getCNEN0 : TBits_1; inline;
  7226. function getCNEN1 : TBits_1; inline;
  7227. function getCNEN10 : TBits_1; inline;
  7228. function getCNEN11 : TBits_1; inline;
  7229. function getCNEN12 : TBits_1; inline;
  7230. function getCNEN13 : TBits_1; inline;
  7231. function getCNEN14 : TBits_1; inline;
  7232. function getCNEN15 : TBits_1; inline;
  7233. function getCNEN16 : TBits_1; inline;
  7234. function getCNEN17 : TBits_1; inline;
  7235. function getCNEN18 : TBits_1; inline;
  7236. function getCNEN2 : TBits_1; inline;
  7237. function getCNEN3 : TBits_1; inline;
  7238. function getCNEN4 : TBits_1; inline;
  7239. function getCNEN5 : TBits_1; inline;
  7240. function getCNEN6 : TBits_1; inline;
  7241. function getCNEN7 : TBits_1; inline;
  7242. function getCNEN8 : TBits_1; inline;
  7243. function getCNEN9 : TBits_1; inline;
  7244. function getw : TBits_32; inline;
  7245. procedure setCNEN0(thebits : TBits_1); inline;
  7246. procedure setCNEN1(thebits : TBits_1); inline;
  7247. procedure setCNEN10(thebits : TBits_1); inline;
  7248. procedure setCNEN11(thebits : TBits_1); inline;
  7249. procedure setCNEN12(thebits : TBits_1); inline;
  7250. procedure setCNEN13(thebits : TBits_1); inline;
  7251. procedure setCNEN14(thebits : TBits_1); inline;
  7252. procedure setCNEN15(thebits : TBits_1); inline;
  7253. procedure setCNEN16(thebits : TBits_1); inline;
  7254. procedure setCNEN17(thebits : TBits_1); inline;
  7255. procedure setCNEN18(thebits : TBits_1); inline;
  7256. procedure setCNEN2(thebits : TBits_1); inline;
  7257. procedure setCNEN3(thebits : TBits_1); inline;
  7258. procedure setCNEN4(thebits : TBits_1); inline;
  7259. procedure setCNEN5(thebits : TBits_1); inline;
  7260. procedure setCNEN6(thebits : TBits_1); inline;
  7261. procedure setCNEN7(thebits : TBits_1); inline;
  7262. procedure setCNEN8(thebits : TBits_1); inline;
  7263. procedure setCNEN9(thebits : TBits_1); inline;
  7264. procedure setw(thebits : TBits_32); inline;
  7265. public
  7266. procedure clearCNEN0; inline;
  7267. procedure clearCNEN10; inline;
  7268. procedure clearCNEN11; inline;
  7269. procedure clearCNEN12; inline;
  7270. procedure clearCNEN13; inline;
  7271. procedure clearCNEN14; inline;
  7272. procedure clearCNEN15; inline;
  7273. procedure clearCNEN16; inline;
  7274. procedure clearCNEN17; inline;
  7275. procedure clearCNEN18; inline;
  7276. procedure clearCNEN1; inline;
  7277. procedure clearCNEN2; inline;
  7278. procedure clearCNEN3; inline;
  7279. procedure clearCNEN4; inline;
  7280. procedure clearCNEN5; inline;
  7281. procedure clearCNEN6; inline;
  7282. procedure clearCNEN7; inline;
  7283. procedure clearCNEN8; inline;
  7284. procedure clearCNEN9; inline;
  7285. procedure setCNEN0; inline;
  7286. procedure setCNEN10; inline;
  7287. procedure setCNEN11; inline;
  7288. procedure setCNEN12; inline;
  7289. procedure setCNEN13; inline;
  7290. procedure setCNEN14; inline;
  7291. procedure setCNEN15; inline;
  7292. procedure setCNEN16; inline;
  7293. procedure setCNEN17; inline;
  7294. procedure setCNEN18; inline;
  7295. procedure setCNEN1; inline;
  7296. procedure setCNEN2; inline;
  7297. procedure setCNEN3; inline;
  7298. procedure setCNEN4; inline;
  7299. procedure setCNEN5; inline;
  7300. procedure setCNEN6; inline;
  7301. procedure setCNEN7; inline;
  7302. procedure setCNEN8; inline;
  7303. procedure setCNEN9; inline;
  7304. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  7305. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  7306. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  7307. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  7308. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  7309. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  7310. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  7311. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  7312. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  7313. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  7314. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  7315. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  7316. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  7317. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  7318. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  7319. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  7320. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  7321. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  7322. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  7323. property w : TBits_32 read getw write setw;
  7324. end;
  7325. TPORTG_CNPUE = record
  7326. private
  7327. function getCNPUE0 : TBits_1; inline;
  7328. function getCNPUE1 : TBits_1; inline;
  7329. function getCNPUE10 : TBits_1; inline;
  7330. function getCNPUE11 : TBits_1; inline;
  7331. function getCNPUE12 : TBits_1; inline;
  7332. function getCNPUE13 : TBits_1; inline;
  7333. function getCNPUE14 : TBits_1; inline;
  7334. function getCNPUE15 : TBits_1; inline;
  7335. function getCNPUE16 : TBits_1; inline;
  7336. function getCNPUE17 : TBits_1; inline;
  7337. function getCNPUE18 : TBits_1; inline;
  7338. function getCNPUE2 : TBits_1; inline;
  7339. function getCNPUE3 : TBits_1; inline;
  7340. function getCNPUE4 : TBits_1; inline;
  7341. function getCNPUE5 : TBits_1; inline;
  7342. function getCNPUE6 : TBits_1; inline;
  7343. function getCNPUE7 : TBits_1; inline;
  7344. function getCNPUE8 : TBits_1; inline;
  7345. function getCNPUE9 : TBits_1; inline;
  7346. function getw : TBits_32; inline;
  7347. procedure setCNPUE0(thebits : TBits_1); inline;
  7348. procedure setCNPUE1(thebits : TBits_1); inline;
  7349. procedure setCNPUE10(thebits : TBits_1); inline;
  7350. procedure setCNPUE11(thebits : TBits_1); inline;
  7351. procedure setCNPUE12(thebits : TBits_1); inline;
  7352. procedure setCNPUE13(thebits : TBits_1); inline;
  7353. procedure setCNPUE14(thebits : TBits_1); inline;
  7354. procedure setCNPUE15(thebits : TBits_1); inline;
  7355. procedure setCNPUE16(thebits : TBits_1); inline;
  7356. procedure setCNPUE17(thebits : TBits_1); inline;
  7357. procedure setCNPUE18(thebits : TBits_1); inline;
  7358. procedure setCNPUE2(thebits : TBits_1); inline;
  7359. procedure setCNPUE3(thebits : TBits_1); inline;
  7360. procedure setCNPUE4(thebits : TBits_1); inline;
  7361. procedure setCNPUE5(thebits : TBits_1); inline;
  7362. procedure setCNPUE6(thebits : TBits_1); inline;
  7363. procedure setCNPUE7(thebits : TBits_1); inline;
  7364. procedure setCNPUE8(thebits : TBits_1); inline;
  7365. procedure setCNPUE9(thebits : TBits_1); inline;
  7366. procedure setw(thebits : TBits_32); inline;
  7367. public
  7368. procedure clearCNPUE0; inline;
  7369. procedure clearCNPUE10; inline;
  7370. procedure clearCNPUE11; inline;
  7371. procedure clearCNPUE12; inline;
  7372. procedure clearCNPUE13; inline;
  7373. procedure clearCNPUE14; inline;
  7374. procedure clearCNPUE15; inline;
  7375. procedure clearCNPUE16; inline;
  7376. procedure clearCNPUE17; inline;
  7377. procedure clearCNPUE18; inline;
  7378. procedure clearCNPUE1; inline;
  7379. procedure clearCNPUE2; inline;
  7380. procedure clearCNPUE3; inline;
  7381. procedure clearCNPUE4; inline;
  7382. procedure clearCNPUE5; inline;
  7383. procedure clearCNPUE6; inline;
  7384. procedure clearCNPUE7; inline;
  7385. procedure clearCNPUE8; inline;
  7386. procedure clearCNPUE9; inline;
  7387. procedure setCNPUE0; inline;
  7388. procedure setCNPUE10; inline;
  7389. procedure setCNPUE11; inline;
  7390. procedure setCNPUE12; inline;
  7391. procedure setCNPUE13; inline;
  7392. procedure setCNPUE14; inline;
  7393. procedure setCNPUE15; inline;
  7394. procedure setCNPUE16; inline;
  7395. procedure setCNPUE17; inline;
  7396. procedure setCNPUE18; inline;
  7397. procedure setCNPUE1; inline;
  7398. procedure setCNPUE2; inline;
  7399. procedure setCNPUE3; inline;
  7400. procedure setCNPUE4; inline;
  7401. procedure setCNPUE5; inline;
  7402. procedure setCNPUE6; inline;
  7403. procedure setCNPUE7; inline;
  7404. procedure setCNPUE8; inline;
  7405. procedure setCNPUE9; inline;
  7406. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  7407. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  7408. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  7409. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  7410. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  7411. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  7412. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  7413. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  7414. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  7415. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  7416. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  7417. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  7418. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  7419. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  7420. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  7421. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  7422. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  7423. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  7424. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  7425. property w : TBits_32 read getw write setw;
  7426. end;
  7427. type
  7428. TPORTGRegisters = record
  7429. TRISGbits : TPORTG_TRISG;
  7430. TRISG : longWord;
  7431. TRISGCLR : longWord;
  7432. TRISGSET : longWord;
  7433. TRISGINV : longWord;
  7434. PORTGbits : TPORTG_PORTG;
  7435. PORTG : longWord;
  7436. PORTGCLR : longWord;
  7437. PORTGSET : longWord;
  7438. PORTGINV : longWord;
  7439. LATGbits : TPORTG_LATG;
  7440. LATG : longWord;
  7441. LATGCLR : longWord;
  7442. LATGSET : longWord;
  7443. LATGINV : longWord;
  7444. ODCGbits : TPORTG_ODCG;
  7445. ODCG : longWord;
  7446. ODCGCLR : longWord;
  7447. ODCGSET : longWord;
  7448. ODCGINV : longWord;
  7449. CNCONbits : TPORTG_CNCON;
  7450. CNCON : longWord;
  7451. CNCONCLR : longWord;
  7452. CNCONSET : longWord;
  7453. CNCONINV : longWord;
  7454. CNENbits : TPORTG_CNEN;
  7455. CNEN : longWord;
  7456. CNENCLR : longWord;
  7457. CNENSET : longWord;
  7458. CNENINV : longWord;
  7459. CNPUEbits : TPORTG_CNPUE;
  7460. CNPUE : longWord;
  7461. CNPUECLR : longWord;
  7462. CNPUESET : longWord;
  7463. CNPUEINV : longWord;
  7464. end;
  7465. TDEVCFG_DEVCFG3 = record
  7466. private
  7467. function getUSERID : TBits_16; inline;
  7468. function getw : TBits_32; inline;
  7469. procedure setUSERID(thebits : TBits_16); inline;
  7470. procedure setw(thebits : TBits_32); inline;
  7471. public
  7472. property USERID : TBits_16 read getUSERID write setUSERID;
  7473. property w : TBits_32 read getw write setw;
  7474. end;
  7475. TDEVCFG_DEVCFG2 = record
  7476. private
  7477. function getFPLLIDIV : TBits_3; inline;
  7478. function getFPLLMUL : TBits_3; inline;
  7479. function getFPLLODIV : TBits_3; inline;
  7480. function getUPLLEN : TBits_1; inline;
  7481. function getUPLLIDIV : TBits_3; inline;
  7482. function getw : TBits_32; inline;
  7483. procedure setFPLLIDIV(thebits : TBits_3); inline;
  7484. procedure setFPLLMUL(thebits : TBits_3); inline;
  7485. procedure setFPLLODIV(thebits : TBits_3); inline;
  7486. procedure setUPLLEN(thebits : TBits_1); inline;
  7487. procedure setUPLLIDIV(thebits : TBits_3); inline;
  7488. procedure setw(thebits : TBits_32); inline;
  7489. public
  7490. procedure clearUPLLEN; inline;
  7491. procedure setUPLLEN; inline;
  7492. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  7493. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  7494. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  7495. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  7496. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  7497. property w : TBits_32 read getw write setw;
  7498. end;
  7499. TDEVCFG_DEVCFG1 = record
  7500. private
  7501. function getFCKSM : TBits_2; inline;
  7502. function getFNOSC : TBits_3; inline;
  7503. function getFPBDIV : TBits_2; inline;
  7504. function getFSOSCEN : TBits_1; inline;
  7505. function getFWDTEN : TBits_1; inline;
  7506. function getIESO : TBits_1; inline;
  7507. function getOSCIOFNC : TBits_1; inline;
  7508. function getPOSCMOD : TBits_2; inline;
  7509. function getWDTPS : TBits_5; inline;
  7510. function getw : TBits_32; inline;
  7511. procedure setFCKSM(thebits : TBits_2); inline;
  7512. procedure setFNOSC(thebits : TBits_3); inline;
  7513. procedure setFPBDIV(thebits : TBits_2); inline;
  7514. procedure setFSOSCEN(thebits : TBits_1); inline;
  7515. procedure setFWDTEN(thebits : TBits_1); inline;
  7516. procedure setIESO(thebits : TBits_1); inline;
  7517. procedure setOSCIOFNC(thebits : TBits_1); inline;
  7518. procedure setPOSCMOD(thebits : TBits_2); inline;
  7519. procedure setWDTPS(thebits : TBits_5); inline;
  7520. procedure setw(thebits : TBits_32); inline;
  7521. public
  7522. procedure clearFSOSCEN; inline;
  7523. procedure clearFWDTEN; inline;
  7524. procedure clearIESO; inline;
  7525. procedure clearOSCIOFNC; inline;
  7526. procedure setFSOSCEN; inline;
  7527. procedure setFWDTEN; inline;
  7528. procedure setIESO; inline;
  7529. procedure setOSCIOFNC; inline;
  7530. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  7531. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  7532. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  7533. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  7534. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  7535. property IESO : TBits_1 read getIESO write setIESO;
  7536. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  7537. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  7538. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  7539. property w : TBits_32 read getw write setw;
  7540. end;
  7541. TDEVCFG_DEVCFG0 = record
  7542. private
  7543. function getBWP : TBits_1; inline;
  7544. function getCP : TBits_1; inline;
  7545. function getDEBUG : TBits_2; inline;
  7546. function getFDEBUG : TBits_2; inline;
  7547. function getICESEL : TBits_1; inline;
  7548. function getPWP : TBits_8; inline;
  7549. function getw : TBits_32; inline;
  7550. procedure setBWP(thebits : TBits_1); inline;
  7551. procedure setCP(thebits : TBits_1); inline;
  7552. procedure setDEBUG(thebits : TBits_2); inline;
  7553. procedure setFDEBUG(thebits : TBits_2); inline;
  7554. procedure setICESEL(thebits : TBits_1); inline;
  7555. procedure setPWP(thebits : TBits_8); inline;
  7556. procedure setw(thebits : TBits_32); inline;
  7557. public
  7558. procedure clearBWP; inline;
  7559. procedure clearCP; inline;
  7560. procedure clearICESEL; inline;
  7561. procedure setBWP; inline;
  7562. procedure setCP; inline;
  7563. procedure setICESEL; inline;
  7564. property BWP : TBits_1 read getBWP write setBWP;
  7565. property CP : TBits_1 read getCP write setCP;
  7566. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  7567. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  7568. property ICESEL : TBits_1 read getICESEL write setICESEL;
  7569. property PWP : TBits_8 read getPWP write setPWP;
  7570. property w : TBits_32 read getw write setw;
  7571. end;
  7572. const
  7573. _CORE_TIMER_IRQ = 0;
  7574. _CORE_SOFTWARE_0_IRQ = 1;
  7575. _CORE_SOFTWARE_1_IRQ = 2;
  7576. _EXTERNAL_0_IRQ = 3;
  7577. _TIMER_1_IRQ = 4;
  7578. _INPUT_CAPTURE_1_IRQ = 5;
  7579. _OUTPUT_COMPARE_1_IRQ = 6;
  7580. _EXTERNAL_1_IRQ = 7;
  7581. _TIMER_2_IRQ = 8;
  7582. _INPUT_CAPTURE_2_IRQ = 9;
  7583. _OUTPUT_COMPARE_2_IRQ = 10;
  7584. _EXTERNAL_2_IRQ = 11;
  7585. _TIMER_3_IRQ = 12;
  7586. _INPUT_CAPTURE_3_IRQ = 13;
  7587. _OUTPUT_COMPARE_3_IRQ = 14;
  7588. _EXTERNAL_3_IRQ = 15;
  7589. _TIMER_4_IRQ = 16;
  7590. _INPUT_CAPTURE_4_IRQ = 17;
  7591. _OUTPUT_COMPARE_4_IRQ = 18;
  7592. _EXTERNAL_4_IRQ = 19;
  7593. _TIMER_5_IRQ = 20;
  7594. _INPUT_CAPTURE_5_IRQ = 21;
  7595. _OUTPUT_COMPARE_5_IRQ = 22;
  7596. _UART1_ERR_IRQ = 26;
  7597. _UART1_RX_IRQ = 27;
  7598. _UART1_TX_IRQ = 28;
  7599. _I2C1_BUS_IRQ = 29;
  7600. _I2C1_SLAVE_IRQ = 30;
  7601. _I2C1_MASTER_IRQ = 31;
  7602. _CHANGE_NOTICE_IRQ = 32;
  7603. _ADC_IRQ = 33;
  7604. _PMP_IRQ = 34;
  7605. _COMPARATOR_1_IRQ = 35;
  7606. _COMPARATOR_2_IRQ = 36;
  7607. _SPI2_ERR_IRQ = 37;
  7608. _SPI2_TX_IRQ = 38;
  7609. _SPI2_RX_IRQ = 39;
  7610. _UART2_ERR_IRQ = 40;
  7611. _UART2_RX_IRQ = 41;
  7612. _UART2_TX_IRQ = 42;
  7613. _I2C2_BUS_IRQ = 43;
  7614. _I2C2_SLAVE_IRQ = 44;
  7615. _I2C2_MASTER_IRQ = 45;
  7616. _FAIL_SAFE_MONITOR_IRQ = 46;
  7617. _RTCC_IRQ = 47;
  7618. _DMA0_IRQ = 48;
  7619. _DMA1_IRQ = 49;
  7620. _DMA2_IRQ = 50;
  7621. _DMA3_IRQ = 51;
  7622. _FLASH_CONTROL_IRQ = 56;
  7623. _USB_IRQ = 57;
  7624. const
  7625. ADC10_BASE_ADDRESS = $BF809000;
  7626. var
  7627. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  7628. const
  7629. BMX_BASE_ADDRESS = $BF882000;
  7630. var
  7631. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  7632. const
  7633. CFG_BASE_ADDRESS = $BF80F200;
  7634. var
  7635. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  7636. const
  7637. CMP_BASE_ADDRESS = $BF80A000;
  7638. var
  7639. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  7640. const
  7641. CVR_BASE_ADDRESS = $BF809800;
  7642. var
  7643. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  7644. const
  7645. DMAC_BASE_ADDRESS = $BF883000;
  7646. var
  7647. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  7648. const
  7649. DMAC0_BASE_ADDRESS = $BF883060;
  7650. var
  7651. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  7652. const
  7653. DMAC1_BASE_ADDRESS = $BF883120;
  7654. var
  7655. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  7656. const
  7657. DMAC2_BASE_ADDRESS = $BF8831E0;
  7658. var
  7659. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  7660. const
  7661. DMAC3_BASE_ADDRESS = $BF8832A0;
  7662. var
  7663. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  7664. const
  7665. I2C1_BASE_ADDRESS = $BF805000;
  7666. var
  7667. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  7668. const
  7669. I2C2_BASE_ADDRESS = $BF805200;
  7670. var
  7671. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  7672. const
  7673. ICAP1_BASE_ADDRESS = $BF802000;
  7674. var
  7675. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  7676. const
  7677. ICAP2_BASE_ADDRESS = $BF802200;
  7678. var
  7679. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  7680. const
  7681. ICAP3_BASE_ADDRESS = $BF802400;
  7682. var
  7683. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  7684. const
  7685. ICAP4_BASE_ADDRESS = $BF802600;
  7686. var
  7687. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  7688. const
  7689. ICAP5_BASE_ADDRESS = $BF802800;
  7690. var
  7691. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  7692. const
  7693. INT_BASE_ADDRESS = $BF881000;
  7694. var
  7695. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  7696. const
  7697. NVM_BASE_ADDRESS = $BF80F400;
  7698. var
  7699. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  7700. const
  7701. OCMP1_BASE_ADDRESS = $BF803000;
  7702. var
  7703. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  7704. const
  7705. OCMP2_BASE_ADDRESS = $BF803200;
  7706. var
  7707. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  7708. const
  7709. OCMP3_BASE_ADDRESS = $BF803400;
  7710. var
  7711. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  7712. const
  7713. OCMP4_BASE_ADDRESS = $BF803600;
  7714. var
  7715. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  7716. const
  7717. OCMP5_BASE_ADDRESS = $BF803800;
  7718. var
  7719. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  7720. const
  7721. OSC_BASE_ADDRESS = $BF80F000;
  7722. var
  7723. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  7724. const
  7725. PCACHE_BASE_ADDRESS = $BF884000;
  7726. var
  7727. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  7728. const
  7729. PMP_BASE_ADDRESS = $BF807000;
  7730. var
  7731. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  7732. const
  7733. PORTB_BASE_ADDRESS = $BF886040;
  7734. var
  7735. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  7736. const
  7737. PORTC_BASE_ADDRESS = $BF886080;
  7738. var
  7739. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  7740. const
  7741. PORTD_BASE_ADDRESS = $BF8860C0;
  7742. var
  7743. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  7744. const
  7745. PORTE_BASE_ADDRESS = $BF886100;
  7746. var
  7747. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  7748. const
  7749. PORTF_BASE_ADDRESS = $BF886140;
  7750. var
  7751. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  7752. const
  7753. PORTG_BASE_ADDRESS = $BF886180;
  7754. var
  7755. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  7756. const
  7757. RCON_BASE_ADDRESS = $BF80F600;
  7758. var
  7759. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  7760. const
  7761. RTCC_BASE_ADDRESS = $BF800200;
  7762. var
  7763. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  7764. const
  7765. SPI2_BASE_ADDRESS = $BF805A00;
  7766. var
  7767. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  7768. const
  7769. TMR1_BASE_ADDRESS = $BF800600;
  7770. var
  7771. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  7772. const
  7773. TMR23_BASE_ADDRESS = $BF800800;
  7774. var
  7775. TMR23 : TTMR23Registers absolute TMR23_BASE_ADDRESS;
  7776. const
  7777. TMR3_BASE_ADDRESS = $BF800A00;
  7778. var
  7779. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  7780. const
  7781. TMR4_BASE_ADDRESS = $BF800C00;
  7782. var
  7783. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  7784. const
  7785. TMR5_BASE_ADDRESS = $BF800E00;
  7786. var
  7787. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  7788. const
  7789. UART1_BASE_ADDRESS = $BF806000;
  7790. var
  7791. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  7792. const
  7793. UART2_BASE_ADDRESS = $BF806200;
  7794. var
  7795. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  7796. const
  7797. USB_BASE_ADDRESS = $BF885040;
  7798. var
  7799. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  7800. const
  7801. WDT_BASE_ADDRESS = $BF800000;
  7802. var
  7803. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  7804. const
  7805. _APPI_BASE_ADDRESS = $BF880190;
  7806. var
  7807. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  7808. const
  7809. _APPO_BASE_ADDRESS = $BF880180;
  7810. var
  7811. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  7812. const
  7813. _DDPSTAT_BASE_ADDRESS = $BF880140;
  7814. var
  7815. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  7816. const
  7817. _STRO_BASE_ADDRESS = $BF880170;
  7818. var
  7819. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  7820. implementation
  7821. type
  7822. TDefRegMap = record
  7823. val : longWord;
  7824. clr : longWord;
  7825. &set : longWord;
  7826. inv : longWord;
  7827. end;
  7828. pTDefRegMap = ^TDefRegMap;
  7829. procedure TWDT_WDTCON.setWDTCLR; inline;
  7830. begin
  7831. pTDefRegMap(@Self)^.&set := $00000001;
  7832. end;
  7833. procedure TWDT_WDTCON.clearWDTCLR; inline;
  7834. begin
  7835. pTDefRegMap(@Self)^.clr := $00000001;
  7836. end;
  7837. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  7838. begin
  7839. if thebits = 0 then
  7840. pTDefRegMap(@Self)^.clr := $00000001
  7841. else
  7842. pTDefRegMap(@Self)^.&set := $00000001;
  7843. end;
  7844. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  7845. begin
  7846. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  7847. end;
  7848. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  7849. begin
  7850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7851. end;
  7852. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  7853. begin
  7854. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7855. end;
  7856. procedure TWDT_WDTCON.setON; inline;
  7857. begin
  7858. pTDefRegMap(@Self)^.&set := $00008000;
  7859. end;
  7860. procedure TWDT_WDTCON.clearON; inline;
  7861. begin
  7862. pTDefRegMap(@Self)^.clr := $00008000;
  7863. end;
  7864. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  7865. begin
  7866. if thebits = 0 then
  7867. pTDefRegMap(@Self)^.clr := $00008000
  7868. else
  7869. pTDefRegMap(@Self)^.&set := $00008000;
  7870. end;
  7871. function TWDT_WDTCON.getON : TBits_1; inline;
  7872. begin
  7873. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7874. end;
  7875. procedure TWDT_WDTCON.setSWDTPS0; inline;
  7876. begin
  7877. pTDefRegMap(@Self)^.&set := $00000004;
  7878. end;
  7879. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  7880. begin
  7881. pTDefRegMap(@Self)^.clr := $00000004;
  7882. end;
  7883. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  7884. begin
  7885. if thebits = 0 then
  7886. pTDefRegMap(@Self)^.clr := $00000004
  7887. else
  7888. pTDefRegMap(@Self)^.&set := $00000004;
  7889. end;
  7890. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  7891. begin
  7892. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7893. end;
  7894. procedure TWDT_WDTCON.setSWDTPS1; inline;
  7895. begin
  7896. pTDefRegMap(@Self)^.&set := $00000008;
  7897. end;
  7898. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  7899. begin
  7900. pTDefRegMap(@Self)^.clr := $00000008;
  7901. end;
  7902. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  7903. begin
  7904. if thebits = 0 then
  7905. pTDefRegMap(@Self)^.clr := $00000008
  7906. else
  7907. pTDefRegMap(@Self)^.&set := $00000008;
  7908. end;
  7909. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  7910. begin
  7911. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7912. end;
  7913. procedure TWDT_WDTCON.setSWDTPS2; inline;
  7914. begin
  7915. pTDefRegMap(@Self)^.&set := $00000010;
  7916. end;
  7917. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  7918. begin
  7919. pTDefRegMap(@Self)^.clr := $00000010;
  7920. end;
  7921. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  7922. begin
  7923. if thebits = 0 then
  7924. pTDefRegMap(@Self)^.clr := $00000010
  7925. else
  7926. pTDefRegMap(@Self)^.&set := $00000010;
  7927. end;
  7928. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  7929. begin
  7930. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7931. end;
  7932. procedure TWDT_WDTCON.setSWDTPS3; inline;
  7933. begin
  7934. pTDefRegMap(@Self)^.&set := $00000020;
  7935. end;
  7936. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  7937. begin
  7938. pTDefRegMap(@Self)^.clr := $00000020;
  7939. end;
  7940. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  7941. begin
  7942. if thebits = 0 then
  7943. pTDefRegMap(@Self)^.clr := $00000020
  7944. else
  7945. pTDefRegMap(@Self)^.&set := $00000020;
  7946. end;
  7947. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  7948. begin
  7949. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7950. end;
  7951. procedure TWDT_WDTCON.setSWDTPS4; inline;
  7952. begin
  7953. pTDefRegMap(@Self)^.&set := $00000040;
  7954. end;
  7955. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  7956. begin
  7957. pTDefRegMap(@Self)^.clr := $00000040;
  7958. end;
  7959. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  7960. begin
  7961. if thebits = 0 then
  7962. pTDefRegMap(@Self)^.clr := $00000040
  7963. else
  7964. pTDefRegMap(@Self)^.&set := $00000040;
  7965. end;
  7966. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  7967. begin
  7968. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7969. end;
  7970. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  7971. begin
  7972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7973. end;
  7974. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  7975. begin
  7976. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7977. end;
  7978. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  7979. begin
  7980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7981. end;
  7982. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  7983. begin
  7984. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7985. end;
  7986. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  7987. begin
  7988. pTDefRegMap(@Self)^.val := thebits;
  7989. end;
  7990. function TWDT_WDTCON.getw : TBits_32; inline;
  7991. begin
  7992. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7993. end;
  7994. procedure TRTCC_RTCCON.setRTCOE; inline;
  7995. begin
  7996. pTDefRegMap(@Self)^.&set := $00000001;
  7997. end;
  7998. procedure TRTCC_RTCCON.clearRTCOE; inline;
  7999. begin
  8000. pTDefRegMap(@Self)^.clr := $00000001;
  8001. end;
  8002. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  8003. begin
  8004. if thebits = 0 then
  8005. pTDefRegMap(@Self)^.clr := $00000001
  8006. else
  8007. pTDefRegMap(@Self)^.&set := $00000001;
  8008. end;
  8009. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  8010. begin
  8011. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8012. end;
  8013. procedure TRTCC_RTCCON.setHALFSEC; inline;
  8014. begin
  8015. pTDefRegMap(@Self)^.&set := $00000002;
  8016. end;
  8017. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  8018. begin
  8019. pTDefRegMap(@Self)^.clr := $00000002;
  8020. end;
  8021. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  8022. begin
  8023. if thebits = 0 then
  8024. pTDefRegMap(@Self)^.clr := $00000002
  8025. else
  8026. pTDefRegMap(@Self)^.&set := $00000002;
  8027. end;
  8028. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  8029. begin
  8030. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8031. end;
  8032. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  8033. begin
  8034. pTDefRegMap(@Self)^.&set := $00000004;
  8035. end;
  8036. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  8037. begin
  8038. pTDefRegMap(@Self)^.clr := $00000004;
  8039. end;
  8040. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  8041. begin
  8042. if thebits = 0 then
  8043. pTDefRegMap(@Self)^.clr := $00000004
  8044. else
  8045. pTDefRegMap(@Self)^.&set := $00000004;
  8046. end;
  8047. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  8048. begin
  8049. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8050. end;
  8051. procedure TRTCC_RTCCON.setRTCWREN; inline;
  8052. begin
  8053. pTDefRegMap(@Self)^.&set := $00000008;
  8054. end;
  8055. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  8056. begin
  8057. pTDefRegMap(@Self)^.clr := $00000008;
  8058. end;
  8059. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  8060. begin
  8061. if thebits = 0 then
  8062. pTDefRegMap(@Self)^.clr := $00000008
  8063. else
  8064. pTDefRegMap(@Self)^.&set := $00000008;
  8065. end;
  8066. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  8067. begin
  8068. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8069. end;
  8070. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  8071. begin
  8072. pTDefRegMap(@Self)^.&set := $00000040;
  8073. end;
  8074. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  8075. begin
  8076. pTDefRegMap(@Self)^.clr := $00000040;
  8077. end;
  8078. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  8079. begin
  8080. if thebits = 0 then
  8081. pTDefRegMap(@Self)^.clr := $00000040
  8082. else
  8083. pTDefRegMap(@Self)^.&set := $00000040;
  8084. end;
  8085. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  8086. begin
  8087. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8088. end;
  8089. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  8090. begin
  8091. pTDefRegMap(@Self)^.&set := $00000080;
  8092. end;
  8093. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  8094. begin
  8095. pTDefRegMap(@Self)^.clr := $00000080;
  8096. end;
  8097. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  8098. begin
  8099. if thebits = 0 then
  8100. pTDefRegMap(@Self)^.clr := $00000080
  8101. else
  8102. pTDefRegMap(@Self)^.&set := $00000080;
  8103. end;
  8104. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  8105. begin
  8106. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8107. end;
  8108. procedure TRTCC_RTCCON.setSIDL; inline;
  8109. begin
  8110. pTDefRegMap(@Self)^.&set := $00002000;
  8111. end;
  8112. procedure TRTCC_RTCCON.clearSIDL; inline;
  8113. begin
  8114. pTDefRegMap(@Self)^.clr := $00002000;
  8115. end;
  8116. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  8117. begin
  8118. if thebits = 0 then
  8119. pTDefRegMap(@Self)^.clr := $00002000
  8120. else
  8121. pTDefRegMap(@Self)^.&set := $00002000;
  8122. end;
  8123. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  8124. begin
  8125. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8126. end;
  8127. procedure TRTCC_RTCCON.setON; inline;
  8128. begin
  8129. pTDefRegMap(@Self)^.&set := $00008000;
  8130. end;
  8131. procedure TRTCC_RTCCON.clearON; inline;
  8132. begin
  8133. pTDefRegMap(@Self)^.clr := $00008000;
  8134. end;
  8135. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  8136. begin
  8137. if thebits = 0 then
  8138. pTDefRegMap(@Self)^.clr := $00008000
  8139. else
  8140. pTDefRegMap(@Self)^.&set := $00008000;
  8141. end;
  8142. function TRTCC_RTCCON.getON : TBits_1; inline;
  8143. begin
  8144. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8145. end;
  8146. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  8147. begin
  8148. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  8149. end;
  8150. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  8151. begin
  8152. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  8153. end;
  8154. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  8155. begin
  8156. pTDefRegMap(@Self)^.val := thebits;
  8157. end;
  8158. function TRTCC_RTCCON.getw : TBits_32; inline;
  8159. begin
  8160. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8161. end;
  8162. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  8163. begin
  8164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  8165. end;
  8166. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  8167. begin
  8168. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  8169. end;
  8170. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  8171. begin
  8172. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8173. end;
  8174. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  8175. begin
  8176. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8177. end;
  8178. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  8179. begin
  8180. pTDefRegMap(@Self)^.&set := $00001000;
  8181. end;
  8182. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  8183. begin
  8184. pTDefRegMap(@Self)^.clr := $00001000;
  8185. end;
  8186. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  8187. begin
  8188. if thebits = 0 then
  8189. pTDefRegMap(@Self)^.clr := $00001000
  8190. else
  8191. pTDefRegMap(@Self)^.&set := $00001000;
  8192. end;
  8193. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  8194. begin
  8195. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  8196. end;
  8197. procedure TRTCC_RTCALRM.setPIV; inline;
  8198. begin
  8199. pTDefRegMap(@Self)^.&set := $00002000;
  8200. end;
  8201. procedure TRTCC_RTCALRM.clearPIV; inline;
  8202. begin
  8203. pTDefRegMap(@Self)^.clr := $00002000;
  8204. end;
  8205. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  8206. begin
  8207. if thebits = 0 then
  8208. pTDefRegMap(@Self)^.clr := $00002000
  8209. else
  8210. pTDefRegMap(@Self)^.&set := $00002000;
  8211. end;
  8212. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  8213. begin
  8214. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8215. end;
  8216. procedure TRTCC_RTCALRM.setCHIME; inline;
  8217. begin
  8218. pTDefRegMap(@Self)^.&set := $00004000;
  8219. end;
  8220. procedure TRTCC_RTCALRM.clearCHIME; inline;
  8221. begin
  8222. pTDefRegMap(@Self)^.clr := $00004000;
  8223. end;
  8224. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  8225. begin
  8226. if thebits = 0 then
  8227. pTDefRegMap(@Self)^.clr := $00004000
  8228. else
  8229. pTDefRegMap(@Self)^.&set := $00004000;
  8230. end;
  8231. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  8232. begin
  8233. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  8234. end;
  8235. procedure TRTCC_RTCALRM.setALRMEN; inline;
  8236. begin
  8237. pTDefRegMap(@Self)^.&set := $00008000;
  8238. end;
  8239. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  8240. begin
  8241. pTDefRegMap(@Self)^.clr := $00008000;
  8242. end;
  8243. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  8244. begin
  8245. if thebits = 0 then
  8246. pTDefRegMap(@Self)^.clr := $00008000
  8247. else
  8248. pTDefRegMap(@Self)^.&set := $00008000;
  8249. end;
  8250. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  8251. begin
  8252. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8253. end;
  8254. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  8255. begin
  8256. pTDefRegMap(@Self)^.val := thebits;
  8257. end;
  8258. function TRTCC_RTCALRM.getw : TBits_32; inline;
  8259. begin
  8260. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8261. end;
  8262. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  8263. begin
  8264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8265. end;
  8266. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  8267. begin
  8268. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8269. end;
  8270. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  8271. begin
  8272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8273. end;
  8274. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  8275. begin
  8276. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8277. end;
  8278. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  8279. begin
  8280. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8281. end;
  8282. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  8283. begin
  8284. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8285. end;
  8286. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  8287. begin
  8288. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8289. end;
  8290. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  8291. begin
  8292. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8293. end;
  8294. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  8295. begin
  8296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8297. end;
  8298. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  8299. begin
  8300. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8301. end;
  8302. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  8303. begin
  8304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8305. end;
  8306. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  8307. begin
  8308. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8309. end;
  8310. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  8311. begin
  8312. pTDefRegMap(@Self)^.val := thebits;
  8313. end;
  8314. function TRTCC_RTCTIME.getw : TBits_32; inline;
  8315. begin
  8316. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8317. end;
  8318. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  8319. begin
  8320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  8321. end;
  8322. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  8323. begin
  8324. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  8325. end;
  8326. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  8327. begin
  8328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8329. end;
  8330. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  8331. begin
  8332. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8333. end;
  8334. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  8335. begin
  8336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8337. end;
  8338. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  8339. begin
  8340. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8341. end;
  8342. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  8343. begin
  8344. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8345. end;
  8346. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  8347. begin
  8348. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8349. end;
  8350. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  8351. begin
  8352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8353. end;
  8354. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  8355. begin
  8356. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8357. end;
  8358. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  8359. begin
  8360. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8361. end;
  8362. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  8363. begin
  8364. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8365. end;
  8366. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  8367. begin
  8368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8369. end;
  8370. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  8371. begin
  8372. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8373. end;
  8374. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  8375. begin
  8376. pTDefRegMap(@Self)^.val := thebits;
  8377. end;
  8378. function TRTCC_RTCDATE.getw : TBits_32; inline;
  8379. begin
  8380. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8381. end;
  8382. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  8383. begin
  8384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8385. end;
  8386. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  8387. begin
  8388. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8389. end;
  8390. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  8391. begin
  8392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8393. end;
  8394. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  8395. begin
  8396. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8397. end;
  8398. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  8399. begin
  8400. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8401. end;
  8402. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  8403. begin
  8404. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8405. end;
  8406. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  8407. begin
  8408. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8409. end;
  8410. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  8411. begin
  8412. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8413. end;
  8414. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  8415. begin
  8416. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8417. end;
  8418. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  8419. begin
  8420. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8421. end;
  8422. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  8423. begin
  8424. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8425. end;
  8426. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  8427. begin
  8428. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8429. end;
  8430. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  8431. begin
  8432. pTDefRegMap(@Self)^.val := thebits;
  8433. end;
  8434. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  8435. begin
  8436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8437. end;
  8438. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  8439. begin
  8440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  8441. end;
  8442. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  8443. begin
  8444. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  8445. end;
  8446. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  8447. begin
  8448. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8449. end;
  8450. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  8451. begin
  8452. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8453. end;
  8454. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  8455. begin
  8456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8457. end;
  8458. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  8459. begin
  8460. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8461. end;
  8462. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  8463. begin
  8464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8465. end;
  8466. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  8467. begin
  8468. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8469. end;
  8470. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  8471. begin
  8472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8473. end;
  8474. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  8475. begin
  8476. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8477. end;
  8478. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  8479. begin
  8480. pTDefRegMap(@Self)^.val := thebits;
  8481. end;
  8482. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  8483. begin
  8484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8485. end;
  8486. procedure TTMR1_T1CON.setTCS; inline;
  8487. begin
  8488. pTDefRegMap(@Self)^.&set := $00000002;
  8489. end;
  8490. procedure TTMR1_T1CON.clearTCS; inline;
  8491. begin
  8492. pTDefRegMap(@Self)^.clr := $00000002;
  8493. end;
  8494. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  8495. begin
  8496. if thebits = 0 then
  8497. pTDefRegMap(@Self)^.clr := $00000002
  8498. else
  8499. pTDefRegMap(@Self)^.&set := $00000002;
  8500. end;
  8501. function TTMR1_T1CON.getTCS : TBits_1; inline;
  8502. begin
  8503. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8504. end;
  8505. procedure TTMR1_T1CON.setTSYNC; inline;
  8506. begin
  8507. pTDefRegMap(@Self)^.&set := $00000004;
  8508. end;
  8509. procedure TTMR1_T1CON.clearTSYNC; inline;
  8510. begin
  8511. pTDefRegMap(@Self)^.clr := $00000004;
  8512. end;
  8513. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  8514. begin
  8515. if thebits = 0 then
  8516. pTDefRegMap(@Self)^.clr := $00000004
  8517. else
  8518. pTDefRegMap(@Self)^.&set := $00000004;
  8519. end;
  8520. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  8521. begin
  8522. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8523. end;
  8524. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  8525. begin
  8526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  8527. end;
  8528. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  8529. begin
  8530. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  8531. end;
  8532. procedure TTMR1_T1CON.setTGATE; inline;
  8533. begin
  8534. pTDefRegMap(@Self)^.&set := $00000080;
  8535. end;
  8536. procedure TTMR1_T1CON.clearTGATE; inline;
  8537. begin
  8538. pTDefRegMap(@Self)^.clr := $00000080;
  8539. end;
  8540. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  8541. begin
  8542. if thebits = 0 then
  8543. pTDefRegMap(@Self)^.clr := $00000080
  8544. else
  8545. pTDefRegMap(@Self)^.&set := $00000080;
  8546. end;
  8547. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  8548. begin
  8549. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8550. end;
  8551. procedure TTMR1_T1CON.setTWIP; inline;
  8552. begin
  8553. pTDefRegMap(@Self)^.&set := $00000800;
  8554. end;
  8555. procedure TTMR1_T1CON.clearTWIP; inline;
  8556. begin
  8557. pTDefRegMap(@Self)^.clr := $00000800;
  8558. end;
  8559. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  8560. begin
  8561. if thebits = 0 then
  8562. pTDefRegMap(@Self)^.clr := $00000800
  8563. else
  8564. pTDefRegMap(@Self)^.&set := $00000800;
  8565. end;
  8566. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  8567. begin
  8568. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  8569. end;
  8570. procedure TTMR1_T1CON.setTWDIS; inline;
  8571. begin
  8572. pTDefRegMap(@Self)^.&set := $00001000;
  8573. end;
  8574. procedure TTMR1_T1CON.clearTWDIS; inline;
  8575. begin
  8576. pTDefRegMap(@Self)^.clr := $00001000;
  8577. end;
  8578. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  8579. begin
  8580. if thebits = 0 then
  8581. pTDefRegMap(@Self)^.clr := $00001000
  8582. else
  8583. pTDefRegMap(@Self)^.&set := $00001000;
  8584. end;
  8585. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  8586. begin
  8587. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  8588. end;
  8589. procedure TTMR1_T1CON.setSIDL; inline;
  8590. begin
  8591. pTDefRegMap(@Self)^.&set := $00002000;
  8592. end;
  8593. procedure TTMR1_T1CON.clearSIDL; inline;
  8594. begin
  8595. pTDefRegMap(@Self)^.clr := $00002000;
  8596. end;
  8597. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  8598. begin
  8599. if thebits = 0 then
  8600. pTDefRegMap(@Self)^.clr := $00002000
  8601. else
  8602. pTDefRegMap(@Self)^.&set := $00002000;
  8603. end;
  8604. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  8605. begin
  8606. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8607. end;
  8608. procedure TTMR1_T1CON.setON; inline;
  8609. begin
  8610. pTDefRegMap(@Self)^.&set := $00008000;
  8611. end;
  8612. procedure TTMR1_T1CON.clearON; inline;
  8613. begin
  8614. pTDefRegMap(@Self)^.clr := $00008000;
  8615. end;
  8616. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  8617. begin
  8618. if thebits = 0 then
  8619. pTDefRegMap(@Self)^.clr := $00008000
  8620. else
  8621. pTDefRegMap(@Self)^.&set := $00008000;
  8622. end;
  8623. function TTMR1_T1CON.getON : TBits_1; inline;
  8624. begin
  8625. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8626. end;
  8627. procedure TTMR1_T1CON.setTCKPS0; inline;
  8628. begin
  8629. pTDefRegMap(@Self)^.&set := $00000010;
  8630. end;
  8631. procedure TTMR1_T1CON.clearTCKPS0; inline;
  8632. begin
  8633. pTDefRegMap(@Self)^.clr := $00000010;
  8634. end;
  8635. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  8636. begin
  8637. if thebits = 0 then
  8638. pTDefRegMap(@Self)^.clr := $00000010
  8639. else
  8640. pTDefRegMap(@Self)^.&set := $00000010;
  8641. end;
  8642. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  8643. begin
  8644. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8645. end;
  8646. procedure TTMR1_T1CON.setTCKPS1; inline;
  8647. begin
  8648. pTDefRegMap(@Self)^.&set := $00000020;
  8649. end;
  8650. procedure TTMR1_T1CON.clearTCKPS1; inline;
  8651. begin
  8652. pTDefRegMap(@Self)^.clr := $00000020;
  8653. end;
  8654. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  8655. begin
  8656. if thebits = 0 then
  8657. pTDefRegMap(@Self)^.clr := $00000020
  8658. else
  8659. pTDefRegMap(@Self)^.&set := $00000020;
  8660. end;
  8661. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  8662. begin
  8663. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8664. end;
  8665. procedure TTMR1_T1CON.setTSIDL; inline;
  8666. begin
  8667. pTDefRegMap(@Self)^.&set := $00002000;
  8668. end;
  8669. procedure TTMR1_T1CON.clearTSIDL; inline;
  8670. begin
  8671. pTDefRegMap(@Self)^.clr := $00002000;
  8672. end;
  8673. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  8674. begin
  8675. if thebits = 0 then
  8676. pTDefRegMap(@Self)^.clr := $00002000
  8677. else
  8678. pTDefRegMap(@Self)^.&set := $00002000;
  8679. end;
  8680. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  8681. begin
  8682. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8683. end;
  8684. procedure TTMR1_T1CON.setTON; inline;
  8685. begin
  8686. pTDefRegMap(@Self)^.&set := $00008000;
  8687. end;
  8688. procedure TTMR1_T1CON.clearTON; inline;
  8689. begin
  8690. pTDefRegMap(@Self)^.clr := $00008000;
  8691. end;
  8692. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  8693. begin
  8694. if thebits = 0 then
  8695. pTDefRegMap(@Self)^.clr := $00008000
  8696. else
  8697. pTDefRegMap(@Self)^.&set := $00008000;
  8698. end;
  8699. function TTMR1_T1CON.getTON : TBits_1; inline;
  8700. begin
  8701. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8702. end;
  8703. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  8704. begin
  8705. pTDefRegMap(@Self)^.val := thebits;
  8706. end;
  8707. function TTMR1_T1CON.getw : TBits_32; inline;
  8708. begin
  8709. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8710. end;
  8711. procedure TTMR23_T2CON.setTCS; inline;
  8712. begin
  8713. pTDefRegMap(@Self)^.&set := $00000002;
  8714. end;
  8715. procedure TTMR23_T2CON.clearTCS; inline;
  8716. begin
  8717. pTDefRegMap(@Self)^.clr := $00000002;
  8718. end;
  8719. procedure TTMR23_T2CON.setTCS(thebits : TBits_1); inline;
  8720. begin
  8721. if thebits = 0 then
  8722. pTDefRegMap(@Self)^.clr := $00000002
  8723. else
  8724. pTDefRegMap(@Self)^.&set := $00000002;
  8725. end;
  8726. function TTMR23_T2CON.getTCS : TBits_1; inline;
  8727. begin
  8728. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8729. end;
  8730. procedure TTMR23_T2CON.setT32; inline;
  8731. begin
  8732. pTDefRegMap(@Self)^.&set := $00000008;
  8733. end;
  8734. procedure TTMR23_T2CON.clearT32; inline;
  8735. begin
  8736. pTDefRegMap(@Self)^.clr := $00000008;
  8737. end;
  8738. procedure TTMR23_T2CON.setT32(thebits : TBits_1); inline;
  8739. begin
  8740. if thebits = 0 then
  8741. pTDefRegMap(@Self)^.clr := $00000008
  8742. else
  8743. pTDefRegMap(@Self)^.&set := $00000008;
  8744. end;
  8745. function TTMR23_T2CON.getT32 : TBits_1; inline;
  8746. begin
  8747. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8748. end;
  8749. procedure TTMR23_T2CON.setTCKPS(thebits : TBits_3); inline;
  8750. begin
  8751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8752. end;
  8753. function TTMR23_T2CON.getTCKPS : TBits_3; inline;
  8754. begin
  8755. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8756. end;
  8757. procedure TTMR23_T2CON.setTGATE; inline;
  8758. begin
  8759. pTDefRegMap(@Self)^.&set := $00000080;
  8760. end;
  8761. procedure TTMR23_T2CON.clearTGATE; inline;
  8762. begin
  8763. pTDefRegMap(@Self)^.clr := $00000080;
  8764. end;
  8765. procedure TTMR23_T2CON.setTGATE(thebits : TBits_1); inline;
  8766. begin
  8767. if thebits = 0 then
  8768. pTDefRegMap(@Self)^.clr := $00000080
  8769. else
  8770. pTDefRegMap(@Self)^.&set := $00000080;
  8771. end;
  8772. function TTMR23_T2CON.getTGATE : TBits_1; inline;
  8773. begin
  8774. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8775. end;
  8776. procedure TTMR23_T2CON.setSIDL; inline;
  8777. begin
  8778. pTDefRegMap(@Self)^.&set := $00002000;
  8779. end;
  8780. procedure TTMR23_T2CON.clearSIDL; inline;
  8781. begin
  8782. pTDefRegMap(@Self)^.clr := $00002000;
  8783. end;
  8784. procedure TTMR23_T2CON.setSIDL(thebits : TBits_1); inline;
  8785. begin
  8786. if thebits = 0 then
  8787. pTDefRegMap(@Self)^.clr := $00002000
  8788. else
  8789. pTDefRegMap(@Self)^.&set := $00002000;
  8790. end;
  8791. function TTMR23_T2CON.getSIDL : TBits_1; inline;
  8792. begin
  8793. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8794. end;
  8795. procedure TTMR23_T2CON.setON; inline;
  8796. begin
  8797. pTDefRegMap(@Self)^.&set := $00008000;
  8798. end;
  8799. procedure TTMR23_T2CON.clearON; inline;
  8800. begin
  8801. pTDefRegMap(@Self)^.clr := $00008000;
  8802. end;
  8803. procedure TTMR23_T2CON.setON(thebits : TBits_1); inline;
  8804. begin
  8805. if thebits = 0 then
  8806. pTDefRegMap(@Self)^.clr := $00008000
  8807. else
  8808. pTDefRegMap(@Self)^.&set := $00008000;
  8809. end;
  8810. function TTMR23_T2CON.getON : TBits_1; inline;
  8811. begin
  8812. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8813. end;
  8814. procedure TTMR23_T2CON.setTCKPS0; inline;
  8815. begin
  8816. pTDefRegMap(@Self)^.&set := $00000010;
  8817. end;
  8818. procedure TTMR23_T2CON.clearTCKPS0; inline;
  8819. begin
  8820. pTDefRegMap(@Self)^.clr := $00000010;
  8821. end;
  8822. procedure TTMR23_T2CON.setTCKPS0(thebits : TBits_1); inline;
  8823. begin
  8824. if thebits = 0 then
  8825. pTDefRegMap(@Self)^.clr := $00000010
  8826. else
  8827. pTDefRegMap(@Self)^.&set := $00000010;
  8828. end;
  8829. function TTMR23_T2CON.getTCKPS0 : TBits_1; inline;
  8830. begin
  8831. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8832. end;
  8833. procedure TTMR23_T2CON.setTCKPS1; inline;
  8834. begin
  8835. pTDefRegMap(@Self)^.&set := $00000020;
  8836. end;
  8837. procedure TTMR23_T2CON.clearTCKPS1; inline;
  8838. begin
  8839. pTDefRegMap(@Self)^.clr := $00000020;
  8840. end;
  8841. procedure TTMR23_T2CON.setTCKPS1(thebits : TBits_1); inline;
  8842. begin
  8843. if thebits = 0 then
  8844. pTDefRegMap(@Self)^.clr := $00000020
  8845. else
  8846. pTDefRegMap(@Self)^.&set := $00000020;
  8847. end;
  8848. function TTMR23_T2CON.getTCKPS1 : TBits_1; inline;
  8849. begin
  8850. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8851. end;
  8852. procedure TTMR23_T2CON.setTCKPS2; inline;
  8853. begin
  8854. pTDefRegMap(@Self)^.&set := $00000040;
  8855. end;
  8856. procedure TTMR23_T2CON.clearTCKPS2; inline;
  8857. begin
  8858. pTDefRegMap(@Self)^.clr := $00000040;
  8859. end;
  8860. procedure TTMR23_T2CON.setTCKPS2(thebits : TBits_1); inline;
  8861. begin
  8862. if thebits = 0 then
  8863. pTDefRegMap(@Self)^.clr := $00000040
  8864. else
  8865. pTDefRegMap(@Self)^.&set := $00000040;
  8866. end;
  8867. function TTMR23_T2CON.getTCKPS2 : TBits_1; inline;
  8868. begin
  8869. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8870. end;
  8871. procedure TTMR23_T2CON.setTSIDL; inline;
  8872. begin
  8873. pTDefRegMap(@Self)^.&set := $00002000;
  8874. end;
  8875. procedure TTMR23_T2CON.clearTSIDL; inline;
  8876. begin
  8877. pTDefRegMap(@Self)^.clr := $00002000;
  8878. end;
  8879. procedure TTMR23_T2CON.setTSIDL(thebits : TBits_1); inline;
  8880. begin
  8881. if thebits = 0 then
  8882. pTDefRegMap(@Self)^.clr := $00002000
  8883. else
  8884. pTDefRegMap(@Self)^.&set := $00002000;
  8885. end;
  8886. function TTMR23_T2CON.getTSIDL : TBits_1; inline;
  8887. begin
  8888. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8889. end;
  8890. procedure TTMR23_T2CON.setTON; inline;
  8891. begin
  8892. pTDefRegMap(@Self)^.&set := $00008000;
  8893. end;
  8894. procedure TTMR23_T2CON.clearTON; inline;
  8895. begin
  8896. pTDefRegMap(@Self)^.clr := $00008000;
  8897. end;
  8898. procedure TTMR23_T2CON.setTON(thebits : TBits_1); inline;
  8899. begin
  8900. if thebits = 0 then
  8901. pTDefRegMap(@Self)^.clr := $00008000
  8902. else
  8903. pTDefRegMap(@Self)^.&set := $00008000;
  8904. end;
  8905. function TTMR23_T2CON.getTON : TBits_1; inline;
  8906. begin
  8907. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8908. end;
  8909. procedure TTMR23_T2CON.setw(thebits : TBits_32); inline;
  8910. begin
  8911. pTDefRegMap(@Self)^.val := thebits;
  8912. end;
  8913. function TTMR23_T2CON.getw : TBits_32; inline;
  8914. begin
  8915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8916. end;
  8917. procedure TTMR3_T3CON.setTCS; inline;
  8918. begin
  8919. pTDefRegMap(@Self)^.&set := $00000002;
  8920. end;
  8921. procedure TTMR3_T3CON.clearTCS; inline;
  8922. begin
  8923. pTDefRegMap(@Self)^.clr := $00000002;
  8924. end;
  8925. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  8926. begin
  8927. if thebits = 0 then
  8928. pTDefRegMap(@Self)^.clr := $00000002
  8929. else
  8930. pTDefRegMap(@Self)^.&set := $00000002;
  8931. end;
  8932. function TTMR3_T3CON.getTCS : TBits_1; inline;
  8933. begin
  8934. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8935. end;
  8936. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  8937. begin
  8938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8939. end;
  8940. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  8941. begin
  8942. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8943. end;
  8944. procedure TTMR3_T3CON.setTGATE; inline;
  8945. begin
  8946. pTDefRegMap(@Self)^.&set := $00000080;
  8947. end;
  8948. procedure TTMR3_T3CON.clearTGATE; inline;
  8949. begin
  8950. pTDefRegMap(@Self)^.clr := $00000080;
  8951. end;
  8952. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  8953. begin
  8954. if thebits = 0 then
  8955. pTDefRegMap(@Self)^.clr := $00000080
  8956. else
  8957. pTDefRegMap(@Self)^.&set := $00000080;
  8958. end;
  8959. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  8960. begin
  8961. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8962. end;
  8963. procedure TTMR3_T3CON.setSIDL; inline;
  8964. begin
  8965. pTDefRegMap(@Self)^.&set := $00002000;
  8966. end;
  8967. procedure TTMR3_T3CON.clearSIDL; inline;
  8968. begin
  8969. pTDefRegMap(@Self)^.clr := $00002000;
  8970. end;
  8971. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  8972. begin
  8973. if thebits = 0 then
  8974. pTDefRegMap(@Self)^.clr := $00002000
  8975. else
  8976. pTDefRegMap(@Self)^.&set := $00002000;
  8977. end;
  8978. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  8979. begin
  8980. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8981. end;
  8982. procedure TTMR3_T3CON.setON; inline;
  8983. begin
  8984. pTDefRegMap(@Self)^.&set := $00008000;
  8985. end;
  8986. procedure TTMR3_T3CON.clearON; inline;
  8987. begin
  8988. pTDefRegMap(@Self)^.clr := $00008000;
  8989. end;
  8990. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  8991. begin
  8992. if thebits = 0 then
  8993. pTDefRegMap(@Self)^.clr := $00008000
  8994. else
  8995. pTDefRegMap(@Self)^.&set := $00008000;
  8996. end;
  8997. function TTMR3_T3CON.getON : TBits_1; inline;
  8998. begin
  8999. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9000. end;
  9001. procedure TTMR3_T3CON.setTCKPS0; inline;
  9002. begin
  9003. pTDefRegMap(@Self)^.&set := $00000010;
  9004. end;
  9005. procedure TTMR3_T3CON.clearTCKPS0; inline;
  9006. begin
  9007. pTDefRegMap(@Self)^.clr := $00000010;
  9008. end;
  9009. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  9010. begin
  9011. if thebits = 0 then
  9012. pTDefRegMap(@Self)^.clr := $00000010
  9013. else
  9014. pTDefRegMap(@Self)^.&set := $00000010;
  9015. end;
  9016. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  9017. begin
  9018. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9019. end;
  9020. procedure TTMR3_T3CON.setTCKPS1; inline;
  9021. begin
  9022. pTDefRegMap(@Self)^.&set := $00000020;
  9023. end;
  9024. procedure TTMR3_T3CON.clearTCKPS1; inline;
  9025. begin
  9026. pTDefRegMap(@Self)^.clr := $00000020;
  9027. end;
  9028. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  9029. begin
  9030. if thebits = 0 then
  9031. pTDefRegMap(@Self)^.clr := $00000020
  9032. else
  9033. pTDefRegMap(@Self)^.&set := $00000020;
  9034. end;
  9035. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  9036. begin
  9037. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9038. end;
  9039. procedure TTMR3_T3CON.setTCKPS2; inline;
  9040. begin
  9041. pTDefRegMap(@Self)^.&set := $00000040;
  9042. end;
  9043. procedure TTMR3_T3CON.clearTCKPS2; inline;
  9044. begin
  9045. pTDefRegMap(@Self)^.clr := $00000040;
  9046. end;
  9047. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  9048. begin
  9049. if thebits = 0 then
  9050. pTDefRegMap(@Self)^.clr := $00000040
  9051. else
  9052. pTDefRegMap(@Self)^.&set := $00000040;
  9053. end;
  9054. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  9055. begin
  9056. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9057. end;
  9058. procedure TTMR3_T3CON.setTSIDL; inline;
  9059. begin
  9060. pTDefRegMap(@Self)^.&set := $00002000;
  9061. end;
  9062. procedure TTMR3_T3CON.clearTSIDL; inline;
  9063. begin
  9064. pTDefRegMap(@Self)^.clr := $00002000;
  9065. end;
  9066. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  9067. begin
  9068. if thebits = 0 then
  9069. pTDefRegMap(@Self)^.clr := $00002000
  9070. else
  9071. pTDefRegMap(@Self)^.&set := $00002000;
  9072. end;
  9073. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  9074. begin
  9075. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9076. end;
  9077. procedure TTMR3_T3CON.setTON; inline;
  9078. begin
  9079. pTDefRegMap(@Self)^.&set := $00008000;
  9080. end;
  9081. procedure TTMR3_T3CON.clearTON; inline;
  9082. begin
  9083. pTDefRegMap(@Self)^.clr := $00008000;
  9084. end;
  9085. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  9086. begin
  9087. if thebits = 0 then
  9088. pTDefRegMap(@Self)^.clr := $00008000
  9089. else
  9090. pTDefRegMap(@Self)^.&set := $00008000;
  9091. end;
  9092. function TTMR3_T3CON.getTON : TBits_1; inline;
  9093. begin
  9094. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9095. end;
  9096. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  9097. begin
  9098. pTDefRegMap(@Self)^.val := thebits;
  9099. end;
  9100. function TTMR3_T3CON.getw : TBits_32; inline;
  9101. begin
  9102. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9103. end;
  9104. procedure TTMR4_T4CON.setTCS; inline;
  9105. begin
  9106. pTDefRegMap(@Self)^.&set := $00000002;
  9107. end;
  9108. procedure TTMR4_T4CON.clearTCS; inline;
  9109. begin
  9110. pTDefRegMap(@Self)^.clr := $00000002;
  9111. end;
  9112. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  9113. begin
  9114. if thebits = 0 then
  9115. pTDefRegMap(@Self)^.clr := $00000002
  9116. else
  9117. pTDefRegMap(@Self)^.&set := $00000002;
  9118. end;
  9119. function TTMR4_T4CON.getTCS : TBits_1; inline;
  9120. begin
  9121. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9122. end;
  9123. procedure TTMR4_T4CON.setT32; inline;
  9124. begin
  9125. pTDefRegMap(@Self)^.&set := $00000008;
  9126. end;
  9127. procedure TTMR4_T4CON.clearT32; inline;
  9128. begin
  9129. pTDefRegMap(@Self)^.clr := $00000008;
  9130. end;
  9131. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  9132. begin
  9133. if thebits = 0 then
  9134. pTDefRegMap(@Self)^.clr := $00000008
  9135. else
  9136. pTDefRegMap(@Self)^.&set := $00000008;
  9137. end;
  9138. function TTMR4_T4CON.getT32 : TBits_1; inline;
  9139. begin
  9140. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9141. end;
  9142. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  9143. begin
  9144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9145. end;
  9146. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  9147. begin
  9148. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9149. end;
  9150. procedure TTMR4_T4CON.setTGATE; inline;
  9151. begin
  9152. pTDefRegMap(@Self)^.&set := $00000080;
  9153. end;
  9154. procedure TTMR4_T4CON.clearTGATE; inline;
  9155. begin
  9156. pTDefRegMap(@Self)^.clr := $00000080;
  9157. end;
  9158. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  9159. begin
  9160. if thebits = 0 then
  9161. pTDefRegMap(@Self)^.clr := $00000080
  9162. else
  9163. pTDefRegMap(@Self)^.&set := $00000080;
  9164. end;
  9165. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  9166. begin
  9167. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9168. end;
  9169. procedure TTMR4_T4CON.setSIDL; inline;
  9170. begin
  9171. pTDefRegMap(@Self)^.&set := $00002000;
  9172. end;
  9173. procedure TTMR4_T4CON.clearSIDL; inline;
  9174. begin
  9175. pTDefRegMap(@Self)^.clr := $00002000;
  9176. end;
  9177. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  9178. begin
  9179. if thebits = 0 then
  9180. pTDefRegMap(@Self)^.clr := $00002000
  9181. else
  9182. pTDefRegMap(@Self)^.&set := $00002000;
  9183. end;
  9184. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  9185. begin
  9186. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9187. end;
  9188. procedure TTMR4_T4CON.setON; inline;
  9189. begin
  9190. pTDefRegMap(@Self)^.&set := $00008000;
  9191. end;
  9192. procedure TTMR4_T4CON.clearON; inline;
  9193. begin
  9194. pTDefRegMap(@Self)^.clr := $00008000;
  9195. end;
  9196. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  9197. begin
  9198. if thebits = 0 then
  9199. pTDefRegMap(@Self)^.clr := $00008000
  9200. else
  9201. pTDefRegMap(@Self)^.&set := $00008000;
  9202. end;
  9203. function TTMR4_T4CON.getON : TBits_1; inline;
  9204. begin
  9205. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9206. end;
  9207. procedure TTMR4_T4CON.setTCKPS0; inline;
  9208. begin
  9209. pTDefRegMap(@Self)^.&set := $00000010;
  9210. end;
  9211. procedure TTMR4_T4CON.clearTCKPS0; inline;
  9212. begin
  9213. pTDefRegMap(@Self)^.clr := $00000010;
  9214. end;
  9215. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  9216. begin
  9217. if thebits = 0 then
  9218. pTDefRegMap(@Self)^.clr := $00000010
  9219. else
  9220. pTDefRegMap(@Self)^.&set := $00000010;
  9221. end;
  9222. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  9223. begin
  9224. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9225. end;
  9226. procedure TTMR4_T4CON.setTCKPS1; inline;
  9227. begin
  9228. pTDefRegMap(@Self)^.&set := $00000020;
  9229. end;
  9230. procedure TTMR4_T4CON.clearTCKPS1; inline;
  9231. begin
  9232. pTDefRegMap(@Self)^.clr := $00000020;
  9233. end;
  9234. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  9235. begin
  9236. if thebits = 0 then
  9237. pTDefRegMap(@Self)^.clr := $00000020
  9238. else
  9239. pTDefRegMap(@Self)^.&set := $00000020;
  9240. end;
  9241. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  9242. begin
  9243. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9244. end;
  9245. procedure TTMR4_T4CON.setTCKPS2; inline;
  9246. begin
  9247. pTDefRegMap(@Self)^.&set := $00000040;
  9248. end;
  9249. procedure TTMR4_T4CON.clearTCKPS2; inline;
  9250. begin
  9251. pTDefRegMap(@Self)^.clr := $00000040;
  9252. end;
  9253. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  9254. begin
  9255. if thebits = 0 then
  9256. pTDefRegMap(@Self)^.clr := $00000040
  9257. else
  9258. pTDefRegMap(@Self)^.&set := $00000040;
  9259. end;
  9260. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  9261. begin
  9262. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9263. end;
  9264. procedure TTMR4_T4CON.setTSIDL; inline;
  9265. begin
  9266. pTDefRegMap(@Self)^.&set := $00002000;
  9267. end;
  9268. procedure TTMR4_T4CON.clearTSIDL; inline;
  9269. begin
  9270. pTDefRegMap(@Self)^.clr := $00002000;
  9271. end;
  9272. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  9273. begin
  9274. if thebits = 0 then
  9275. pTDefRegMap(@Self)^.clr := $00002000
  9276. else
  9277. pTDefRegMap(@Self)^.&set := $00002000;
  9278. end;
  9279. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  9280. begin
  9281. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9282. end;
  9283. procedure TTMR4_T4CON.setTON; inline;
  9284. begin
  9285. pTDefRegMap(@Self)^.&set := $00008000;
  9286. end;
  9287. procedure TTMR4_T4CON.clearTON; inline;
  9288. begin
  9289. pTDefRegMap(@Self)^.clr := $00008000;
  9290. end;
  9291. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  9292. begin
  9293. if thebits = 0 then
  9294. pTDefRegMap(@Self)^.clr := $00008000
  9295. else
  9296. pTDefRegMap(@Self)^.&set := $00008000;
  9297. end;
  9298. function TTMR4_T4CON.getTON : TBits_1; inline;
  9299. begin
  9300. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9301. end;
  9302. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  9303. begin
  9304. pTDefRegMap(@Self)^.val := thebits;
  9305. end;
  9306. function TTMR4_T4CON.getw : TBits_32; inline;
  9307. begin
  9308. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9309. end;
  9310. procedure TTMR5_T5CON.setTCS; inline;
  9311. begin
  9312. pTDefRegMap(@Self)^.&set := $00000002;
  9313. end;
  9314. procedure TTMR5_T5CON.clearTCS; inline;
  9315. begin
  9316. pTDefRegMap(@Self)^.clr := $00000002;
  9317. end;
  9318. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  9319. begin
  9320. if thebits = 0 then
  9321. pTDefRegMap(@Self)^.clr := $00000002
  9322. else
  9323. pTDefRegMap(@Self)^.&set := $00000002;
  9324. end;
  9325. function TTMR5_T5CON.getTCS : TBits_1; inline;
  9326. begin
  9327. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9328. end;
  9329. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  9330. begin
  9331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9332. end;
  9333. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  9334. begin
  9335. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9336. end;
  9337. procedure TTMR5_T5CON.setTGATE; inline;
  9338. begin
  9339. pTDefRegMap(@Self)^.&set := $00000080;
  9340. end;
  9341. procedure TTMR5_T5CON.clearTGATE; inline;
  9342. begin
  9343. pTDefRegMap(@Self)^.clr := $00000080;
  9344. end;
  9345. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  9346. begin
  9347. if thebits = 0 then
  9348. pTDefRegMap(@Self)^.clr := $00000080
  9349. else
  9350. pTDefRegMap(@Self)^.&set := $00000080;
  9351. end;
  9352. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  9353. begin
  9354. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9355. end;
  9356. procedure TTMR5_T5CON.setSIDL; inline;
  9357. begin
  9358. pTDefRegMap(@Self)^.&set := $00002000;
  9359. end;
  9360. procedure TTMR5_T5CON.clearSIDL; inline;
  9361. begin
  9362. pTDefRegMap(@Self)^.clr := $00002000;
  9363. end;
  9364. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  9365. begin
  9366. if thebits = 0 then
  9367. pTDefRegMap(@Self)^.clr := $00002000
  9368. else
  9369. pTDefRegMap(@Self)^.&set := $00002000;
  9370. end;
  9371. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  9372. begin
  9373. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9374. end;
  9375. procedure TTMR5_T5CON.setON; inline;
  9376. begin
  9377. pTDefRegMap(@Self)^.&set := $00008000;
  9378. end;
  9379. procedure TTMR5_T5CON.clearON; inline;
  9380. begin
  9381. pTDefRegMap(@Self)^.clr := $00008000;
  9382. end;
  9383. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  9384. begin
  9385. if thebits = 0 then
  9386. pTDefRegMap(@Self)^.clr := $00008000
  9387. else
  9388. pTDefRegMap(@Self)^.&set := $00008000;
  9389. end;
  9390. function TTMR5_T5CON.getON : TBits_1; inline;
  9391. begin
  9392. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9393. end;
  9394. procedure TTMR5_T5CON.setTCKPS0; inline;
  9395. begin
  9396. pTDefRegMap(@Self)^.&set := $00000010;
  9397. end;
  9398. procedure TTMR5_T5CON.clearTCKPS0; inline;
  9399. begin
  9400. pTDefRegMap(@Self)^.clr := $00000010;
  9401. end;
  9402. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  9403. begin
  9404. if thebits = 0 then
  9405. pTDefRegMap(@Self)^.clr := $00000010
  9406. else
  9407. pTDefRegMap(@Self)^.&set := $00000010;
  9408. end;
  9409. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  9410. begin
  9411. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9412. end;
  9413. procedure TTMR5_T5CON.setTCKPS1; inline;
  9414. begin
  9415. pTDefRegMap(@Self)^.&set := $00000020;
  9416. end;
  9417. procedure TTMR5_T5CON.clearTCKPS1; inline;
  9418. begin
  9419. pTDefRegMap(@Self)^.clr := $00000020;
  9420. end;
  9421. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  9422. begin
  9423. if thebits = 0 then
  9424. pTDefRegMap(@Self)^.clr := $00000020
  9425. else
  9426. pTDefRegMap(@Self)^.&set := $00000020;
  9427. end;
  9428. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  9429. begin
  9430. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9431. end;
  9432. procedure TTMR5_T5CON.setTCKPS2; inline;
  9433. begin
  9434. pTDefRegMap(@Self)^.&set := $00000040;
  9435. end;
  9436. procedure TTMR5_T5CON.clearTCKPS2; inline;
  9437. begin
  9438. pTDefRegMap(@Self)^.clr := $00000040;
  9439. end;
  9440. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  9441. begin
  9442. if thebits = 0 then
  9443. pTDefRegMap(@Self)^.clr := $00000040
  9444. else
  9445. pTDefRegMap(@Self)^.&set := $00000040;
  9446. end;
  9447. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  9448. begin
  9449. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9450. end;
  9451. procedure TTMR5_T5CON.setTSIDL; inline;
  9452. begin
  9453. pTDefRegMap(@Self)^.&set := $00002000;
  9454. end;
  9455. procedure TTMR5_T5CON.clearTSIDL; inline;
  9456. begin
  9457. pTDefRegMap(@Self)^.clr := $00002000;
  9458. end;
  9459. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  9460. begin
  9461. if thebits = 0 then
  9462. pTDefRegMap(@Self)^.clr := $00002000
  9463. else
  9464. pTDefRegMap(@Self)^.&set := $00002000;
  9465. end;
  9466. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  9467. begin
  9468. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9469. end;
  9470. procedure TTMR5_T5CON.setTON; inline;
  9471. begin
  9472. pTDefRegMap(@Self)^.&set := $00008000;
  9473. end;
  9474. procedure TTMR5_T5CON.clearTON; inline;
  9475. begin
  9476. pTDefRegMap(@Self)^.clr := $00008000;
  9477. end;
  9478. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  9479. begin
  9480. if thebits = 0 then
  9481. pTDefRegMap(@Self)^.clr := $00008000
  9482. else
  9483. pTDefRegMap(@Self)^.&set := $00008000;
  9484. end;
  9485. function TTMR5_T5CON.getTON : TBits_1; inline;
  9486. begin
  9487. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9488. end;
  9489. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  9490. begin
  9491. pTDefRegMap(@Self)^.val := thebits;
  9492. end;
  9493. function TTMR5_T5CON.getw : TBits_32; inline;
  9494. begin
  9495. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9496. end;
  9497. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  9498. begin
  9499. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9500. end;
  9501. function TICAP1_IC1CON.getICM : TBits_3; inline;
  9502. begin
  9503. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9504. end;
  9505. procedure TICAP1_IC1CON.setICBNE; inline;
  9506. begin
  9507. pTDefRegMap(@Self)^.&set := $00000008;
  9508. end;
  9509. procedure TICAP1_IC1CON.clearICBNE; inline;
  9510. begin
  9511. pTDefRegMap(@Self)^.clr := $00000008;
  9512. end;
  9513. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  9514. begin
  9515. if thebits = 0 then
  9516. pTDefRegMap(@Self)^.clr := $00000008
  9517. else
  9518. pTDefRegMap(@Self)^.&set := $00000008;
  9519. end;
  9520. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  9521. begin
  9522. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9523. end;
  9524. procedure TICAP1_IC1CON.setICOV; inline;
  9525. begin
  9526. pTDefRegMap(@Self)^.&set := $00000010;
  9527. end;
  9528. procedure TICAP1_IC1CON.clearICOV; inline;
  9529. begin
  9530. pTDefRegMap(@Self)^.clr := $00000010;
  9531. end;
  9532. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  9533. begin
  9534. if thebits = 0 then
  9535. pTDefRegMap(@Self)^.clr := $00000010
  9536. else
  9537. pTDefRegMap(@Self)^.&set := $00000010;
  9538. end;
  9539. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  9540. begin
  9541. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9542. end;
  9543. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  9544. begin
  9545. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9546. end;
  9547. function TICAP1_IC1CON.getICI : TBits_2; inline;
  9548. begin
  9549. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9550. end;
  9551. procedure TICAP1_IC1CON.setICTMR; inline;
  9552. begin
  9553. pTDefRegMap(@Self)^.&set := $00000080;
  9554. end;
  9555. procedure TICAP1_IC1CON.clearICTMR; inline;
  9556. begin
  9557. pTDefRegMap(@Self)^.clr := $00000080;
  9558. end;
  9559. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  9560. begin
  9561. if thebits = 0 then
  9562. pTDefRegMap(@Self)^.clr := $00000080
  9563. else
  9564. pTDefRegMap(@Self)^.&set := $00000080;
  9565. end;
  9566. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  9567. begin
  9568. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9569. end;
  9570. procedure TICAP1_IC1CON.setC32; inline;
  9571. begin
  9572. pTDefRegMap(@Self)^.&set := $00000100;
  9573. end;
  9574. procedure TICAP1_IC1CON.clearC32; inline;
  9575. begin
  9576. pTDefRegMap(@Self)^.clr := $00000100;
  9577. end;
  9578. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  9579. begin
  9580. if thebits = 0 then
  9581. pTDefRegMap(@Self)^.clr := $00000100
  9582. else
  9583. pTDefRegMap(@Self)^.&set := $00000100;
  9584. end;
  9585. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  9586. begin
  9587. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9588. end;
  9589. procedure TICAP1_IC1CON.setFEDGE; inline;
  9590. begin
  9591. pTDefRegMap(@Self)^.&set := $00000200;
  9592. end;
  9593. procedure TICAP1_IC1CON.clearFEDGE; inline;
  9594. begin
  9595. pTDefRegMap(@Self)^.clr := $00000200;
  9596. end;
  9597. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  9598. begin
  9599. if thebits = 0 then
  9600. pTDefRegMap(@Self)^.clr := $00000200
  9601. else
  9602. pTDefRegMap(@Self)^.&set := $00000200;
  9603. end;
  9604. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  9605. begin
  9606. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9607. end;
  9608. procedure TICAP1_IC1CON.setSIDL; inline;
  9609. begin
  9610. pTDefRegMap(@Self)^.&set := $00002000;
  9611. end;
  9612. procedure TICAP1_IC1CON.clearSIDL; inline;
  9613. begin
  9614. pTDefRegMap(@Self)^.clr := $00002000;
  9615. end;
  9616. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  9617. begin
  9618. if thebits = 0 then
  9619. pTDefRegMap(@Self)^.clr := $00002000
  9620. else
  9621. pTDefRegMap(@Self)^.&set := $00002000;
  9622. end;
  9623. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  9624. begin
  9625. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9626. end;
  9627. procedure TICAP1_IC1CON.setON; inline;
  9628. begin
  9629. pTDefRegMap(@Self)^.&set := $00008000;
  9630. end;
  9631. procedure TICAP1_IC1CON.clearON; inline;
  9632. begin
  9633. pTDefRegMap(@Self)^.clr := $00008000;
  9634. end;
  9635. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  9636. begin
  9637. if thebits = 0 then
  9638. pTDefRegMap(@Self)^.clr := $00008000
  9639. else
  9640. pTDefRegMap(@Self)^.&set := $00008000;
  9641. end;
  9642. function TICAP1_IC1CON.getON : TBits_1; inline;
  9643. begin
  9644. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9645. end;
  9646. procedure TICAP1_IC1CON.setICM0; inline;
  9647. begin
  9648. pTDefRegMap(@Self)^.&set := $00000001;
  9649. end;
  9650. procedure TICAP1_IC1CON.clearICM0; inline;
  9651. begin
  9652. pTDefRegMap(@Self)^.clr := $00000001;
  9653. end;
  9654. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  9655. begin
  9656. if thebits = 0 then
  9657. pTDefRegMap(@Self)^.clr := $00000001
  9658. else
  9659. pTDefRegMap(@Self)^.&set := $00000001;
  9660. end;
  9661. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  9662. begin
  9663. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9664. end;
  9665. procedure TICAP1_IC1CON.setICM1; inline;
  9666. begin
  9667. pTDefRegMap(@Self)^.&set := $00000002;
  9668. end;
  9669. procedure TICAP1_IC1CON.clearICM1; inline;
  9670. begin
  9671. pTDefRegMap(@Self)^.clr := $00000002;
  9672. end;
  9673. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  9674. begin
  9675. if thebits = 0 then
  9676. pTDefRegMap(@Self)^.clr := $00000002
  9677. else
  9678. pTDefRegMap(@Self)^.&set := $00000002;
  9679. end;
  9680. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  9681. begin
  9682. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9683. end;
  9684. procedure TICAP1_IC1CON.setICM2; inline;
  9685. begin
  9686. pTDefRegMap(@Self)^.&set := $00000004;
  9687. end;
  9688. procedure TICAP1_IC1CON.clearICM2; inline;
  9689. begin
  9690. pTDefRegMap(@Self)^.clr := $00000004;
  9691. end;
  9692. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  9693. begin
  9694. if thebits = 0 then
  9695. pTDefRegMap(@Self)^.clr := $00000004
  9696. else
  9697. pTDefRegMap(@Self)^.&set := $00000004;
  9698. end;
  9699. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  9700. begin
  9701. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9702. end;
  9703. procedure TICAP1_IC1CON.setICI0; inline;
  9704. begin
  9705. pTDefRegMap(@Self)^.&set := $00000020;
  9706. end;
  9707. procedure TICAP1_IC1CON.clearICI0; inline;
  9708. begin
  9709. pTDefRegMap(@Self)^.clr := $00000020;
  9710. end;
  9711. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  9712. begin
  9713. if thebits = 0 then
  9714. pTDefRegMap(@Self)^.clr := $00000020
  9715. else
  9716. pTDefRegMap(@Self)^.&set := $00000020;
  9717. end;
  9718. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  9719. begin
  9720. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9721. end;
  9722. procedure TICAP1_IC1CON.setICI1; inline;
  9723. begin
  9724. pTDefRegMap(@Self)^.&set := $00000040;
  9725. end;
  9726. procedure TICAP1_IC1CON.clearICI1; inline;
  9727. begin
  9728. pTDefRegMap(@Self)^.clr := $00000040;
  9729. end;
  9730. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  9731. begin
  9732. if thebits = 0 then
  9733. pTDefRegMap(@Self)^.clr := $00000040
  9734. else
  9735. pTDefRegMap(@Self)^.&set := $00000040;
  9736. end;
  9737. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  9738. begin
  9739. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9740. end;
  9741. procedure TICAP1_IC1CON.setICSIDL; inline;
  9742. begin
  9743. pTDefRegMap(@Self)^.&set := $00002000;
  9744. end;
  9745. procedure TICAP1_IC1CON.clearICSIDL; inline;
  9746. begin
  9747. pTDefRegMap(@Self)^.clr := $00002000;
  9748. end;
  9749. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  9750. begin
  9751. if thebits = 0 then
  9752. pTDefRegMap(@Self)^.clr := $00002000
  9753. else
  9754. pTDefRegMap(@Self)^.&set := $00002000;
  9755. end;
  9756. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  9757. begin
  9758. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9759. end;
  9760. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  9761. begin
  9762. pTDefRegMap(@Self)^.val := thebits;
  9763. end;
  9764. function TICAP1_IC1CON.getw : TBits_32; inline;
  9765. begin
  9766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9767. end;
  9768. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  9769. begin
  9770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9771. end;
  9772. function TICAP2_IC2CON.getICM : TBits_3; inline;
  9773. begin
  9774. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9775. end;
  9776. procedure TICAP2_IC2CON.setICBNE; inline;
  9777. begin
  9778. pTDefRegMap(@Self)^.&set := $00000008;
  9779. end;
  9780. procedure TICAP2_IC2CON.clearICBNE; inline;
  9781. begin
  9782. pTDefRegMap(@Self)^.clr := $00000008;
  9783. end;
  9784. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  9785. begin
  9786. if thebits = 0 then
  9787. pTDefRegMap(@Self)^.clr := $00000008
  9788. else
  9789. pTDefRegMap(@Self)^.&set := $00000008;
  9790. end;
  9791. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  9792. begin
  9793. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9794. end;
  9795. procedure TICAP2_IC2CON.setICOV; inline;
  9796. begin
  9797. pTDefRegMap(@Self)^.&set := $00000010;
  9798. end;
  9799. procedure TICAP2_IC2CON.clearICOV; inline;
  9800. begin
  9801. pTDefRegMap(@Self)^.clr := $00000010;
  9802. end;
  9803. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  9804. begin
  9805. if thebits = 0 then
  9806. pTDefRegMap(@Self)^.clr := $00000010
  9807. else
  9808. pTDefRegMap(@Self)^.&set := $00000010;
  9809. end;
  9810. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  9811. begin
  9812. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9813. end;
  9814. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  9815. begin
  9816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9817. end;
  9818. function TICAP2_IC2CON.getICI : TBits_2; inline;
  9819. begin
  9820. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9821. end;
  9822. procedure TICAP2_IC2CON.setICTMR; inline;
  9823. begin
  9824. pTDefRegMap(@Self)^.&set := $00000080;
  9825. end;
  9826. procedure TICAP2_IC2CON.clearICTMR; inline;
  9827. begin
  9828. pTDefRegMap(@Self)^.clr := $00000080;
  9829. end;
  9830. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  9831. begin
  9832. if thebits = 0 then
  9833. pTDefRegMap(@Self)^.clr := $00000080
  9834. else
  9835. pTDefRegMap(@Self)^.&set := $00000080;
  9836. end;
  9837. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  9838. begin
  9839. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9840. end;
  9841. procedure TICAP2_IC2CON.setC32; inline;
  9842. begin
  9843. pTDefRegMap(@Self)^.&set := $00000100;
  9844. end;
  9845. procedure TICAP2_IC2CON.clearC32; inline;
  9846. begin
  9847. pTDefRegMap(@Self)^.clr := $00000100;
  9848. end;
  9849. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  9850. begin
  9851. if thebits = 0 then
  9852. pTDefRegMap(@Self)^.clr := $00000100
  9853. else
  9854. pTDefRegMap(@Self)^.&set := $00000100;
  9855. end;
  9856. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  9857. begin
  9858. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9859. end;
  9860. procedure TICAP2_IC2CON.setFEDGE; inline;
  9861. begin
  9862. pTDefRegMap(@Self)^.&set := $00000200;
  9863. end;
  9864. procedure TICAP2_IC2CON.clearFEDGE; inline;
  9865. begin
  9866. pTDefRegMap(@Self)^.clr := $00000200;
  9867. end;
  9868. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  9869. begin
  9870. if thebits = 0 then
  9871. pTDefRegMap(@Self)^.clr := $00000200
  9872. else
  9873. pTDefRegMap(@Self)^.&set := $00000200;
  9874. end;
  9875. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  9876. begin
  9877. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9878. end;
  9879. procedure TICAP2_IC2CON.setSIDL; inline;
  9880. begin
  9881. pTDefRegMap(@Self)^.&set := $00002000;
  9882. end;
  9883. procedure TICAP2_IC2CON.clearSIDL; inline;
  9884. begin
  9885. pTDefRegMap(@Self)^.clr := $00002000;
  9886. end;
  9887. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  9888. begin
  9889. if thebits = 0 then
  9890. pTDefRegMap(@Self)^.clr := $00002000
  9891. else
  9892. pTDefRegMap(@Self)^.&set := $00002000;
  9893. end;
  9894. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  9895. begin
  9896. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9897. end;
  9898. procedure TICAP2_IC2CON.setON; inline;
  9899. begin
  9900. pTDefRegMap(@Self)^.&set := $00008000;
  9901. end;
  9902. procedure TICAP2_IC2CON.clearON; inline;
  9903. begin
  9904. pTDefRegMap(@Self)^.clr := $00008000;
  9905. end;
  9906. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  9907. begin
  9908. if thebits = 0 then
  9909. pTDefRegMap(@Self)^.clr := $00008000
  9910. else
  9911. pTDefRegMap(@Self)^.&set := $00008000;
  9912. end;
  9913. function TICAP2_IC2CON.getON : TBits_1; inline;
  9914. begin
  9915. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9916. end;
  9917. procedure TICAP2_IC2CON.setICM0; inline;
  9918. begin
  9919. pTDefRegMap(@Self)^.&set := $00000001;
  9920. end;
  9921. procedure TICAP2_IC2CON.clearICM0; inline;
  9922. begin
  9923. pTDefRegMap(@Self)^.clr := $00000001;
  9924. end;
  9925. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  9926. begin
  9927. if thebits = 0 then
  9928. pTDefRegMap(@Self)^.clr := $00000001
  9929. else
  9930. pTDefRegMap(@Self)^.&set := $00000001;
  9931. end;
  9932. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  9933. begin
  9934. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9935. end;
  9936. procedure TICAP2_IC2CON.setICM1; inline;
  9937. begin
  9938. pTDefRegMap(@Self)^.&set := $00000002;
  9939. end;
  9940. procedure TICAP2_IC2CON.clearICM1; inline;
  9941. begin
  9942. pTDefRegMap(@Self)^.clr := $00000002;
  9943. end;
  9944. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  9945. begin
  9946. if thebits = 0 then
  9947. pTDefRegMap(@Self)^.clr := $00000002
  9948. else
  9949. pTDefRegMap(@Self)^.&set := $00000002;
  9950. end;
  9951. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  9952. begin
  9953. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9954. end;
  9955. procedure TICAP2_IC2CON.setICM2; inline;
  9956. begin
  9957. pTDefRegMap(@Self)^.&set := $00000004;
  9958. end;
  9959. procedure TICAP2_IC2CON.clearICM2; inline;
  9960. begin
  9961. pTDefRegMap(@Self)^.clr := $00000004;
  9962. end;
  9963. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  9964. begin
  9965. if thebits = 0 then
  9966. pTDefRegMap(@Self)^.clr := $00000004
  9967. else
  9968. pTDefRegMap(@Self)^.&set := $00000004;
  9969. end;
  9970. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  9971. begin
  9972. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9973. end;
  9974. procedure TICAP2_IC2CON.setICI0; inline;
  9975. begin
  9976. pTDefRegMap(@Self)^.&set := $00000020;
  9977. end;
  9978. procedure TICAP2_IC2CON.clearICI0; inline;
  9979. begin
  9980. pTDefRegMap(@Self)^.clr := $00000020;
  9981. end;
  9982. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  9983. begin
  9984. if thebits = 0 then
  9985. pTDefRegMap(@Self)^.clr := $00000020
  9986. else
  9987. pTDefRegMap(@Self)^.&set := $00000020;
  9988. end;
  9989. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  9990. begin
  9991. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9992. end;
  9993. procedure TICAP2_IC2CON.setICI1; inline;
  9994. begin
  9995. pTDefRegMap(@Self)^.&set := $00000040;
  9996. end;
  9997. procedure TICAP2_IC2CON.clearICI1; inline;
  9998. begin
  9999. pTDefRegMap(@Self)^.clr := $00000040;
  10000. end;
  10001. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  10002. begin
  10003. if thebits = 0 then
  10004. pTDefRegMap(@Self)^.clr := $00000040
  10005. else
  10006. pTDefRegMap(@Self)^.&set := $00000040;
  10007. end;
  10008. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  10009. begin
  10010. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10011. end;
  10012. procedure TICAP2_IC2CON.setICSIDL; inline;
  10013. begin
  10014. pTDefRegMap(@Self)^.&set := $00002000;
  10015. end;
  10016. procedure TICAP2_IC2CON.clearICSIDL; inline;
  10017. begin
  10018. pTDefRegMap(@Self)^.clr := $00002000;
  10019. end;
  10020. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  10021. begin
  10022. if thebits = 0 then
  10023. pTDefRegMap(@Self)^.clr := $00002000
  10024. else
  10025. pTDefRegMap(@Self)^.&set := $00002000;
  10026. end;
  10027. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  10028. begin
  10029. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10030. end;
  10031. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  10032. begin
  10033. pTDefRegMap(@Self)^.val := thebits;
  10034. end;
  10035. function TICAP2_IC2CON.getw : TBits_32; inline;
  10036. begin
  10037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10038. end;
  10039. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  10040. begin
  10041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10042. end;
  10043. function TICAP3_IC3CON.getICM : TBits_3; inline;
  10044. begin
  10045. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10046. end;
  10047. procedure TICAP3_IC3CON.setICBNE; inline;
  10048. begin
  10049. pTDefRegMap(@Self)^.&set := $00000008;
  10050. end;
  10051. procedure TICAP3_IC3CON.clearICBNE; inline;
  10052. begin
  10053. pTDefRegMap(@Self)^.clr := $00000008;
  10054. end;
  10055. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  10056. begin
  10057. if thebits = 0 then
  10058. pTDefRegMap(@Self)^.clr := $00000008
  10059. else
  10060. pTDefRegMap(@Self)^.&set := $00000008;
  10061. end;
  10062. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  10063. begin
  10064. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10065. end;
  10066. procedure TICAP3_IC3CON.setICOV; inline;
  10067. begin
  10068. pTDefRegMap(@Self)^.&set := $00000010;
  10069. end;
  10070. procedure TICAP3_IC3CON.clearICOV; inline;
  10071. begin
  10072. pTDefRegMap(@Self)^.clr := $00000010;
  10073. end;
  10074. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  10075. begin
  10076. if thebits = 0 then
  10077. pTDefRegMap(@Self)^.clr := $00000010
  10078. else
  10079. pTDefRegMap(@Self)^.&set := $00000010;
  10080. end;
  10081. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  10082. begin
  10083. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10084. end;
  10085. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  10086. begin
  10087. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10088. end;
  10089. function TICAP3_IC3CON.getICI : TBits_2; inline;
  10090. begin
  10091. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10092. end;
  10093. procedure TICAP3_IC3CON.setICTMR; inline;
  10094. begin
  10095. pTDefRegMap(@Self)^.&set := $00000080;
  10096. end;
  10097. procedure TICAP3_IC3CON.clearICTMR; inline;
  10098. begin
  10099. pTDefRegMap(@Self)^.clr := $00000080;
  10100. end;
  10101. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  10102. begin
  10103. if thebits = 0 then
  10104. pTDefRegMap(@Self)^.clr := $00000080
  10105. else
  10106. pTDefRegMap(@Self)^.&set := $00000080;
  10107. end;
  10108. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  10109. begin
  10110. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10111. end;
  10112. procedure TICAP3_IC3CON.setC32; inline;
  10113. begin
  10114. pTDefRegMap(@Self)^.&set := $00000100;
  10115. end;
  10116. procedure TICAP3_IC3CON.clearC32; inline;
  10117. begin
  10118. pTDefRegMap(@Self)^.clr := $00000100;
  10119. end;
  10120. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  10121. begin
  10122. if thebits = 0 then
  10123. pTDefRegMap(@Self)^.clr := $00000100
  10124. else
  10125. pTDefRegMap(@Self)^.&set := $00000100;
  10126. end;
  10127. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  10128. begin
  10129. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10130. end;
  10131. procedure TICAP3_IC3CON.setFEDGE; inline;
  10132. begin
  10133. pTDefRegMap(@Self)^.&set := $00000200;
  10134. end;
  10135. procedure TICAP3_IC3CON.clearFEDGE; inline;
  10136. begin
  10137. pTDefRegMap(@Self)^.clr := $00000200;
  10138. end;
  10139. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  10140. begin
  10141. if thebits = 0 then
  10142. pTDefRegMap(@Self)^.clr := $00000200
  10143. else
  10144. pTDefRegMap(@Self)^.&set := $00000200;
  10145. end;
  10146. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  10147. begin
  10148. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10149. end;
  10150. procedure TICAP3_IC3CON.setSIDL; inline;
  10151. begin
  10152. pTDefRegMap(@Self)^.&set := $00002000;
  10153. end;
  10154. procedure TICAP3_IC3CON.clearSIDL; inline;
  10155. begin
  10156. pTDefRegMap(@Self)^.clr := $00002000;
  10157. end;
  10158. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  10159. begin
  10160. if thebits = 0 then
  10161. pTDefRegMap(@Self)^.clr := $00002000
  10162. else
  10163. pTDefRegMap(@Self)^.&set := $00002000;
  10164. end;
  10165. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  10166. begin
  10167. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10168. end;
  10169. procedure TICAP3_IC3CON.setON; inline;
  10170. begin
  10171. pTDefRegMap(@Self)^.&set := $00008000;
  10172. end;
  10173. procedure TICAP3_IC3CON.clearON; inline;
  10174. begin
  10175. pTDefRegMap(@Self)^.clr := $00008000;
  10176. end;
  10177. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  10178. begin
  10179. if thebits = 0 then
  10180. pTDefRegMap(@Self)^.clr := $00008000
  10181. else
  10182. pTDefRegMap(@Self)^.&set := $00008000;
  10183. end;
  10184. function TICAP3_IC3CON.getON : TBits_1; inline;
  10185. begin
  10186. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10187. end;
  10188. procedure TICAP3_IC3CON.setICM0; inline;
  10189. begin
  10190. pTDefRegMap(@Self)^.&set := $00000001;
  10191. end;
  10192. procedure TICAP3_IC3CON.clearICM0; inline;
  10193. begin
  10194. pTDefRegMap(@Self)^.clr := $00000001;
  10195. end;
  10196. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  10197. begin
  10198. if thebits = 0 then
  10199. pTDefRegMap(@Self)^.clr := $00000001
  10200. else
  10201. pTDefRegMap(@Self)^.&set := $00000001;
  10202. end;
  10203. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  10204. begin
  10205. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10206. end;
  10207. procedure TICAP3_IC3CON.setICM1; inline;
  10208. begin
  10209. pTDefRegMap(@Self)^.&set := $00000002;
  10210. end;
  10211. procedure TICAP3_IC3CON.clearICM1; inline;
  10212. begin
  10213. pTDefRegMap(@Self)^.clr := $00000002;
  10214. end;
  10215. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  10216. begin
  10217. if thebits = 0 then
  10218. pTDefRegMap(@Self)^.clr := $00000002
  10219. else
  10220. pTDefRegMap(@Self)^.&set := $00000002;
  10221. end;
  10222. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  10223. begin
  10224. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10225. end;
  10226. procedure TICAP3_IC3CON.setICM2; inline;
  10227. begin
  10228. pTDefRegMap(@Self)^.&set := $00000004;
  10229. end;
  10230. procedure TICAP3_IC3CON.clearICM2; inline;
  10231. begin
  10232. pTDefRegMap(@Self)^.clr := $00000004;
  10233. end;
  10234. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  10235. begin
  10236. if thebits = 0 then
  10237. pTDefRegMap(@Self)^.clr := $00000004
  10238. else
  10239. pTDefRegMap(@Self)^.&set := $00000004;
  10240. end;
  10241. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  10242. begin
  10243. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10244. end;
  10245. procedure TICAP3_IC3CON.setICI0; inline;
  10246. begin
  10247. pTDefRegMap(@Self)^.&set := $00000020;
  10248. end;
  10249. procedure TICAP3_IC3CON.clearICI0; inline;
  10250. begin
  10251. pTDefRegMap(@Self)^.clr := $00000020;
  10252. end;
  10253. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  10254. begin
  10255. if thebits = 0 then
  10256. pTDefRegMap(@Self)^.clr := $00000020
  10257. else
  10258. pTDefRegMap(@Self)^.&set := $00000020;
  10259. end;
  10260. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  10261. begin
  10262. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10263. end;
  10264. procedure TICAP3_IC3CON.setICI1; inline;
  10265. begin
  10266. pTDefRegMap(@Self)^.&set := $00000040;
  10267. end;
  10268. procedure TICAP3_IC3CON.clearICI1; inline;
  10269. begin
  10270. pTDefRegMap(@Self)^.clr := $00000040;
  10271. end;
  10272. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  10273. begin
  10274. if thebits = 0 then
  10275. pTDefRegMap(@Self)^.clr := $00000040
  10276. else
  10277. pTDefRegMap(@Self)^.&set := $00000040;
  10278. end;
  10279. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  10280. begin
  10281. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10282. end;
  10283. procedure TICAP3_IC3CON.setICSIDL; inline;
  10284. begin
  10285. pTDefRegMap(@Self)^.&set := $00002000;
  10286. end;
  10287. procedure TICAP3_IC3CON.clearICSIDL; inline;
  10288. begin
  10289. pTDefRegMap(@Self)^.clr := $00002000;
  10290. end;
  10291. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  10292. begin
  10293. if thebits = 0 then
  10294. pTDefRegMap(@Self)^.clr := $00002000
  10295. else
  10296. pTDefRegMap(@Self)^.&set := $00002000;
  10297. end;
  10298. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  10299. begin
  10300. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10301. end;
  10302. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  10303. begin
  10304. pTDefRegMap(@Self)^.val := thebits;
  10305. end;
  10306. function TICAP3_IC3CON.getw : TBits_32; inline;
  10307. begin
  10308. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10309. end;
  10310. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  10311. begin
  10312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10313. end;
  10314. function TICAP4_IC4CON.getICM : TBits_3; inline;
  10315. begin
  10316. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10317. end;
  10318. procedure TICAP4_IC4CON.setICBNE; inline;
  10319. begin
  10320. pTDefRegMap(@Self)^.&set := $00000008;
  10321. end;
  10322. procedure TICAP4_IC4CON.clearICBNE; inline;
  10323. begin
  10324. pTDefRegMap(@Self)^.clr := $00000008;
  10325. end;
  10326. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  10327. begin
  10328. if thebits = 0 then
  10329. pTDefRegMap(@Self)^.clr := $00000008
  10330. else
  10331. pTDefRegMap(@Self)^.&set := $00000008;
  10332. end;
  10333. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  10334. begin
  10335. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10336. end;
  10337. procedure TICAP4_IC4CON.setICOV; inline;
  10338. begin
  10339. pTDefRegMap(@Self)^.&set := $00000010;
  10340. end;
  10341. procedure TICAP4_IC4CON.clearICOV; inline;
  10342. begin
  10343. pTDefRegMap(@Self)^.clr := $00000010;
  10344. end;
  10345. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  10346. begin
  10347. if thebits = 0 then
  10348. pTDefRegMap(@Self)^.clr := $00000010
  10349. else
  10350. pTDefRegMap(@Self)^.&set := $00000010;
  10351. end;
  10352. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  10353. begin
  10354. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10355. end;
  10356. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  10357. begin
  10358. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10359. end;
  10360. function TICAP4_IC4CON.getICI : TBits_2; inline;
  10361. begin
  10362. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10363. end;
  10364. procedure TICAP4_IC4CON.setICTMR; inline;
  10365. begin
  10366. pTDefRegMap(@Self)^.&set := $00000080;
  10367. end;
  10368. procedure TICAP4_IC4CON.clearICTMR; inline;
  10369. begin
  10370. pTDefRegMap(@Self)^.clr := $00000080;
  10371. end;
  10372. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  10373. begin
  10374. if thebits = 0 then
  10375. pTDefRegMap(@Self)^.clr := $00000080
  10376. else
  10377. pTDefRegMap(@Self)^.&set := $00000080;
  10378. end;
  10379. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  10380. begin
  10381. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10382. end;
  10383. procedure TICAP4_IC4CON.setC32; inline;
  10384. begin
  10385. pTDefRegMap(@Self)^.&set := $00000100;
  10386. end;
  10387. procedure TICAP4_IC4CON.clearC32; inline;
  10388. begin
  10389. pTDefRegMap(@Self)^.clr := $00000100;
  10390. end;
  10391. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  10392. begin
  10393. if thebits = 0 then
  10394. pTDefRegMap(@Self)^.clr := $00000100
  10395. else
  10396. pTDefRegMap(@Self)^.&set := $00000100;
  10397. end;
  10398. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  10399. begin
  10400. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10401. end;
  10402. procedure TICAP4_IC4CON.setFEDGE; inline;
  10403. begin
  10404. pTDefRegMap(@Self)^.&set := $00000200;
  10405. end;
  10406. procedure TICAP4_IC4CON.clearFEDGE; inline;
  10407. begin
  10408. pTDefRegMap(@Self)^.clr := $00000200;
  10409. end;
  10410. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  10411. begin
  10412. if thebits = 0 then
  10413. pTDefRegMap(@Self)^.clr := $00000200
  10414. else
  10415. pTDefRegMap(@Self)^.&set := $00000200;
  10416. end;
  10417. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  10418. begin
  10419. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10420. end;
  10421. procedure TICAP4_IC4CON.setSIDL; inline;
  10422. begin
  10423. pTDefRegMap(@Self)^.&set := $00002000;
  10424. end;
  10425. procedure TICAP4_IC4CON.clearSIDL; inline;
  10426. begin
  10427. pTDefRegMap(@Self)^.clr := $00002000;
  10428. end;
  10429. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  10430. begin
  10431. if thebits = 0 then
  10432. pTDefRegMap(@Self)^.clr := $00002000
  10433. else
  10434. pTDefRegMap(@Self)^.&set := $00002000;
  10435. end;
  10436. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  10437. begin
  10438. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10439. end;
  10440. procedure TICAP4_IC4CON.setON; inline;
  10441. begin
  10442. pTDefRegMap(@Self)^.&set := $00008000;
  10443. end;
  10444. procedure TICAP4_IC4CON.clearON; inline;
  10445. begin
  10446. pTDefRegMap(@Self)^.clr := $00008000;
  10447. end;
  10448. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  10449. begin
  10450. if thebits = 0 then
  10451. pTDefRegMap(@Self)^.clr := $00008000
  10452. else
  10453. pTDefRegMap(@Self)^.&set := $00008000;
  10454. end;
  10455. function TICAP4_IC4CON.getON : TBits_1; inline;
  10456. begin
  10457. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10458. end;
  10459. procedure TICAP4_IC4CON.setICM0; inline;
  10460. begin
  10461. pTDefRegMap(@Self)^.&set := $00000001;
  10462. end;
  10463. procedure TICAP4_IC4CON.clearICM0; inline;
  10464. begin
  10465. pTDefRegMap(@Self)^.clr := $00000001;
  10466. end;
  10467. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  10468. begin
  10469. if thebits = 0 then
  10470. pTDefRegMap(@Self)^.clr := $00000001
  10471. else
  10472. pTDefRegMap(@Self)^.&set := $00000001;
  10473. end;
  10474. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  10475. begin
  10476. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10477. end;
  10478. procedure TICAP4_IC4CON.setICM1; inline;
  10479. begin
  10480. pTDefRegMap(@Self)^.&set := $00000002;
  10481. end;
  10482. procedure TICAP4_IC4CON.clearICM1; inline;
  10483. begin
  10484. pTDefRegMap(@Self)^.clr := $00000002;
  10485. end;
  10486. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  10487. begin
  10488. if thebits = 0 then
  10489. pTDefRegMap(@Self)^.clr := $00000002
  10490. else
  10491. pTDefRegMap(@Self)^.&set := $00000002;
  10492. end;
  10493. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  10494. begin
  10495. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10496. end;
  10497. procedure TICAP4_IC4CON.setICM2; inline;
  10498. begin
  10499. pTDefRegMap(@Self)^.&set := $00000004;
  10500. end;
  10501. procedure TICAP4_IC4CON.clearICM2; inline;
  10502. begin
  10503. pTDefRegMap(@Self)^.clr := $00000004;
  10504. end;
  10505. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  10506. begin
  10507. if thebits = 0 then
  10508. pTDefRegMap(@Self)^.clr := $00000004
  10509. else
  10510. pTDefRegMap(@Self)^.&set := $00000004;
  10511. end;
  10512. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  10513. begin
  10514. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10515. end;
  10516. procedure TICAP4_IC4CON.setICI0; inline;
  10517. begin
  10518. pTDefRegMap(@Self)^.&set := $00000020;
  10519. end;
  10520. procedure TICAP4_IC4CON.clearICI0; inline;
  10521. begin
  10522. pTDefRegMap(@Self)^.clr := $00000020;
  10523. end;
  10524. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  10525. begin
  10526. if thebits = 0 then
  10527. pTDefRegMap(@Self)^.clr := $00000020
  10528. else
  10529. pTDefRegMap(@Self)^.&set := $00000020;
  10530. end;
  10531. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  10532. begin
  10533. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10534. end;
  10535. procedure TICAP4_IC4CON.setICI1; inline;
  10536. begin
  10537. pTDefRegMap(@Self)^.&set := $00000040;
  10538. end;
  10539. procedure TICAP4_IC4CON.clearICI1; inline;
  10540. begin
  10541. pTDefRegMap(@Self)^.clr := $00000040;
  10542. end;
  10543. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  10544. begin
  10545. if thebits = 0 then
  10546. pTDefRegMap(@Self)^.clr := $00000040
  10547. else
  10548. pTDefRegMap(@Self)^.&set := $00000040;
  10549. end;
  10550. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  10551. begin
  10552. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10553. end;
  10554. procedure TICAP4_IC4CON.setICSIDL; inline;
  10555. begin
  10556. pTDefRegMap(@Self)^.&set := $00002000;
  10557. end;
  10558. procedure TICAP4_IC4CON.clearICSIDL; inline;
  10559. begin
  10560. pTDefRegMap(@Self)^.clr := $00002000;
  10561. end;
  10562. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  10563. begin
  10564. if thebits = 0 then
  10565. pTDefRegMap(@Self)^.clr := $00002000
  10566. else
  10567. pTDefRegMap(@Self)^.&set := $00002000;
  10568. end;
  10569. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  10570. begin
  10571. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10572. end;
  10573. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  10574. begin
  10575. pTDefRegMap(@Self)^.val := thebits;
  10576. end;
  10577. function TICAP4_IC4CON.getw : TBits_32; inline;
  10578. begin
  10579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10580. end;
  10581. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  10582. begin
  10583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10584. end;
  10585. function TICAP5_IC5CON.getICM : TBits_3; inline;
  10586. begin
  10587. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10588. end;
  10589. procedure TICAP5_IC5CON.setICBNE; inline;
  10590. begin
  10591. pTDefRegMap(@Self)^.&set := $00000008;
  10592. end;
  10593. procedure TICAP5_IC5CON.clearICBNE; inline;
  10594. begin
  10595. pTDefRegMap(@Self)^.clr := $00000008;
  10596. end;
  10597. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  10598. begin
  10599. if thebits = 0 then
  10600. pTDefRegMap(@Self)^.clr := $00000008
  10601. else
  10602. pTDefRegMap(@Self)^.&set := $00000008;
  10603. end;
  10604. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  10605. begin
  10606. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10607. end;
  10608. procedure TICAP5_IC5CON.setICOV; inline;
  10609. begin
  10610. pTDefRegMap(@Self)^.&set := $00000010;
  10611. end;
  10612. procedure TICAP5_IC5CON.clearICOV; inline;
  10613. begin
  10614. pTDefRegMap(@Self)^.clr := $00000010;
  10615. end;
  10616. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  10617. begin
  10618. if thebits = 0 then
  10619. pTDefRegMap(@Self)^.clr := $00000010
  10620. else
  10621. pTDefRegMap(@Self)^.&set := $00000010;
  10622. end;
  10623. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  10624. begin
  10625. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10626. end;
  10627. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  10628. begin
  10629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10630. end;
  10631. function TICAP5_IC5CON.getICI : TBits_2; inline;
  10632. begin
  10633. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10634. end;
  10635. procedure TICAP5_IC5CON.setICTMR; inline;
  10636. begin
  10637. pTDefRegMap(@Self)^.&set := $00000080;
  10638. end;
  10639. procedure TICAP5_IC5CON.clearICTMR; inline;
  10640. begin
  10641. pTDefRegMap(@Self)^.clr := $00000080;
  10642. end;
  10643. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  10644. begin
  10645. if thebits = 0 then
  10646. pTDefRegMap(@Self)^.clr := $00000080
  10647. else
  10648. pTDefRegMap(@Self)^.&set := $00000080;
  10649. end;
  10650. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  10651. begin
  10652. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10653. end;
  10654. procedure TICAP5_IC5CON.setC32; inline;
  10655. begin
  10656. pTDefRegMap(@Self)^.&set := $00000100;
  10657. end;
  10658. procedure TICAP5_IC5CON.clearC32; inline;
  10659. begin
  10660. pTDefRegMap(@Self)^.clr := $00000100;
  10661. end;
  10662. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  10663. begin
  10664. if thebits = 0 then
  10665. pTDefRegMap(@Self)^.clr := $00000100
  10666. else
  10667. pTDefRegMap(@Self)^.&set := $00000100;
  10668. end;
  10669. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  10670. begin
  10671. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10672. end;
  10673. procedure TICAP5_IC5CON.setFEDGE; inline;
  10674. begin
  10675. pTDefRegMap(@Self)^.&set := $00000200;
  10676. end;
  10677. procedure TICAP5_IC5CON.clearFEDGE; inline;
  10678. begin
  10679. pTDefRegMap(@Self)^.clr := $00000200;
  10680. end;
  10681. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  10682. begin
  10683. if thebits = 0 then
  10684. pTDefRegMap(@Self)^.clr := $00000200
  10685. else
  10686. pTDefRegMap(@Self)^.&set := $00000200;
  10687. end;
  10688. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  10689. begin
  10690. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10691. end;
  10692. procedure TICAP5_IC5CON.setSIDL; inline;
  10693. begin
  10694. pTDefRegMap(@Self)^.&set := $00002000;
  10695. end;
  10696. procedure TICAP5_IC5CON.clearSIDL; inline;
  10697. begin
  10698. pTDefRegMap(@Self)^.clr := $00002000;
  10699. end;
  10700. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  10701. begin
  10702. if thebits = 0 then
  10703. pTDefRegMap(@Self)^.clr := $00002000
  10704. else
  10705. pTDefRegMap(@Self)^.&set := $00002000;
  10706. end;
  10707. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  10708. begin
  10709. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10710. end;
  10711. procedure TICAP5_IC5CON.setON; inline;
  10712. begin
  10713. pTDefRegMap(@Self)^.&set := $00008000;
  10714. end;
  10715. procedure TICAP5_IC5CON.clearON; inline;
  10716. begin
  10717. pTDefRegMap(@Self)^.clr := $00008000;
  10718. end;
  10719. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  10720. begin
  10721. if thebits = 0 then
  10722. pTDefRegMap(@Self)^.clr := $00008000
  10723. else
  10724. pTDefRegMap(@Self)^.&set := $00008000;
  10725. end;
  10726. function TICAP5_IC5CON.getON : TBits_1; inline;
  10727. begin
  10728. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10729. end;
  10730. procedure TICAP5_IC5CON.setICM0; inline;
  10731. begin
  10732. pTDefRegMap(@Self)^.&set := $00000001;
  10733. end;
  10734. procedure TICAP5_IC5CON.clearICM0; inline;
  10735. begin
  10736. pTDefRegMap(@Self)^.clr := $00000001;
  10737. end;
  10738. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  10739. begin
  10740. if thebits = 0 then
  10741. pTDefRegMap(@Self)^.clr := $00000001
  10742. else
  10743. pTDefRegMap(@Self)^.&set := $00000001;
  10744. end;
  10745. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  10746. begin
  10747. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10748. end;
  10749. procedure TICAP5_IC5CON.setICM1; inline;
  10750. begin
  10751. pTDefRegMap(@Self)^.&set := $00000002;
  10752. end;
  10753. procedure TICAP5_IC5CON.clearICM1; inline;
  10754. begin
  10755. pTDefRegMap(@Self)^.clr := $00000002;
  10756. end;
  10757. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  10758. begin
  10759. if thebits = 0 then
  10760. pTDefRegMap(@Self)^.clr := $00000002
  10761. else
  10762. pTDefRegMap(@Self)^.&set := $00000002;
  10763. end;
  10764. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  10765. begin
  10766. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10767. end;
  10768. procedure TICAP5_IC5CON.setICM2; inline;
  10769. begin
  10770. pTDefRegMap(@Self)^.&set := $00000004;
  10771. end;
  10772. procedure TICAP5_IC5CON.clearICM2; inline;
  10773. begin
  10774. pTDefRegMap(@Self)^.clr := $00000004;
  10775. end;
  10776. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  10777. begin
  10778. if thebits = 0 then
  10779. pTDefRegMap(@Self)^.clr := $00000004
  10780. else
  10781. pTDefRegMap(@Self)^.&set := $00000004;
  10782. end;
  10783. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  10784. begin
  10785. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10786. end;
  10787. procedure TICAP5_IC5CON.setICI0; inline;
  10788. begin
  10789. pTDefRegMap(@Self)^.&set := $00000020;
  10790. end;
  10791. procedure TICAP5_IC5CON.clearICI0; inline;
  10792. begin
  10793. pTDefRegMap(@Self)^.clr := $00000020;
  10794. end;
  10795. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  10796. begin
  10797. if thebits = 0 then
  10798. pTDefRegMap(@Self)^.clr := $00000020
  10799. else
  10800. pTDefRegMap(@Self)^.&set := $00000020;
  10801. end;
  10802. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  10803. begin
  10804. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10805. end;
  10806. procedure TICAP5_IC5CON.setICI1; inline;
  10807. begin
  10808. pTDefRegMap(@Self)^.&set := $00000040;
  10809. end;
  10810. procedure TICAP5_IC5CON.clearICI1; inline;
  10811. begin
  10812. pTDefRegMap(@Self)^.clr := $00000040;
  10813. end;
  10814. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  10815. begin
  10816. if thebits = 0 then
  10817. pTDefRegMap(@Self)^.clr := $00000040
  10818. else
  10819. pTDefRegMap(@Self)^.&set := $00000040;
  10820. end;
  10821. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  10822. begin
  10823. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10824. end;
  10825. procedure TICAP5_IC5CON.setICSIDL; inline;
  10826. begin
  10827. pTDefRegMap(@Self)^.&set := $00002000;
  10828. end;
  10829. procedure TICAP5_IC5CON.clearICSIDL; inline;
  10830. begin
  10831. pTDefRegMap(@Self)^.clr := $00002000;
  10832. end;
  10833. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  10834. begin
  10835. if thebits = 0 then
  10836. pTDefRegMap(@Self)^.clr := $00002000
  10837. else
  10838. pTDefRegMap(@Self)^.&set := $00002000;
  10839. end;
  10840. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  10841. begin
  10842. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10843. end;
  10844. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  10845. begin
  10846. pTDefRegMap(@Self)^.val := thebits;
  10847. end;
  10848. function TICAP5_IC5CON.getw : TBits_32; inline;
  10849. begin
  10850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10851. end;
  10852. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  10853. begin
  10854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10855. end;
  10856. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  10857. begin
  10858. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10859. end;
  10860. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  10861. begin
  10862. pTDefRegMap(@Self)^.&set := $00000008;
  10863. end;
  10864. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  10865. begin
  10866. pTDefRegMap(@Self)^.clr := $00000008;
  10867. end;
  10868. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  10869. begin
  10870. if thebits = 0 then
  10871. pTDefRegMap(@Self)^.clr := $00000008
  10872. else
  10873. pTDefRegMap(@Self)^.&set := $00000008;
  10874. end;
  10875. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  10876. begin
  10877. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10878. end;
  10879. procedure TOCMP1_OC1CON.setOCFLT; inline;
  10880. begin
  10881. pTDefRegMap(@Self)^.&set := $00000010;
  10882. end;
  10883. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  10884. begin
  10885. pTDefRegMap(@Self)^.clr := $00000010;
  10886. end;
  10887. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  10888. begin
  10889. if thebits = 0 then
  10890. pTDefRegMap(@Self)^.clr := $00000010
  10891. else
  10892. pTDefRegMap(@Self)^.&set := $00000010;
  10893. end;
  10894. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  10895. begin
  10896. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10897. end;
  10898. procedure TOCMP1_OC1CON.setOC32; inline;
  10899. begin
  10900. pTDefRegMap(@Self)^.&set := $00000020;
  10901. end;
  10902. procedure TOCMP1_OC1CON.clearOC32; inline;
  10903. begin
  10904. pTDefRegMap(@Self)^.clr := $00000020;
  10905. end;
  10906. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  10907. begin
  10908. if thebits = 0 then
  10909. pTDefRegMap(@Self)^.clr := $00000020
  10910. else
  10911. pTDefRegMap(@Self)^.&set := $00000020;
  10912. end;
  10913. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  10914. begin
  10915. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10916. end;
  10917. procedure TOCMP1_OC1CON.setSIDL; inline;
  10918. begin
  10919. pTDefRegMap(@Self)^.&set := $00002000;
  10920. end;
  10921. procedure TOCMP1_OC1CON.clearSIDL; inline;
  10922. begin
  10923. pTDefRegMap(@Self)^.clr := $00002000;
  10924. end;
  10925. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  10926. begin
  10927. if thebits = 0 then
  10928. pTDefRegMap(@Self)^.clr := $00002000
  10929. else
  10930. pTDefRegMap(@Self)^.&set := $00002000;
  10931. end;
  10932. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  10933. begin
  10934. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10935. end;
  10936. procedure TOCMP1_OC1CON.setON; inline;
  10937. begin
  10938. pTDefRegMap(@Self)^.&set := $00008000;
  10939. end;
  10940. procedure TOCMP1_OC1CON.clearON; inline;
  10941. begin
  10942. pTDefRegMap(@Self)^.clr := $00008000;
  10943. end;
  10944. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  10945. begin
  10946. if thebits = 0 then
  10947. pTDefRegMap(@Self)^.clr := $00008000
  10948. else
  10949. pTDefRegMap(@Self)^.&set := $00008000;
  10950. end;
  10951. function TOCMP1_OC1CON.getON : TBits_1; inline;
  10952. begin
  10953. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10954. end;
  10955. procedure TOCMP1_OC1CON.setOCM0; inline;
  10956. begin
  10957. pTDefRegMap(@Self)^.&set := $00000001;
  10958. end;
  10959. procedure TOCMP1_OC1CON.clearOCM0; inline;
  10960. begin
  10961. pTDefRegMap(@Self)^.clr := $00000001;
  10962. end;
  10963. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  10964. begin
  10965. if thebits = 0 then
  10966. pTDefRegMap(@Self)^.clr := $00000001
  10967. else
  10968. pTDefRegMap(@Self)^.&set := $00000001;
  10969. end;
  10970. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  10971. begin
  10972. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10973. end;
  10974. procedure TOCMP1_OC1CON.setOCM1; inline;
  10975. begin
  10976. pTDefRegMap(@Self)^.&set := $00000002;
  10977. end;
  10978. procedure TOCMP1_OC1CON.clearOCM1; inline;
  10979. begin
  10980. pTDefRegMap(@Self)^.clr := $00000002;
  10981. end;
  10982. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  10983. begin
  10984. if thebits = 0 then
  10985. pTDefRegMap(@Self)^.clr := $00000002
  10986. else
  10987. pTDefRegMap(@Self)^.&set := $00000002;
  10988. end;
  10989. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  10990. begin
  10991. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10992. end;
  10993. procedure TOCMP1_OC1CON.setOCM2; inline;
  10994. begin
  10995. pTDefRegMap(@Self)^.&set := $00000004;
  10996. end;
  10997. procedure TOCMP1_OC1CON.clearOCM2; inline;
  10998. begin
  10999. pTDefRegMap(@Self)^.clr := $00000004;
  11000. end;
  11001. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  11002. begin
  11003. if thebits = 0 then
  11004. pTDefRegMap(@Self)^.clr := $00000004
  11005. else
  11006. pTDefRegMap(@Self)^.&set := $00000004;
  11007. end;
  11008. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  11009. begin
  11010. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11011. end;
  11012. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  11013. begin
  11014. pTDefRegMap(@Self)^.&set := $00002000;
  11015. end;
  11016. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  11017. begin
  11018. pTDefRegMap(@Self)^.clr := $00002000;
  11019. end;
  11020. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  11021. begin
  11022. if thebits = 0 then
  11023. pTDefRegMap(@Self)^.clr := $00002000
  11024. else
  11025. pTDefRegMap(@Self)^.&set := $00002000;
  11026. end;
  11027. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  11028. begin
  11029. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11030. end;
  11031. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  11032. begin
  11033. pTDefRegMap(@Self)^.val := thebits;
  11034. end;
  11035. function TOCMP1_OC1CON.getw : TBits_32; inline;
  11036. begin
  11037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11038. end;
  11039. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  11040. begin
  11041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11042. end;
  11043. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  11044. begin
  11045. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11046. end;
  11047. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  11048. begin
  11049. pTDefRegMap(@Self)^.&set := $00000008;
  11050. end;
  11051. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  11052. begin
  11053. pTDefRegMap(@Self)^.clr := $00000008;
  11054. end;
  11055. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  11056. begin
  11057. if thebits = 0 then
  11058. pTDefRegMap(@Self)^.clr := $00000008
  11059. else
  11060. pTDefRegMap(@Self)^.&set := $00000008;
  11061. end;
  11062. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  11063. begin
  11064. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11065. end;
  11066. procedure TOCMP2_OC2CON.setOCFLT; inline;
  11067. begin
  11068. pTDefRegMap(@Self)^.&set := $00000010;
  11069. end;
  11070. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  11071. begin
  11072. pTDefRegMap(@Self)^.clr := $00000010;
  11073. end;
  11074. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  11075. begin
  11076. if thebits = 0 then
  11077. pTDefRegMap(@Self)^.clr := $00000010
  11078. else
  11079. pTDefRegMap(@Self)^.&set := $00000010;
  11080. end;
  11081. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  11082. begin
  11083. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11084. end;
  11085. procedure TOCMP2_OC2CON.setOC32; inline;
  11086. begin
  11087. pTDefRegMap(@Self)^.&set := $00000020;
  11088. end;
  11089. procedure TOCMP2_OC2CON.clearOC32; inline;
  11090. begin
  11091. pTDefRegMap(@Self)^.clr := $00000020;
  11092. end;
  11093. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  11094. begin
  11095. if thebits = 0 then
  11096. pTDefRegMap(@Self)^.clr := $00000020
  11097. else
  11098. pTDefRegMap(@Self)^.&set := $00000020;
  11099. end;
  11100. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  11101. begin
  11102. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11103. end;
  11104. procedure TOCMP2_OC2CON.setSIDL; inline;
  11105. begin
  11106. pTDefRegMap(@Self)^.&set := $00002000;
  11107. end;
  11108. procedure TOCMP2_OC2CON.clearSIDL; inline;
  11109. begin
  11110. pTDefRegMap(@Self)^.clr := $00002000;
  11111. end;
  11112. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  11113. begin
  11114. if thebits = 0 then
  11115. pTDefRegMap(@Self)^.clr := $00002000
  11116. else
  11117. pTDefRegMap(@Self)^.&set := $00002000;
  11118. end;
  11119. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  11120. begin
  11121. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11122. end;
  11123. procedure TOCMP2_OC2CON.setON; inline;
  11124. begin
  11125. pTDefRegMap(@Self)^.&set := $00008000;
  11126. end;
  11127. procedure TOCMP2_OC2CON.clearON; inline;
  11128. begin
  11129. pTDefRegMap(@Self)^.clr := $00008000;
  11130. end;
  11131. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  11132. begin
  11133. if thebits = 0 then
  11134. pTDefRegMap(@Self)^.clr := $00008000
  11135. else
  11136. pTDefRegMap(@Self)^.&set := $00008000;
  11137. end;
  11138. function TOCMP2_OC2CON.getON : TBits_1; inline;
  11139. begin
  11140. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11141. end;
  11142. procedure TOCMP2_OC2CON.setOCM0; inline;
  11143. begin
  11144. pTDefRegMap(@Self)^.&set := $00000001;
  11145. end;
  11146. procedure TOCMP2_OC2CON.clearOCM0; inline;
  11147. begin
  11148. pTDefRegMap(@Self)^.clr := $00000001;
  11149. end;
  11150. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  11151. begin
  11152. if thebits = 0 then
  11153. pTDefRegMap(@Self)^.clr := $00000001
  11154. else
  11155. pTDefRegMap(@Self)^.&set := $00000001;
  11156. end;
  11157. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  11158. begin
  11159. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11160. end;
  11161. procedure TOCMP2_OC2CON.setOCM1; inline;
  11162. begin
  11163. pTDefRegMap(@Self)^.&set := $00000002;
  11164. end;
  11165. procedure TOCMP2_OC2CON.clearOCM1; inline;
  11166. begin
  11167. pTDefRegMap(@Self)^.clr := $00000002;
  11168. end;
  11169. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  11170. begin
  11171. if thebits = 0 then
  11172. pTDefRegMap(@Self)^.clr := $00000002
  11173. else
  11174. pTDefRegMap(@Self)^.&set := $00000002;
  11175. end;
  11176. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  11177. begin
  11178. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11179. end;
  11180. procedure TOCMP2_OC2CON.setOCM2; inline;
  11181. begin
  11182. pTDefRegMap(@Self)^.&set := $00000004;
  11183. end;
  11184. procedure TOCMP2_OC2CON.clearOCM2; inline;
  11185. begin
  11186. pTDefRegMap(@Self)^.clr := $00000004;
  11187. end;
  11188. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  11189. begin
  11190. if thebits = 0 then
  11191. pTDefRegMap(@Self)^.clr := $00000004
  11192. else
  11193. pTDefRegMap(@Self)^.&set := $00000004;
  11194. end;
  11195. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  11196. begin
  11197. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11198. end;
  11199. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  11200. begin
  11201. pTDefRegMap(@Self)^.&set := $00002000;
  11202. end;
  11203. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  11204. begin
  11205. pTDefRegMap(@Self)^.clr := $00002000;
  11206. end;
  11207. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  11208. begin
  11209. if thebits = 0 then
  11210. pTDefRegMap(@Self)^.clr := $00002000
  11211. else
  11212. pTDefRegMap(@Self)^.&set := $00002000;
  11213. end;
  11214. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  11215. begin
  11216. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11217. end;
  11218. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  11219. begin
  11220. pTDefRegMap(@Self)^.val := thebits;
  11221. end;
  11222. function TOCMP2_OC2CON.getw : TBits_32; inline;
  11223. begin
  11224. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11225. end;
  11226. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  11227. begin
  11228. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11229. end;
  11230. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  11231. begin
  11232. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11233. end;
  11234. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  11235. begin
  11236. pTDefRegMap(@Self)^.&set := $00000008;
  11237. end;
  11238. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  11239. begin
  11240. pTDefRegMap(@Self)^.clr := $00000008;
  11241. end;
  11242. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  11243. begin
  11244. if thebits = 0 then
  11245. pTDefRegMap(@Self)^.clr := $00000008
  11246. else
  11247. pTDefRegMap(@Self)^.&set := $00000008;
  11248. end;
  11249. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  11250. begin
  11251. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11252. end;
  11253. procedure TOCMP3_OC3CON.setOCFLT; inline;
  11254. begin
  11255. pTDefRegMap(@Self)^.&set := $00000010;
  11256. end;
  11257. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  11258. begin
  11259. pTDefRegMap(@Self)^.clr := $00000010;
  11260. end;
  11261. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  11262. begin
  11263. if thebits = 0 then
  11264. pTDefRegMap(@Self)^.clr := $00000010
  11265. else
  11266. pTDefRegMap(@Self)^.&set := $00000010;
  11267. end;
  11268. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  11269. begin
  11270. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11271. end;
  11272. procedure TOCMP3_OC3CON.setOC32; inline;
  11273. begin
  11274. pTDefRegMap(@Self)^.&set := $00000020;
  11275. end;
  11276. procedure TOCMP3_OC3CON.clearOC32; inline;
  11277. begin
  11278. pTDefRegMap(@Self)^.clr := $00000020;
  11279. end;
  11280. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  11281. begin
  11282. if thebits = 0 then
  11283. pTDefRegMap(@Self)^.clr := $00000020
  11284. else
  11285. pTDefRegMap(@Self)^.&set := $00000020;
  11286. end;
  11287. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  11288. begin
  11289. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11290. end;
  11291. procedure TOCMP3_OC3CON.setSIDL; inline;
  11292. begin
  11293. pTDefRegMap(@Self)^.&set := $00002000;
  11294. end;
  11295. procedure TOCMP3_OC3CON.clearSIDL; inline;
  11296. begin
  11297. pTDefRegMap(@Self)^.clr := $00002000;
  11298. end;
  11299. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  11300. begin
  11301. if thebits = 0 then
  11302. pTDefRegMap(@Self)^.clr := $00002000
  11303. else
  11304. pTDefRegMap(@Self)^.&set := $00002000;
  11305. end;
  11306. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  11307. begin
  11308. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11309. end;
  11310. procedure TOCMP3_OC3CON.setON; inline;
  11311. begin
  11312. pTDefRegMap(@Self)^.&set := $00008000;
  11313. end;
  11314. procedure TOCMP3_OC3CON.clearON; inline;
  11315. begin
  11316. pTDefRegMap(@Self)^.clr := $00008000;
  11317. end;
  11318. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  11319. begin
  11320. if thebits = 0 then
  11321. pTDefRegMap(@Self)^.clr := $00008000
  11322. else
  11323. pTDefRegMap(@Self)^.&set := $00008000;
  11324. end;
  11325. function TOCMP3_OC3CON.getON : TBits_1; inline;
  11326. begin
  11327. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11328. end;
  11329. procedure TOCMP3_OC3CON.setOCM0; inline;
  11330. begin
  11331. pTDefRegMap(@Self)^.&set := $00000001;
  11332. end;
  11333. procedure TOCMP3_OC3CON.clearOCM0; inline;
  11334. begin
  11335. pTDefRegMap(@Self)^.clr := $00000001;
  11336. end;
  11337. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  11338. begin
  11339. if thebits = 0 then
  11340. pTDefRegMap(@Self)^.clr := $00000001
  11341. else
  11342. pTDefRegMap(@Self)^.&set := $00000001;
  11343. end;
  11344. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  11345. begin
  11346. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11347. end;
  11348. procedure TOCMP3_OC3CON.setOCM1; inline;
  11349. begin
  11350. pTDefRegMap(@Self)^.&set := $00000002;
  11351. end;
  11352. procedure TOCMP3_OC3CON.clearOCM1; inline;
  11353. begin
  11354. pTDefRegMap(@Self)^.clr := $00000002;
  11355. end;
  11356. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  11357. begin
  11358. if thebits = 0 then
  11359. pTDefRegMap(@Self)^.clr := $00000002
  11360. else
  11361. pTDefRegMap(@Self)^.&set := $00000002;
  11362. end;
  11363. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  11364. begin
  11365. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11366. end;
  11367. procedure TOCMP3_OC3CON.setOCM2; inline;
  11368. begin
  11369. pTDefRegMap(@Self)^.&set := $00000004;
  11370. end;
  11371. procedure TOCMP3_OC3CON.clearOCM2; inline;
  11372. begin
  11373. pTDefRegMap(@Self)^.clr := $00000004;
  11374. end;
  11375. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  11376. begin
  11377. if thebits = 0 then
  11378. pTDefRegMap(@Self)^.clr := $00000004
  11379. else
  11380. pTDefRegMap(@Self)^.&set := $00000004;
  11381. end;
  11382. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  11383. begin
  11384. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11385. end;
  11386. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  11387. begin
  11388. pTDefRegMap(@Self)^.&set := $00002000;
  11389. end;
  11390. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  11391. begin
  11392. pTDefRegMap(@Self)^.clr := $00002000;
  11393. end;
  11394. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  11395. begin
  11396. if thebits = 0 then
  11397. pTDefRegMap(@Self)^.clr := $00002000
  11398. else
  11399. pTDefRegMap(@Self)^.&set := $00002000;
  11400. end;
  11401. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  11402. begin
  11403. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11404. end;
  11405. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  11406. begin
  11407. pTDefRegMap(@Self)^.val := thebits;
  11408. end;
  11409. function TOCMP3_OC3CON.getw : TBits_32; inline;
  11410. begin
  11411. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11412. end;
  11413. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  11414. begin
  11415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11416. end;
  11417. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  11418. begin
  11419. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11420. end;
  11421. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  11422. begin
  11423. pTDefRegMap(@Self)^.&set := $00000008;
  11424. end;
  11425. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  11426. begin
  11427. pTDefRegMap(@Self)^.clr := $00000008;
  11428. end;
  11429. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  11430. begin
  11431. if thebits = 0 then
  11432. pTDefRegMap(@Self)^.clr := $00000008
  11433. else
  11434. pTDefRegMap(@Self)^.&set := $00000008;
  11435. end;
  11436. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  11437. begin
  11438. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11439. end;
  11440. procedure TOCMP4_OC4CON.setOCFLT; inline;
  11441. begin
  11442. pTDefRegMap(@Self)^.&set := $00000010;
  11443. end;
  11444. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  11445. begin
  11446. pTDefRegMap(@Self)^.clr := $00000010;
  11447. end;
  11448. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  11449. begin
  11450. if thebits = 0 then
  11451. pTDefRegMap(@Self)^.clr := $00000010
  11452. else
  11453. pTDefRegMap(@Self)^.&set := $00000010;
  11454. end;
  11455. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  11456. begin
  11457. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11458. end;
  11459. procedure TOCMP4_OC4CON.setOC32; inline;
  11460. begin
  11461. pTDefRegMap(@Self)^.&set := $00000020;
  11462. end;
  11463. procedure TOCMP4_OC4CON.clearOC32; inline;
  11464. begin
  11465. pTDefRegMap(@Self)^.clr := $00000020;
  11466. end;
  11467. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  11468. begin
  11469. if thebits = 0 then
  11470. pTDefRegMap(@Self)^.clr := $00000020
  11471. else
  11472. pTDefRegMap(@Self)^.&set := $00000020;
  11473. end;
  11474. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  11475. begin
  11476. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11477. end;
  11478. procedure TOCMP4_OC4CON.setSIDL; inline;
  11479. begin
  11480. pTDefRegMap(@Self)^.&set := $00002000;
  11481. end;
  11482. procedure TOCMP4_OC4CON.clearSIDL; inline;
  11483. begin
  11484. pTDefRegMap(@Self)^.clr := $00002000;
  11485. end;
  11486. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  11487. begin
  11488. if thebits = 0 then
  11489. pTDefRegMap(@Self)^.clr := $00002000
  11490. else
  11491. pTDefRegMap(@Self)^.&set := $00002000;
  11492. end;
  11493. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  11494. begin
  11495. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11496. end;
  11497. procedure TOCMP4_OC4CON.setON; inline;
  11498. begin
  11499. pTDefRegMap(@Self)^.&set := $00008000;
  11500. end;
  11501. procedure TOCMP4_OC4CON.clearON; inline;
  11502. begin
  11503. pTDefRegMap(@Self)^.clr := $00008000;
  11504. end;
  11505. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  11506. begin
  11507. if thebits = 0 then
  11508. pTDefRegMap(@Self)^.clr := $00008000
  11509. else
  11510. pTDefRegMap(@Self)^.&set := $00008000;
  11511. end;
  11512. function TOCMP4_OC4CON.getON : TBits_1; inline;
  11513. begin
  11514. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11515. end;
  11516. procedure TOCMP4_OC4CON.setOCM0; inline;
  11517. begin
  11518. pTDefRegMap(@Self)^.&set := $00000001;
  11519. end;
  11520. procedure TOCMP4_OC4CON.clearOCM0; inline;
  11521. begin
  11522. pTDefRegMap(@Self)^.clr := $00000001;
  11523. end;
  11524. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  11525. begin
  11526. if thebits = 0 then
  11527. pTDefRegMap(@Self)^.clr := $00000001
  11528. else
  11529. pTDefRegMap(@Self)^.&set := $00000001;
  11530. end;
  11531. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  11532. begin
  11533. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11534. end;
  11535. procedure TOCMP4_OC4CON.setOCM1; inline;
  11536. begin
  11537. pTDefRegMap(@Self)^.&set := $00000002;
  11538. end;
  11539. procedure TOCMP4_OC4CON.clearOCM1; inline;
  11540. begin
  11541. pTDefRegMap(@Self)^.clr := $00000002;
  11542. end;
  11543. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  11544. begin
  11545. if thebits = 0 then
  11546. pTDefRegMap(@Self)^.clr := $00000002
  11547. else
  11548. pTDefRegMap(@Self)^.&set := $00000002;
  11549. end;
  11550. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  11551. begin
  11552. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11553. end;
  11554. procedure TOCMP4_OC4CON.setOCM2; inline;
  11555. begin
  11556. pTDefRegMap(@Self)^.&set := $00000004;
  11557. end;
  11558. procedure TOCMP4_OC4CON.clearOCM2; inline;
  11559. begin
  11560. pTDefRegMap(@Self)^.clr := $00000004;
  11561. end;
  11562. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  11563. begin
  11564. if thebits = 0 then
  11565. pTDefRegMap(@Self)^.clr := $00000004
  11566. else
  11567. pTDefRegMap(@Self)^.&set := $00000004;
  11568. end;
  11569. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  11570. begin
  11571. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11572. end;
  11573. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  11574. begin
  11575. pTDefRegMap(@Self)^.&set := $00002000;
  11576. end;
  11577. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  11578. begin
  11579. pTDefRegMap(@Self)^.clr := $00002000;
  11580. end;
  11581. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  11582. begin
  11583. if thebits = 0 then
  11584. pTDefRegMap(@Self)^.clr := $00002000
  11585. else
  11586. pTDefRegMap(@Self)^.&set := $00002000;
  11587. end;
  11588. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  11589. begin
  11590. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11591. end;
  11592. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  11593. begin
  11594. pTDefRegMap(@Self)^.val := thebits;
  11595. end;
  11596. function TOCMP4_OC4CON.getw : TBits_32; inline;
  11597. begin
  11598. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11599. end;
  11600. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  11601. begin
  11602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11603. end;
  11604. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  11605. begin
  11606. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11607. end;
  11608. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  11609. begin
  11610. pTDefRegMap(@Self)^.&set := $00000008;
  11611. end;
  11612. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  11613. begin
  11614. pTDefRegMap(@Self)^.clr := $00000008;
  11615. end;
  11616. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  11617. begin
  11618. if thebits = 0 then
  11619. pTDefRegMap(@Self)^.clr := $00000008
  11620. else
  11621. pTDefRegMap(@Self)^.&set := $00000008;
  11622. end;
  11623. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  11624. begin
  11625. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11626. end;
  11627. procedure TOCMP5_OC5CON.setOCFLT; inline;
  11628. begin
  11629. pTDefRegMap(@Self)^.&set := $00000010;
  11630. end;
  11631. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  11632. begin
  11633. pTDefRegMap(@Self)^.clr := $00000010;
  11634. end;
  11635. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  11636. begin
  11637. if thebits = 0 then
  11638. pTDefRegMap(@Self)^.clr := $00000010
  11639. else
  11640. pTDefRegMap(@Self)^.&set := $00000010;
  11641. end;
  11642. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  11643. begin
  11644. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11645. end;
  11646. procedure TOCMP5_OC5CON.setOC32; inline;
  11647. begin
  11648. pTDefRegMap(@Self)^.&set := $00000020;
  11649. end;
  11650. procedure TOCMP5_OC5CON.clearOC32; inline;
  11651. begin
  11652. pTDefRegMap(@Self)^.clr := $00000020;
  11653. end;
  11654. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  11655. begin
  11656. if thebits = 0 then
  11657. pTDefRegMap(@Self)^.clr := $00000020
  11658. else
  11659. pTDefRegMap(@Self)^.&set := $00000020;
  11660. end;
  11661. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  11662. begin
  11663. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11664. end;
  11665. procedure TOCMP5_OC5CON.setSIDL; inline;
  11666. begin
  11667. pTDefRegMap(@Self)^.&set := $00002000;
  11668. end;
  11669. procedure TOCMP5_OC5CON.clearSIDL; inline;
  11670. begin
  11671. pTDefRegMap(@Self)^.clr := $00002000;
  11672. end;
  11673. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  11674. begin
  11675. if thebits = 0 then
  11676. pTDefRegMap(@Self)^.clr := $00002000
  11677. else
  11678. pTDefRegMap(@Self)^.&set := $00002000;
  11679. end;
  11680. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  11681. begin
  11682. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11683. end;
  11684. procedure TOCMP5_OC5CON.setON; inline;
  11685. begin
  11686. pTDefRegMap(@Self)^.&set := $00008000;
  11687. end;
  11688. procedure TOCMP5_OC5CON.clearON; inline;
  11689. begin
  11690. pTDefRegMap(@Self)^.clr := $00008000;
  11691. end;
  11692. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  11693. begin
  11694. if thebits = 0 then
  11695. pTDefRegMap(@Self)^.clr := $00008000
  11696. else
  11697. pTDefRegMap(@Self)^.&set := $00008000;
  11698. end;
  11699. function TOCMP5_OC5CON.getON : TBits_1; inline;
  11700. begin
  11701. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11702. end;
  11703. procedure TOCMP5_OC5CON.setOCM0; inline;
  11704. begin
  11705. pTDefRegMap(@Self)^.&set := $00000001;
  11706. end;
  11707. procedure TOCMP5_OC5CON.clearOCM0; inline;
  11708. begin
  11709. pTDefRegMap(@Self)^.clr := $00000001;
  11710. end;
  11711. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  11712. begin
  11713. if thebits = 0 then
  11714. pTDefRegMap(@Self)^.clr := $00000001
  11715. else
  11716. pTDefRegMap(@Self)^.&set := $00000001;
  11717. end;
  11718. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  11719. begin
  11720. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11721. end;
  11722. procedure TOCMP5_OC5CON.setOCM1; inline;
  11723. begin
  11724. pTDefRegMap(@Self)^.&set := $00000002;
  11725. end;
  11726. procedure TOCMP5_OC5CON.clearOCM1; inline;
  11727. begin
  11728. pTDefRegMap(@Self)^.clr := $00000002;
  11729. end;
  11730. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  11731. begin
  11732. if thebits = 0 then
  11733. pTDefRegMap(@Self)^.clr := $00000002
  11734. else
  11735. pTDefRegMap(@Self)^.&set := $00000002;
  11736. end;
  11737. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  11738. begin
  11739. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11740. end;
  11741. procedure TOCMP5_OC5CON.setOCM2; inline;
  11742. begin
  11743. pTDefRegMap(@Self)^.&set := $00000004;
  11744. end;
  11745. procedure TOCMP5_OC5CON.clearOCM2; inline;
  11746. begin
  11747. pTDefRegMap(@Self)^.clr := $00000004;
  11748. end;
  11749. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  11750. begin
  11751. if thebits = 0 then
  11752. pTDefRegMap(@Self)^.clr := $00000004
  11753. else
  11754. pTDefRegMap(@Self)^.&set := $00000004;
  11755. end;
  11756. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  11757. begin
  11758. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11759. end;
  11760. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  11761. begin
  11762. pTDefRegMap(@Self)^.&set := $00002000;
  11763. end;
  11764. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  11765. begin
  11766. pTDefRegMap(@Self)^.clr := $00002000;
  11767. end;
  11768. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  11769. begin
  11770. if thebits = 0 then
  11771. pTDefRegMap(@Self)^.clr := $00002000
  11772. else
  11773. pTDefRegMap(@Self)^.&set := $00002000;
  11774. end;
  11775. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  11776. begin
  11777. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11778. end;
  11779. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  11780. begin
  11781. pTDefRegMap(@Self)^.val := thebits;
  11782. end;
  11783. function TOCMP5_OC5CON.getw : TBits_32; inline;
  11784. begin
  11785. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11786. end;
  11787. procedure TI2C1_I2C1CON.setSEN; inline;
  11788. begin
  11789. pTDefRegMap(@Self)^.&set := $00000001;
  11790. end;
  11791. procedure TI2C1_I2C1CON.clearSEN; inline;
  11792. begin
  11793. pTDefRegMap(@Self)^.clr := $00000001;
  11794. end;
  11795. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  11796. begin
  11797. if thebits = 0 then
  11798. pTDefRegMap(@Self)^.clr := $00000001
  11799. else
  11800. pTDefRegMap(@Self)^.&set := $00000001;
  11801. end;
  11802. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  11803. begin
  11804. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11805. end;
  11806. procedure TI2C1_I2C1CON.setRSEN; inline;
  11807. begin
  11808. pTDefRegMap(@Self)^.&set := $00000002;
  11809. end;
  11810. procedure TI2C1_I2C1CON.clearRSEN; inline;
  11811. begin
  11812. pTDefRegMap(@Self)^.clr := $00000002;
  11813. end;
  11814. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  11815. begin
  11816. if thebits = 0 then
  11817. pTDefRegMap(@Self)^.clr := $00000002
  11818. else
  11819. pTDefRegMap(@Self)^.&set := $00000002;
  11820. end;
  11821. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  11822. begin
  11823. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11824. end;
  11825. procedure TI2C1_I2C1CON.setPEN; inline;
  11826. begin
  11827. pTDefRegMap(@Self)^.&set := $00000004;
  11828. end;
  11829. procedure TI2C1_I2C1CON.clearPEN; inline;
  11830. begin
  11831. pTDefRegMap(@Self)^.clr := $00000004;
  11832. end;
  11833. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  11834. begin
  11835. if thebits = 0 then
  11836. pTDefRegMap(@Self)^.clr := $00000004
  11837. else
  11838. pTDefRegMap(@Self)^.&set := $00000004;
  11839. end;
  11840. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  11841. begin
  11842. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11843. end;
  11844. procedure TI2C1_I2C1CON.setRCEN; inline;
  11845. begin
  11846. pTDefRegMap(@Self)^.&set := $00000008;
  11847. end;
  11848. procedure TI2C1_I2C1CON.clearRCEN; inline;
  11849. begin
  11850. pTDefRegMap(@Self)^.clr := $00000008;
  11851. end;
  11852. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  11853. begin
  11854. if thebits = 0 then
  11855. pTDefRegMap(@Self)^.clr := $00000008
  11856. else
  11857. pTDefRegMap(@Self)^.&set := $00000008;
  11858. end;
  11859. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  11860. begin
  11861. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11862. end;
  11863. procedure TI2C1_I2C1CON.setACKEN; inline;
  11864. begin
  11865. pTDefRegMap(@Self)^.&set := $00000010;
  11866. end;
  11867. procedure TI2C1_I2C1CON.clearACKEN; inline;
  11868. begin
  11869. pTDefRegMap(@Self)^.clr := $00000010;
  11870. end;
  11871. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  11872. begin
  11873. if thebits = 0 then
  11874. pTDefRegMap(@Self)^.clr := $00000010
  11875. else
  11876. pTDefRegMap(@Self)^.&set := $00000010;
  11877. end;
  11878. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  11879. begin
  11880. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11881. end;
  11882. procedure TI2C1_I2C1CON.setACKDT; inline;
  11883. begin
  11884. pTDefRegMap(@Self)^.&set := $00000020;
  11885. end;
  11886. procedure TI2C1_I2C1CON.clearACKDT; inline;
  11887. begin
  11888. pTDefRegMap(@Self)^.clr := $00000020;
  11889. end;
  11890. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  11891. begin
  11892. if thebits = 0 then
  11893. pTDefRegMap(@Self)^.clr := $00000020
  11894. else
  11895. pTDefRegMap(@Self)^.&set := $00000020;
  11896. end;
  11897. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  11898. begin
  11899. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11900. end;
  11901. procedure TI2C1_I2C1CON.setSTREN; inline;
  11902. begin
  11903. pTDefRegMap(@Self)^.&set := $00000040;
  11904. end;
  11905. procedure TI2C1_I2C1CON.clearSTREN; inline;
  11906. begin
  11907. pTDefRegMap(@Self)^.clr := $00000040;
  11908. end;
  11909. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  11910. begin
  11911. if thebits = 0 then
  11912. pTDefRegMap(@Self)^.clr := $00000040
  11913. else
  11914. pTDefRegMap(@Self)^.&set := $00000040;
  11915. end;
  11916. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  11917. begin
  11918. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11919. end;
  11920. procedure TI2C1_I2C1CON.setGCEN; inline;
  11921. begin
  11922. pTDefRegMap(@Self)^.&set := $00000080;
  11923. end;
  11924. procedure TI2C1_I2C1CON.clearGCEN; inline;
  11925. begin
  11926. pTDefRegMap(@Self)^.clr := $00000080;
  11927. end;
  11928. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  11929. begin
  11930. if thebits = 0 then
  11931. pTDefRegMap(@Self)^.clr := $00000080
  11932. else
  11933. pTDefRegMap(@Self)^.&set := $00000080;
  11934. end;
  11935. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  11936. begin
  11937. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11938. end;
  11939. procedure TI2C1_I2C1CON.setSMEN; inline;
  11940. begin
  11941. pTDefRegMap(@Self)^.&set := $00000100;
  11942. end;
  11943. procedure TI2C1_I2C1CON.clearSMEN; inline;
  11944. begin
  11945. pTDefRegMap(@Self)^.clr := $00000100;
  11946. end;
  11947. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  11948. begin
  11949. if thebits = 0 then
  11950. pTDefRegMap(@Self)^.clr := $00000100
  11951. else
  11952. pTDefRegMap(@Self)^.&set := $00000100;
  11953. end;
  11954. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  11955. begin
  11956. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11957. end;
  11958. procedure TI2C1_I2C1CON.setDISSLW; inline;
  11959. begin
  11960. pTDefRegMap(@Self)^.&set := $00000200;
  11961. end;
  11962. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  11963. begin
  11964. pTDefRegMap(@Self)^.clr := $00000200;
  11965. end;
  11966. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  11967. begin
  11968. if thebits = 0 then
  11969. pTDefRegMap(@Self)^.clr := $00000200
  11970. else
  11971. pTDefRegMap(@Self)^.&set := $00000200;
  11972. end;
  11973. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  11974. begin
  11975. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11976. end;
  11977. procedure TI2C1_I2C1CON.setA10M; inline;
  11978. begin
  11979. pTDefRegMap(@Self)^.&set := $00000400;
  11980. end;
  11981. procedure TI2C1_I2C1CON.clearA10M; inline;
  11982. begin
  11983. pTDefRegMap(@Self)^.clr := $00000400;
  11984. end;
  11985. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  11986. begin
  11987. if thebits = 0 then
  11988. pTDefRegMap(@Self)^.clr := $00000400
  11989. else
  11990. pTDefRegMap(@Self)^.&set := $00000400;
  11991. end;
  11992. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  11993. begin
  11994. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11995. end;
  11996. procedure TI2C1_I2C1CON.setSTRICT; inline;
  11997. begin
  11998. pTDefRegMap(@Self)^.&set := $00000800;
  11999. end;
  12000. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  12001. begin
  12002. pTDefRegMap(@Self)^.clr := $00000800;
  12003. end;
  12004. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  12005. begin
  12006. if thebits = 0 then
  12007. pTDefRegMap(@Self)^.clr := $00000800
  12008. else
  12009. pTDefRegMap(@Self)^.&set := $00000800;
  12010. end;
  12011. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  12012. begin
  12013. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12014. end;
  12015. procedure TI2C1_I2C1CON.setSCLREL; inline;
  12016. begin
  12017. pTDefRegMap(@Self)^.&set := $00001000;
  12018. end;
  12019. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  12020. begin
  12021. pTDefRegMap(@Self)^.clr := $00001000;
  12022. end;
  12023. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  12024. begin
  12025. if thebits = 0 then
  12026. pTDefRegMap(@Self)^.clr := $00001000
  12027. else
  12028. pTDefRegMap(@Self)^.&set := $00001000;
  12029. end;
  12030. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  12031. begin
  12032. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12033. end;
  12034. procedure TI2C1_I2C1CON.setSIDL; inline;
  12035. begin
  12036. pTDefRegMap(@Self)^.&set := $00002000;
  12037. end;
  12038. procedure TI2C1_I2C1CON.clearSIDL; inline;
  12039. begin
  12040. pTDefRegMap(@Self)^.clr := $00002000;
  12041. end;
  12042. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  12043. begin
  12044. if thebits = 0 then
  12045. pTDefRegMap(@Self)^.clr := $00002000
  12046. else
  12047. pTDefRegMap(@Self)^.&set := $00002000;
  12048. end;
  12049. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  12050. begin
  12051. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12052. end;
  12053. procedure TI2C1_I2C1CON.setON; inline;
  12054. begin
  12055. pTDefRegMap(@Self)^.&set := $00008000;
  12056. end;
  12057. procedure TI2C1_I2C1CON.clearON; inline;
  12058. begin
  12059. pTDefRegMap(@Self)^.clr := $00008000;
  12060. end;
  12061. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  12062. begin
  12063. if thebits = 0 then
  12064. pTDefRegMap(@Self)^.clr := $00008000
  12065. else
  12066. pTDefRegMap(@Self)^.&set := $00008000;
  12067. end;
  12068. function TI2C1_I2C1CON.getON : TBits_1; inline;
  12069. begin
  12070. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12071. end;
  12072. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  12073. begin
  12074. pTDefRegMap(@Self)^.&set := $00000800;
  12075. end;
  12076. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  12077. begin
  12078. pTDefRegMap(@Self)^.clr := $00000800;
  12079. end;
  12080. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  12081. begin
  12082. if thebits = 0 then
  12083. pTDefRegMap(@Self)^.clr := $00000800
  12084. else
  12085. pTDefRegMap(@Self)^.&set := $00000800;
  12086. end;
  12087. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  12088. begin
  12089. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12090. end;
  12091. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  12092. begin
  12093. pTDefRegMap(@Self)^.&set := $00002000;
  12094. end;
  12095. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  12096. begin
  12097. pTDefRegMap(@Self)^.clr := $00002000;
  12098. end;
  12099. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  12100. begin
  12101. if thebits = 0 then
  12102. pTDefRegMap(@Self)^.clr := $00002000
  12103. else
  12104. pTDefRegMap(@Self)^.&set := $00002000;
  12105. end;
  12106. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  12107. begin
  12108. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12109. end;
  12110. procedure TI2C1_I2C1CON.setI2CEN; inline;
  12111. begin
  12112. pTDefRegMap(@Self)^.&set := $00008000;
  12113. end;
  12114. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  12115. begin
  12116. pTDefRegMap(@Self)^.clr := $00008000;
  12117. end;
  12118. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  12119. begin
  12120. if thebits = 0 then
  12121. pTDefRegMap(@Self)^.clr := $00008000
  12122. else
  12123. pTDefRegMap(@Self)^.&set := $00008000;
  12124. end;
  12125. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  12126. begin
  12127. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12128. end;
  12129. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  12130. begin
  12131. pTDefRegMap(@Self)^.val := thebits;
  12132. end;
  12133. function TI2C1_I2C1CON.getw : TBits_32; inline;
  12134. begin
  12135. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12136. end;
  12137. procedure TI2C1_I2C1STAT.setTBF; inline;
  12138. begin
  12139. pTDefRegMap(@Self)^.&set := $00000001;
  12140. end;
  12141. procedure TI2C1_I2C1STAT.clearTBF; inline;
  12142. begin
  12143. pTDefRegMap(@Self)^.clr := $00000001;
  12144. end;
  12145. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  12146. begin
  12147. if thebits = 0 then
  12148. pTDefRegMap(@Self)^.clr := $00000001
  12149. else
  12150. pTDefRegMap(@Self)^.&set := $00000001;
  12151. end;
  12152. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  12153. begin
  12154. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12155. end;
  12156. procedure TI2C1_I2C1STAT.setRBF; inline;
  12157. begin
  12158. pTDefRegMap(@Self)^.&set := $00000002;
  12159. end;
  12160. procedure TI2C1_I2C1STAT.clearRBF; inline;
  12161. begin
  12162. pTDefRegMap(@Self)^.clr := $00000002;
  12163. end;
  12164. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  12165. begin
  12166. if thebits = 0 then
  12167. pTDefRegMap(@Self)^.clr := $00000002
  12168. else
  12169. pTDefRegMap(@Self)^.&set := $00000002;
  12170. end;
  12171. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  12172. begin
  12173. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12174. end;
  12175. procedure TI2C1_I2C1STAT.setR_W; inline;
  12176. begin
  12177. pTDefRegMap(@Self)^.&set := $00000004;
  12178. end;
  12179. procedure TI2C1_I2C1STAT.clearR_W; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.clr := $00000004;
  12182. end;
  12183. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  12184. begin
  12185. if thebits = 0 then
  12186. pTDefRegMap(@Self)^.clr := $00000004
  12187. else
  12188. pTDefRegMap(@Self)^.&set := $00000004;
  12189. end;
  12190. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  12191. begin
  12192. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12193. end;
  12194. procedure TI2C1_I2C1STAT.setS; inline;
  12195. begin
  12196. pTDefRegMap(@Self)^.&set := $00000008;
  12197. end;
  12198. procedure TI2C1_I2C1STAT.clearS; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.clr := $00000008;
  12201. end;
  12202. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  12203. begin
  12204. if thebits = 0 then
  12205. pTDefRegMap(@Self)^.clr := $00000008
  12206. else
  12207. pTDefRegMap(@Self)^.&set := $00000008;
  12208. end;
  12209. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  12210. begin
  12211. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12212. end;
  12213. procedure TI2C1_I2C1STAT.setP; inline;
  12214. begin
  12215. pTDefRegMap(@Self)^.&set := $00000010;
  12216. end;
  12217. procedure TI2C1_I2C1STAT.clearP; inline;
  12218. begin
  12219. pTDefRegMap(@Self)^.clr := $00000010;
  12220. end;
  12221. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  12222. begin
  12223. if thebits = 0 then
  12224. pTDefRegMap(@Self)^.clr := $00000010
  12225. else
  12226. pTDefRegMap(@Self)^.&set := $00000010;
  12227. end;
  12228. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  12229. begin
  12230. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12231. end;
  12232. procedure TI2C1_I2C1STAT.setD_A; inline;
  12233. begin
  12234. pTDefRegMap(@Self)^.&set := $00000020;
  12235. end;
  12236. procedure TI2C1_I2C1STAT.clearD_A; inline;
  12237. begin
  12238. pTDefRegMap(@Self)^.clr := $00000020;
  12239. end;
  12240. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  12241. begin
  12242. if thebits = 0 then
  12243. pTDefRegMap(@Self)^.clr := $00000020
  12244. else
  12245. pTDefRegMap(@Self)^.&set := $00000020;
  12246. end;
  12247. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  12248. begin
  12249. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12250. end;
  12251. procedure TI2C1_I2C1STAT.setI2COV; inline;
  12252. begin
  12253. pTDefRegMap(@Self)^.&set := $00000040;
  12254. end;
  12255. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  12256. begin
  12257. pTDefRegMap(@Self)^.clr := $00000040;
  12258. end;
  12259. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  12260. begin
  12261. if thebits = 0 then
  12262. pTDefRegMap(@Self)^.clr := $00000040
  12263. else
  12264. pTDefRegMap(@Self)^.&set := $00000040;
  12265. end;
  12266. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  12267. begin
  12268. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12269. end;
  12270. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  12271. begin
  12272. pTDefRegMap(@Self)^.&set := $00000080;
  12273. end;
  12274. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  12275. begin
  12276. pTDefRegMap(@Self)^.clr := $00000080;
  12277. end;
  12278. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  12279. begin
  12280. if thebits = 0 then
  12281. pTDefRegMap(@Self)^.clr := $00000080
  12282. else
  12283. pTDefRegMap(@Self)^.&set := $00000080;
  12284. end;
  12285. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  12286. begin
  12287. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12288. end;
  12289. procedure TI2C1_I2C1STAT.setADD10; inline;
  12290. begin
  12291. pTDefRegMap(@Self)^.&set := $00000100;
  12292. end;
  12293. procedure TI2C1_I2C1STAT.clearADD10; inline;
  12294. begin
  12295. pTDefRegMap(@Self)^.clr := $00000100;
  12296. end;
  12297. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  12298. begin
  12299. if thebits = 0 then
  12300. pTDefRegMap(@Self)^.clr := $00000100
  12301. else
  12302. pTDefRegMap(@Self)^.&set := $00000100;
  12303. end;
  12304. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  12305. begin
  12306. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12307. end;
  12308. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  12309. begin
  12310. pTDefRegMap(@Self)^.&set := $00000200;
  12311. end;
  12312. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  12313. begin
  12314. pTDefRegMap(@Self)^.clr := $00000200;
  12315. end;
  12316. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  12317. begin
  12318. if thebits = 0 then
  12319. pTDefRegMap(@Self)^.clr := $00000200
  12320. else
  12321. pTDefRegMap(@Self)^.&set := $00000200;
  12322. end;
  12323. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  12324. begin
  12325. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12326. end;
  12327. procedure TI2C1_I2C1STAT.setBCL; inline;
  12328. begin
  12329. pTDefRegMap(@Self)^.&set := $00000400;
  12330. end;
  12331. procedure TI2C1_I2C1STAT.clearBCL; inline;
  12332. begin
  12333. pTDefRegMap(@Self)^.clr := $00000400;
  12334. end;
  12335. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  12336. begin
  12337. if thebits = 0 then
  12338. pTDefRegMap(@Self)^.clr := $00000400
  12339. else
  12340. pTDefRegMap(@Self)^.&set := $00000400;
  12341. end;
  12342. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  12343. begin
  12344. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12345. end;
  12346. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  12347. begin
  12348. pTDefRegMap(@Self)^.&set := $00004000;
  12349. end;
  12350. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  12351. begin
  12352. pTDefRegMap(@Self)^.clr := $00004000;
  12353. end;
  12354. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  12355. begin
  12356. if thebits = 0 then
  12357. pTDefRegMap(@Self)^.clr := $00004000
  12358. else
  12359. pTDefRegMap(@Self)^.&set := $00004000;
  12360. end;
  12361. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  12362. begin
  12363. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12364. end;
  12365. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  12366. begin
  12367. pTDefRegMap(@Self)^.&set := $00008000;
  12368. end;
  12369. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  12370. begin
  12371. pTDefRegMap(@Self)^.clr := $00008000;
  12372. end;
  12373. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  12374. begin
  12375. if thebits = 0 then
  12376. pTDefRegMap(@Self)^.clr := $00008000
  12377. else
  12378. pTDefRegMap(@Self)^.&set := $00008000;
  12379. end;
  12380. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  12381. begin
  12382. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12383. end;
  12384. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  12385. begin
  12386. pTDefRegMap(@Self)^.&set := $00000040;
  12387. end;
  12388. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  12389. begin
  12390. pTDefRegMap(@Self)^.clr := $00000040;
  12391. end;
  12392. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  12393. begin
  12394. if thebits = 0 then
  12395. pTDefRegMap(@Self)^.clr := $00000040
  12396. else
  12397. pTDefRegMap(@Self)^.&set := $00000040;
  12398. end;
  12399. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  12400. begin
  12401. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12402. end;
  12403. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  12404. begin
  12405. pTDefRegMap(@Self)^.val := thebits;
  12406. end;
  12407. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  12408. begin
  12409. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12410. end;
  12411. procedure TI2C2_I2C2CON.setSEN; inline;
  12412. begin
  12413. pTDefRegMap(@Self)^.&set := $00000001;
  12414. end;
  12415. procedure TI2C2_I2C2CON.clearSEN; inline;
  12416. begin
  12417. pTDefRegMap(@Self)^.clr := $00000001;
  12418. end;
  12419. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  12420. begin
  12421. if thebits = 0 then
  12422. pTDefRegMap(@Self)^.clr := $00000001
  12423. else
  12424. pTDefRegMap(@Self)^.&set := $00000001;
  12425. end;
  12426. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  12427. begin
  12428. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12429. end;
  12430. procedure TI2C2_I2C2CON.setRSEN; inline;
  12431. begin
  12432. pTDefRegMap(@Self)^.&set := $00000002;
  12433. end;
  12434. procedure TI2C2_I2C2CON.clearRSEN; inline;
  12435. begin
  12436. pTDefRegMap(@Self)^.clr := $00000002;
  12437. end;
  12438. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  12439. begin
  12440. if thebits = 0 then
  12441. pTDefRegMap(@Self)^.clr := $00000002
  12442. else
  12443. pTDefRegMap(@Self)^.&set := $00000002;
  12444. end;
  12445. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  12446. begin
  12447. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12448. end;
  12449. procedure TI2C2_I2C2CON.setPEN; inline;
  12450. begin
  12451. pTDefRegMap(@Self)^.&set := $00000004;
  12452. end;
  12453. procedure TI2C2_I2C2CON.clearPEN; inline;
  12454. begin
  12455. pTDefRegMap(@Self)^.clr := $00000004;
  12456. end;
  12457. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  12458. begin
  12459. if thebits = 0 then
  12460. pTDefRegMap(@Self)^.clr := $00000004
  12461. else
  12462. pTDefRegMap(@Self)^.&set := $00000004;
  12463. end;
  12464. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  12465. begin
  12466. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12467. end;
  12468. procedure TI2C2_I2C2CON.setRCEN; inline;
  12469. begin
  12470. pTDefRegMap(@Self)^.&set := $00000008;
  12471. end;
  12472. procedure TI2C2_I2C2CON.clearRCEN; inline;
  12473. begin
  12474. pTDefRegMap(@Self)^.clr := $00000008;
  12475. end;
  12476. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  12477. begin
  12478. if thebits = 0 then
  12479. pTDefRegMap(@Self)^.clr := $00000008
  12480. else
  12481. pTDefRegMap(@Self)^.&set := $00000008;
  12482. end;
  12483. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  12484. begin
  12485. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12486. end;
  12487. procedure TI2C2_I2C2CON.setACKEN; inline;
  12488. begin
  12489. pTDefRegMap(@Self)^.&set := $00000010;
  12490. end;
  12491. procedure TI2C2_I2C2CON.clearACKEN; inline;
  12492. begin
  12493. pTDefRegMap(@Self)^.clr := $00000010;
  12494. end;
  12495. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  12496. begin
  12497. if thebits = 0 then
  12498. pTDefRegMap(@Self)^.clr := $00000010
  12499. else
  12500. pTDefRegMap(@Self)^.&set := $00000010;
  12501. end;
  12502. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  12503. begin
  12504. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12505. end;
  12506. procedure TI2C2_I2C2CON.setACKDT; inline;
  12507. begin
  12508. pTDefRegMap(@Self)^.&set := $00000020;
  12509. end;
  12510. procedure TI2C2_I2C2CON.clearACKDT; inline;
  12511. begin
  12512. pTDefRegMap(@Self)^.clr := $00000020;
  12513. end;
  12514. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  12515. begin
  12516. if thebits = 0 then
  12517. pTDefRegMap(@Self)^.clr := $00000020
  12518. else
  12519. pTDefRegMap(@Self)^.&set := $00000020;
  12520. end;
  12521. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  12522. begin
  12523. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12524. end;
  12525. procedure TI2C2_I2C2CON.setSTREN; inline;
  12526. begin
  12527. pTDefRegMap(@Self)^.&set := $00000040;
  12528. end;
  12529. procedure TI2C2_I2C2CON.clearSTREN; inline;
  12530. begin
  12531. pTDefRegMap(@Self)^.clr := $00000040;
  12532. end;
  12533. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  12534. begin
  12535. if thebits = 0 then
  12536. pTDefRegMap(@Self)^.clr := $00000040
  12537. else
  12538. pTDefRegMap(@Self)^.&set := $00000040;
  12539. end;
  12540. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  12541. begin
  12542. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12543. end;
  12544. procedure TI2C2_I2C2CON.setGCEN; inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.&set := $00000080;
  12547. end;
  12548. procedure TI2C2_I2C2CON.clearGCEN; inline;
  12549. begin
  12550. pTDefRegMap(@Self)^.clr := $00000080;
  12551. end;
  12552. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  12553. begin
  12554. if thebits = 0 then
  12555. pTDefRegMap(@Self)^.clr := $00000080
  12556. else
  12557. pTDefRegMap(@Self)^.&set := $00000080;
  12558. end;
  12559. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  12560. begin
  12561. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12562. end;
  12563. procedure TI2C2_I2C2CON.setSMEN; inline;
  12564. begin
  12565. pTDefRegMap(@Self)^.&set := $00000100;
  12566. end;
  12567. procedure TI2C2_I2C2CON.clearSMEN; inline;
  12568. begin
  12569. pTDefRegMap(@Self)^.clr := $00000100;
  12570. end;
  12571. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  12572. begin
  12573. if thebits = 0 then
  12574. pTDefRegMap(@Self)^.clr := $00000100
  12575. else
  12576. pTDefRegMap(@Self)^.&set := $00000100;
  12577. end;
  12578. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  12579. begin
  12580. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12581. end;
  12582. procedure TI2C2_I2C2CON.setDISSLW; inline;
  12583. begin
  12584. pTDefRegMap(@Self)^.&set := $00000200;
  12585. end;
  12586. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  12587. begin
  12588. pTDefRegMap(@Self)^.clr := $00000200;
  12589. end;
  12590. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  12591. begin
  12592. if thebits = 0 then
  12593. pTDefRegMap(@Self)^.clr := $00000200
  12594. else
  12595. pTDefRegMap(@Self)^.&set := $00000200;
  12596. end;
  12597. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  12598. begin
  12599. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12600. end;
  12601. procedure TI2C2_I2C2CON.setA10M; inline;
  12602. begin
  12603. pTDefRegMap(@Self)^.&set := $00000400;
  12604. end;
  12605. procedure TI2C2_I2C2CON.clearA10M; inline;
  12606. begin
  12607. pTDefRegMap(@Self)^.clr := $00000400;
  12608. end;
  12609. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  12610. begin
  12611. if thebits = 0 then
  12612. pTDefRegMap(@Self)^.clr := $00000400
  12613. else
  12614. pTDefRegMap(@Self)^.&set := $00000400;
  12615. end;
  12616. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  12617. begin
  12618. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12619. end;
  12620. procedure TI2C2_I2C2CON.setSTRICT; inline;
  12621. begin
  12622. pTDefRegMap(@Self)^.&set := $00000800;
  12623. end;
  12624. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  12625. begin
  12626. pTDefRegMap(@Self)^.clr := $00000800;
  12627. end;
  12628. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  12629. begin
  12630. if thebits = 0 then
  12631. pTDefRegMap(@Self)^.clr := $00000800
  12632. else
  12633. pTDefRegMap(@Self)^.&set := $00000800;
  12634. end;
  12635. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  12636. begin
  12637. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12638. end;
  12639. procedure TI2C2_I2C2CON.setSCLREL; inline;
  12640. begin
  12641. pTDefRegMap(@Self)^.&set := $00001000;
  12642. end;
  12643. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  12644. begin
  12645. pTDefRegMap(@Self)^.clr := $00001000;
  12646. end;
  12647. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  12648. begin
  12649. if thebits = 0 then
  12650. pTDefRegMap(@Self)^.clr := $00001000
  12651. else
  12652. pTDefRegMap(@Self)^.&set := $00001000;
  12653. end;
  12654. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  12655. begin
  12656. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12657. end;
  12658. procedure TI2C2_I2C2CON.setSIDL; inline;
  12659. begin
  12660. pTDefRegMap(@Self)^.&set := $00002000;
  12661. end;
  12662. procedure TI2C2_I2C2CON.clearSIDL; inline;
  12663. begin
  12664. pTDefRegMap(@Self)^.clr := $00002000;
  12665. end;
  12666. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  12667. begin
  12668. if thebits = 0 then
  12669. pTDefRegMap(@Self)^.clr := $00002000
  12670. else
  12671. pTDefRegMap(@Self)^.&set := $00002000;
  12672. end;
  12673. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  12674. begin
  12675. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12676. end;
  12677. procedure TI2C2_I2C2CON.setON; inline;
  12678. begin
  12679. pTDefRegMap(@Self)^.&set := $00008000;
  12680. end;
  12681. procedure TI2C2_I2C2CON.clearON; inline;
  12682. begin
  12683. pTDefRegMap(@Self)^.clr := $00008000;
  12684. end;
  12685. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  12686. begin
  12687. if thebits = 0 then
  12688. pTDefRegMap(@Self)^.clr := $00008000
  12689. else
  12690. pTDefRegMap(@Self)^.&set := $00008000;
  12691. end;
  12692. function TI2C2_I2C2CON.getON : TBits_1; inline;
  12693. begin
  12694. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12695. end;
  12696. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  12697. begin
  12698. pTDefRegMap(@Self)^.&set := $00000800;
  12699. end;
  12700. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  12701. begin
  12702. pTDefRegMap(@Self)^.clr := $00000800;
  12703. end;
  12704. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  12705. begin
  12706. if thebits = 0 then
  12707. pTDefRegMap(@Self)^.clr := $00000800
  12708. else
  12709. pTDefRegMap(@Self)^.&set := $00000800;
  12710. end;
  12711. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  12712. begin
  12713. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12714. end;
  12715. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  12716. begin
  12717. pTDefRegMap(@Self)^.&set := $00002000;
  12718. end;
  12719. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  12720. begin
  12721. pTDefRegMap(@Self)^.clr := $00002000;
  12722. end;
  12723. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  12724. begin
  12725. if thebits = 0 then
  12726. pTDefRegMap(@Self)^.clr := $00002000
  12727. else
  12728. pTDefRegMap(@Self)^.&set := $00002000;
  12729. end;
  12730. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  12731. begin
  12732. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12733. end;
  12734. procedure TI2C2_I2C2CON.setI2CEN; inline;
  12735. begin
  12736. pTDefRegMap(@Self)^.&set := $00008000;
  12737. end;
  12738. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  12739. begin
  12740. pTDefRegMap(@Self)^.clr := $00008000;
  12741. end;
  12742. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  12743. begin
  12744. if thebits = 0 then
  12745. pTDefRegMap(@Self)^.clr := $00008000
  12746. else
  12747. pTDefRegMap(@Self)^.&set := $00008000;
  12748. end;
  12749. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  12750. begin
  12751. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12752. end;
  12753. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  12754. begin
  12755. pTDefRegMap(@Self)^.val := thebits;
  12756. end;
  12757. function TI2C2_I2C2CON.getw : TBits_32; inline;
  12758. begin
  12759. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12760. end;
  12761. procedure TI2C2_I2C2STAT.setTBF; inline;
  12762. begin
  12763. pTDefRegMap(@Self)^.&set := $00000001;
  12764. end;
  12765. procedure TI2C2_I2C2STAT.clearTBF; inline;
  12766. begin
  12767. pTDefRegMap(@Self)^.clr := $00000001;
  12768. end;
  12769. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  12770. begin
  12771. if thebits = 0 then
  12772. pTDefRegMap(@Self)^.clr := $00000001
  12773. else
  12774. pTDefRegMap(@Self)^.&set := $00000001;
  12775. end;
  12776. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  12777. begin
  12778. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12779. end;
  12780. procedure TI2C2_I2C2STAT.setRBF; inline;
  12781. begin
  12782. pTDefRegMap(@Self)^.&set := $00000002;
  12783. end;
  12784. procedure TI2C2_I2C2STAT.clearRBF; inline;
  12785. begin
  12786. pTDefRegMap(@Self)^.clr := $00000002;
  12787. end;
  12788. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  12789. begin
  12790. if thebits = 0 then
  12791. pTDefRegMap(@Self)^.clr := $00000002
  12792. else
  12793. pTDefRegMap(@Self)^.&set := $00000002;
  12794. end;
  12795. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  12796. begin
  12797. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12798. end;
  12799. procedure TI2C2_I2C2STAT.setR_W; inline;
  12800. begin
  12801. pTDefRegMap(@Self)^.&set := $00000004;
  12802. end;
  12803. procedure TI2C2_I2C2STAT.clearR_W; inline;
  12804. begin
  12805. pTDefRegMap(@Self)^.clr := $00000004;
  12806. end;
  12807. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  12808. begin
  12809. if thebits = 0 then
  12810. pTDefRegMap(@Self)^.clr := $00000004
  12811. else
  12812. pTDefRegMap(@Self)^.&set := $00000004;
  12813. end;
  12814. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  12815. begin
  12816. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12817. end;
  12818. procedure TI2C2_I2C2STAT.setS; inline;
  12819. begin
  12820. pTDefRegMap(@Self)^.&set := $00000008;
  12821. end;
  12822. procedure TI2C2_I2C2STAT.clearS; inline;
  12823. begin
  12824. pTDefRegMap(@Self)^.clr := $00000008;
  12825. end;
  12826. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  12827. begin
  12828. if thebits = 0 then
  12829. pTDefRegMap(@Self)^.clr := $00000008
  12830. else
  12831. pTDefRegMap(@Self)^.&set := $00000008;
  12832. end;
  12833. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  12834. begin
  12835. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12836. end;
  12837. procedure TI2C2_I2C2STAT.setP; inline;
  12838. begin
  12839. pTDefRegMap(@Self)^.&set := $00000010;
  12840. end;
  12841. procedure TI2C2_I2C2STAT.clearP; inline;
  12842. begin
  12843. pTDefRegMap(@Self)^.clr := $00000010;
  12844. end;
  12845. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  12846. begin
  12847. if thebits = 0 then
  12848. pTDefRegMap(@Self)^.clr := $00000010
  12849. else
  12850. pTDefRegMap(@Self)^.&set := $00000010;
  12851. end;
  12852. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  12853. begin
  12854. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12855. end;
  12856. procedure TI2C2_I2C2STAT.setD_A; inline;
  12857. begin
  12858. pTDefRegMap(@Self)^.&set := $00000020;
  12859. end;
  12860. procedure TI2C2_I2C2STAT.clearD_A; inline;
  12861. begin
  12862. pTDefRegMap(@Self)^.clr := $00000020;
  12863. end;
  12864. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  12865. begin
  12866. if thebits = 0 then
  12867. pTDefRegMap(@Self)^.clr := $00000020
  12868. else
  12869. pTDefRegMap(@Self)^.&set := $00000020;
  12870. end;
  12871. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  12872. begin
  12873. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12874. end;
  12875. procedure TI2C2_I2C2STAT.setI2COV; inline;
  12876. begin
  12877. pTDefRegMap(@Self)^.&set := $00000040;
  12878. end;
  12879. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  12880. begin
  12881. pTDefRegMap(@Self)^.clr := $00000040;
  12882. end;
  12883. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  12884. begin
  12885. if thebits = 0 then
  12886. pTDefRegMap(@Self)^.clr := $00000040
  12887. else
  12888. pTDefRegMap(@Self)^.&set := $00000040;
  12889. end;
  12890. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  12891. begin
  12892. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12893. end;
  12894. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  12895. begin
  12896. pTDefRegMap(@Self)^.&set := $00000080;
  12897. end;
  12898. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  12899. begin
  12900. pTDefRegMap(@Self)^.clr := $00000080;
  12901. end;
  12902. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  12903. begin
  12904. if thebits = 0 then
  12905. pTDefRegMap(@Self)^.clr := $00000080
  12906. else
  12907. pTDefRegMap(@Self)^.&set := $00000080;
  12908. end;
  12909. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  12910. begin
  12911. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12912. end;
  12913. procedure TI2C2_I2C2STAT.setADD10; inline;
  12914. begin
  12915. pTDefRegMap(@Self)^.&set := $00000100;
  12916. end;
  12917. procedure TI2C2_I2C2STAT.clearADD10; inline;
  12918. begin
  12919. pTDefRegMap(@Self)^.clr := $00000100;
  12920. end;
  12921. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  12922. begin
  12923. if thebits = 0 then
  12924. pTDefRegMap(@Self)^.clr := $00000100
  12925. else
  12926. pTDefRegMap(@Self)^.&set := $00000100;
  12927. end;
  12928. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  12929. begin
  12930. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12931. end;
  12932. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  12933. begin
  12934. pTDefRegMap(@Self)^.&set := $00000200;
  12935. end;
  12936. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  12937. begin
  12938. pTDefRegMap(@Self)^.clr := $00000200;
  12939. end;
  12940. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  12941. begin
  12942. if thebits = 0 then
  12943. pTDefRegMap(@Self)^.clr := $00000200
  12944. else
  12945. pTDefRegMap(@Self)^.&set := $00000200;
  12946. end;
  12947. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  12948. begin
  12949. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12950. end;
  12951. procedure TI2C2_I2C2STAT.setBCL; inline;
  12952. begin
  12953. pTDefRegMap(@Self)^.&set := $00000400;
  12954. end;
  12955. procedure TI2C2_I2C2STAT.clearBCL; inline;
  12956. begin
  12957. pTDefRegMap(@Self)^.clr := $00000400;
  12958. end;
  12959. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  12960. begin
  12961. if thebits = 0 then
  12962. pTDefRegMap(@Self)^.clr := $00000400
  12963. else
  12964. pTDefRegMap(@Self)^.&set := $00000400;
  12965. end;
  12966. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  12967. begin
  12968. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12969. end;
  12970. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  12971. begin
  12972. pTDefRegMap(@Self)^.&set := $00004000;
  12973. end;
  12974. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  12975. begin
  12976. pTDefRegMap(@Self)^.clr := $00004000;
  12977. end;
  12978. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  12979. begin
  12980. if thebits = 0 then
  12981. pTDefRegMap(@Self)^.clr := $00004000
  12982. else
  12983. pTDefRegMap(@Self)^.&set := $00004000;
  12984. end;
  12985. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  12986. begin
  12987. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12988. end;
  12989. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  12990. begin
  12991. pTDefRegMap(@Self)^.&set := $00008000;
  12992. end;
  12993. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  12994. begin
  12995. pTDefRegMap(@Self)^.clr := $00008000;
  12996. end;
  12997. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  12998. begin
  12999. if thebits = 0 then
  13000. pTDefRegMap(@Self)^.clr := $00008000
  13001. else
  13002. pTDefRegMap(@Self)^.&set := $00008000;
  13003. end;
  13004. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  13005. begin
  13006. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13007. end;
  13008. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  13009. begin
  13010. pTDefRegMap(@Self)^.&set := $00000040;
  13011. end;
  13012. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  13013. begin
  13014. pTDefRegMap(@Self)^.clr := $00000040;
  13015. end;
  13016. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  13017. begin
  13018. if thebits = 0 then
  13019. pTDefRegMap(@Self)^.clr := $00000040
  13020. else
  13021. pTDefRegMap(@Self)^.&set := $00000040;
  13022. end;
  13023. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  13024. begin
  13025. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13026. end;
  13027. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  13028. begin
  13029. pTDefRegMap(@Self)^.val := thebits;
  13030. end;
  13031. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  13032. begin
  13033. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13034. end;
  13035. procedure TSPI2_SPI2CON.setMSTEN; inline;
  13036. begin
  13037. pTDefRegMap(@Self)^.&set := $00000020;
  13038. end;
  13039. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  13040. begin
  13041. pTDefRegMap(@Self)^.clr := $00000020;
  13042. end;
  13043. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  13044. begin
  13045. if thebits = 0 then
  13046. pTDefRegMap(@Self)^.clr := $00000020
  13047. else
  13048. pTDefRegMap(@Self)^.&set := $00000020;
  13049. end;
  13050. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  13051. begin
  13052. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13053. end;
  13054. procedure TSPI2_SPI2CON.setCKP; inline;
  13055. begin
  13056. pTDefRegMap(@Self)^.&set := $00000040;
  13057. end;
  13058. procedure TSPI2_SPI2CON.clearCKP; inline;
  13059. begin
  13060. pTDefRegMap(@Self)^.clr := $00000040;
  13061. end;
  13062. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  13063. begin
  13064. if thebits = 0 then
  13065. pTDefRegMap(@Self)^.clr := $00000040
  13066. else
  13067. pTDefRegMap(@Self)^.&set := $00000040;
  13068. end;
  13069. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  13070. begin
  13071. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13072. end;
  13073. procedure TSPI2_SPI2CON.setSSEN; inline;
  13074. begin
  13075. pTDefRegMap(@Self)^.&set := $00000080;
  13076. end;
  13077. procedure TSPI2_SPI2CON.clearSSEN; inline;
  13078. begin
  13079. pTDefRegMap(@Self)^.clr := $00000080;
  13080. end;
  13081. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  13082. begin
  13083. if thebits = 0 then
  13084. pTDefRegMap(@Self)^.clr := $00000080
  13085. else
  13086. pTDefRegMap(@Self)^.&set := $00000080;
  13087. end;
  13088. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  13089. begin
  13090. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13091. end;
  13092. procedure TSPI2_SPI2CON.setCKE; inline;
  13093. begin
  13094. pTDefRegMap(@Self)^.&set := $00000100;
  13095. end;
  13096. procedure TSPI2_SPI2CON.clearCKE; inline;
  13097. begin
  13098. pTDefRegMap(@Self)^.clr := $00000100;
  13099. end;
  13100. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  13101. begin
  13102. if thebits = 0 then
  13103. pTDefRegMap(@Self)^.clr := $00000100
  13104. else
  13105. pTDefRegMap(@Self)^.&set := $00000100;
  13106. end;
  13107. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  13108. begin
  13109. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13110. end;
  13111. procedure TSPI2_SPI2CON.setSMP; inline;
  13112. begin
  13113. pTDefRegMap(@Self)^.&set := $00000200;
  13114. end;
  13115. procedure TSPI2_SPI2CON.clearSMP; inline;
  13116. begin
  13117. pTDefRegMap(@Self)^.clr := $00000200;
  13118. end;
  13119. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  13120. begin
  13121. if thebits = 0 then
  13122. pTDefRegMap(@Self)^.clr := $00000200
  13123. else
  13124. pTDefRegMap(@Self)^.&set := $00000200;
  13125. end;
  13126. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  13127. begin
  13128. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13129. end;
  13130. procedure TSPI2_SPI2CON.setMODE16; inline;
  13131. begin
  13132. pTDefRegMap(@Self)^.&set := $00000400;
  13133. end;
  13134. procedure TSPI2_SPI2CON.clearMODE16; inline;
  13135. begin
  13136. pTDefRegMap(@Self)^.clr := $00000400;
  13137. end;
  13138. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  13139. begin
  13140. if thebits = 0 then
  13141. pTDefRegMap(@Self)^.clr := $00000400
  13142. else
  13143. pTDefRegMap(@Self)^.&set := $00000400;
  13144. end;
  13145. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  13146. begin
  13147. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13148. end;
  13149. procedure TSPI2_SPI2CON.setMODE32; inline;
  13150. begin
  13151. pTDefRegMap(@Self)^.&set := $00000800;
  13152. end;
  13153. procedure TSPI2_SPI2CON.clearMODE32; inline;
  13154. begin
  13155. pTDefRegMap(@Self)^.clr := $00000800;
  13156. end;
  13157. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  13158. begin
  13159. if thebits = 0 then
  13160. pTDefRegMap(@Self)^.clr := $00000800
  13161. else
  13162. pTDefRegMap(@Self)^.&set := $00000800;
  13163. end;
  13164. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  13165. begin
  13166. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13167. end;
  13168. procedure TSPI2_SPI2CON.setDISSDO; inline;
  13169. begin
  13170. pTDefRegMap(@Self)^.&set := $00001000;
  13171. end;
  13172. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  13173. begin
  13174. pTDefRegMap(@Self)^.clr := $00001000;
  13175. end;
  13176. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  13177. begin
  13178. if thebits = 0 then
  13179. pTDefRegMap(@Self)^.clr := $00001000
  13180. else
  13181. pTDefRegMap(@Self)^.&set := $00001000;
  13182. end;
  13183. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  13184. begin
  13185. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13186. end;
  13187. procedure TSPI2_SPI2CON.setSIDL; inline;
  13188. begin
  13189. pTDefRegMap(@Self)^.&set := $00002000;
  13190. end;
  13191. procedure TSPI2_SPI2CON.clearSIDL; inline;
  13192. begin
  13193. pTDefRegMap(@Self)^.clr := $00002000;
  13194. end;
  13195. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  13196. begin
  13197. if thebits = 0 then
  13198. pTDefRegMap(@Self)^.clr := $00002000
  13199. else
  13200. pTDefRegMap(@Self)^.&set := $00002000;
  13201. end;
  13202. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  13203. begin
  13204. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13205. end;
  13206. procedure TSPI2_SPI2CON.setON; inline;
  13207. begin
  13208. pTDefRegMap(@Self)^.&set := $00008000;
  13209. end;
  13210. procedure TSPI2_SPI2CON.clearON; inline;
  13211. begin
  13212. pTDefRegMap(@Self)^.clr := $00008000;
  13213. end;
  13214. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  13215. begin
  13216. if thebits = 0 then
  13217. pTDefRegMap(@Self)^.clr := $00008000
  13218. else
  13219. pTDefRegMap(@Self)^.&set := $00008000;
  13220. end;
  13221. function TSPI2_SPI2CON.getON : TBits_1; inline;
  13222. begin
  13223. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13224. end;
  13225. procedure TSPI2_SPI2CON.setSPIFE; inline;
  13226. begin
  13227. pTDefRegMap(@Self)^.&set := $00020000;
  13228. end;
  13229. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  13230. begin
  13231. pTDefRegMap(@Self)^.clr := $00020000;
  13232. end;
  13233. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  13234. begin
  13235. if thebits = 0 then
  13236. pTDefRegMap(@Self)^.clr := $00020000
  13237. else
  13238. pTDefRegMap(@Self)^.&set := $00020000;
  13239. end;
  13240. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  13241. begin
  13242. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  13243. end;
  13244. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  13245. begin
  13246. pTDefRegMap(@Self)^.&set := $20000000;
  13247. end;
  13248. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  13249. begin
  13250. pTDefRegMap(@Self)^.clr := $20000000;
  13251. end;
  13252. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  13253. begin
  13254. if thebits = 0 then
  13255. pTDefRegMap(@Self)^.clr := $20000000
  13256. else
  13257. pTDefRegMap(@Self)^.&set := $20000000;
  13258. end;
  13259. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  13260. begin
  13261. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  13262. end;
  13263. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  13264. begin
  13265. pTDefRegMap(@Self)^.&set := $40000000;
  13266. end;
  13267. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  13268. begin
  13269. pTDefRegMap(@Self)^.clr := $40000000;
  13270. end;
  13271. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  13272. begin
  13273. if thebits = 0 then
  13274. pTDefRegMap(@Self)^.clr := $40000000
  13275. else
  13276. pTDefRegMap(@Self)^.&set := $40000000;
  13277. end;
  13278. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  13279. begin
  13280. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  13281. end;
  13282. procedure TSPI2_SPI2CON.setFRMEN; inline;
  13283. begin
  13284. pTDefRegMap(@Self)^.&set := $80000000;
  13285. end;
  13286. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.clr := $80000000;
  13289. end;
  13290. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  13291. begin
  13292. if thebits = 0 then
  13293. pTDefRegMap(@Self)^.clr := $80000000
  13294. else
  13295. pTDefRegMap(@Self)^.&set := $80000000;
  13296. end;
  13297. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  13298. begin
  13299. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  13300. end;
  13301. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  13302. begin
  13303. pTDefRegMap(@Self)^.val := thebits;
  13304. end;
  13305. function TSPI2_SPI2CON.getw : TBits_32; inline;
  13306. begin
  13307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13308. end;
  13309. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  13310. begin
  13311. pTDefRegMap(@Self)^.&set := $00000001;
  13312. end;
  13313. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  13314. begin
  13315. pTDefRegMap(@Self)^.clr := $00000001;
  13316. end;
  13317. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  13318. begin
  13319. if thebits = 0 then
  13320. pTDefRegMap(@Self)^.clr := $00000001
  13321. else
  13322. pTDefRegMap(@Self)^.&set := $00000001;
  13323. end;
  13324. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  13325. begin
  13326. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13327. end;
  13328. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  13329. begin
  13330. pTDefRegMap(@Self)^.&set := $00000008;
  13331. end;
  13332. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  13333. begin
  13334. pTDefRegMap(@Self)^.clr := $00000008;
  13335. end;
  13336. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  13337. begin
  13338. if thebits = 0 then
  13339. pTDefRegMap(@Self)^.clr := $00000008
  13340. else
  13341. pTDefRegMap(@Self)^.&set := $00000008;
  13342. end;
  13343. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  13344. begin
  13345. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13346. end;
  13347. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  13348. begin
  13349. pTDefRegMap(@Self)^.&set := $00000040;
  13350. end;
  13351. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  13352. begin
  13353. pTDefRegMap(@Self)^.clr := $00000040;
  13354. end;
  13355. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  13356. begin
  13357. if thebits = 0 then
  13358. pTDefRegMap(@Self)^.clr := $00000040
  13359. else
  13360. pTDefRegMap(@Self)^.&set := $00000040;
  13361. end;
  13362. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  13363. begin
  13364. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13365. end;
  13366. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.&set := $00000800;
  13369. end;
  13370. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  13371. begin
  13372. pTDefRegMap(@Self)^.clr := $00000800;
  13373. end;
  13374. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  13375. begin
  13376. if thebits = 0 then
  13377. pTDefRegMap(@Self)^.clr := $00000800
  13378. else
  13379. pTDefRegMap(@Self)^.&set := $00000800;
  13380. end;
  13381. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  13382. begin
  13383. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13384. end;
  13385. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  13386. begin
  13387. pTDefRegMap(@Self)^.val := thebits;
  13388. end;
  13389. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  13390. begin
  13391. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13392. end;
  13393. procedure TUART1_U1MODE.setSTSEL; inline;
  13394. begin
  13395. pTDefRegMap(@Self)^.&set := $00000001;
  13396. end;
  13397. procedure TUART1_U1MODE.clearSTSEL; inline;
  13398. begin
  13399. pTDefRegMap(@Self)^.clr := $00000001;
  13400. end;
  13401. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  13402. begin
  13403. if thebits = 0 then
  13404. pTDefRegMap(@Self)^.clr := $00000001
  13405. else
  13406. pTDefRegMap(@Self)^.&set := $00000001;
  13407. end;
  13408. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  13409. begin
  13410. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13411. end;
  13412. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  13413. begin
  13414. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  13415. end;
  13416. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  13417. begin
  13418. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  13419. end;
  13420. procedure TUART1_U1MODE.setBRGH; inline;
  13421. begin
  13422. pTDefRegMap(@Self)^.&set := $00000008;
  13423. end;
  13424. procedure TUART1_U1MODE.clearBRGH; inline;
  13425. begin
  13426. pTDefRegMap(@Self)^.clr := $00000008;
  13427. end;
  13428. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  13429. begin
  13430. if thebits = 0 then
  13431. pTDefRegMap(@Self)^.clr := $00000008
  13432. else
  13433. pTDefRegMap(@Self)^.&set := $00000008;
  13434. end;
  13435. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  13436. begin
  13437. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13438. end;
  13439. procedure TUART1_U1MODE.setRXINV; inline;
  13440. begin
  13441. pTDefRegMap(@Self)^.&set := $00000010;
  13442. end;
  13443. procedure TUART1_U1MODE.clearRXINV; inline;
  13444. begin
  13445. pTDefRegMap(@Self)^.clr := $00000010;
  13446. end;
  13447. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  13448. begin
  13449. if thebits = 0 then
  13450. pTDefRegMap(@Self)^.clr := $00000010
  13451. else
  13452. pTDefRegMap(@Self)^.&set := $00000010;
  13453. end;
  13454. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  13455. begin
  13456. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13457. end;
  13458. procedure TUART1_U1MODE.setABAUD; inline;
  13459. begin
  13460. pTDefRegMap(@Self)^.&set := $00000020;
  13461. end;
  13462. procedure TUART1_U1MODE.clearABAUD; inline;
  13463. begin
  13464. pTDefRegMap(@Self)^.clr := $00000020;
  13465. end;
  13466. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  13467. begin
  13468. if thebits = 0 then
  13469. pTDefRegMap(@Self)^.clr := $00000020
  13470. else
  13471. pTDefRegMap(@Self)^.&set := $00000020;
  13472. end;
  13473. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  13474. begin
  13475. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13476. end;
  13477. procedure TUART1_U1MODE.setLPBACK; inline;
  13478. begin
  13479. pTDefRegMap(@Self)^.&set := $00000040;
  13480. end;
  13481. procedure TUART1_U1MODE.clearLPBACK; inline;
  13482. begin
  13483. pTDefRegMap(@Self)^.clr := $00000040;
  13484. end;
  13485. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  13486. begin
  13487. if thebits = 0 then
  13488. pTDefRegMap(@Self)^.clr := $00000040
  13489. else
  13490. pTDefRegMap(@Self)^.&set := $00000040;
  13491. end;
  13492. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  13493. begin
  13494. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13495. end;
  13496. procedure TUART1_U1MODE.setWAKE; inline;
  13497. begin
  13498. pTDefRegMap(@Self)^.&set := $00000080;
  13499. end;
  13500. procedure TUART1_U1MODE.clearWAKE; inline;
  13501. begin
  13502. pTDefRegMap(@Self)^.clr := $00000080;
  13503. end;
  13504. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  13505. begin
  13506. if thebits = 0 then
  13507. pTDefRegMap(@Self)^.clr := $00000080
  13508. else
  13509. pTDefRegMap(@Self)^.&set := $00000080;
  13510. end;
  13511. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  13512. begin
  13513. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13514. end;
  13515. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  13516. begin
  13517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  13518. end;
  13519. function TUART1_U1MODE.getUEN : TBits_2; inline;
  13520. begin
  13521. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  13522. end;
  13523. procedure TUART1_U1MODE.setRTSMD; inline;
  13524. begin
  13525. pTDefRegMap(@Self)^.&set := $00000800;
  13526. end;
  13527. procedure TUART1_U1MODE.clearRTSMD; inline;
  13528. begin
  13529. pTDefRegMap(@Self)^.clr := $00000800;
  13530. end;
  13531. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  13532. begin
  13533. if thebits = 0 then
  13534. pTDefRegMap(@Self)^.clr := $00000800
  13535. else
  13536. pTDefRegMap(@Self)^.&set := $00000800;
  13537. end;
  13538. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  13539. begin
  13540. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13541. end;
  13542. procedure TUART1_U1MODE.setIREN; inline;
  13543. begin
  13544. pTDefRegMap(@Self)^.&set := $00001000;
  13545. end;
  13546. procedure TUART1_U1MODE.clearIREN; inline;
  13547. begin
  13548. pTDefRegMap(@Self)^.clr := $00001000;
  13549. end;
  13550. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  13551. begin
  13552. if thebits = 0 then
  13553. pTDefRegMap(@Self)^.clr := $00001000
  13554. else
  13555. pTDefRegMap(@Self)^.&set := $00001000;
  13556. end;
  13557. function TUART1_U1MODE.getIREN : TBits_1; inline;
  13558. begin
  13559. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13560. end;
  13561. procedure TUART1_U1MODE.setSIDL; inline;
  13562. begin
  13563. pTDefRegMap(@Self)^.&set := $00002000;
  13564. end;
  13565. procedure TUART1_U1MODE.clearSIDL; inline;
  13566. begin
  13567. pTDefRegMap(@Self)^.clr := $00002000;
  13568. end;
  13569. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  13570. begin
  13571. if thebits = 0 then
  13572. pTDefRegMap(@Self)^.clr := $00002000
  13573. else
  13574. pTDefRegMap(@Self)^.&set := $00002000;
  13575. end;
  13576. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  13577. begin
  13578. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13579. end;
  13580. procedure TUART1_U1MODE.setON; inline;
  13581. begin
  13582. pTDefRegMap(@Self)^.&set := $00008000;
  13583. end;
  13584. procedure TUART1_U1MODE.clearON; inline;
  13585. begin
  13586. pTDefRegMap(@Self)^.clr := $00008000;
  13587. end;
  13588. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  13589. begin
  13590. if thebits = 0 then
  13591. pTDefRegMap(@Self)^.clr := $00008000
  13592. else
  13593. pTDefRegMap(@Self)^.&set := $00008000;
  13594. end;
  13595. function TUART1_U1MODE.getON : TBits_1; inline;
  13596. begin
  13597. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13598. end;
  13599. procedure TUART1_U1MODE.setPDSEL0; inline;
  13600. begin
  13601. pTDefRegMap(@Self)^.&set := $00000002;
  13602. end;
  13603. procedure TUART1_U1MODE.clearPDSEL0; inline;
  13604. begin
  13605. pTDefRegMap(@Self)^.clr := $00000002;
  13606. end;
  13607. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  13608. begin
  13609. if thebits = 0 then
  13610. pTDefRegMap(@Self)^.clr := $00000002
  13611. else
  13612. pTDefRegMap(@Self)^.&set := $00000002;
  13613. end;
  13614. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  13615. begin
  13616. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13617. end;
  13618. procedure TUART1_U1MODE.setPDSEL1; inline;
  13619. begin
  13620. pTDefRegMap(@Self)^.&set := $00000004;
  13621. end;
  13622. procedure TUART1_U1MODE.clearPDSEL1; inline;
  13623. begin
  13624. pTDefRegMap(@Self)^.clr := $00000004;
  13625. end;
  13626. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  13627. begin
  13628. if thebits = 0 then
  13629. pTDefRegMap(@Self)^.clr := $00000004
  13630. else
  13631. pTDefRegMap(@Self)^.&set := $00000004;
  13632. end;
  13633. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  13634. begin
  13635. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13636. end;
  13637. procedure TUART1_U1MODE.setUEN0; inline;
  13638. begin
  13639. pTDefRegMap(@Self)^.&set := $00000100;
  13640. end;
  13641. procedure TUART1_U1MODE.clearUEN0; inline;
  13642. begin
  13643. pTDefRegMap(@Self)^.clr := $00000100;
  13644. end;
  13645. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  13646. begin
  13647. if thebits = 0 then
  13648. pTDefRegMap(@Self)^.clr := $00000100
  13649. else
  13650. pTDefRegMap(@Self)^.&set := $00000100;
  13651. end;
  13652. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  13653. begin
  13654. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13655. end;
  13656. procedure TUART1_U1MODE.setUEN1; inline;
  13657. begin
  13658. pTDefRegMap(@Self)^.&set := $00000200;
  13659. end;
  13660. procedure TUART1_U1MODE.clearUEN1; inline;
  13661. begin
  13662. pTDefRegMap(@Self)^.clr := $00000200;
  13663. end;
  13664. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  13665. begin
  13666. if thebits = 0 then
  13667. pTDefRegMap(@Self)^.clr := $00000200
  13668. else
  13669. pTDefRegMap(@Self)^.&set := $00000200;
  13670. end;
  13671. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  13672. begin
  13673. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13674. end;
  13675. procedure TUART1_U1MODE.setUSIDL; inline;
  13676. begin
  13677. pTDefRegMap(@Self)^.&set := $00002000;
  13678. end;
  13679. procedure TUART1_U1MODE.clearUSIDL; inline;
  13680. begin
  13681. pTDefRegMap(@Self)^.clr := $00002000;
  13682. end;
  13683. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  13684. begin
  13685. if thebits = 0 then
  13686. pTDefRegMap(@Self)^.clr := $00002000
  13687. else
  13688. pTDefRegMap(@Self)^.&set := $00002000;
  13689. end;
  13690. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  13691. begin
  13692. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13693. end;
  13694. procedure TUART1_U1MODE.setUARTEN; inline;
  13695. begin
  13696. pTDefRegMap(@Self)^.&set := $00008000;
  13697. end;
  13698. procedure TUART1_U1MODE.clearUARTEN; inline;
  13699. begin
  13700. pTDefRegMap(@Self)^.clr := $00008000;
  13701. end;
  13702. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  13703. begin
  13704. if thebits = 0 then
  13705. pTDefRegMap(@Self)^.clr := $00008000
  13706. else
  13707. pTDefRegMap(@Self)^.&set := $00008000;
  13708. end;
  13709. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  13710. begin
  13711. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13712. end;
  13713. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  13714. begin
  13715. pTDefRegMap(@Self)^.val := thebits;
  13716. end;
  13717. function TUART1_U1MODE.getw : TBits_32; inline;
  13718. begin
  13719. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13720. end;
  13721. procedure TUART1_U1STA.setURXDA; inline;
  13722. begin
  13723. pTDefRegMap(@Self)^.&set := $00000001;
  13724. end;
  13725. procedure TUART1_U1STA.clearURXDA; inline;
  13726. begin
  13727. pTDefRegMap(@Self)^.clr := $00000001;
  13728. end;
  13729. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  13730. begin
  13731. if thebits = 0 then
  13732. pTDefRegMap(@Self)^.clr := $00000001
  13733. else
  13734. pTDefRegMap(@Self)^.&set := $00000001;
  13735. end;
  13736. function TUART1_U1STA.getURXDA : TBits_1; inline;
  13737. begin
  13738. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13739. end;
  13740. procedure TUART1_U1STA.setOERR; inline;
  13741. begin
  13742. pTDefRegMap(@Self)^.&set := $00000002;
  13743. end;
  13744. procedure TUART1_U1STA.clearOERR; inline;
  13745. begin
  13746. pTDefRegMap(@Self)^.clr := $00000002;
  13747. end;
  13748. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  13749. begin
  13750. if thebits = 0 then
  13751. pTDefRegMap(@Self)^.clr := $00000002
  13752. else
  13753. pTDefRegMap(@Self)^.&set := $00000002;
  13754. end;
  13755. function TUART1_U1STA.getOERR : TBits_1; inline;
  13756. begin
  13757. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13758. end;
  13759. procedure TUART1_U1STA.setFERR; inline;
  13760. begin
  13761. pTDefRegMap(@Self)^.&set := $00000004;
  13762. end;
  13763. procedure TUART1_U1STA.clearFERR; inline;
  13764. begin
  13765. pTDefRegMap(@Self)^.clr := $00000004;
  13766. end;
  13767. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  13768. begin
  13769. if thebits = 0 then
  13770. pTDefRegMap(@Self)^.clr := $00000004
  13771. else
  13772. pTDefRegMap(@Self)^.&set := $00000004;
  13773. end;
  13774. function TUART1_U1STA.getFERR : TBits_1; inline;
  13775. begin
  13776. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13777. end;
  13778. procedure TUART1_U1STA.setPERR; inline;
  13779. begin
  13780. pTDefRegMap(@Self)^.&set := $00000008;
  13781. end;
  13782. procedure TUART1_U1STA.clearPERR; inline;
  13783. begin
  13784. pTDefRegMap(@Self)^.clr := $00000008;
  13785. end;
  13786. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  13787. begin
  13788. if thebits = 0 then
  13789. pTDefRegMap(@Self)^.clr := $00000008
  13790. else
  13791. pTDefRegMap(@Self)^.&set := $00000008;
  13792. end;
  13793. function TUART1_U1STA.getPERR : TBits_1; inline;
  13794. begin
  13795. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13796. end;
  13797. procedure TUART1_U1STA.setRIDLE; inline;
  13798. begin
  13799. pTDefRegMap(@Self)^.&set := $00000010;
  13800. end;
  13801. procedure TUART1_U1STA.clearRIDLE; inline;
  13802. begin
  13803. pTDefRegMap(@Self)^.clr := $00000010;
  13804. end;
  13805. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  13806. begin
  13807. if thebits = 0 then
  13808. pTDefRegMap(@Self)^.clr := $00000010
  13809. else
  13810. pTDefRegMap(@Self)^.&set := $00000010;
  13811. end;
  13812. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  13813. begin
  13814. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13815. end;
  13816. procedure TUART1_U1STA.setADDEN; inline;
  13817. begin
  13818. pTDefRegMap(@Self)^.&set := $00000020;
  13819. end;
  13820. procedure TUART1_U1STA.clearADDEN; inline;
  13821. begin
  13822. pTDefRegMap(@Self)^.clr := $00000020;
  13823. end;
  13824. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  13825. begin
  13826. if thebits = 0 then
  13827. pTDefRegMap(@Self)^.clr := $00000020
  13828. else
  13829. pTDefRegMap(@Self)^.&set := $00000020;
  13830. end;
  13831. function TUART1_U1STA.getADDEN : TBits_1; inline;
  13832. begin
  13833. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13834. end;
  13835. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  13836. begin
  13837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13838. end;
  13839. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  13840. begin
  13841. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13842. end;
  13843. procedure TUART1_U1STA.setTRMT; inline;
  13844. begin
  13845. pTDefRegMap(@Self)^.&set := $00000100;
  13846. end;
  13847. procedure TUART1_U1STA.clearTRMT; inline;
  13848. begin
  13849. pTDefRegMap(@Self)^.clr := $00000100;
  13850. end;
  13851. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  13852. begin
  13853. if thebits = 0 then
  13854. pTDefRegMap(@Self)^.clr := $00000100
  13855. else
  13856. pTDefRegMap(@Self)^.&set := $00000100;
  13857. end;
  13858. function TUART1_U1STA.getTRMT : TBits_1; inline;
  13859. begin
  13860. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13861. end;
  13862. procedure TUART1_U1STA.setUTXBF; inline;
  13863. begin
  13864. pTDefRegMap(@Self)^.&set := $00000200;
  13865. end;
  13866. procedure TUART1_U1STA.clearUTXBF; inline;
  13867. begin
  13868. pTDefRegMap(@Self)^.clr := $00000200;
  13869. end;
  13870. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  13871. begin
  13872. if thebits = 0 then
  13873. pTDefRegMap(@Self)^.clr := $00000200
  13874. else
  13875. pTDefRegMap(@Self)^.&set := $00000200;
  13876. end;
  13877. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  13878. begin
  13879. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13880. end;
  13881. procedure TUART1_U1STA.setUTXEN; inline;
  13882. begin
  13883. pTDefRegMap(@Self)^.&set := $00000400;
  13884. end;
  13885. procedure TUART1_U1STA.clearUTXEN; inline;
  13886. begin
  13887. pTDefRegMap(@Self)^.clr := $00000400;
  13888. end;
  13889. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  13890. begin
  13891. if thebits = 0 then
  13892. pTDefRegMap(@Self)^.clr := $00000400
  13893. else
  13894. pTDefRegMap(@Self)^.&set := $00000400;
  13895. end;
  13896. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  13897. begin
  13898. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13899. end;
  13900. procedure TUART1_U1STA.setUTXBRK; inline;
  13901. begin
  13902. pTDefRegMap(@Self)^.&set := $00000800;
  13903. end;
  13904. procedure TUART1_U1STA.clearUTXBRK; inline;
  13905. begin
  13906. pTDefRegMap(@Self)^.clr := $00000800;
  13907. end;
  13908. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  13909. begin
  13910. if thebits = 0 then
  13911. pTDefRegMap(@Self)^.clr := $00000800
  13912. else
  13913. pTDefRegMap(@Self)^.&set := $00000800;
  13914. end;
  13915. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  13916. begin
  13917. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13918. end;
  13919. procedure TUART1_U1STA.setURXEN; inline;
  13920. begin
  13921. pTDefRegMap(@Self)^.&set := $00001000;
  13922. end;
  13923. procedure TUART1_U1STA.clearURXEN; inline;
  13924. begin
  13925. pTDefRegMap(@Self)^.clr := $00001000;
  13926. end;
  13927. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  13928. begin
  13929. if thebits = 0 then
  13930. pTDefRegMap(@Self)^.clr := $00001000
  13931. else
  13932. pTDefRegMap(@Self)^.&set := $00001000;
  13933. end;
  13934. function TUART1_U1STA.getURXEN : TBits_1; inline;
  13935. begin
  13936. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13937. end;
  13938. procedure TUART1_U1STA.setUTXINV; inline;
  13939. begin
  13940. pTDefRegMap(@Self)^.&set := $00002000;
  13941. end;
  13942. procedure TUART1_U1STA.clearUTXINV; inline;
  13943. begin
  13944. pTDefRegMap(@Self)^.clr := $00002000;
  13945. end;
  13946. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  13947. begin
  13948. if thebits = 0 then
  13949. pTDefRegMap(@Self)^.clr := $00002000
  13950. else
  13951. pTDefRegMap(@Self)^.&set := $00002000;
  13952. end;
  13953. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  13954. begin
  13955. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13956. end;
  13957. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  13958. begin
  13959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13960. end;
  13961. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  13962. begin
  13963. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13964. end;
  13965. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  13966. begin
  13967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  13968. end;
  13969. function TUART1_U1STA.getADDR : TBits_8; inline;
  13970. begin
  13971. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  13972. end;
  13973. procedure TUART1_U1STA.setADM_EN; inline;
  13974. begin
  13975. pTDefRegMap(@Self)^.&set := $01000000;
  13976. end;
  13977. procedure TUART1_U1STA.clearADM_EN; inline;
  13978. begin
  13979. pTDefRegMap(@Self)^.clr := $01000000;
  13980. end;
  13981. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  13982. begin
  13983. if thebits = 0 then
  13984. pTDefRegMap(@Self)^.clr := $01000000
  13985. else
  13986. pTDefRegMap(@Self)^.&set := $01000000;
  13987. end;
  13988. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  13989. begin
  13990. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  13991. end;
  13992. procedure TUART1_U1STA.setURXISEL0; inline;
  13993. begin
  13994. pTDefRegMap(@Self)^.&set := $00000040;
  13995. end;
  13996. procedure TUART1_U1STA.clearURXISEL0; inline;
  13997. begin
  13998. pTDefRegMap(@Self)^.clr := $00000040;
  13999. end;
  14000. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  14001. begin
  14002. if thebits = 0 then
  14003. pTDefRegMap(@Self)^.clr := $00000040
  14004. else
  14005. pTDefRegMap(@Self)^.&set := $00000040;
  14006. end;
  14007. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  14008. begin
  14009. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14010. end;
  14011. procedure TUART1_U1STA.setURXISEL1; inline;
  14012. begin
  14013. pTDefRegMap(@Self)^.&set := $00000080;
  14014. end;
  14015. procedure TUART1_U1STA.clearURXISEL1; inline;
  14016. begin
  14017. pTDefRegMap(@Self)^.clr := $00000080;
  14018. end;
  14019. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  14020. begin
  14021. if thebits = 0 then
  14022. pTDefRegMap(@Self)^.clr := $00000080
  14023. else
  14024. pTDefRegMap(@Self)^.&set := $00000080;
  14025. end;
  14026. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  14027. begin
  14028. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14029. end;
  14030. procedure TUART1_U1STA.setUTXISEL0; inline;
  14031. begin
  14032. pTDefRegMap(@Self)^.&set := $00004000;
  14033. end;
  14034. procedure TUART1_U1STA.clearUTXISEL0; inline;
  14035. begin
  14036. pTDefRegMap(@Self)^.clr := $00004000;
  14037. end;
  14038. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  14039. begin
  14040. if thebits = 0 then
  14041. pTDefRegMap(@Self)^.clr := $00004000
  14042. else
  14043. pTDefRegMap(@Self)^.&set := $00004000;
  14044. end;
  14045. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  14046. begin
  14047. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14048. end;
  14049. procedure TUART1_U1STA.setUTXISEL1; inline;
  14050. begin
  14051. pTDefRegMap(@Self)^.&set := $00008000;
  14052. end;
  14053. procedure TUART1_U1STA.clearUTXISEL1; inline;
  14054. begin
  14055. pTDefRegMap(@Self)^.clr := $00008000;
  14056. end;
  14057. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  14058. begin
  14059. if thebits = 0 then
  14060. pTDefRegMap(@Self)^.clr := $00008000
  14061. else
  14062. pTDefRegMap(@Self)^.&set := $00008000;
  14063. end;
  14064. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  14065. begin
  14066. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14067. end;
  14068. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  14069. begin
  14070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14071. end;
  14072. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  14073. begin
  14074. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14075. end;
  14076. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  14077. begin
  14078. pTDefRegMap(@Self)^.val := thebits;
  14079. end;
  14080. function TUART1_U1STA.getw : TBits_32; inline;
  14081. begin
  14082. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14083. end;
  14084. procedure TUART2_U2MODE.setSTSEL; inline;
  14085. begin
  14086. pTDefRegMap(@Self)^.&set := $00000001;
  14087. end;
  14088. procedure TUART2_U2MODE.clearSTSEL; inline;
  14089. begin
  14090. pTDefRegMap(@Self)^.clr := $00000001;
  14091. end;
  14092. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  14093. begin
  14094. if thebits = 0 then
  14095. pTDefRegMap(@Self)^.clr := $00000001
  14096. else
  14097. pTDefRegMap(@Self)^.&set := $00000001;
  14098. end;
  14099. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  14100. begin
  14101. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14102. end;
  14103. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  14104. begin
  14105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  14106. end;
  14107. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  14108. begin
  14109. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  14110. end;
  14111. procedure TUART2_U2MODE.setBRGH; inline;
  14112. begin
  14113. pTDefRegMap(@Self)^.&set := $00000008;
  14114. end;
  14115. procedure TUART2_U2MODE.clearBRGH; inline;
  14116. begin
  14117. pTDefRegMap(@Self)^.clr := $00000008;
  14118. end;
  14119. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  14120. begin
  14121. if thebits = 0 then
  14122. pTDefRegMap(@Self)^.clr := $00000008
  14123. else
  14124. pTDefRegMap(@Self)^.&set := $00000008;
  14125. end;
  14126. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  14127. begin
  14128. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14129. end;
  14130. procedure TUART2_U2MODE.setRXINV; inline;
  14131. begin
  14132. pTDefRegMap(@Self)^.&set := $00000010;
  14133. end;
  14134. procedure TUART2_U2MODE.clearRXINV; inline;
  14135. begin
  14136. pTDefRegMap(@Self)^.clr := $00000010;
  14137. end;
  14138. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  14139. begin
  14140. if thebits = 0 then
  14141. pTDefRegMap(@Self)^.clr := $00000010
  14142. else
  14143. pTDefRegMap(@Self)^.&set := $00000010;
  14144. end;
  14145. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  14146. begin
  14147. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14148. end;
  14149. procedure TUART2_U2MODE.setABAUD; inline;
  14150. begin
  14151. pTDefRegMap(@Self)^.&set := $00000020;
  14152. end;
  14153. procedure TUART2_U2MODE.clearABAUD; inline;
  14154. begin
  14155. pTDefRegMap(@Self)^.clr := $00000020;
  14156. end;
  14157. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  14158. begin
  14159. if thebits = 0 then
  14160. pTDefRegMap(@Self)^.clr := $00000020
  14161. else
  14162. pTDefRegMap(@Self)^.&set := $00000020;
  14163. end;
  14164. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  14165. begin
  14166. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14167. end;
  14168. procedure TUART2_U2MODE.setLPBACK; inline;
  14169. begin
  14170. pTDefRegMap(@Self)^.&set := $00000040;
  14171. end;
  14172. procedure TUART2_U2MODE.clearLPBACK; inline;
  14173. begin
  14174. pTDefRegMap(@Self)^.clr := $00000040;
  14175. end;
  14176. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  14177. begin
  14178. if thebits = 0 then
  14179. pTDefRegMap(@Self)^.clr := $00000040
  14180. else
  14181. pTDefRegMap(@Self)^.&set := $00000040;
  14182. end;
  14183. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  14184. begin
  14185. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14186. end;
  14187. procedure TUART2_U2MODE.setWAKE; inline;
  14188. begin
  14189. pTDefRegMap(@Self)^.&set := $00000080;
  14190. end;
  14191. procedure TUART2_U2MODE.clearWAKE; inline;
  14192. begin
  14193. pTDefRegMap(@Self)^.clr := $00000080;
  14194. end;
  14195. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  14196. begin
  14197. if thebits = 0 then
  14198. pTDefRegMap(@Self)^.clr := $00000080
  14199. else
  14200. pTDefRegMap(@Self)^.&set := $00000080;
  14201. end;
  14202. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  14203. begin
  14204. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14205. end;
  14206. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  14207. begin
  14208. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14209. end;
  14210. function TUART2_U2MODE.getUEN : TBits_2; inline;
  14211. begin
  14212. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14213. end;
  14214. procedure TUART2_U2MODE.setRTSMD; inline;
  14215. begin
  14216. pTDefRegMap(@Self)^.&set := $00000800;
  14217. end;
  14218. procedure TUART2_U2MODE.clearRTSMD; inline;
  14219. begin
  14220. pTDefRegMap(@Self)^.clr := $00000800;
  14221. end;
  14222. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  14223. begin
  14224. if thebits = 0 then
  14225. pTDefRegMap(@Self)^.clr := $00000800
  14226. else
  14227. pTDefRegMap(@Self)^.&set := $00000800;
  14228. end;
  14229. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  14230. begin
  14231. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14232. end;
  14233. procedure TUART2_U2MODE.setIREN; inline;
  14234. begin
  14235. pTDefRegMap(@Self)^.&set := $00001000;
  14236. end;
  14237. procedure TUART2_U2MODE.clearIREN; inline;
  14238. begin
  14239. pTDefRegMap(@Self)^.clr := $00001000;
  14240. end;
  14241. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  14242. begin
  14243. if thebits = 0 then
  14244. pTDefRegMap(@Self)^.clr := $00001000
  14245. else
  14246. pTDefRegMap(@Self)^.&set := $00001000;
  14247. end;
  14248. function TUART2_U2MODE.getIREN : TBits_1; inline;
  14249. begin
  14250. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14251. end;
  14252. procedure TUART2_U2MODE.setSIDL; inline;
  14253. begin
  14254. pTDefRegMap(@Self)^.&set := $00002000;
  14255. end;
  14256. procedure TUART2_U2MODE.clearSIDL; inline;
  14257. begin
  14258. pTDefRegMap(@Self)^.clr := $00002000;
  14259. end;
  14260. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  14261. begin
  14262. if thebits = 0 then
  14263. pTDefRegMap(@Self)^.clr := $00002000
  14264. else
  14265. pTDefRegMap(@Self)^.&set := $00002000;
  14266. end;
  14267. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  14268. begin
  14269. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14270. end;
  14271. procedure TUART2_U2MODE.setON; inline;
  14272. begin
  14273. pTDefRegMap(@Self)^.&set := $00008000;
  14274. end;
  14275. procedure TUART2_U2MODE.clearON; inline;
  14276. begin
  14277. pTDefRegMap(@Self)^.clr := $00008000;
  14278. end;
  14279. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  14280. begin
  14281. if thebits = 0 then
  14282. pTDefRegMap(@Self)^.clr := $00008000
  14283. else
  14284. pTDefRegMap(@Self)^.&set := $00008000;
  14285. end;
  14286. function TUART2_U2MODE.getON : TBits_1; inline;
  14287. begin
  14288. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14289. end;
  14290. procedure TUART2_U2MODE.setPDSEL0; inline;
  14291. begin
  14292. pTDefRegMap(@Self)^.&set := $00000002;
  14293. end;
  14294. procedure TUART2_U2MODE.clearPDSEL0; inline;
  14295. begin
  14296. pTDefRegMap(@Self)^.clr := $00000002;
  14297. end;
  14298. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  14299. begin
  14300. if thebits = 0 then
  14301. pTDefRegMap(@Self)^.clr := $00000002
  14302. else
  14303. pTDefRegMap(@Self)^.&set := $00000002;
  14304. end;
  14305. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  14306. begin
  14307. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14308. end;
  14309. procedure TUART2_U2MODE.setPDSEL1; inline;
  14310. begin
  14311. pTDefRegMap(@Self)^.&set := $00000004;
  14312. end;
  14313. procedure TUART2_U2MODE.clearPDSEL1; inline;
  14314. begin
  14315. pTDefRegMap(@Self)^.clr := $00000004;
  14316. end;
  14317. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  14318. begin
  14319. if thebits = 0 then
  14320. pTDefRegMap(@Self)^.clr := $00000004
  14321. else
  14322. pTDefRegMap(@Self)^.&set := $00000004;
  14323. end;
  14324. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  14325. begin
  14326. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14327. end;
  14328. procedure TUART2_U2MODE.setUEN0; inline;
  14329. begin
  14330. pTDefRegMap(@Self)^.&set := $00000100;
  14331. end;
  14332. procedure TUART2_U2MODE.clearUEN0; inline;
  14333. begin
  14334. pTDefRegMap(@Self)^.clr := $00000100;
  14335. end;
  14336. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  14337. begin
  14338. if thebits = 0 then
  14339. pTDefRegMap(@Self)^.clr := $00000100
  14340. else
  14341. pTDefRegMap(@Self)^.&set := $00000100;
  14342. end;
  14343. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  14344. begin
  14345. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14346. end;
  14347. procedure TUART2_U2MODE.setUEN1; inline;
  14348. begin
  14349. pTDefRegMap(@Self)^.&set := $00000200;
  14350. end;
  14351. procedure TUART2_U2MODE.clearUEN1; inline;
  14352. begin
  14353. pTDefRegMap(@Self)^.clr := $00000200;
  14354. end;
  14355. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  14356. begin
  14357. if thebits = 0 then
  14358. pTDefRegMap(@Self)^.clr := $00000200
  14359. else
  14360. pTDefRegMap(@Self)^.&set := $00000200;
  14361. end;
  14362. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  14363. begin
  14364. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14365. end;
  14366. procedure TUART2_U2MODE.setUSIDL; inline;
  14367. begin
  14368. pTDefRegMap(@Self)^.&set := $00002000;
  14369. end;
  14370. procedure TUART2_U2MODE.clearUSIDL; inline;
  14371. begin
  14372. pTDefRegMap(@Self)^.clr := $00002000;
  14373. end;
  14374. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  14375. begin
  14376. if thebits = 0 then
  14377. pTDefRegMap(@Self)^.clr := $00002000
  14378. else
  14379. pTDefRegMap(@Self)^.&set := $00002000;
  14380. end;
  14381. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  14382. begin
  14383. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14384. end;
  14385. procedure TUART2_U2MODE.setUARTEN; inline;
  14386. begin
  14387. pTDefRegMap(@Self)^.&set := $00008000;
  14388. end;
  14389. procedure TUART2_U2MODE.clearUARTEN; inline;
  14390. begin
  14391. pTDefRegMap(@Self)^.clr := $00008000;
  14392. end;
  14393. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  14394. begin
  14395. if thebits = 0 then
  14396. pTDefRegMap(@Self)^.clr := $00008000
  14397. else
  14398. pTDefRegMap(@Self)^.&set := $00008000;
  14399. end;
  14400. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  14401. begin
  14402. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14403. end;
  14404. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  14405. begin
  14406. pTDefRegMap(@Self)^.val := thebits;
  14407. end;
  14408. function TUART2_U2MODE.getw : TBits_32; inline;
  14409. begin
  14410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14411. end;
  14412. procedure TUART2_U2STA.setURXDA; inline;
  14413. begin
  14414. pTDefRegMap(@Self)^.&set := $00000001;
  14415. end;
  14416. procedure TUART2_U2STA.clearURXDA; inline;
  14417. begin
  14418. pTDefRegMap(@Self)^.clr := $00000001;
  14419. end;
  14420. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  14421. begin
  14422. if thebits = 0 then
  14423. pTDefRegMap(@Self)^.clr := $00000001
  14424. else
  14425. pTDefRegMap(@Self)^.&set := $00000001;
  14426. end;
  14427. function TUART2_U2STA.getURXDA : TBits_1; inline;
  14428. begin
  14429. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14430. end;
  14431. procedure TUART2_U2STA.setOERR; inline;
  14432. begin
  14433. pTDefRegMap(@Self)^.&set := $00000002;
  14434. end;
  14435. procedure TUART2_U2STA.clearOERR; inline;
  14436. begin
  14437. pTDefRegMap(@Self)^.clr := $00000002;
  14438. end;
  14439. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  14440. begin
  14441. if thebits = 0 then
  14442. pTDefRegMap(@Self)^.clr := $00000002
  14443. else
  14444. pTDefRegMap(@Self)^.&set := $00000002;
  14445. end;
  14446. function TUART2_U2STA.getOERR : TBits_1; inline;
  14447. begin
  14448. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14449. end;
  14450. procedure TUART2_U2STA.setFERR; inline;
  14451. begin
  14452. pTDefRegMap(@Self)^.&set := $00000004;
  14453. end;
  14454. procedure TUART2_U2STA.clearFERR; inline;
  14455. begin
  14456. pTDefRegMap(@Self)^.clr := $00000004;
  14457. end;
  14458. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  14459. begin
  14460. if thebits = 0 then
  14461. pTDefRegMap(@Self)^.clr := $00000004
  14462. else
  14463. pTDefRegMap(@Self)^.&set := $00000004;
  14464. end;
  14465. function TUART2_U2STA.getFERR : TBits_1; inline;
  14466. begin
  14467. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14468. end;
  14469. procedure TUART2_U2STA.setPERR; inline;
  14470. begin
  14471. pTDefRegMap(@Self)^.&set := $00000008;
  14472. end;
  14473. procedure TUART2_U2STA.clearPERR; inline;
  14474. begin
  14475. pTDefRegMap(@Self)^.clr := $00000008;
  14476. end;
  14477. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  14478. begin
  14479. if thebits = 0 then
  14480. pTDefRegMap(@Self)^.clr := $00000008
  14481. else
  14482. pTDefRegMap(@Self)^.&set := $00000008;
  14483. end;
  14484. function TUART2_U2STA.getPERR : TBits_1; inline;
  14485. begin
  14486. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14487. end;
  14488. procedure TUART2_U2STA.setRIDLE; inline;
  14489. begin
  14490. pTDefRegMap(@Self)^.&set := $00000010;
  14491. end;
  14492. procedure TUART2_U2STA.clearRIDLE; inline;
  14493. begin
  14494. pTDefRegMap(@Self)^.clr := $00000010;
  14495. end;
  14496. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  14497. begin
  14498. if thebits = 0 then
  14499. pTDefRegMap(@Self)^.clr := $00000010
  14500. else
  14501. pTDefRegMap(@Self)^.&set := $00000010;
  14502. end;
  14503. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  14504. begin
  14505. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14506. end;
  14507. procedure TUART2_U2STA.setADDEN; inline;
  14508. begin
  14509. pTDefRegMap(@Self)^.&set := $00000020;
  14510. end;
  14511. procedure TUART2_U2STA.clearADDEN; inline;
  14512. begin
  14513. pTDefRegMap(@Self)^.clr := $00000020;
  14514. end;
  14515. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  14516. begin
  14517. if thebits = 0 then
  14518. pTDefRegMap(@Self)^.clr := $00000020
  14519. else
  14520. pTDefRegMap(@Self)^.&set := $00000020;
  14521. end;
  14522. function TUART2_U2STA.getADDEN : TBits_1; inline;
  14523. begin
  14524. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14525. end;
  14526. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  14527. begin
  14528. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14529. end;
  14530. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  14531. begin
  14532. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14533. end;
  14534. procedure TUART2_U2STA.setTRMT; inline;
  14535. begin
  14536. pTDefRegMap(@Self)^.&set := $00000100;
  14537. end;
  14538. procedure TUART2_U2STA.clearTRMT; inline;
  14539. begin
  14540. pTDefRegMap(@Self)^.clr := $00000100;
  14541. end;
  14542. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  14543. begin
  14544. if thebits = 0 then
  14545. pTDefRegMap(@Self)^.clr := $00000100
  14546. else
  14547. pTDefRegMap(@Self)^.&set := $00000100;
  14548. end;
  14549. function TUART2_U2STA.getTRMT : TBits_1; inline;
  14550. begin
  14551. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14552. end;
  14553. procedure TUART2_U2STA.setUTXBF; inline;
  14554. begin
  14555. pTDefRegMap(@Self)^.&set := $00000200;
  14556. end;
  14557. procedure TUART2_U2STA.clearUTXBF; inline;
  14558. begin
  14559. pTDefRegMap(@Self)^.clr := $00000200;
  14560. end;
  14561. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  14562. begin
  14563. if thebits = 0 then
  14564. pTDefRegMap(@Self)^.clr := $00000200
  14565. else
  14566. pTDefRegMap(@Self)^.&set := $00000200;
  14567. end;
  14568. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  14569. begin
  14570. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14571. end;
  14572. procedure TUART2_U2STA.setUTXEN; inline;
  14573. begin
  14574. pTDefRegMap(@Self)^.&set := $00000400;
  14575. end;
  14576. procedure TUART2_U2STA.clearUTXEN; inline;
  14577. begin
  14578. pTDefRegMap(@Self)^.clr := $00000400;
  14579. end;
  14580. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  14581. begin
  14582. if thebits = 0 then
  14583. pTDefRegMap(@Self)^.clr := $00000400
  14584. else
  14585. pTDefRegMap(@Self)^.&set := $00000400;
  14586. end;
  14587. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  14588. begin
  14589. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14590. end;
  14591. procedure TUART2_U2STA.setUTXBRK; inline;
  14592. begin
  14593. pTDefRegMap(@Self)^.&set := $00000800;
  14594. end;
  14595. procedure TUART2_U2STA.clearUTXBRK; inline;
  14596. begin
  14597. pTDefRegMap(@Self)^.clr := $00000800;
  14598. end;
  14599. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  14600. begin
  14601. if thebits = 0 then
  14602. pTDefRegMap(@Self)^.clr := $00000800
  14603. else
  14604. pTDefRegMap(@Self)^.&set := $00000800;
  14605. end;
  14606. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  14607. begin
  14608. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14609. end;
  14610. procedure TUART2_U2STA.setURXEN; inline;
  14611. begin
  14612. pTDefRegMap(@Self)^.&set := $00001000;
  14613. end;
  14614. procedure TUART2_U2STA.clearURXEN; inline;
  14615. begin
  14616. pTDefRegMap(@Self)^.clr := $00001000;
  14617. end;
  14618. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  14619. begin
  14620. if thebits = 0 then
  14621. pTDefRegMap(@Self)^.clr := $00001000
  14622. else
  14623. pTDefRegMap(@Self)^.&set := $00001000;
  14624. end;
  14625. function TUART2_U2STA.getURXEN : TBits_1; inline;
  14626. begin
  14627. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14628. end;
  14629. procedure TUART2_U2STA.setUTXINV; inline;
  14630. begin
  14631. pTDefRegMap(@Self)^.&set := $00002000;
  14632. end;
  14633. procedure TUART2_U2STA.clearUTXINV; inline;
  14634. begin
  14635. pTDefRegMap(@Self)^.clr := $00002000;
  14636. end;
  14637. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  14638. begin
  14639. if thebits = 0 then
  14640. pTDefRegMap(@Self)^.clr := $00002000
  14641. else
  14642. pTDefRegMap(@Self)^.&set := $00002000;
  14643. end;
  14644. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  14645. begin
  14646. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14647. end;
  14648. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  14649. begin
  14650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14651. end;
  14652. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  14653. begin
  14654. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14655. end;
  14656. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  14657. begin
  14658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  14659. end;
  14660. function TUART2_U2STA.getADDR : TBits_8; inline;
  14661. begin
  14662. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  14663. end;
  14664. procedure TUART2_U2STA.setADM_EN; inline;
  14665. begin
  14666. pTDefRegMap(@Self)^.&set := $01000000;
  14667. end;
  14668. procedure TUART2_U2STA.clearADM_EN; inline;
  14669. begin
  14670. pTDefRegMap(@Self)^.clr := $01000000;
  14671. end;
  14672. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  14673. begin
  14674. if thebits = 0 then
  14675. pTDefRegMap(@Self)^.clr := $01000000
  14676. else
  14677. pTDefRegMap(@Self)^.&set := $01000000;
  14678. end;
  14679. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  14680. begin
  14681. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  14682. end;
  14683. procedure TUART2_U2STA.setURXISEL0; inline;
  14684. begin
  14685. pTDefRegMap(@Self)^.&set := $00000040;
  14686. end;
  14687. procedure TUART2_U2STA.clearURXISEL0; inline;
  14688. begin
  14689. pTDefRegMap(@Self)^.clr := $00000040;
  14690. end;
  14691. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  14692. begin
  14693. if thebits = 0 then
  14694. pTDefRegMap(@Self)^.clr := $00000040
  14695. else
  14696. pTDefRegMap(@Self)^.&set := $00000040;
  14697. end;
  14698. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  14699. begin
  14700. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14701. end;
  14702. procedure TUART2_U2STA.setURXISEL1; inline;
  14703. begin
  14704. pTDefRegMap(@Self)^.&set := $00000080;
  14705. end;
  14706. procedure TUART2_U2STA.clearURXISEL1; inline;
  14707. begin
  14708. pTDefRegMap(@Self)^.clr := $00000080;
  14709. end;
  14710. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  14711. begin
  14712. if thebits = 0 then
  14713. pTDefRegMap(@Self)^.clr := $00000080
  14714. else
  14715. pTDefRegMap(@Self)^.&set := $00000080;
  14716. end;
  14717. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  14718. begin
  14719. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14720. end;
  14721. procedure TUART2_U2STA.setUTXISEL0; inline;
  14722. begin
  14723. pTDefRegMap(@Self)^.&set := $00004000;
  14724. end;
  14725. procedure TUART2_U2STA.clearUTXISEL0; inline;
  14726. begin
  14727. pTDefRegMap(@Self)^.clr := $00004000;
  14728. end;
  14729. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  14730. begin
  14731. if thebits = 0 then
  14732. pTDefRegMap(@Self)^.clr := $00004000
  14733. else
  14734. pTDefRegMap(@Self)^.&set := $00004000;
  14735. end;
  14736. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  14737. begin
  14738. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14739. end;
  14740. procedure TUART2_U2STA.setUTXISEL1; inline;
  14741. begin
  14742. pTDefRegMap(@Self)^.&set := $00008000;
  14743. end;
  14744. procedure TUART2_U2STA.clearUTXISEL1; inline;
  14745. begin
  14746. pTDefRegMap(@Self)^.clr := $00008000;
  14747. end;
  14748. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  14749. begin
  14750. if thebits = 0 then
  14751. pTDefRegMap(@Self)^.clr := $00008000
  14752. else
  14753. pTDefRegMap(@Self)^.&set := $00008000;
  14754. end;
  14755. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  14756. begin
  14757. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14758. end;
  14759. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  14760. begin
  14761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14762. end;
  14763. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  14764. begin
  14765. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14766. end;
  14767. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  14768. begin
  14769. pTDefRegMap(@Self)^.val := thebits;
  14770. end;
  14771. function TUART2_U2STA.getw : TBits_32; inline;
  14772. begin
  14773. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14774. end;
  14775. procedure TPMP_PMCON.setRDSP; inline;
  14776. begin
  14777. pTDefRegMap(@Self)^.&set := $00000001;
  14778. end;
  14779. procedure TPMP_PMCON.clearRDSP; inline;
  14780. begin
  14781. pTDefRegMap(@Self)^.clr := $00000001;
  14782. end;
  14783. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  14784. begin
  14785. if thebits = 0 then
  14786. pTDefRegMap(@Self)^.clr := $00000001
  14787. else
  14788. pTDefRegMap(@Self)^.&set := $00000001;
  14789. end;
  14790. function TPMP_PMCON.getRDSP : TBits_1; inline;
  14791. begin
  14792. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14793. end;
  14794. procedure TPMP_PMCON.setWRSP; inline;
  14795. begin
  14796. pTDefRegMap(@Self)^.&set := $00000002;
  14797. end;
  14798. procedure TPMP_PMCON.clearWRSP; inline;
  14799. begin
  14800. pTDefRegMap(@Self)^.clr := $00000002;
  14801. end;
  14802. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  14803. begin
  14804. if thebits = 0 then
  14805. pTDefRegMap(@Self)^.clr := $00000002
  14806. else
  14807. pTDefRegMap(@Self)^.&set := $00000002;
  14808. end;
  14809. function TPMP_PMCON.getWRSP : TBits_1; inline;
  14810. begin
  14811. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14812. end;
  14813. procedure TPMP_PMCON.setCS1P; inline;
  14814. begin
  14815. pTDefRegMap(@Self)^.&set := $00000008;
  14816. end;
  14817. procedure TPMP_PMCON.clearCS1P; inline;
  14818. begin
  14819. pTDefRegMap(@Self)^.clr := $00000008;
  14820. end;
  14821. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  14822. begin
  14823. if thebits = 0 then
  14824. pTDefRegMap(@Self)^.clr := $00000008
  14825. else
  14826. pTDefRegMap(@Self)^.&set := $00000008;
  14827. end;
  14828. function TPMP_PMCON.getCS1P : TBits_1; inline;
  14829. begin
  14830. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14831. end;
  14832. procedure TPMP_PMCON.setCS2P; inline;
  14833. begin
  14834. pTDefRegMap(@Self)^.&set := $00000010;
  14835. end;
  14836. procedure TPMP_PMCON.clearCS2P; inline;
  14837. begin
  14838. pTDefRegMap(@Self)^.clr := $00000010;
  14839. end;
  14840. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  14841. begin
  14842. if thebits = 0 then
  14843. pTDefRegMap(@Self)^.clr := $00000010
  14844. else
  14845. pTDefRegMap(@Self)^.&set := $00000010;
  14846. end;
  14847. function TPMP_PMCON.getCS2P : TBits_1; inline;
  14848. begin
  14849. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14850. end;
  14851. procedure TPMP_PMCON.setALP; inline;
  14852. begin
  14853. pTDefRegMap(@Self)^.&set := $00000020;
  14854. end;
  14855. procedure TPMP_PMCON.clearALP; inline;
  14856. begin
  14857. pTDefRegMap(@Self)^.clr := $00000020;
  14858. end;
  14859. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  14860. begin
  14861. if thebits = 0 then
  14862. pTDefRegMap(@Self)^.clr := $00000020
  14863. else
  14864. pTDefRegMap(@Self)^.&set := $00000020;
  14865. end;
  14866. function TPMP_PMCON.getALP : TBits_1; inline;
  14867. begin
  14868. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14869. end;
  14870. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  14871. begin
  14872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14873. end;
  14874. function TPMP_PMCON.getCSF : TBits_2; inline;
  14875. begin
  14876. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14877. end;
  14878. procedure TPMP_PMCON.setPTRDEN; inline;
  14879. begin
  14880. pTDefRegMap(@Self)^.&set := $00000100;
  14881. end;
  14882. procedure TPMP_PMCON.clearPTRDEN; inline;
  14883. begin
  14884. pTDefRegMap(@Self)^.clr := $00000100;
  14885. end;
  14886. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  14887. begin
  14888. if thebits = 0 then
  14889. pTDefRegMap(@Self)^.clr := $00000100
  14890. else
  14891. pTDefRegMap(@Self)^.&set := $00000100;
  14892. end;
  14893. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  14894. begin
  14895. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14896. end;
  14897. procedure TPMP_PMCON.setPTWREN; inline;
  14898. begin
  14899. pTDefRegMap(@Self)^.&set := $00000200;
  14900. end;
  14901. procedure TPMP_PMCON.clearPTWREN; inline;
  14902. begin
  14903. pTDefRegMap(@Self)^.clr := $00000200;
  14904. end;
  14905. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  14906. begin
  14907. if thebits = 0 then
  14908. pTDefRegMap(@Self)^.clr := $00000200
  14909. else
  14910. pTDefRegMap(@Self)^.&set := $00000200;
  14911. end;
  14912. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  14913. begin
  14914. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14915. end;
  14916. procedure TPMP_PMCON.setPMPTTL; inline;
  14917. begin
  14918. pTDefRegMap(@Self)^.&set := $00000400;
  14919. end;
  14920. procedure TPMP_PMCON.clearPMPTTL; inline;
  14921. begin
  14922. pTDefRegMap(@Self)^.clr := $00000400;
  14923. end;
  14924. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  14925. begin
  14926. if thebits = 0 then
  14927. pTDefRegMap(@Self)^.clr := $00000400
  14928. else
  14929. pTDefRegMap(@Self)^.&set := $00000400;
  14930. end;
  14931. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  14932. begin
  14933. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14934. end;
  14935. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  14936. begin
  14937. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  14938. end;
  14939. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  14940. begin
  14941. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  14942. end;
  14943. procedure TPMP_PMCON.setSIDL; inline;
  14944. begin
  14945. pTDefRegMap(@Self)^.&set := $00002000;
  14946. end;
  14947. procedure TPMP_PMCON.clearSIDL; inline;
  14948. begin
  14949. pTDefRegMap(@Self)^.clr := $00002000;
  14950. end;
  14951. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  14952. begin
  14953. if thebits = 0 then
  14954. pTDefRegMap(@Self)^.clr := $00002000
  14955. else
  14956. pTDefRegMap(@Self)^.&set := $00002000;
  14957. end;
  14958. function TPMP_PMCON.getSIDL : TBits_1; inline;
  14959. begin
  14960. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14961. end;
  14962. procedure TPMP_PMCON.setON; inline;
  14963. begin
  14964. pTDefRegMap(@Self)^.&set := $00008000;
  14965. end;
  14966. procedure TPMP_PMCON.clearON; inline;
  14967. begin
  14968. pTDefRegMap(@Self)^.clr := $00008000;
  14969. end;
  14970. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  14971. begin
  14972. if thebits = 0 then
  14973. pTDefRegMap(@Self)^.clr := $00008000
  14974. else
  14975. pTDefRegMap(@Self)^.&set := $00008000;
  14976. end;
  14977. function TPMP_PMCON.getON : TBits_1; inline;
  14978. begin
  14979. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14980. end;
  14981. procedure TPMP_PMCON.setCSF0; inline;
  14982. begin
  14983. pTDefRegMap(@Self)^.&set := $00000040;
  14984. end;
  14985. procedure TPMP_PMCON.clearCSF0; inline;
  14986. begin
  14987. pTDefRegMap(@Self)^.clr := $00000040;
  14988. end;
  14989. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  14990. begin
  14991. if thebits = 0 then
  14992. pTDefRegMap(@Self)^.clr := $00000040
  14993. else
  14994. pTDefRegMap(@Self)^.&set := $00000040;
  14995. end;
  14996. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  14997. begin
  14998. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14999. end;
  15000. procedure TPMP_PMCON.setCSF1; inline;
  15001. begin
  15002. pTDefRegMap(@Self)^.&set := $00000080;
  15003. end;
  15004. procedure TPMP_PMCON.clearCSF1; inline;
  15005. begin
  15006. pTDefRegMap(@Self)^.clr := $00000080;
  15007. end;
  15008. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  15009. begin
  15010. if thebits = 0 then
  15011. pTDefRegMap(@Self)^.clr := $00000080
  15012. else
  15013. pTDefRegMap(@Self)^.&set := $00000080;
  15014. end;
  15015. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  15016. begin
  15017. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15018. end;
  15019. procedure TPMP_PMCON.setADRMUX0; inline;
  15020. begin
  15021. pTDefRegMap(@Self)^.&set := $00000800;
  15022. end;
  15023. procedure TPMP_PMCON.clearADRMUX0; inline;
  15024. begin
  15025. pTDefRegMap(@Self)^.clr := $00000800;
  15026. end;
  15027. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  15028. begin
  15029. if thebits = 0 then
  15030. pTDefRegMap(@Self)^.clr := $00000800
  15031. else
  15032. pTDefRegMap(@Self)^.&set := $00000800;
  15033. end;
  15034. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  15035. begin
  15036. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15037. end;
  15038. procedure TPMP_PMCON.setADRMUX1; inline;
  15039. begin
  15040. pTDefRegMap(@Self)^.&set := $00001000;
  15041. end;
  15042. procedure TPMP_PMCON.clearADRMUX1; inline;
  15043. begin
  15044. pTDefRegMap(@Self)^.clr := $00001000;
  15045. end;
  15046. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  15047. begin
  15048. if thebits = 0 then
  15049. pTDefRegMap(@Self)^.clr := $00001000
  15050. else
  15051. pTDefRegMap(@Self)^.&set := $00001000;
  15052. end;
  15053. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  15054. begin
  15055. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15056. end;
  15057. procedure TPMP_PMCON.setPSIDL; inline;
  15058. begin
  15059. pTDefRegMap(@Self)^.&set := $00002000;
  15060. end;
  15061. procedure TPMP_PMCON.clearPSIDL; inline;
  15062. begin
  15063. pTDefRegMap(@Self)^.clr := $00002000;
  15064. end;
  15065. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  15066. begin
  15067. if thebits = 0 then
  15068. pTDefRegMap(@Self)^.clr := $00002000
  15069. else
  15070. pTDefRegMap(@Self)^.&set := $00002000;
  15071. end;
  15072. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  15073. begin
  15074. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15075. end;
  15076. procedure TPMP_PMCON.setPMPEN; inline;
  15077. begin
  15078. pTDefRegMap(@Self)^.&set := $00008000;
  15079. end;
  15080. procedure TPMP_PMCON.clearPMPEN; inline;
  15081. begin
  15082. pTDefRegMap(@Self)^.clr := $00008000;
  15083. end;
  15084. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  15085. begin
  15086. if thebits = 0 then
  15087. pTDefRegMap(@Self)^.clr := $00008000
  15088. else
  15089. pTDefRegMap(@Self)^.&set := $00008000;
  15090. end;
  15091. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  15092. begin
  15093. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15094. end;
  15095. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.val := thebits;
  15098. end;
  15099. function TPMP_PMCON.getw : TBits_32; inline;
  15100. begin
  15101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15102. end;
  15103. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  15104. begin
  15105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  15106. end;
  15107. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  15108. begin
  15109. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  15110. end;
  15111. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  15112. begin
  15113. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  15114. end;
  15115. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  15116. begin
  15117. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  15118. end;
  15119. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  15120. begin
  15121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15122. end;
  15123. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  15124. begin
  15125. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15126. end;
  15127. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  15128. begin
  15129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  15130. end;
  15131. function TPMP_PMMODE.getMODE : TBits_2; inline;
  15132. begin
  15133. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  15134. end;
  15135. procedure TPMP_PMMODE.setMODE16; inline;
  15136. begin
  15137. pTDefRegMap(@Self)^.&set := $00000400;
  15138. end;
  15139. procedure TPMP_PMMODE.clearMODE16; inline;
  15140. begin
  15141. pTDefRegMap(@Self)^.clr := $00000400;
  15142. end;
  15143. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  15144. begin
  15145. if thebits = 0 then
  15146. pTDefRegMap(@Self)^.clr := $00000400
  15147. else
  15148. pTDefRegMap(@Self)^.&set := $00000400;
  15149. end;
  15150. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  15151. begin
  15152. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15153. end;
  15154. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  15155. begin
  15156. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  15157. end;
  15158. function TPMP_PMMODE.getINCM : TBits_2; inline;
  15159. begin
  15160. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  15161. end;
  15162. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  15163. begin
  15164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  15165. end;
  15166. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  15167. begin
  15168. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  15169. end;
  15170. procedure TPMP_PMMODE.setBUSY; inline;
  15171. begin
  15172. pTDefRegMap(@Self)^.&set := $00008000;
  15173. end;
  15174. procedure TPMP_PMMODE.clearBUSY; inline;
  15175. begin
  15176. pTDefRegMap(@Self)^.clr := $00008000;
  15177. end;
  15178. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  15179. begin
  15180. if thebits = 0 then
  15181. pTDefRegMap(@Self)^.clr := $00008000
  15182. else
  15183. pTDefRegMap(@Self)^.&set := $00008000;
  15184. end;
  15185. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  15186. begin
  15187. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15188. end;
  15189. procedure TPMP_PMMODE.setWAITE0; inline;
  15190. begin
  15191. pTDefRegMap(@Self)^.&set := $00000001;
  15192. end;
  15193. procedure TPMP_PMMODE.clearWAITE0; inline;
  15194. begin
  15195. pTDefRegMap(@Self)^.clr := $00000001;
  15196. end;
  15197. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  15198. begin
  15199. if thebits = 0 then
  15200. pTDefRegMap(@Self)^.clr := $00000001
  15201. else
  15202. pTDefRegMap(@Self)^.&set := $00000001;
  15203. end;
  15204. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  15205. begin
  15206. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15207. end;
  15208. procedure TPMP_PMMODE.setWAITE1; inline;
  15209. begin
  15210. pTDefRegMap(@Self)^.&set := $00000002;
  15211. end;
  15212. procedure TPMP_PMMODE.clearWAITE1; inline;
  15213. begin
  15214. pTDefRegMap(@Self)^.clr := $00000002;
  15215. end;
  15216. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  15217. begin
  15218. if thebits = 0 then
  15219. pTDefRegMap(@Self)^.clr := $00000002
  15220. else
  15221. pTDefRegMap(@Self)^.&set := $00000002;
  15222. end;
  15223. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  15224. begin
  15225. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15226. end;
  15227. procedure TPMP_PMMODE.setWAITM0; inline;
  15228. begin
  15229. pTDefRegMap(@Self)^.&set := $00000004;
  15230. end;
  15231. procedure TPMP_PMMODE.clearWAITM0; inline;
  15232. begin
  15233. pTDefRegMap(@Self)^.clr := $00000004;
  15234. end;
  15235. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  15236. begin
  15237. if thebits = 0 then
  15238. pTDefRegMap(@Self)^.clr := $00000004
  15239. else
  15240. pTDefRegMap(@Self)^.&set := $00000004;
  15241. end;
  15242. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  15243. begin
  15244. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15245. end;
  15246. procedure TPMP_PMMODE.setWAITM1; inline;
  15247. begin
  15248. pTDefRegMap(@Self)^.&set := $00000008;
  15249. end;
  15250. procedure TPMP_PMMODE.clearWAITM1; inline;
  15251. begin
  15252. pTDefRegMap(@Self)^.clr := $00000008;
  15253. end;
  15254. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  15255. begin
  15256. if thebits = 0 then
  15257. pTDefRegMap(@Self)^.clr := $00000008
  15258. else
  15259. pTDefRegMap(@Self)^.&set := $00000008;
  15260. end;
  15261. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  15262. begin
  15263. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15264. end;
  15265. procedure TPMP_PMMODE.setWAITM2; inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.&set := $00000010;
  15268. end;
  15269. procedure TPMP_PMMODE.clearWAITM2; inline;
  15270. begin
  15271. pTDefRegMap(@Self)^.clr := $00000010;
  15272. end;
  15273. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  15274. begin
  15275. if thebits = 0 then
  15276. pTDefRegMap(@Self)^.clr := $00000010
  15277. else
  15278. pTDefRegMap(@Self)^.&set := $00000010;
  15279. end;
  15280. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  15281. begin
  15282. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15283. end;
  15284. procedure TPMP_PMMODE.setWAITM3; inline;
  15285. begin
  15286. pTDefRegMap(@Self)^.&set := $00000020;
  15287. end;
  15288. procedure TPMP_PMMODE.clearWAITM3; inline;
  15289. begin
  15290. pTDefRegMap(@Self)^.clr := $00000020;
  15291. end;
  15292. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  15293. begin
  15294. if thebits = 0 then
  15295. pTDefRegMap(@Self)^.clr := $00000020
  15296. else
  15297. pTDefRegMap(@Self)^.&set := $00000020;
  15298. end;
  15299. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  15300. begin
  15301. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15302. end;
  15303. procedure TPMP_PMMODE.setWAITB0; inline;
  15304. begin
  15305. pTDefRegMap(@Self)^.&set := $00000040;
  15306. end;
  15307. procedure TPMP_PMMODE.clearWAITB0; inline;
  15308. begin
  15309. pTDefRegMap(@Self)^.clr := $00000040;
  15310. end;
  15311. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  15312. begin
  15313. if thebits = 0 then
  15314. pTDefRegMap(@Self)^.clr := $00000040
  15315. else
  15316. pTDefRegMap(@Self)^.&set := $00000040;
  15317. end;
  15318. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  15319. begin
  15320. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15321. end;
  15322. procedure TPMP_PMMODE.setWAITB1; inline;
  15323. begin
  15324. pTDefRegMap(@Self)^.&set := $00000080;
  15325. end;
  15326. procedure TPMP_PMMODE.clearWAITB1; inline;
  15327. begin
  15328. pTDefRegMap(@Self)^.clr := $00000080;
  15329. end;
  15330. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  15331. begin
  15332. if thebits = 0 then
  15333. pTDefRegMap(@Self)^.clr := $00000080
  15334. else
  15335. pTDefRegMap(@Self)^.&set := $00000080;
  15336. end;
  15337. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  15338. begin
  15339. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15340. end;
  15341. procedure TPMP_PMMODE.setMODE0; inline;
  15342. begin
  15343. pTDefRegMap(@Self)^.&set := $00000100;
  15344. end;
  15345. procedure TPMP_PMMODE.clearMODE0; inline;
  15346. begin
  15347. pTDefRegMap(@Self)^.clr := $00000100;
  15348. end;
  15349. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  15350. begin
  15351. if thebits = 0 then
  15352. pTDefRegMap(@Self)^.clr := $00000100
  15353. else
  15354. pTDefRegMap(@Self)^.&set := $00000100;
  15355. end;
  15356. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  15357. begin
  15358. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15359. end;
  15360. procedure TPMP_PMMODE.setMODE1; inline;
  15361. begin
  15362. pTDefRegMap(@Self)^.&set := $00000200;
  15363. end;
  15364. procedure TPMP_PMMODE.clearMODE1; inline;
  15365. begin
  15366. pTDefRegMap(@Self)^.clr := $00000200;
  15367. end;
  15368. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  15369. begin
  15370. if thebits = 0 then
  15371. pTDefRegMap(@Self)^.clr := $00000200
  15372. else
  15373. pTDefRegMap(@Self)^.&set := $00000200;
  15374. end;
  15375. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  15376. begin
  15377. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15378. end;
  15379. procedure TPMP_PMMODE.setINCM0; inline;
  15380. begin
  15381. pTDefRegMap(@Self)^.&set := $00000800;
  15382. end;
  15383. procedure TPMP_PMMODE.clearINCM0; inline;
  15384. begin
  15385. pTDefRegMap(@Self)^.clr := $00000800;
  15386. end;
  15387. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  15388. begin
  15389. if thebits = 0 then
  15390. pTDefRegMap(@Self)^.clr := $00000800
  15391. else
  15392. pTDefRegMap(@Self)^.&set := $00000800;
  15393. end;
  15394. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  15395. begin
  15396. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15397. end;
  15398. procedure TPMP_PMMODE.setINCM1; inline;
  15399. begin
  15400. pTDefRegMap(@Self)^.&set := $00001000;
  15401. end;
  15402. procedure TPMP_PMMODE.clearINCM1; inline;
  15403. begin
  15404. pTDefRegMap(@Self)^.clr := $00001000;
  15405. end;
  15406. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  15407. begin
  15408. if thebits = 0 then
  15409. pTDefRegMap(@Self)^.clr := $00001000
  15410. else
  15411. pTDefRegMap(@Self)^.&set := $00001000;
  15412. end;
  15413. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  15414. begin
  15415. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15416. end;
  15417. procedure TPMP_PMMODE.setIRQM0; inline;
  15418. begin
  15419. pTDefRegMap(@Self)^.&set := $00002000;
  15420. end;
  15421. procedure TPMP_PMMODE.clearIRQM0; inline;
  15422. begin
  15423. pTDefRegMap(@Self)^.clr := $00002000;
  15424. end;
  15425. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  15426. begin
  15427. if thebits = 0 then
  15428. pTDefRegMap(@Self)^.clr := $00002000
  15429. else
  15430. pTDefRegMap(@Self)^.&set := $00002000;
  15431. end;
  15432. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  15433. begin
  15434. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15435. end;
  15436. procedure TPMP_PMMODE.setIRQM1; inline;
  15437. begin
  15438. pTDefRegMap(@Self)^.&set := $00004000;
  15439. end;
  15440. procedure TPMP_PMMODE.clearIRQM1; inline;
  15441. begin
  15442. pTDefRegMap(@Self)^.clr := $00004000;
  15443. end;
  15444. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  15445. begin
  15446. if thebits = 0 then
  15447. pTDefRegMap(@Self)^.clr := $00004000
  15448. else
  15449. pTDefRegMap(@Self)^.&set := $00004000;
  15450. end;
  15451. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  15452. begin
  15453. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15454. end;
  15455. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  15456. begin
  15457. pTDefRegMap(@Self)^.val := thebits;
  15458. end;
  15459. function TPMP_PMMODE.getw : TBits_32; inline;
  15460. begin
  15461. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15462. end;
  15463. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  15464. begin
  15465. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15466. end;
  15467. function TPMP_PMADDR.getADDR : TBits_14; inline;
  15468. begin
  15469. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15470. end;
  15471. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  15472. begin
  15473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15474. end;
  15475. function TPMP_PMADDR.getCS : TBits_2; inline;
  15476. begin
  15477. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15478. end;
  15479. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  15480. begin
  15481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15482. end;
  15483. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  15484. begin
  15485. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15486. end;
  15487. procedure TPMP_PMADDR.setCS1; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.&set := $00004000;
  15490. end;
  15491. procedure TPMP_PMADDR.clearCS1; inline;
  15492. begin
  15493. pTDefRegMap(@Self)^.clr := $00004000;
  15494. end;
  15495. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  15496. begin
  15497. if thebits = 0 then
  15498. pTDefRegMap(@Self)^.clr := $00004000
  15499. else
  15500. pTDefRegMap(@Self)^.&set := $00004000;
  15501. end;
  15502. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  15503. begin
  15504. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15505. end;
  15506. procedure TPMP_PMADDR.setCS2; inline;
  15507. begin
  15508. pTDefRegMap(@Self)^.&set := $00008000;
  15509. end;
  15510. procedure TPMP_PMADDR.clearCS2; inline;
  15511. begin
  15512. pTDefRegMap(@Self)^.clr := $00008000;
  15513. end;
  15514. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  15515. begin
  15516. if thebits = 0 then
  15517. pTDefRegMap(@Self)^.clr := $00008000
  15518. else
  15519. pTDefRegMap(@Self)^.&set := $00008000;
  15520. end;
  15521. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  15522. begin
  15523. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15524. end;
  15525. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  15526. begin
  15527. pTDefRegMap(@Self)^.val := thebits;
  15528. end;
  15529. function TPMP_PMADDR.getw : TBits_32; inline;
  15530. begin
  15531. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15532. end;
  15533. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  15534. begin
  15535. pTDefRegMap(@Self)^.val := thebits;
  15536. end;
  15537. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  15538. begin
  15539. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15540. end;
  15541. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.val := thebits;
  15544. end;
  15545. function TPMP_PMDOUT.getw : TBits_32; inline;
  15546. begin
  15547. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15548. end;
  15549. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  15550. begin
  15551. pTDefRegMap(@Self)^.val := thebits;
  15552. end;
  15553. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  15554. begin
  15555. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15556. end;
  15557. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  15558. begin
  15559. pTDefRegMap(@Self)^.val := thebits;
  15560. end;
  15561. function TPMP_PMDIN.getw : TBits_32; inline;
  15562. begin
  15563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15564. end;
  15565. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  15566. begin
  15567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  15568. end;
  15569. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  15570. begin
  15571. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  15572. end;
  15573. procedure TPMP_PMAEN.setPTEN0; inline;
  15574. begin
  15575. pTDefRegMap(@Self)^.&set := $00000001;
  15576. end;
  15577. procedure TPMP_PMAEN.clearPTEN0; inline;
  15578. begin
  15579. pTDefRegMap(@Self)^.clr := $00000001;
  15580. end;
  15581. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  15582. begin
  15583. if thebits = 0 then
  15584. pTDefRegMap(@Self)^.clr := $00000001
  15585. else
  15586. pTDefRegMap(@Self)^.&set := $00000001;
  15587. end;
  15588. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  15589. begin
  15590. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15591. end;
  15592. procedure TPMP_PMAEN.setPTEN1; inline;
  15593. begin
  15594. pTDefRegMap(@Self)^.&set := $00000002;
  15595. end;
  15596. procedure TPMP_PMAEN.clearPTEN1; inline;
  15597. begin
  15598. pTDefRegMap(@Self)^.clr := $00000002;
  15599. end;
  15600. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  15601. begin
  15602. if thebits = 0 then
  15603. pTDefRegMap(@Self)^.clr := $00000002
  15604. else
  15605. pTDefRegMap(@Self)^.&set := $00000002;
  15606. end;
  15607. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  15608. begin
  15609. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15610. end;
  15611. procedure TPMP_PMAEN.setPTEN2; inline;
  15612. begin
  15613. pTDefRegMap(@Self)^.&set := $00000004;
  15614. end;
  15615. procedure TPMP_PMAEN.clearPTEN2; inline;
  15616. begin
  15617. pTDefRegMap(@Self)^.clr := $00000004;
  15618. end;
  15619. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  15620. begin
  15621. if thebits = 0 then
  15622. pTDefRegMap(@Self)^.clr := $00000004
  15623. else
  15624. pTDefRegMap(@Self)^.&set := $00000004;
  15625. end;
  15626. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  15627. begin
  15628. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15629. end;
  15630. procedure TPMP_PMAEN.setPTEN3; inline;
  15631. begin
  15632. pTDefRegMap(@Self)^.&set := $00000008;
  15633. end;
  15634. procedure TPMP_PMAEN.clearPTEN3; inline;
  15635. begin
  15636. pTDefRegMap(@Self)^.clr := $00000008;
  15637. end;
  15638. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  15639. begin
  15640. if thebits = 0 then
  15641. pTDefRegMap(@Self)^.clr := $00000008
  15642. else
  15643. pTDefRegMap(@Self)^.&set := $00000008;
  15644. end;
  15645. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  15646. begin
  15647. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15648. end;
  15649. procedure TPMP_PMAEN.setPTEN4; inline;
  15650. begin
  15651. pTDefRegMap(@Self)^.&set := $00000010;
  15652. end;
  15653. procedure TPMP_PMAEN.clearPTEN4; inline;
  15654. begin
  15655. pTDefRegMap(@Self)^.clr := $00000010;
  15656. end;
  15657. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  15658. begin
  15659. if thebits = 0 then
  15660. pTDefRegMap(@Self)^.clr := $00000010
  15661. else
  15662. pTDefRegMap(@Self)^.&set := $00000010;
  15663. end;
  15664. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  15665. begin
  15666. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15667. end;
  15668. procedure TPMP_PMAEN.setPTEN5; inline;
  15669. begin
  15670. pTDefRegMap(@Self)^.&set := $00000020;
  15671. end;
  15672. procedure TPMP_PMAEN.clearPTEN5; inline;
  15673. begin
  15674. pTDefRegMap(@Self)^.clr := $00000020;
  15675. end;
  15676. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  15677. begin
  15678. if thebits = 0 then
  15679. pTDefRegMap(@Self)^.clr := $00000020
  15680. else
  15681. pTDefRegMap(@Self)^.&set := $00000020;
  15682. end;
  15683. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  15684. begin
  15685. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15686. end;
  15687. procedure TPMP_PMAEN.setPTEN6; inline;
  15688. begin
  15689. pTDefRegMap(@Self)^.&set := $00000040;
  15690. end;
  15691. procedure TPMP_PMAEN.clearPTEN6; inline;
  15692. begin
  15693. pTDefRegMap(@Self)^.clr := $00000040;
  15694. end;
  15695. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  15696. begin
  15697. if thebits = 0 then
  15698. pTDefRegMap(@Self)^.clr := $00000040
  15699. else
  15700. pTDefRegMap(@Self)^.&set := $00000040;
  15701. end;
  15702. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  15703. begin
  15704. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15705. end;
  15706. procedure TPMP_PMAEN.setPTEN7; inline;
  15707. begin
  15708. pTDefRegMap(@Self)^.&set := $00000080;
  15709. end;
  15710. procedure TPMP_PMAEN.clearPTEN7; inline;
  15711. begin
  15712. pTDefRegMap(@Self)^.clr := $00000080;
  15713. end;
  15714. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  15715. begin
  15716. if thebits = 0 then
  15717. pTDefRegMap(@Self)^.clr := $00000080
  15718. else
  15719. pTDefRegMap(@Self)^.&set := $00000080;
  15720. end;
  15721. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  15722. begin
  15723. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15724. end;
  15725. procedure TPMP_PMAEN.setPTEN8; inline;
  15726. begin
  15727. pTDefRegMap(@Self)^.&set := $00000100;
  15728. end;
  15729. procedure TPMP_PMAEN.clearPTEN8; inline;
  15730. begin
  15731. pTDefRegMap(@Self)^.clr := $00000100;
  15732. end;
  15733. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  15734. begin
  15735. if thebits = 0 then
  15736. pTDefRegMap(@Self)^.clr := $00000100
  15737. else
  15738. pTDefRegMap(@Self)^.&set := $00000100;
  15739. end;
  15740. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  15741. begin
  15742. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15743. end;
  15744. procedure TPMP_PMAEN.setPTEN9; inline;
  15745. begin
  15746. pTDefRegMap(@Self)^.&set := $00000200;
  15747. end;
  15748. procedure TPMP_PMAEN.clearPTEN9; inline;
  15749. begin
  15750. pTDefRegMap(@Self)^.clr := $00000200;
  15751. end;
  15752. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  15753. begin
  15754. if thebits = 0 then
  15755. pTDefRegMap(@Self)^.clr := $00000200
  15756. else
  15757. pTDefRegMap(@Self)^.&set := $00000200;
  15758. end;
  15759. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  15760. begin
  15761. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15762. end;
  15763. procedure TPMP_PMAEN.setPTEN10; inline;
  15764. begin
  15765. pTDefRegMap(@Self)^.&set := $00000400;
  15766. end;
  15767. procedure TPMP_PMAEN.clearPTEN10; inline;
  15768. begin
  15769. pTDefRegMap(@Self)^.clr := $00000400;
  15770. end;
  15771. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  15772. begin
  15773. if thebits = 0 then
  15774. pTDefRegMap(@Self)^.clr := $00000400
  15775. else
  15776. pTDefRegMap(@Self)^.&set := $00000400;
  15777. end;
  15778. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  15779. begin
  15780. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15781. end;
  15782. procedure TPMP_PMAEN.setPTEN11; inline;
  15783. begin
  15784. pTDefRegMap(@Self)^.&set := $00000800;
  15785. end;
  15786. procedure TPMP_PMAEN.clearPTEN11; inline;
  15787. begin
  15788. pTDefRegMap(@Self)^.clr := $00000800;
  15789. end;
  15790. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  15791. begin
  15792. if thebits = 0 then
  15793. pTDefRegMap(@Self)^.clr := $00000800
  15794. else
  15795. pTDefRegMap(@Self)^.&set := $00000800;
  15796. end;
  15797. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  15798. begin
  15799. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15800. end;
  15801. procedure TPMP_PMAEN.setPTEN12; inline;
  15802. begin
  15803. pTDefRegMap(@Self)^.&set := $00001000;
  15804. end;
  15805. procedure TPMP_PMAEN.clearPTEN12; inline;
  15806. begin
  15807. pTDefRegMap(@Self)^.clr := $00001000;
  15808. end;
  15809. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  15810. begin
  15811. if thebits = 0 then
  15812. pTDefRegMap(@Self)^.clr := $00001000
  15813. else
  15814. pTDefRegMap(@Self)^.&set := $00001000;
  15815. end;
  15816. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  15817. begin
  15818. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15819. end;
  15820. procedure TPMP_PMAEN.setPTEN13; inline;
  15821. begin
  15822. pTDefRegMap(@Self)^.&set := $00002000;
  15823. end;
  15824. procedure TPMP_PMAEN.clearPTEN13; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.clr := $00002000;
  15827. end;
  15828. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  15829. begin
  15830. if thebits = 0 then
  15831. pTDefRegMap(@Self)^.clr := $00002000
  15832. else
  15833. pTDefRegMap(@Self)^.&set := $00002000;
  15834. end;
  15835. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  15836. begin
  15837. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15838. end;
  15839. procedure TPMP_PMAEN.setPTEN14; inline;
  15840. begin
  15841. pTDefRegMap(@Self)^.&set := $00004000;
  15842. end;
  15843. procedure TPMP_PMAEN.clearPTEN14; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.clr := $00004000;
  15846. end;
  15847. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  15848. begin
  15849. if thebits = 0 then
  15850. pTDefRegMap(@Self)^.clr := $00004000
  15851. else
  15852. pTDefRegMap(@Self)^.&set := $00004000;
  15853. end;
  15854. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  15855. begin
  15856. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15857. end;
  15858. procedure TPMP_PMAEN.setPTEN15; inline;
  15859. begin
  15860. pTDefRegMap(@Self)^.&set := $00008000;
  15861. end;
  15862. procedure TPMP_PMAEN.clearPTEN15; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.clr := $00008000;
  15865. end;
  15866. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  15867. begin
  15868. if thebits = 0 then
  15869. pTDefRegMap(@Self)^.clr := $00008000
  15870. else
  15871. pTDefRegMap(@Self)^.&set := $00008000;
  15872. end;
  15873. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  15874. begin
  15875. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15876. end;
  15877. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  15878. begin
  15879. pTDefRegMap(@Self)^.val := thebits;
  15880. end;
  15881. function TPMP_PMAEN.getw : TBits_32; inline;
  15882. begin
  15883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15884. end;
  15885. procedure TPMP_PMSTAT.setOB0E; inline;
  15886. begin
  15887. pTDefRegMap(@Self)^.&set := $00000001;
  15888. end;
  15889. procedure TPMP_PMSTAT.clearOB0E; inline;
  15890. begin
  15891. pTDefRegMap(@Self)^.clr := $00000001;
  15892. end;
  15893. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  15894. begin
  15895. if thebits = 0 then
  15896. pTDefRegMap(@Self)^.clr := $00000001
  15897. else
  15898. pTDefRegMap(@Self)^.&set := $00000001;
  15899. end;
  15900. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  15901. begin
  15902. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15903. end;
  15904. procedure TPMP_PMSTAT.setOB1E; inline;
  15905. begin
  15906. pTDefRegMap(@Self)^.&set := $00000002;
  15907. end;
  15908. procedure TPMP_PMSTAT.clearOB1E; inline;
  15909. begin
  15910. pTDefRegMap(@Self)^.clr := $00000002;
  15911. end;
  15912. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  15913. begin
  15914. if thebits = 0 then
  15915. pTDefRegMap(@Self)^.clr := $00000002
  15916. else
  15917. pTDefRegMap(@Self)^.&set := $00000002;
  15918. end;
  15919. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  15920. begin
  15921. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15922. end;
  15923. procedure TPMP_PMSTAT.setOB2E; inline;
  15924. begin
  15925. pTDefRegMap(@Self)^.&set := $00000004;
  15926. end;
  15927. procedure TPMP_PMSTAT.clearOB2E; inline;
  15928. begin
  15929. pTDefRegMap(@Self)^.clr := $00000004;
  15930. end;
  15931. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  15932. begin
  15933. if thebits = 0 then
  15934. pTDefRegMap(@Self)^.clr := $00000004
  15935. else
  15936. pTDefRegMap(@Self)^.&set := $00000004;
  15937. end;
  15938. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  15939. begin
  15940. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15941. end;
  15942. procedure TPMP_PMSTAT.setOB3E; inline;
  15943. begin
  15944. pTDefRegMap(@Self)^.&set := $00000008;
  15945. end;
  15946. procedure TPMP_PMSTAT.clearOB3E; inline;
  15947. begin
  15948. pTDefRegMap(@Self)^.clr := $00000008;
  15949. end;
  15950. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  15951. begin
  15952. if thebits = 0 then
  15953. pTDefRegMap(@Self)^.clr := $00000008
  15954. else
  15955. pTDefRegMap(@Self)^.&set := $00000008;
  15956. end;
  15957. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  15958. begin
  15959. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15960. end;
  15961. procedure TPMP_PMSTAT.setOBUF; inline;
  15962. begin
  15963. pTDefRegMap(@Self)^.&set := $00000040;
  15964. end;
  15965. procedure TPMP_PMSTAT.clearOBUF; inline;
  15966. begin
  15967. pTDefRegMap(@Self)^.clr := $00000040;
  15968. end;
  15969. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  15970. begin
  15971. if thebits = 0 then
  15972. pTDefRegMap(@Self)^.clr := $00000040
  15973. else
  15974. pTDefRegMap(@Self)^.&set := $00000040;
  15975. end;
  15976. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  15977. begin
  15978. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15979. end;
  15980. procedure TPMP_PMSTAT.setOBE; inline;
  15981. begin
  15982. pTDefRegMap(@Self)^.&set := $00000080;
  15983. end;
  15984. procedure TPMP_PMSTAT.clearOBE; inline;
  15985. begin
  15986. pTDefRegMap(@Self)^.clr := $00000080;
  15987. end;
  15988. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  15989. begin
  15990. if thebits = 0 then
  15991. pTDefRegMap(@Self)^.clr := $00000080
  15992. else
  15993. pTDefRegMap(@Self)^.&set := $00000080;
  15994. end;
  15995. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  15996. begin
  15997. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15998. end;
  15999. procedure TPMP_PMSTAT.setIB0F; inline;
  16000. begin
  16001. pTDefRegMap(@Self)^.&set := $00000100;
  16002. end;
  16003. procedure TPMP_PMSTAT.clearIB0F; inline;
  16004. begin
  16005. pTDefRegMap(@Self)^.clr := $00000100;
  16006. end;
  16007. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  16008. begin
  16009. if thebits = 0 then
  16010. pTDefRegMap(@Self)^.clr := $00000100
  16011. else
  16012. pTDefRegMap(@Self)^.&set := $00000100;
  16013. end;
  16014. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  16015. begin
  16016. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16017. end;
  16018. procedure TPMP_PMSTAT.setIB1F; inline;
  16019. begin
  16020. pTDefRegMap(@Self)^.&set := $00000200;
  16021. end;
  16022. procedure TPMP_PMSTAT.clearIB1F; inline;
  16023. begin
  16024. pTDefRegMap(@Self)^.clr := $00000200;
  16025. end;
  16026. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  16027. begin
  16028. if thebits = 0 then
  16029. pTDefRegMap(@Self)^.clr := $00000200
  16030. else
  16031. pTDefRegMap(@Self)^.&set := $00000200;
  16032. end;
  16033. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  16034. begin
  16035. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16036. end;
  16037. procedure TPMP_PMSTAT.setIB2F; inline;
  16038. begin
  16039. pTDefRegMap(@Self)^.&set := $00000400;
  16040. end;
  16041. procedure TPMP_PMSTAT.clearIB2F; inline;
  16042. begin
  16043. pTDefRegMap(@Self)^.clr := $00000400;
  16044. end;
  16045. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  16046. begin
  16047. if thebits = 0 then
  16048. pTDefRegMap(@Self)^.clr := $00000400
  16049. else
  16050. pTDefRegMap(@Self)^.&set := $00000400;
  16051. end;
  16052. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  16053. begin
  16054. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16055. end;
  16056. procedure TPMP_PMSTAT.setIB3F; inline;
  16057. begin
  16058. pTDefRegMap(@Self)^.&set := $00000800;
  16059. end;
  16060. procedure TPMP_PMSTAT.clearIB3F; inline;
  16061. begin
  16062. pTDefRegMap(@Self)^.clr := $00000800;
  16063. end;
  16064. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  16065. begin
  16066. if thebits = 0 then
  16067. pTDefRegMap(@Self)^.clr := $00000800
  16068. else
  16069. pTDefRegMap(@Self)^.&set := $00000800;
  16070. end;
  16071. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  16072. begin
  16073. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16074. end;
  16075. procedure TPMP_PMSTAT.setIBOV; inline;
  16076. begin
  16077. pTDefRegMap(@Self)^.&set := $00004000;
  16078. end;
  16079. procedure TPMP_PMSTAT.clearIBOV; inline;
  16080. begin
  16081. pTDefRegMap(@Self)^.clr := $00004000;
  16082. end;
  16083. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  16084. begin
  16085. if thebits = 0 then
  16086. pTDefRegMap(@Self)^.clr := $00004000
  16087. else
  16088. pTDefRegMap(@Self)^.&set := $00004000;
  16089. end;
  16090. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  16091. begin
  16092. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16093. end;
  16094. procedure TPMP_PMSTAT.setIBF; inline;
  16095. begin
  16096. pTDefRegMap(@Self)^.&set := $00008000;
  16097. end;
  16098. procedure TPMP_PMSTAT.clearIBF; inline;
  16099. begin
  16100. pTDefRegMap(@Self)^.clr := $00008000;
  16101. end;
  16102. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  16103. begin
  16104. if thebits = 0 then
  16105. pTDefRegMap(@Self)^.clr := $00008000
  16106. else
  16107. pTDefRegMap(@Self)^.&set := $00008000;
  16108. end;
  16109. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  16110. begin
  16111. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16112. end;
  16113. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  16114. begin
  16115. pTDefRegMap(@Self)^.val := thebits;
  16116. end;
  16117. function TPMP_PMSTAT.getw : TBits_32; inline;
  16118. begin
  16119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16120. end;
  16121. procedure TADC10_AD1CON1.setDONE; inline;
  16122. begin
  16123. pTDefRegMap(@Self)^.&set := $00000001;
  16124. end;
  16125. procedure TADC10_AD1CON1.clearDONE; inline;
  16126. begin
  16127. pTDefRegMap(@Self)^.clr := $00000001;
  16128. end;
  16129. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  16130. begin
  16131. if thebits = 0 then
  16132. pTDefRegMap(@Self)^.clr := $00000001
  16133. else
  16134. pTDefRegMap(@Self)^.&set := $00000001;
  16135. end;
  16136. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  16137. begin
  16138. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16139. end;
  16140. procedure TADC10_AD1CON1.setSAMP; inline;
  16141. begin
  16142. pTDefRegMap(@Self)^.&set := $00000002;
  16143. end;
  16144. procedure TADC10_AD1CON1.clearSAMP; inline;
  16145. begin
  16146. pTDefRegMap(@Self)^.clr := $00000002;
  16147. end;
  16148. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  16149. begin
  16150. if thebits = 0 then
  16151. pTDefRegMap(@Self)^.clr := $00000002
  16152. else
  16153. pTDefRegMap(@Self)^.&set := $00000002;
  16154. end;
  16155. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  16156. begin
  16157. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16158. end;
  16159. procedure TADC10_AD1CON1.setASAM; inline;
  16160. begin
  16161. pTDefRegMap(@Self)^.&set := $00000004;
  16162. end;
  16163. procedure TADC10_AD1CON1.clearASAM; inline;
  16164. begin
  16165. pTDefRegMap(@Self)^.clr := $00000004;
  16166. end;
  16167. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  16168. begin
  16169. if thebits = 0 then
  16170. pTDefRegMap(@Self)^.clr := $00000004
  16171. else
  16172. pTDefRegMap(@Self)^.&set := $00000004;
  16173. end;
  16174. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  16175. begin
  16176. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16177. end;
  16178. procedure TADC10_AD1CON1.setCLRASAM; inline;
  16179. begin
  16180. pTDefRegMap(@Self)^.&set := $00000010;
  16181. end;
  16182. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  16183. begin
  16184. pTDefRegMap(@Self)^.clr := $00000010;
  16185. end;
  16186. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  16187. begin
  16188. if thebits = 0 then
  16189. pTDefRegMap(@Self)^.clr := $00000010
  16190. else
  16191. pTDefRegMap(@Self)^.&set := $00000010;
  16192. end;
  16193. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  16194. begin
  16195. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16196. end;
  16197. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  16198. begin
  16199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  16200. end;
  16201. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  16202. begin
  16203. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  16204. end;
  16205. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  16206. begin
  16207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  16208. end;
  16209. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  16210. begin
  16211. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  16212. end;
  16213. procedure TADC10_AD1CON1.setSIDL; inline;
  16214. begin
  16215. pTDefRegMap(@Self)^.&set := $00002000;
  16216. end;
  16217. procedure TADC10_AD1CON1.clearSIDL; inline;
  16218. begin
  16219. pTDefRegMap(@Self)^.clr := $00002000;
  16220. end;
  16221. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  16222. begin
  16223. if thebits = 0 then
  16224. pTDefRegMap(@Self)^.clr := $00002000
  16225. else
  16226. pTDefRegMap(@Self)^.&set := $00002000;
  16227. end;
  16228. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  16229. begin
  16230. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16231. end;
  16232. procedure TADC10_AD1CON1.setON; inline;
  16233. begin
  16234. pTDefRegMap(@Self)^.&set := $00008000;
  16235. end;
  16236. procedure TADC10_AD1CON1.clearON; inline;
  16237. begin
  16238. pTDefRegMap(@Self)^.clr := $00008000;
  16239. end;
  16240. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  16241. begin
  16242. if thebits = 0 then
  16243. pTDefRegMap(@Self)^.clr := $00008000
  16244. else
  16245. pTDefRegMap(@Self)^.&set := $00008000;
  16246. end;
  16247. function TADC10_AD1CON1.getON : TBits_1; inline;
  16248. begin
  16249. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16250. end;
  16251. procedure TADC10_AD1CON1.setSSRC0; inline;
  16252. begin
  16253. pTDefRegMap(@Self)^.&set := $00000020;
  16254. end;
  16255. procedure TADC10_AD1CON1.clearSSRC0; inline;
  16256. begin
  16257. pTDefRegMap(@Self)^.clr := $00000020;
  16258. end;
  16259. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  16260. begin
  16261. if thebits = 0 then
  16262. pTDefRegMap(@Self)^.clr := $00000020
  16263. else
  16264. pTDefRegMap(@Self)^.&set := $00000020;
  16265. end;
  16266. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  16267. begin
  16268. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16269. end;
  16270. procedure TADC10_AD1CON1.setSSRC1; inline;
  16271. begin
  16272. pTDefRegMap(@Self)^.&set := $00000040;
  16273. end;
  16274. procedure TADC10_AD1CON1.clearSSRC1; inline;
  16275. begin
  16276. pTDefRegMap(@Self)^.clr := $00000040;
  16277. end;
  16278. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  16279. begin
  16280. if thebits = 0 then
  16281. pTDefRegMap(@Self)^.clr := $00000040
  16282. else
  16283. pTDefRegMap(@Self)^.&set := $00000040;
  16284. end;
  16285. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  16286. begin
  16287. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16288. end;
  16289. procedure TADC10_AD1CON1.setSSRC2; inline;
  16290. begin
  16291. pTDefRegMap(@Self)^.&set := $00000080;
  16292. end;
  16293. procedure TADC10_AD1CON1.clearSSRC2; inline;
  16294. begin
  16295. pTDefRegMap(@Self)^.clr := $00000080;
  16296. end;
  16297. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  16298. begin
  16299. if thebits = 0 then
  16300. pTDefRegMap(@Self)^.clr := $00000080
  16301. else
  16302. pTDefRegMap(@Self)^.&set := $00000080;
  16303. end;
  16304. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  16305. begin
  16306. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16307. end;
  16308. procedure TADC10_AD1CON1.setFORM0; inline;
  16309. begin
  16310. pTDefRegMap(@Self)^.&set := $00000100;
  16311. end;
  16312. procedure TADC10_AD1CON1.clearFORM0; inline;
  16313. begin
  16314. pTDefRegMap(@Self)^.clr := $00000100;
  16315. end;
  16316. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  16317. begin
  16318. if thebits = 0 then
  16319. pTDefRegMap(@Self)^.clr := $00000100
  16320. else
  16321. pTDefRegMap(@Self)^.&set := $00000100;
  16322. end;
  16323. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  16324. begin
  16325. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16326. end;
  16327. procedure TADC10_AD1CON1.setFORM1; inline;
  16328. begin
  16329. pTDefRegMap(@Self)^.&set := $00000200;
  16330. end;
  16331. procedure TADC10_AD1CON1.clearFORM1; inline;
  16332. begin
  16333. pTDefRegMap(@Self)^.clr := $00000200;
  16334. end;
  16335. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  16336. begin
  16337. if thebits = 0 then
  16338. pTDefRegMap(@Self)^.clr := $00000200
  16339. else
  16340. pTDefRegMap(@Self)^.&set := $00000200;
  16341. end;
  16342. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  16343. begin
  16344. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16345. end;
  16346. procedure TADC10_AD1CON1.setFORM2; inline;
  16347. begin
  16348. pTDefRegMap(@Self)^.&set := $00000400;
  16349. end;
  16350. procedure TADC10_AD1CON1.clearFORM2; inline;
  16351. begin
  16352. pTDefRegMap(@Self)^.clr := $00000400;
  16353. end;
  16354. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  16355. begin
  16356. if thebits = 0 then
  16357. pTDefRegMap(@Self)^.clr := $00000400
  16358. else
  16359. pTDefRegMap(@Self)^.&set := $00000400;
  16360. end;
  16361. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  16362. begin
  16363. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16364. end;
  16365. procedure TADC10_AD1CON1.setADSIDL; inline;
  16366. begin
  16367. pTDefRegMap(@Self)^.&set := $00002000;
  16368. end;
  16369. procedure TADC10_AD1CON1.clearADSIDL; inline;
  16370. begin
  16371. pTDefRegMap(@Self)^.clr := $00002000;
  16372. end;
  16373. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  16374. begin
  16375. if thebits = 0 then
  16376. pTDefRegMap(@Self)^.clr := $00002000
  16377. else
  16378. pTDefRegMap(@Self)^.&set := $00002000;
  16379. end;
  16380. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  16381. begin
  16382. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16383. end;
  16384. procedure TADC10_AD1CON1.setADON; inline;
  16385. begin
  16386. pTDefRegMap(@Self)^.&set := $00008000;
  16387. end;
  16388. procedure TADC10_AD1CON1.clearADON; inline;
  16389. begin
  16390. pTDefRegMap(@Self)^.clr := $00008000;
  16391. end;
  16392. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  16393. begin
  16394. if thebits = 0 then
  16395. pTDefRegMap(@Self)^.clr := $00008000
  16396. else
  16397. pTDefRegMap(@Self)^.&set := $00008000;
  16398. end;
  16399. function TADC10_AD1CON1.getADON : TBits_1; inline;
  16400. begin
  16401. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16402. end;
  16403. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  16404. begin
  16405. pTDefRegMap(@Self)^.val := thebits;
  16406. end;
  16407. function TADC10_AD1CON1.getw : TBits_32; inline;
  16408. begin
  16409. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16410. end;
  16411. procedure TADC10_AD1CON2.setALTS; inline;
  16412. begin
  16413. pTDefRegMap(@Self)^.&set := $00000001;
  16414. end;
  16415. procedure TADC10_AD1CON2.clearALTS; inline;
  16416. begin
  16417. pTDefRegMap(@Self)^.clr := $00000001;
  16418. end;
  16419. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  16420. begin
  16421. if thebits = 0 then
  16422. pTDefRegMap(@Self)^.clr := $00000001
  16423. else
  16424. pTDefRegMap(@Self)^.&set := $00000001;
  16425. end;
  16426. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  16427. begin
  16428. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16429. end;
  16430. procedure TADC10_AD1CON2.setBUFM; inline;
  16431. begin
  16432. pTDefRegMap(@Self)^.&set := $00000002;
  16433. end;
  16434. procedure TADC10_AD1CON2.clearBUFM; inline;
  16435. begin
  16436. pTDefRegMap(@Self)^.clr := $00000002;
  16437. end;
  16438. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  16439. begin
  16440. if thebits = 0 then
  16441. pTDefRegMap(@Self)^.clr := $00000002
  16442. else
  16443. pTDefRegMap(@Self)^.&set := $00000002;
  16444. end;
  16445. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  16446. begin
  16447. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16448. end;
  16449. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  16450. begin
  16451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  16452. end;
  16453. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  16454. begin
  16455. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  16456. end;
  16457. procedure TADC10_AD1CON2.setBUFS; inline;
  16458. begin
  16459. pTDefRegMap(@Self)^.&set := $00000080;
  16460. end;
  16461. procedure TADC10_AD1CON2.clearBUFS; inline;
  16462. begin
  16463. pTDefRegMap(@Self)^.clr := $00000080;
  16464. end;
  16465. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  16466. begin
  16467. if thebits = 0 then
  16468. pTDefRegMap(@Self)^.clr := $00000080
  16469. else
  16470. pTDefRegMap(@Self)^.&set := $00000080;
  16471. end;
  16472. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  16473. begin
  16474. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16475. end;
  16476. procedure TADC10_AD1CON2.setCSCNA; inline;
  16477. begin
  16478. pTDefRegMap(@Self)^.&set := $00000400;
  16479. end;
  16480. procedure TADC10_AD1CON2.clearCSCNA; inline;
  16481. begin
  16482. pTDefRegMap(@Self)^.clr := $00000400;
  16483. end;
  16484. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  16485. begin
  16486. if thebits = 0 then
  16487. pTDefRegMap(@Self)^.clr := $00000400
  16488. else
  16489. pTDefRegMap(@Self)^.&set := $00000400;
  16490. end;
  16491. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  16492. begin
  16493. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16494. end;
  16495. procedure TADC10_AD1CON2.setOFFCAL; inline;
  16496. begin
  16497. pTDefRegMap(@Self)^.&set := $00001000;
  16498. end;
  16499. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  16500. begin
  16501. pTDefRegMap(@Self)^.clr := $00001000;
  16502. end;
  16503. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  16504. begin
  16505. if thebits = 0 then
  16506. pTDefRegMap(@Self)^.clr := $00001000
  16507. else
  16508. pTDefRegMap(@Self)^.&set := $00001000;
  16509. end;
  16510. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  16511. begin
  16512. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16513. end;
  16514. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  16515. begin
  16516. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  16517. end;
  16518. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  16519. begin
  16520. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  16521. end;
  16522. procedure TADC10_AD1CON2.setSMPI0; inline;
  16523. begin
  16524. pTDefRegMap(@Self)^.&set := $00000004;
  16525. end;
  16526. procedure TADC10_AD1CON2.clearSMPI0; inline;
  16527. begin
  16528. pTDefRegMap(@Self)^.clr := $00000004;
  16529. end;
  16530. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  16531. begin
  16532. if thebits = 0 then
  16533. pTDefRegMap(@Self)^.clr := $00000004
  16534. else
  16535. pTDefRegMap(@Self)^.&set := $00000004;
  16536. end;
  16537. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  16538. begin
  16539. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16540. end;
  16541. procedure TADC10_AD1CON2.setSMPI1; inline;
  16542. begin
  16543. pTDefRegMap(@Self)^.&set := $00000008;
  16544. end;
  16545. procedure TADC10_AD1CON2.clearSMPI1; inline;
  16546. begin
  16547. pTDefRegMap(@Self)^.clr := $00000008;
  16548. end;
  16549. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  16550. begin
  16551. if thebits = 0 then
  16552. pTDefRegMap(@Self)^.clr := $00000008
  16553. else
  16554. pTDefRegMap(@Self)^.&set := $00000008;
  16555. end;
  16556. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  16557. begin
  16558. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16559. end;
  16560. procedure TADC10_AD1CON2.setSMPI2; inline;
  16561. begin
  16562. pTDefRegMap(@Self)^.&set := $00000010;
  16563. end;
  16564. procedure TADC10_AD1CON2.clearSMPI2; inline;
  16565. begin
  16566. pTDefRegMap(@Self)^.clr := $00000010;
  16567. end;
  16568. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  16569. begin
  16570. if thebits = 0 then
  16571. pTDefRegMap(@Self)^.clr := $00000010
  16572. else
  16573. pTDefRegMap(@Self)^.&set := $00000010;
  16574. end;
  16575. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  16576. begin
  16577. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16578. end;
  16579. procedure TADC10_AD1CON2.setSMPI3; inline;
  16580. begin
  16581. pTDefRegMap(@Self)^.&set := $00000020;
  16582. end;
  16583. procedure TADC10_AD1CON2.clearSMPI3; inline;
  16584. begin
  16585. pTDefRegMap(@Self)^.clr := $00000020;
  16586. end;
  16587. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  16588. begin
  16589. if thebits = 0 then
  16590. pTDefRegMap(@Self)^.clr := $00000020
  16591. else
  16592. pTDefRegMap(@Self)^.&set := $00000020;
  16593. end;
  16594. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  16595. begin
  16596. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16597. end;
  16598. procedure TADC10_AD1CON2.setVCFG0; inline;
  16599. begin
  16600. pTDefRegMap(@Self)^.&set := $00002000;
  16601. end;
  16602. procedure TADC10_AD1CON2.clearVCFG0; inline;
  16603. begin
  16604. pTDefRegMap(@Self)^.clr := $00002000;
  16605. end;
  16606. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  16607. begin
  16608. if thebits = 0 then
  16609. pTDefRegMap(@Self)^.clr := $00002000
  16610. else
  16611. pTDefRegMap(@Self)^.&set := $00002000;
  16612. end;
  16613. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  16614. begin
  16615. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16616. end;
  16617. procedure TADC10_AD1CON2.setVCFG1; inline;
  16618. begin
  16619. pTDefRegMap(@Self)^.&set := $00004000;
  16620. end;
  16621. procedure TADC10_AD1CON2.clearVCFG1; inline;
  16622. begin
  16623. pTDefRegMap(@Self)^.clr := $00004000;
  16624. end;
  16625. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  16626. begin
  16627. if thebits = 0 then
  16628. pTDefRegMap(@Self)^.clr := $00004000
  16629. else
  16630. pTDefRegMap(@Self)^.&set := $00004000;
  16631. end;
  16632. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  16633. begin
  16634. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16635. end;
  16636. procedure TADC10_AD1CON2.setVCFG2; inline;
  16637. begin
  16638. pTDefRegMap(@Self)^.&set := $00008000;
  16639. end;
  16640. procedure TADC10_AD1CON2.clearVCFG2; inline;
  16641. begin
  16642. pTDefRegMap(@Self)^.clr := $00008000;
  16643. end;
  16644. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  16645. begin
  16646. if thebits = 0 then
  16647. pTDefRegMap(@Self)^.clr := $00008000
  16648. else
  16649. pTDefRegMap(@Self)^.&set := $00008000;
  16650. end;
  16651. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  16652. begin
  16653. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16654. end;
  16655. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  16656. begin
  16657. pTDefRegMap(@Self)^.val := thebits;
  16658. end;
  16659. function TADC10_AD1CON2.getw : TBits_32; inline;
  16660. begin
  16661. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16662. end;
  16663. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  16664. begin
  16665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16666. end;
  16667. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  16668. begin
  16669. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16670. end;
  16671. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  16672. begin
  16673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  16674. end;
  16675. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  16676. begin
  16677. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  16678. end;
  16679. procedure TADC10_AD1CON3.setADRC; inline;
  16680. begin
  16681. pTDefRegMap(@Self)^.&set := $00008000;
  16682. end;
  16683. procedure TADC10_AD1CON3.clearADRC; inline;
  16684. begin
  16685. pTDefRegMap(@Self)^.clr := $00008000;
  16686. end;
  16687. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  16688. begin
  16689. if thebits = 0 then
  16690. pTDefRegMap(@Self)^.clr := $00008000
  16691. else
  16692. pTDefRegMap(@Self)^.&set := $00008000;
  16693. end;
  16694. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  16695. begin
  16696. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16697. end;
  16698. procedure TADC10_AD1CON3.setADCS0; inline;
  16699. begin
  16700. pTDefRegMap(@Self)^.&set := $00000001;
  16701. end;
  16702. procedure TADC10_AD1CON3.clearADCS0; inline;
  16703. begin
  16704. pTDefRegMap(@Self)^.clr := $00000001;
  16705. end;
  16706. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  16707. begin
  16708. if thebits = 0 then
  16709. pTDefRegMap(@Self)^.clr := $00000001
  16710. else
  16711. pTDefRegMap(@Self)^.&set := $00000001;
  16712. end;
  16713. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  16714. begin
  16715. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16716. end;
  16717. procedure TADC10_AD1CON3.setADCS1; inline;
  16718. begin
  16719. pTDefRegMap(@Self)^.&set := $00000002;
  16720. end;
  16721. procedure TADC10_AD1CON3.clearADCS1; inline;
  16722. begin
  16723. pTDefRegMap(@Self)^.clr := $00000002;
  16724. end;
  16725. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  16726. begin
  16727. if thebits = 0 then
  16728. pTDefRegMap(@Self)^.clr := $00000002
  16729. else
  16730. pTDefRegMap(@Self)^.&set := $00000002;
  16731. end;
  16732. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  16733. begin
  16734. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16735. end;
  16736. procedure TADC10_AD1CON3.setADCS2; inline;
  16737. begin
  16738. pTDefRegMap(@Self)^.&set := $00000004;
  16739. end;
  16740. procedure TADC10_AD1CON3.clearADCS2; inline;
  16741. begin
  16742. pTDefRegMap(@Self)^.clr := $00000004;
  16743. end;
  16744. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  16745. begin
  16746. if thebits = 0 then
  16747. pTDefRegMap(@Self)^.clr := $00000004
  16748. else
  16749. pTDefRegMap(@Self)^.&set := $00000004;
  16750. end;
  16751. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  16752. begin
  16753. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16754. end;
  16755. procedure TADC10_AD1CON3.setADCS3; inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.&set := $00000008;
  16758. end;
  16759. procedure TADC10_AD1CON3.clearADCS3; inline;
  16760. begin
  16761. pTDefRegMap(@Self)^.clr := $00000008;
  16762. end;
  16763. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  16764. begin
  16765. if thebits = 0 then
  16766. pTDefRegMap(@Self)^.clr := $00000008
  16767. else
  16768. pTDefRegMap(@Self)^.&set := $00000008;
  16769. end;
  16770. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  16771. begin
  16772. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16773. end;
  16774. procedure TADC10_AD1CON3.setADCS4; inline;
  16775. begin
  16776. pTDefRegMap(@Self)^.&set := $00000010;
  16777. end;
  16778. procedure TADC10_AD1CON3.clearADCS4; inline;
  16779. begin
  16780. pTDefRegMap(@Self)^.clr := $00000010;
  16781. end;
  16782. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  16783. begin
  16784. if thebits = 0 then
  16785. pTDefRegMap(@Self)^.clr := $00000010
  16786. else
  16787. pTDefRegMap(@Self)^.&set := $00000010;
  16788. end;
  16789. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  16790. begin
  16791. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16792. end;
  16793. procedure TADC10_AD1CON3.setADCS5; inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.&set := $00000020;
  16796. end;
  16797. procedure TADC10_AD1CON3.clearADCS5; inline;
  16798. begin
  16799. pTDefRegMap(@Self)^.clr := $00000020;
  16800. end;
  16801. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  16802. begin
  16803. if thebits = 0 then
  16804. pTDefRegMap(@Self)^.clr := $00000020
  16805. else
  16806. pTDefRegMap(@Self)^.&set := $00000020;
  16807. end;
  16808. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  16809. begin
  16810. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16811. end;
  16812. procedure TADC10_AD1CON3.setADCS6; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.&set := $00000040;
  16815. end;
  16816. procedure TADC10_AD1CON3.clearADCS6; inline;
  16817. begin
  16818. pTDefRegMap(@Self)^.clr := $00000040;
  16819. end;
  16820. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  16821. begin
  16822. if thebits = 0 then
  16823. pTDefRegMap(@Self)^.clr := $00000040
  16824. else
  16825. pTDefRegMap(@Self)^.&set := $00000040;
  16826. end;
  16827. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  16828. begin
  16829. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16830. end;
  16831. procedure TADC10_AD1CON3.setADCS7; inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.&set := $00000080;
  16834. end;
  16835. procedure TADC10_AD1CON3.clearADCS7; inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.clr := $00000080;
  16838. end;
  16839. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  16840. begin
  16841. if thebits = 0 then
  16842. pTDefRegMap(@Self)^.clr := $00000080
  16843. else
  16844. pTDefRegMap(@Self)^.&set := $00000080;
  16845. end;
  16846. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  16847. begin
  16848. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16849. end;
  16850. procedure TADC10_AD1CON3.setSAMC0; inline;
  16851. begin
  16852. pTDefRegMap(@Self)^.&set := $00000100;
  16853. end;
  16854. procedure TADC10_AD1CON3.clearSAMC0; inline;
  16855. begin
  16856. pTDefRegMap(@Self)^.clr := $00000100;
  16857. end;
  16858. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  16859. begin
  16860. if thebits = 0 then
  16861. pTDefRegMap(@Self)^.clr := $00000100
  16862. else
  16863. pTDefRegMap(@Self)^.&set := $00000100;
  16864. end;
  16865. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  16866. begin
  16867. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16868. end;
  16869. procedure TADC10_AD1CON3.setSAMC1; inline;
  16870. begin
  16871. pTDefRegMap(@Self)^.&set := $00000200;
  16872. end;
  16873. procedure TADC10_AD1CON3.clearSAMC1; inline;
  16874. begin
  16875. pTDefRegMap(@Self)^.clr := $00000200;
  16876. end;
  16877. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  16878. begin
  16879. if thebits = 0 then
  16880. pTDefRegMap(@Self)^.clr := $00000200
  16881. else
  16882. pTDefRegMap(@Self)^.&set := $00000200;
  16883. end;
  16884. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  16885. begin
  16886. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16887. end;
  16888. procedure TADC10_AD1CON3.setSAMC2; inline;
  16889. begin
  16890. pTDefRegMap(@Self)^.&set := $00000400;
  16891. end;
  16892. procedure TADC10_AD1CON3.clearSAMC2; inline;
  16893. begin
  16894. pTDefRegMap(@Self)^.clr := $00000400;
  16895. end;
  16896. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  16897. begin
  16898. if thebits = 0 then
  16899. pTDefRegMap(@Self)^.clr := $00000400
  16900. else
  16901. pTDefRegMap(@Self)^.&set := $00000400;
  16902. end;
  16903. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  16904. begin
  16905. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16906. end;
  16907. procedure TADC10_AD1CON3.setSAMC3; inline;
  16908. begin
  16909. pTDefRegMap(@Self)^.&set := $00000800;
  16910. end;
  16911. procedure TADC10_AD1CON3.clearSAMC3; inline;
  16912. begin
  16913. pTDefRegMap(@Self)^.clr := $00000800;
  16914. end;
  16915. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  16916. begin
  16917. if thebits = 0 then
  16918. pTDefRegMap(@Self)^.clr := $00000800
  16919. else
  16920. pTDefRegMap(@Self)^.&set := $00000800;
  16921. end;
  16922. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  16923. begin
  16924. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16925. end;
  16926. procedure TADC10_AD1CON3.setSAMC4; inline;
  16927. begin
  16928. pTDefRegMap(@Self)^.&set := $00001000;
  16929. end;
  16930. procedure TADC10_AD1CON3.clearSAMC4; inline;
  16931. begin
  16932. pTDefRegMap(@Self)^.clr := $00001000;
  16933. end;
  16934. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  16935. begin
  16936. if thebits = 0 then
  16937. pTDefRegMap(@Self)^.clr := $00001000
  16938. else
  16939. pTDefRegMap(@Self)^.&set := $00001000;
  16940. end;
  16941. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  16942. begin
  16943. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16944. end;
  16945. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  16946. begin
  16947. pTDefRegMap(@Self)^.val := thebits;
  16948. end;
  16949. function TADC10_AD1CON3.getw : TBits_32; inline;
  16950. begin
  16951. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16952. end;
  16953. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  16954. begin
  16955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16956. end;
  16957. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  16958. begin
  16959. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16960. end;
  16961. procedure TADC10_AD1CHS.setCH0NA; inline;
  16962. begin
  16963. pTDefRegMap(@Self)^.&set := $00800000;
  16964. end;
  16965. procedure TADC10_AD1CHS.clearCH0NA; inline;
  16966. begin
  16967. pTDefRegMap(@Self)^.clr := $00800000;
  16968. end;
  16969. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  16970. begin
  16971. if thebits = 0 then
  16972. pTDefRegMap(@Self)^.clr := $00800000
  16973. else
  16974. pTDefRegMap(@Self)^.&set := $00800000;
  16975. end;
  16976. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  16977. begin
  16978. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16979. end;
  16980. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  16981. begin
  16982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16983. end;
  16984. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  16985. begin
  16986. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16987. end;
  16988. procedure TADC10_AD1CHS.setCH0NB; inline;
  16989. begin
  16990. pTDefRegMap(@Self)^.&set := $80000000;
  16991. end;
  16992. procedure TADC10_AD1CHS.clearCH0NB; inline;
  16993. begin
  16994. pTDefRegMap(@Self)^.clr := $80000000;
  16995. end;
  16996. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  16997. begin
  16998. if thebits = 0 then
  16999. pTDefRegMap(@Self)^.clr := $80000000
  17000. else
  17001. pTDefRegMap(@Self)^.&set := $80000000;
  17002. end;
  17003. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  17004. begin
  17005. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17006. end;
  17007. procedure TADC10_AD1CHS.setCH0SA0; inline;
  17008. begin
  17009. pTDefRegMap(@Self)^.&set := $00010000;
  17010. end;
  17011. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  17012. begin
  17013. pTDefRegMap(@Self)^.clr := $00010000;
  17014. end;
  17015. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  17016. begin
  17017. if thebits = 0 then
  17018. pTDefRegMap(@Self)^.clr := $00010000
  17019. else
  17020. pTDefRegMap(@Self)^.&set := $00010000;
  17021. end;
  17022. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  17023. begin
  17024. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17025. end;
  17026. procedure TADC10_AD1CHS.setCH0SA1; inline;
  17027. begin
  17028. pTDefRegMap(@Self)^.&set := $00020000;
  17029. end;
  17030. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  17031. begin
  17032. pTDefRegMap(@Self)^.clr := $00020000;
  17033. end;
  17034. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  17035. begin
  17036. if thebits = 0 then
  17037. pTDefRegMap(@Self)^.clr := $00020000
  17038. else
  17039. pTDefRegMap(@Self)^.&set := $00020000;
  17040. end;
  17041. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  17042. begin
  17043. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17044. end;
  17045. procedure TADC10_AD1CHS.setCH0SA2; inline;
  17046. begin
  17047. pTDefRegMap(@Self)^.&set := $00040000;
  17048. end;
  17049. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  17050. begin
  17051. pTDefRegMap(@Self)^.clr := $00040000;
  17052. end;
  17053. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  17054. begin
  17055. if thebits = 0 then
  17056. pTDefRegMap(@Self)^.clr := $00040000
  17057. else
  17058. pTDefRegMap(@Self)^.&set := $00040000;
  17059. end;
  17060. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  17061. begin
  17062. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  17063. end;
  17064. procedure TADC10_AD1CHS.setCH0SA3; inline;
  17065. begin
  17066. pTDefRegMap(@Self)^.&set := $00080000;
  17067. end;
  17068. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  17069. begin
  17070. pTDefRegMap(@Self)^.clr := $00080000;
  17071. end;
  17072. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  17073. begin
  17074. if thebits = 0 then
  17075. pTDefRegMap(@Self)^.clr := $00080000
  17076. else
  17077. pTDefRegMap(@Self)^.&set := $00080000;
  17078. end;
  17079. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  17080. begin
  17081. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  17082. end;
  17083. procedure TADC10_AD1CHS.setCH0SB0; inline;
  17084. begin
  17085. pTDefRegMap(@Self)^.&set := $01000000;
  17086. end;
  17087. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  17088. begin
  17089. pTDefRegMap(@Self)^.clr := $01000000;
  17090. end;
  17091. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  17092. begin
  17093. if thebits = 0 then
  17094. pTDefRegMap(@Self)^.clr := $01000000
  17095. else
  17096. pTDefRegMap(@Self)^.&set := $01000000;
  17097. end;
  17098. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  17099. begin
  17100. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  17101. end;
  17102. procedure TADC10_AD1CHS.setCH0SB1; inline;
  17103. begin
  17104. pTDefRegMap(@Self)^.&set := $02000000;
  17105. end;
  17106. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  17107. begin
  17108. pTDefRegMap(@Self)^.clr := $02000000;
  17109. end;
  17110. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  17111. begin
  17112. if thebits = 0 then
  17113. pTDefRegMap(@Self)^.clr := $02000000
  17114. else
  17115. pTDefRegMap(@Self)^.&set := $02000000;
  17116. end;
  17117. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  17118. begin
  17119. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  17120. end;
  17121. procedure TADC10_AD1CHS.setCH0SB2; inline;
  17122. begin
  17123. pTDefRegMap(@Self)^.&set := $04000000;
  17124. end;
  17125. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  17126. begin
  17127. pTDefRegMap(@Self)^.clr := $04000000;
  17128. end;
  17129. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  17130. begin
  17131. if thebits = 0 then
  17132. pTDefRegMap(@Self)^.clr := $04000000
  17133. else
  17134. pTDefRegMap(@Self)^.&set := $04000000;
  17135. end;
  17136. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  17137. begin
  17138. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  17139. end;
  17140. procedure TADC10_AD1CHS.setCH0SB3; inline;
  17141. begin
  17142. pTDefRegMap(@Self)^.&set := $08000000;
  17143. end;
  17144. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  17145. begin
  17146. pTDefRegMap(@Self)^.clr := $08000000;
  17147. end;
  17148. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  17149. begin
  17150. if thebits = 0 then
  17151. pTDefRegMap(@Self)^.clr := $08000000
  17152. else
  17153. pTDefRegMap(@Self)^.&set := $08000000;
  17154. end;
  17155. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  17156. begin
  17157. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17158. end;
  17159. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  17160. begin
  17161. pTDefRegMap(@Self)^.val := thebits;
  17162. end;
  17163. function TADC10_AD1CHS.getw : TBits_32; inline;
  17164. begin
  17165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17166. end;
  17167. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  17168. begin
  17169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17170. end;
  17171. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  17172. begin
  17173. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17174. end;
  17175. procedure TADC10_AD1CSSL.setCSSL0; inline;
  17176. begin
  17177. pTDefRegMap(@Self)^.&set := $00000001;
  17178. end;
  17179. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  17180. begin
  17181. pTDefRegMap(@Self)^.clr := $00000001;
  17182. end;
  17183. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  17184. begin
  17185. if thebits = 0 then
  17186. pTDefRegMap(@Self)^.clr := $00000001
  17187. else
  17188. pTDefRegMap(@Self)^.&set := $00000001;
  17189. end;
  17190. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  17191. begin
  17192. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17193. end;
  17194. procedure TADC10_AD1CSSL.setCSSL1; inline;
  17195. begin
  17196. pTDefRegMap(@Self)^.&set := $00000002;
  17197. end;
  17198. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  17199. begin
  17200. pTDefRegMap(@Self)^.clr := $00000002;
  17201. end;
  17202. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  17203. begin
  17204. if thebits = 0 then
  17205. pTDefRegMap(@Self)^.clr := $00000002
  17206. else
  17207. pTDefRegMap(@Self)^.&set := $00000002;
  17208. end;
  17209. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  17210. begin
  17211. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17212. end;
  17213. procedure TADC10_AD1CSSL.setCSSL2; inline;
  17214. begin
  17215. pTDefRegMap(@Self)^.&set := $00000004;
  17216. end;
  17217. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  17218. begin
  17219. pTDefRegMap(@Self)^.clr := $00000004;
  17220. end;
  17221. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  17222. begin
  17223. if thebits = 0 then
  17224. pTDefRegMap(@Self)^.clr := $00000004
  17225. else
  17226. pTDefRegMap(@Self)^.&set := $00000004;
  17227. end;
  17228. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  17229. begin
  17230. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17231. end;
  17232. procedure TADC10_AD1CSSL.setCSSL3; inline;
  17233. begin
  17234. pTDefRegMap(@Self)^.&set := $00000008;
  17235. end;
  17236. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  17237. begin
  17238. pTDefRegMap(@Self)^.clr := $00000008;
  17239. end;
  17240. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  17241. begin
  17242. if thebits = 0 then
  17243. pTDefRegMap(@Self)^.clr := $00000008
  17244. else
  17245. pTDefRegMap(@Self)^.&set := $00000008;
  17246. end;
  17247. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  17248. begin
  17249. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17250. end;
  17251. procedure TADC10_AD1CSSL.setCSSL4; inline;
  17252. begin
  17253. pTDefRegMap(@Self)^.&set := $00000010;
  17254. end;
  17255. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  17256. begin
  17257. pTDefRegMap(@Self)^.clr := $00000010;
  17258. end;
  17259. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  17260. begin
  17261. if thebits = 0 then
  17262. pTDefRegMap(@Self)^.clr := $00000010
  17263. else
  17264. pTDefRegMap(@Self)^.&set := $00000010;
  17265. end;
  17266. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  17267. begin
  17268. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17269. end;
  17270. procedure TADC10_AD1CSSL.setCSSL5; inline;
  17271. begin
  17272. pTDefRegMap(@Self)^.&set := $00000020;
  17273. end;
  17274. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  17275. begin
  17276. pTDefRegMap(@Self)^.clr := $00000020;
  17277. end;
  17278. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  17279. begin
  17280. if thebits = 0 then
  17281. pTDefRegMap(@Self)^.clr := $00000020
  17282. else
  17283. pTDefRegMap(@Self)^.&set := $00000020;
  17284. end;
  17285. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  17286. begin
  17287. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17288. end;
  17289. procedure TADC10_AD1CSSL.setCSSL6; inline;
  17290. begin
  17291. pTDefRegMap(@Self)^.&set := $00000040;
  17292. end;
  17293. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  17294. begin
  17295. pTDefRegMap(@Self)^.clr := $00000040;
  17296. end;
  17297. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  17298. begin
  17299. if thebits = 0 then
  17300. pTDefRegMap(@Self)^.clr := $00000040
  17301. else
  17302. pTDefRegMap(@Self)^.&set := $00000040;
  17303. end;
  17304. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  17305. begin
  17306. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17307. end;
  17308. procedure TADC10_AD1CSSL.setCSSL7; inline;
  17309. begin
  17310. pTDefRegMap(@Self)^.&set := $00000080;
  17311. end;
  17312. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  17313. begin
  17314. pTDefRegMap(@Self)^.clr := $00000080;
  17315. end;
  17316. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  17317. begin
  17318. if thebits = 0 then
  17319. pTDefRegMap(@Self)^.clr := $00000080
  17320. else
  17321. pTDefRegMap(@Self)^.&set := $00000080;
  17322. end;
  17323. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  17324. begin
  17325. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17326. end;
  17327. procedure TADC10_AD1CSSL.setCSSL8; inline;
  17328. begin
  17329. pTDefRegMap(@Self)^.&set := $00000100;
  17330. end;
  17331. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  17332. begin
  17333. pTDefRegMap(@Self)^.clr := $00000100;
  17334. end;
  17335. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  17336. begin
  17337. if thebits = 0 then
  17338. pTDefRegMap(@Self)^.clr := $00000100
  17339. else
  17340. pTDefRegMap(@Self)^.&set := $00000100;
  17341. end;
  17342. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  17343. begin
  17344. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17345. end;
  17346. procedure TADC10_AD1CSSL.setCSSL9; inline;
  17347. begin
  17348. pTDefRegMap(@Self)^.&set := $00000200;
  17349. end;
  17350. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  17351. begin
  17352. pTDefRegMap(@Self)^.clr := $00000200;
  17353. end;
  17354. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  17355. begin
  17356. if thebits = 0 then
  17357. pTDefRegMap(@Self)^.clr := $00000200
  17358. else
  17359. pTDefRegMap(@Self)^.&set := $00000200;
  17360. end;
  17361. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  17362. begin
  17363. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17364. end;
  17365. procedure TADC10_AD1CSSL.setCSSL10; inline;
  17366. begin
  17367. pTDefRegMap(@Self)^.&set := $00000400;
  17368. end;
  17369. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  17370. begin
  17371. pTDefRegMap(@Self)^.clr := $00000400;
  17372. end;
  17373. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  17374. begin
  17375. if thebits = 0 then
  17376. pTDefRegMap(@Self)^.clr := $00000400
  17377. else
  17378. pTDefRegMap(@Self)^.&set := $00000400;
  17379. end;
  17380. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  17381. begin
  17382. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17383. end;
  17384. procedure TADC10_AD1CSSL.setCSSL11; inline;
  17385. begin
  17386. pTDefRegMap(@Self)^.&set := $00000800;
  17387. end;
  17388. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  17389. begin
  17390. pTDefRegMap(@Self)^.clr := $00000800;
  17391. end;
  17392. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  17393. begin
  17394. if thebits = 0 then
  17395. pTDefRegMap(@Self)^.clr := $00000800
  17396. else
  17397. pTDefRegMap(@Self)^.&set := $00000800;
  17398. end;
  17399. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  17400. begin
  17401. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17402. end;
  17403. procedure TADC10_AD1CSSL.setCSSL12; inline;
  17404. begin
  17405. pTDefRegMap(@Self)^.&set := $00001000;
  17406. end;
  17407. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  17408. begin
  17409. pTDefRegMap(@Self)^.clr := $00001000;
  17410. end;
  17411. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  17412. begin
  17413. if thebits = 0 then
  17414. pTDefRegMap(@Self)^.clr := $00001000
  17415. else
  17416. pTDefRegMap(@Self)^.&set := $00001000;
  17417. end;
  17418. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  17419. begin
  17420. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17421. end;
  17422. procedure TADC10_AD1CSSL.setCSSL13; inline;
  17423. begin
  17424. pTDefRegMap(@Self)^.&set := $00002000;
  17425. end;
  17426. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  17427. begin
  17428. pTDefRegMap(@Self)^.clr := $00002000;
  17429. end;
  17430. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  17431. begin
  17432. if thebits = 0 then
  17433. pTDefRegMap(@Self)^.clr := $00002000
  17434. else
  17435. pTDefRegMap(@Self)^.&set := $00002000;
  17436. end;
  17437. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  17438. begin
  17439. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17440. end;
  17441. procedure TADC10_AD1CSSL.setCSSL14; inline;
  17442. begin
  17443. pTDefRegMap(@Self)^.&set := $00004000;
  17444. end;
  17445. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  17446. begin
  17447. pTDefRegMap(@Self)^.clr := $00004000;
  17448. end;
  17449. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  17450. begin
  17451. if thebits = 0 then
  17452. pTDefRegMap(@Self)^.clr := $00004000
  17453. else
  17454. pTDefRegMap(@Self)^.&set := $00004000;
  17455. end;
  17456. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  17457. begin
  17458. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17459. end;
  17460. procedure TADC10_AD1CSSL.setCSSL15; inline;
  17461. begin
  17462. pTDefRegMap(@Self)^.&set := $00008000;
  17463. end;
  17464. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  17465. begin
  17466. pTDefRegMap(@Self)^.clr := $00008000;
  17467. end;
  17468. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  17469. begin
  17470. if thebits = 0 then
  17471. pTDefRegMap(@Self)^.clr := $00008000
  17472. else
  17473. pTDefRegMap(@Self)^.&set := $00008000;
  17474. end;
  17475. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  17476. begin
  17477. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17478. end;
  17479. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  17480. begin
  17481. pTDefRegMap(@Self)^.val := thebits;
  17482. end;
  17483. function TADC10_AD1CSSL.getw : TBits_32; inline;
  17484. begin
  17485. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17486. end;
  17487. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  17488. begin
  17489. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17490. end;
  17491. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  17492. begin
  17493. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17494. end;
  17495. procedure TADC10_AD1PCFG.setPCFG0; inline;
  17496. begin
  17497. pTDefRegMap(@Self)^.&set := $00000001;
  17498. end;
  17499. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  17500. begin
  17501. pTDefRegMap(@Self)^.clr := $00000001;
  17502. end;
  17503. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  17504. begin
  17505. if thebits = 0 then
  17506. pTDefRegMap(@Self)^.clr := $00000001
  17507. else
  17508. pTDefRegMap(@Self)^.&set := $00000001;
  17509. end;
  17510. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  17511. begin
  17512. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17513. end;
  17514. procedure TADC10_AD1PCFG.setPCFG1; inline;
  17515. begin
  17516. pTDefRegMap(@Self)^.&set := $00000002;
  17517. end;
  17518. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  17519. begin
  17520. pTDefRegMap(@Self)^.clr := $00000002;
  17521. end;
  17522. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  17523. begin
  17524. if thebits = 0 then
  17525. pTDefRegMap(@Self)^.clr := $00000002
  17526. else
  17527. pTDefRegMap(@Self)^.&set := $00000002;
  17528. end;
  17529. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  17530. begin
  17531. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17532. end;
  17533. procedure TADC10_AD1PCFG.setPCFG2; inline;
  17534. begin
  17535. pTDefRegMap(@Self)^.&set := $00000004;
  17536. end;
  17537. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  17538. begin
  17539. pTDefRegMap(@Self)^.clr := $00000004;
  17540. end;
  17541. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  17542. begin
  17543. if thebits = 0 then
  17544. pTDefRegMap(@Self)^.clr := $00000004
  17545. else
  17546. pTDefRegMap(@Self)^.&set := $00000004;
  17547. end;
  17548. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  17549. begin
  17550. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17551. end;
  17552. procedure TADC10_AD1PCFG.setPCFG3; inline;
  17553. begin
  17554. pTDefRegMap(@Self)^.&set := $00000008;
  17555. end;
  17556. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  17557. begin
  17558. pTDefRegMap(@Self)^.clr := $00000008;
  17559. end;
  17560. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  17561. begin
  17562. if thebits = 0 then
  17563. pTDefRegMap(@Self)^.clr := $00000008
  17564. else
  17565. pTDefRegMap(@Self)^.&set := $00000008;
  17566. end;
  17567. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  17568. begin
  17569. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17570. end;
  17571. procedure TADC10_AD1PCFG.setPCFG4; inline;
  17572. begin
  17573. pTDefRegMap(@Self)^.&set := $00000010;
  17574. end;
  17575. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  17576. begin
  17577. pTDefRegMap(@Self)^.clr := $00000010;
  17578. end;
  17579. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  17580. begin
  17581. if thebits = 0 then
  17582. pTDefRegMap(@Self)^.clr := $00000010
  17583. else
  17584. pTDefRegMap(@Self)^.&set := $00000010;
  17585. end;
  17586. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  17587. begin
  17588. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17589. end;
  17590. procedure TADC10_AD1PCFG.setPCFG5; inline;
  17591. begin
  17592. pTDefRegMap(@Self)^.&set := $00000020;
  17593. end;
  17594. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  17595. begin
  17596. pTDefRegMap(@Self)^.clr := $00000020;
  17597. end;
  17598. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  17599. begin
  17600. if thebits = 0 then
  17601. pTDefRegMap(@Self)^.clr := $00000020
  17602. else
  17603. pTDefRegMap(@Self)^.&set := $00000020;
  17604. end;
  17605. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  17606. begin
  17607. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17608. end;
  17609. procedure TADC10_AD1PCFG.setPCFG6; inline;
  17610. begin
  17611. pTDefRegMap(@Self)^.&set := $00000040;
  17612. end;
  17613. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  17614. begin
  17615. pTDefRegMap(@Self)^.clr := $00000040;
  17616. end;
  17617. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  17618. begin
  17619. if thebits = 0 then
  17620. pTDefRegMap(@Self)^.clr := $00000040
  17621. else
  17622. pTDefRegMap(@Self)^.&set := $00000040;
  17623. end;
  17624. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  17625. begin
  17626. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17627. end;
  17628. procedure TADC10_AD1PCFG.setPCFG7; inline;
  17629. begin
  17630. pTDefRegMap(@Self)^.&set := $00000080;
  17631. end;
  17632. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  17633. begin
  17634. pTDefRegMap(@Self)^.clr := $00000080;
  17635. end;
  17636. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  17637. begin
  17638. if thebits = 0 then
  17639. pTDefRegMap(@Self)^.clr := $00000080
  17640. else
  17641. pTDefRegMap(@Self)^.&set := $00000080;
  17642. end;
  17643. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  17644. begin
  17645. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17646. end;
  17647. procedure TADC10_AD1PCFG.setPCFG8; inline;
  17648. begin
  17649. pTDefRegMap(@Self)^.&set := $00000100;
  17650. end;
  17651. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  17652. begin
  17653. pTDefRegMap(@Self)^.clr := $00000100;
  17654. end;
  17655. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  17656. begin
  17657. if thebits = 0 then
  17658. pTDefRegMap(@Self)^.clr := $00000100
  17659. else
  17660. pTDefRegMap(@Self)^.&set := $00000100;
  17661. end;
  17662. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  17663. begin
  17664. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17665. end;
  17666. procedure TADC10_AD1PCFG.setPCFG9; inline;
  17667. begin
  17668. pTDefRegMap(@Self)^.&set := $00000200;
  17669. end;
  17670. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  17671. begin
  17672. pTDefRegMap(@Self)^.clr := $00000200;
  17673. end;
  17674. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  17675. begin
  17676. if thebits = 0 then
  17677. pTDefRegMap(@Self)^.clr := $00000200
  17678. else
  17679. pTDefRegMap(@Self)^.&set := $00000200;
  17680. end;
  17681. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  17682. begin
  17683. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17684. end;
  17685. procedure TADC10_AD1PCFG.setPCFG10; inline;
  17686. begin
  17687. pTDefRegMap(@Self)^.&set := $00000400;
  17688. end;
  17689. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  17690. begin
  17691. pTDefRegMap(@Self)^.clr := $00000400;
  17692. end;
  17693. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  17694. begin
  17695. if thebits = 0 then
  17696. pTDefRegMap(@Self)^.clr := $00000400
  17697. else
  17698. pTDefRegMap(@Self)^.&set := $00000400;
  17699. end;
  17700. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  17701. begin
  17702. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17703. end;
  17704. procedure TADC10_AD1PCFG.setPCFG11; inline;
  17705. begin
  17706. pTDefRegMap(@Self)^.&set := $00000800;
  17707. end;
  17708. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  17709. begin
  17710. pTDefRegMap(@Self)^.clr := $00000800;
  17711. end;
  17712. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  17713. begin
  17714. if thebits = 0 then
  17715. pTDefRegMap(@Self)^.clr := $00000800
  17716. else
  17717. pTDefRegMap(@Self)^.&set := $00000800;
  17718. end;
  17719. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  17720. begin
  17721. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17722. end;
  17723. procedure TADC10_AD1PCFG.setPCFG12; inline;
  17724. begin
  17725. pTDefRegMap(@Self)^.&set := $00001000;
  17726. end;
  17727. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  17728. begin
  17729. pTDefRegMap(@Self)^.clr := $00001000;
  17730. end;
  17731. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  17732. begin
  17733. if thebits = 0 then
  17734. pTDefRegMap(@Self)^.clr := $00001000
  17735. else
  17736. pTDefRegMap(@Self)^.&set := $00001000;
  17737. end;
  17738. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  17739. begin
  17740. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17741. end;
  17742. procedure TADC10_AD1PCFG.setPCFG13; inline;
  17743. begin
  17744. pTDefRegMap(@Self)^.&set := $00002000;
  17745. end;
  17746. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  17747. begin
  17748. pTDefRegMap(@Self)^.clr := $00002000;
  17749. end;
  17750. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  17751. begin
  17752. if thebits = 0 then
  17753. pTDefRegMap(@Self)^.clr := $00002000
  17754. else
  17755. pTDefRegMap(@Self)^.&set := $00002000;
  17756. end;
  17757. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  17758. begin
  17759. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17760. end;
  17761. procedure TADC10_AD1PCFG.setPCFG14; inline;
  17762. begin
  17763. pTDefRegMap(@Self)^.&set := $00004000;
  17764. end;
  17765. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  17766. begin
  17767. pTDefRegMap(@Self)^.clr := $00004000;
  17768. end;
  17769. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  17770. begin
  17771. if thebits = 0 then
  17772. pTDefRegMap(@Self)^.clr := $00004000
  17773. else
  17774. pTDefRegMap(@Self)^.&set := $00004000;
  17775. end;
  17776. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  17777. begin
  17778. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17779. end;
  17780. procedure TADC10_AD1PCFG.setPCFG15; inline;
  17781. begin
  17782. pTDefRegMap(@Self)^.&set := $00008000;
  17783. end;
  17784. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  17785. begin
  17786. pTDefRegMap(@Self)^.clr := $00008000;
  17787. end;
  17788. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  17789. begin
  17790. if thebits = 0 then
  17791. pTDefRegMap(@Self)^.clr := $00008000
  17792. else
  17793. pTDefRegMap(@Self)^.&set := $00008000;
  17794. end;
  17795. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  17796. begin
  17797. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17798. end;
  17799. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  17800. begin
  17801. pTDefRegMap(@Self)^.val := thebits;
  17802. end;
  17803. function TADC10_AD1PCFG.getw : TBits_32; inline;
  17804. begin
  17805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17806. end;
  17807. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  17808. begin
  17809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17810. end;
  17811. function TCVR_CVRCON.getCVR : TBits_4; inline;
  17812. begin
  17813. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17814. end;
  17815. procedure TCVR_CVRCON.setCVRSS; inline;
  17816. begin
  17817. pTDefRegMap(@Self)^.&set := $00000010;
  17818. end;
  17819. procedure TCVR_CVRCON.clearCVRSS; inline;
  17820. begin
  17821. pTDefRegMap(@Self)^.clr := $00000010;
  17822. end;
  17823. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  17824. begin
  17825. if thebits = 0 then
  17826. pTDefRegMap(@Self)^.clr := $00000010
  17827. else
  17828. pTDefRegMap(@Self)^.&set := $00000010;
  17829. end;
  17830. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  17831. begin
  17832. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17833. end;
  17834. procedure TCVR_CVRCON.setCVRR; inline;
  17835. begin
  17836. pTDefRegMap(@Self)^.&set := $00000020;
  17837. end;
  17838. procedure TCVR_CVRCON.clearCVRR; inline;
  17839. begin
  17840. pTDefRegMap(@Self)^.clr := $00000020;
  17841. end;
  17842. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  17843. begin
  17844. if thebits = 0 then
  17845. pTDefRegMap(@Self)^.clr := $00000020
  17846. else
  17847. pTDefRegMap(@Self)^.&set := $00000020;
  17848. end;
  17849. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  17850. begin
  17851. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17852. end;
  17853. procedure TCVR_CVRCON.setCVROE; inline;
  17854. begin
  17855. pTDefRegMap(@Self)^.&set := $00000040;
  17856. end;
  17857. procedure TCVR_CVRCON.clearCVROE; inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.clr := $00000040;
  17860. end;
  17861. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  17862. begin
  17863. if thebits = 0 then
  17864. pTDefRegMap(@Self)^.clr := $00000040
  17865. else
  17866. pTDefRegMap(@Self)^.&set := $00000040;
  17867. end;
  17868. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  17869. begin
  17870. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17871. end;
  17872. procedure TCVR_CVRCON.setON; inline;
  17873. begin
  17874. pTDefRegMap(@Self)^.&set := $00008000;
  17875. end;
  17876. procedure TCVR_CVRCON.clearON; inline;
  17877. begin
  17878. pTDefRegMap(@Self)^.clr := $00008000;
  17879. end;
  17880. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  17881. begin
  17882. if thebits = 0 then
  17883. pTDefRegMap(@Self)^.clr := $00008000
  17884. else
  17885. pTDefRegMap(@Self)^.&set := $00008000;
  17886. end;
  17887. function TCVR_CVRCON.getON : TBits_1; inline;
  17888. begin
  17889. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17890. end;
  17891. procedure TCVR_CVRCON.setCVR0; inline;
  17892. begin
  17893. pTDefRegMap(@Self)^.&set := $00000001;
  17894. end;
  17895. procedure TCVR_CVRCON.clearCVR0; inline;
  17896. begin
  17897. pTDefRegMap(@Self)^.clr := $00000001;
  17898. end;
  17899. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  17900. begin
  17901. if thebits = 0 then
  17902. pTDefRegMap(@Self)^.clr := $00000001
  17903. else
  17904. pTDefRegMap(@Self)^.&set := $00000001;
  17905. end;
  17906. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  17907. begin
  17908. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17909. end;
  17910. procedure TCVR_CVRCON.setCVR1; inline;
  17911. begin
  17912. pTDefRegMap(@Self)^.&set := $00000002;
  17913. end;
  17914. procedure TCVR_CVRCON.clearCVR1; inline;
  17915. begin
  17916. pTDefRegMap(@Self)^.clr := $00000002;
  17917. end;
  17918. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  17919. begin
  17920. if thebits = 0 then
  17921. pTDefRegMap(@Self)^.clr := $00000002
  17922. else
  17923. pTDefRegMap(@Self)^.&set := $00000002;
  17924. end;
  17925. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  17926. begin
  17927. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17928. end;
  17929. procedure TCVR_CVRCON.setCVR2; inline;
  17930. begin
  17931. pTDefRegMap(@Self)^.&set := $00000004;
  17932. end;
  17933. procedure TCVR_CVRCON.clearCVR2; inline;
  17934. begin
  17935. pTDefRegMap(@Self)^.clr := $00000004;
  17936. end;
  17937. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  17938. begin
  17939. if thebits = 0 then
  17940. pTDefRegMap(@Self)^.clr := $00000004
  17941. else
  17942. pTDefRegMap(@Self)^.&set := $00000004;
  17943. end;
  17944. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  17945. begin
  17946. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17947. end;
  17948. procedure TCVR_CVRCON.setCVR3; inline;
  17949. begin
  17950. pTDefRegMap(@Self)^.&set := $00000008;
  17951. end;
  17952. procedure TCVR_CVRCON.clearCVR3; inline;
  17953. begin
  17954. pTDefRegMap(@Self)^.clr := $00000008;
  17955. end;
  17956. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  17957. begin
  17958. if thebits = 0 then
  17959. pTDefRegMap(@Self)^.clr := $00000008
  17960. else
  17961. pTDefRegMap(@Self)^.&set := $00000008;
  17962. end;
  17963. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  17964. begin
  17965. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17966. end;
  17967. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  17968. begin
  17969. pTDefRegMap(@Self)^.val := thebits;
  17970. end;
  17971. function TCVR_CVRCON.getw : TBits_32; inline;
  17972. begin
  17973. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17974. end;
  17975. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  17976. begin
  17977. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17978. end;
  17979. function TCMP_CM1CON.getCCH : TBits_2; inline;
  17980. begin
  17981. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17982. end;
  17983. procedure TCMP_CM1CON.setCREF; inline;
  17984. begin
  17985. pTDefRegMap(@Self)^.&set := $00000010;
  17986. end;
  17987. procedure TCMP_CM1CON.clearCREF; inline;
  17988. begin
  17989. pTDefRegMap(@Self)^.clr := $00000010;
  17990. end;
  17991. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  17992. begin
  17993. if thebits = 0 then
  17994. pTDefRegMap(@Self)^.clr := $00000010
  17995. else
  17996. pTDefRegMap(@Self)^.&set := $00000010;
  17997. end;
  17998. function TCMP_CM1CON.getCREF : TBits_1; inline;
  17999. begin
  18000. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18001. end;
  18002. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  18003. begin
  18004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18005. end;
  18006. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  18007. begin
  18008. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18009. end;
  18010. procedure TCMP_CM1CON.setCOUT; inline;
  18011. begin
  18012. pTDefRegMap(@Self)^.&set := $00000100;
  18013. end;
  18014. procedure TCMP_CM1CON.clearCOUT; inline;
  18015. begin
  18016. pTDefRegMap(@Self)^.clr := $00000100;
  18017. end;
  18018. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  18019. begin
  18020. if thebits = 0 then
  18021. pTDefRegMap(@Self)^.clr := $00000100
  18022. else
  18023. pTDefRegMap(@Self)^.&set := $00000100;
  18024. end;
  18025. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  18026. begin
  18027. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18028. end;
  18029. procedure TCMP_CM1CON.setCPOL; inline;
  18030. begin
  18031. pTDefRegMap(@Self)^.&set := $00002000;
  18032. end;
  18033. procedure TCMP_CM1CON.clearCPOL; inline;
  18034. begin
  18035. pTDefRegMap(@Self)^.clr := $00002000;
  18036. end;
  18037. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  18038. begin
  18039. if thebits = 0 then
  18040. pTDefRegMap(@Self)^.clr := $00002000
  18041. else
  18042. pTDefRegMap(@Self)^.&set := $00002000;
  18043. end;
  18044. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  18045. begin
  18046. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18047. end;
  18048. procedure TCMP_CM1CON.setCOE; inline;
  18049. begin
  18050. pTDefRegMap(@Self)^.&set := $00004000;
  18051. end;
  18052. procedure TCMP_CM1CON.clearCOE; inline;
  18053. begin
  18054. pTDefRegMap(@Self)^.clr := $00004000;
  18055. end;
  18056. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  18057. begin
  18058. if thebits = 0 then
  18059. pTDefRegMap(@Self)^.clr := $00004000
  18060. else
  18061. pTDefRegMap(@Self)^.&set := $00004000;
  18062. end;
  18063. function TCMP_CM1CON.getCOE : TBits_1; inline;
  18064. begin
  18065. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18066. end;
  18067. procedure TCMP_CM1CON.setON; inline;
  18068. begin
  18069. pTDefRegMap(@Self)^.&set := $00008000;
  18070. end;
  18071. procedure TCMP_CM1CON.clearON; inline;
  18072. begin
  18073. pTDefRegMap(@Self)^.clr := $00008000;
  18074. end;
  18075. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  18076. begin
  18077. if thebits = 0 then
  18078. pTDefRegMap(@Self)^.clr := $00008000
  18079. else
  18080. pTDefRegMap(@Self)^.&set := $00008000;
  18081. end;
  18082. function TCMP_CM1CON.getON : TBits_1; inline;
  18083. begin
  18084. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18085. end;
  18086. procedure TCMP_CM1CON.setCCH0; inline;
  18087. begin
  18088. pTDefRegMap(@Self)^.&set := $00000001;
  18089. end;
  18090. procedure TCMP_CM1CON.clearCCH0; inline;
  18091. begin
  18092. pTDefRegMap(@Self)^.clr := $00000001;
  18093. end;
  18094. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  18095. begin
  18096. if thebits = 0 then
  18097. pTDefRegMap(@Self)^.clr := $00000001
  18098. else
  18099. pTDefRegMap(@Self)^.&set := $00000001;
  18100. end;
  18101. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  18102. begin
  18103. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18104. end;
  18105. procedure TCMP_CM1CON.setCCH1; inline;
  18106. begin
  18107. pTDefRegMap(@Self)^.&set := $00000002;
  18108. end;
  18109. procedure TCMP_CM1CON.clearCCH1; inline;
  18110. begin
  18111. pTDefRegMap(@Self)^.clr := $00000002;
  18112. end;
  18113. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  18114. begin
  18115. if thebits = 0 then
  18116. pTDefRegMap(@Self)^.clr := $00000002
  18117. else
  18118. pTDefRegMap(@Self)^.&set := $00000002;
  18119. end;
  18120. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  18121. begin
  18122. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18123. end;
  18124. procedure TCMP_CM1CON.setEVPOL0; inline;
  18125. begin
  18126. pTDefRegMap(@Self)^.&set := $00000040;
  18127. end;
  18128. procedure TCMP_CM1CON.clearEVPOL0; inline;
  18129. begin
  18130. pTDefRegMap(@Self)^.clr := $00000040;
  18131. end;
  18132. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  18133. begin
  18134. if thebits = 0 then
  18135. pTDefRegMap(@Self)^.clr := $00000040
  18136. else
  18137. pTDefRegMap(@Self)^.&set := $00000040;
  18138. end;
  18139. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  18140. begin
  18141. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18142. end;
  18143. procedure TCMP_CM1CON.setEVPOL1; inline;
  18144. begin
  18145. pTDefRegMap(@Self)^.&set := $00000080;
  18146. end;
  18147. procedure TCMP_CM1CON.clearEVPOL1; inline;
  18148. begin
  18149. pTDefRegMap(@Self)^.clr := $00000080;
  18150. end;
  18151. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  18152. begin
  18153. if thebits = 0 then
  18154. pTDefRegMap(@Self)^.clr := $00000080
  18155. else
  18156. pTDefRegMap(@Self)^.&set := $00000080;
  18157. end;
  18158. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  18159. begin
  18160. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18161. end;
  18162. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  18163. begin
  18164. pTDefRegMap(@Self)^.val := thebits;
  18165. end;
  18166. function TCMP_CM1CON.getw : TBits_32; inline;
  18167. begin
  18168. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18169. end;
  18170. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  18171. begin
  18172. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18173. end;
  18174. function TCMP_CM2CON.getCCH : TBits_2; inline;
  18175. begin
  18176. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18177. end;
  18178. procedure TCMP_CM2CON.setCREF; inline;
  18179. begin
  18180. pTDefRegMap(@Self)^.&set := $00000010;
  18181. end;
  18182. procedure TCMP_CM2CON.clearCREF; inline;
  18183. begin
  18184. pTDefRegMap(@Self)^.clr := $00000010;
  18185. end;
  18186. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  18187. begin
  18188. if thebits = 0 then
  18189. pTDefRegMap(@Self)^.clr := $00000010
  18190. else
  18191. pTDefRegMap(@Self)^.&set := $00000010;
  18192. end;
  18193. function TCMP_CM2CON.getCREF : TBits_1; inline;
  18194. begin
  18195. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18196. end;
  18197. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  18198. begin
  18199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18200. end;
  18201. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  18202. begin
  18203. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18204. end;
  18205. procedure TCMP_CM2CON.setCOUT; inline;
  18206. begin
  18207. pTDefRegMap(@Self)^.&set := $00000100;
  18208. end;
  18209. procedure TCMP_CM2CON.clearCOUT; inline;
  18210. begin
  18211. pTDefRegMap(@Self)^.clr := $00000100;
  18212. end;
  18213. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  18214. begin
  18215. if thebits = 0 then
  18216. pTDefRegMap(@Self)^.clr := $00000100
  18217. else
  18218. pTDefRegMap(@Self)^.&set := $00000100;
  18219. end;
  18220. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  18221. begin
  18222. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18223. end;
  18224. procedure TCMP_CM2CON.setCPOL; inline;
  18225. begin
  18226. pTDefRegMap(@Self)^.&set := $00002000;
  18227. end;
  18228. procedure TCMP_CM2CON.clearCPOL; inline;
  18229. begin
  18230. pTDefRegMap(@Self)^.clr := $00002000;
  18231. end;
  18232. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  18233. begin
  18234. if thebits = 0 then
  18235. pTDefRegMap(@Self)^.clr := $00002000
  18236. else
  18237. pTDefRegMap(@Self)^.&set := $00002000;
  18238. end;
  18239. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  18240. begin
  18241. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18242. end;
  18243. procedure TCMP_CM2CON.setCOE; inline;
  18244. begin
  18245. pTDefRegMap(@Self)^.&set := $00004000;
  18246. end;
  18247. procedure TCMP_CM2CON.clearCOE; inline;
  18248. begin
  18249. pTDefRegMap(@Self)^.clr := $00004000;
  18250. end;
  18251. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  18252. begin
  18253. if thebits = 0 then
  18254. pTDefRegMap(@Self)^.clr := $00004000
  18255. else
  18256. pTDefRegMap(@Self)^.&set := $00004000;
  18257. end;
  18258. function TCMP_CM2CON.getCOE : TBits_1; inline;
  18259. begin
  18260. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18261. end;
  18262. procedure TCMP_CM2CON.setON; inline;
  18263. begin
  18264. pTDefRegMap(@Self)^.&set := $00008000;
  18265. end;
  18266. procedure TCMP_CM2CON.clearON; inline;
  18267. begin
  18268. pTDefRegMap(@Self)^.clr := $00008000;
  18269. end;
  18270. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  18271. begin
  18272. if thebits = 0 then
  18273. pTDefRegMap(@Self)^.clr := $00008000
  18274. else
  18275. pTDefRegMap(@Self)^.&set := $00008000;
  18276. end;
  18277. function TCMP_CM2CON.getON : TBits_1; inline;
  18278. begin
  18279. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18280. end;
  18281. procedure TCMP_CM2CON.setCCH0; inline;
  18282. begin
  18283. pTDefRegMap(@Self)^.&set := $00000001;
  18284. end;
  18285. procedure TCMP_CM2CON.clearCCH0; inline;
  18286. begin
  18287. pTDefRegMap(@Self)^.clr := $00000001;
  18288. end;
  18289. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  18290. begin
  18291. if thebits = 0 then
  18292. pTDefRegMap(@Self)^.clr := $00000001
  18293. else
  18294. pTDefRegMap(@Self)^.&set := $00000001;
  18295. end;
  18296. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  18297. begin
  18298. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18299. end;
  18300. procedure TCMP_CM2CON.setCCH1; inline;
  18301. begin
  18302. pTDefRegMap(@Self)^.&set := $00000002;
  18303. end;
  18304. procedure TCMP_CM2CON.clearCCH1; inline;
  18305. begin
  18306. pTDefRegMap(@Self)^.clr := $00000002;
  18307. end;
  18308. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  18309. begin
  18310. if thebits = 0 then
  18311. pTDefRegMap(@Self)^.clr := $00000002
  18312. else
  18313. pTDefRegMap(@Self)^.&set := $00000002;
  18314. end;
  18315. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  18316. begin
  18317. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18318. end;
  18319. procedure TCMP_CM2CON.setEVPOL0; inline;
  18320. begin
  18321. pTDefRegMap(@Self)^.&set := $00000040;
  18322. end;
  18323. procedure TCMP_CM2CON.clearEVPOL0; inline;
  18324. begin
  18325. pTDefRegMap(@Self)^.clr := $00000040;
  18326. end;
  18327. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  18328. begin
  18329. if thebits = 0 then
  18330. pTDefRegMap(@Self)^.clr := $00000040
  18331. else
  18332. pTDefRegMap(@Self)^.&set := $00000040;
  18333. end;
  18334. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  18335. begin
  18336. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18337. end;
  18338. procedure TCMP_CM2CON.setEVPOL1; inline;
  18339. begin
  18340. pTDefRegMap(@Self)^.&set := $00000080;
  18341. end;
  18342. procedure TCMP_CM2CON.clearEVPOL1; inline;
  18343. begin
  18344. pTDefRegMap(@Self)^.clr := $00000080;
  18345. end;
  18346. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  18347. begin
  18348. if thebits = 0 then
  18349. pTDefRegMap(@Self)^.clr := $00000080
  18350. else
  18351. pTDefRegMap(@Self)^.&set := $00000080;
  18352. end;
  18353. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  18354. begin
  18355. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18356. end;
  18357. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  18358. begin
  18359. pTDefRegMap(@Self)^.val := thebits;
  18360. end;
  18361. function TCMP_CM2CON.getw : TBits_32; inline;
  18362. begin
  18363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18364. end;
  18365. procedure TCMP_CMSTAT.setC1OUT; inline;
  18366. begin
  18367. pTDefRegMap(@Self)^.&set := $00000001;
  18368. end;
  18369. procedure TCMP_CMSTAT.clearC1OUT; inline;
  18370. begin
  18371. pTDefRegMap(@Self)^.clr := $00000001;
  18372. end;
  18373. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  18374. begin
  18375. if thebits = 0 then
  18376. pTDefRegMap(@Self)^.clr := $00000001
  18377. else
  18378. pTDefRegMap(@Self)^.&set := $00000001;
  18379. end;
  18380. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  18381. begin
  18382. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18383. end;
  18384. procedure TCMP_CMSTAT.setC2OUT; inline;
  18385. begin
  18386. pTDefRegMap(@Self)^.&set := $00000002;
  18387. end;
  18388. procedure TCMP_CMSTAT.clearC2OUT; inline;
  18389. begin
  18390. pTDefRegMap(@Self)^.clr := $00000002;
  18391. end;
  18392. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  18393. begin
  18394. if thebits = 0 then
  18395. pTDefRegMap(@Self)^.clr := $00000002
  18396. else
  18397. pTDefRegMap(@Self)^.&set := $00000002;
  18398. end;
  18399. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  18400. begin
  18401. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18402. end;
  18403. procedure TCMP_CMSTAT.setSIDL; inline;
  18404. begin
  18405. pTDefRegMap(@Self)^.&set := $00002000;
  18406. end;
  18407. procedure TCMP_CMSTAT.clearSIDL; inline;
  18408. begin
  18409. pTDefRegMap(@Self)^.clr := $00002000;
  18410. end;
  18411. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  18412. begin
  18413. if thebits = 0 then
  18414. pTDefRegMap(@Self)^.clr := $00002000
  18415. else
  18416. pTDefRegMap(@Self)^.&set := $00002000;
  18417. end;
  18418. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  18419. begin
  18420. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18421. end;
  18422. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  18423. begin
  18424. pTDefRegMap(@Self)^.val := thebits;
  18425. end;
  18426. function TCMP_CMSTAT.getw : TBits_32; inline;
  18427. begin
  18428. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18429. end;
  18430. procedure TOSC_OSCCON.setOSWEN; inline;
  18431. begin
  18432. pTDefRegMap(@Self)^.&set := $00000001;
  18433. end;
  18434. procedure TOSC_OSCCON.clearOSWEN; inline;
  18435. begin
  18436. pTDefRegMap(@Self)^.clr := $00000001;
  18437. end;
  18438. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  18439. begin
  18440. if thebits = 0 then
  18441. pTDefRegMap(@Self)^.clr := $00000001
  18442. else
  18443. pTDefRegMap(@Self)^.&set := $00000001;
  18444. end;
  18445. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  18446. begin
  18447. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18448. end;
  18449. procedure TOSC_OSCCON.setSOSCEN; inline;
  18450. begin
  18451. pTDefRegMap(@Self)^.&set := $00000002;
  18452. end;
  18453. procedure TOSC_OSCCON.clearSOSCEN; inline;
  18454. begin
  18455. pTDefRegMap(@Self)^.clr := $00000002;
  18456. end;
  18457. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  18458. begin
  18459. if thebits = 0 then
  18460. pTDefRegMap(@Self)^.clr := $00000002
  18461. else
  18462. pTDefRegMap(@Self)^.&set := $00000002;
  18463. end;
  18464. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  18465. begin
  18466. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18467. end;
  18468. procedure TOSC_OSCCON.setUFRCEN; inline;
  18469. begin
  18470. pTDefRegMap(@Self)^.&set := $00000004;
  18471. end;
  18472. procedure TOSC_OSCCON.clearUFRCEN; inline;
  18473. begin
  18474. pTDefRegMap(@Self)^.clr := $00000004;
  18475. end;
  18476. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  18477. begin
  18478. if thebits = 0 then
  18479. pTDefRegMap(@Self)^.clr := $00000004
  18480. else
  18481. pTDefRegMap(@Self)^.&set := $00000004;
  18482. end;
  18483. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  18484. begin
  18485. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18486. end;
  18487. procedure TOSC_OSCCON.setCF; inline;
  18488. begin
  18489. pTDefRegMap(@Self)^.&set := $00000008;
  18490. end;
  18491. procedure TOSC_OSCCON.clearCF; inline;
  18492. begin
  18493. pTDefRegMap(@Self)^.clr := $00000008;
  18494. end;
  18495. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  18496. begin
  18497. if thebits = 0 then
  18498. pTDefRegMap(@Self)^.clr := $00000008
  18499. else
  18500. pTDefRegMap(@Self)^.&set := $00000008;
  18501. end;
  18502. function TOSC_OSCCON.getCF : TBits_1; inline;
  18503. begin
  18504. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18505. end;
  18506. procedure TOSC_OSCCON.setSLPEN; inline;
  18507. begin
  18508. pTDefRegMap(@Self)^.&set := $00000010;
  18509. end;
  18510. procedure TOSC_OSCCON.clearSLPEN; inline;
  18511. begin
  18512. pTDefRegMap(@Self)^.clr := $00000010;
  18513. end;
  18514. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  18515. begin
  18516. if thebits = 0 then
  18517. pTDefRegMap(@Self)^.clr := $00000010
  18518. else
  18519. pTDefRegMap(@Self)^.&set := $00000010;
  18520. end;
  18521. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  18522. begin
  18523. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18524. end;
  18525. procedure TOSC_OSCCON.setLOCK; inline;
  18526. begin
  18527. pTDefRegMap(@Self)^.&set := $00000020;
  18528. end;
  18529. procedure TOSC_OSCCON.clearLOCK; inline;
  18530. begin
  18531. pTDefRegMap(@Self)^.clr := $00000020;
  18532. end;
  18533. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  18534. begin
  18535. if thebits = 0 then
  18536. pTDefRegMap(@Self)^.clr := $00000020
  18537. else
  18538. pTDefRegMap(@Self)^.&set := $00000020;
  18539. end;
  18540. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  18541. begin
  18542. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18543. end;
  18544. procedure TOSC_OSCCON.setULOCK; inline;
  18545. begin
  18546. pTDefRegMap(@Self)^.&set := $00000040;
  18547. end;
  18548. procedure TOSC_OSCCON.clearULOCK; inline;
  18549. begin
  18550. pTDefRegMap(@Self)^.clr := $00000040;
  18551. end;
  18552. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  18553. begin
  18554. if thebits = 0 then
  18555. pTDefRegMap(@Self)^.clr := $00000040
  18556. else
  18557. pTDefRegMap(@Self)^.&set := $00000040;
  18558. end;
  18559. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  18560. begin
  18561. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18562. end;
  18563. procedure TOSC_OSCCON.setCLKLOCK; inline;
  18564. begin
  18565. pTDefRegMap(@Self)^.&set := $00000080;
  18566. end;
  18567. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  18568. begin
  18569. pTDefRegMap(@Self)^.clr := $00000080;
  18570. end;
  18571. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  18572. begin
  18573. if thebits = 0 then
  18574. pTDefRegMap(@Self)^.clr := $00000080
  18575. else
  18576. pTDefRegMap(@Self)^.&set := $00000080;
  18577. end;
  18578. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  18579. begin
  18580. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18581. end;
  18582. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  18583. begin
  18584. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  18585. end;
  18586. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  18587. begin
  18588. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  18589. end;
  18590. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  18591. begin
  18592. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  18593. end;
  18594. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  18595. begin
  18596. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  18597. end;
  18598. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  18599. begin
  18600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  18601. end;
  18602. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  18603. begin
  18604. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  18605. end;
  18606. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  18607. begin
  18608. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  18609. end;
  18610. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  18611. begin
  18612. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  18613. end;
  18614. procedure TOSC_OSCCON.setSOSCRDY; inline;
  18615. begin
  18616. pTDefRegMap(@Self)^.&set := $00400000;
  18617. end;
  18618. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  18619. begin
  18620. pTDefRegMap(@Self)^.clr := $00400000;
  18621. end;
  18622. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  18623. begin
  18624. if thebits = 0 then
  18625. pTDefRegMap(@Self)^.clr := $00400000
  18626. else
  18627. pTDefRegMap(@Self)^.&set := $00400000;
  18628. end;
  18629. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  18630. begin
  18631. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  18632. end;
  18633. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  18634. begin
  18635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18636. end;
  18637. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  18638. begin
  18639. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18640. end;
  18641. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  18642. begin
  18643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  18644. end;
  18645. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  18646. begin
  18647. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  18648. end;
  18649. procedure TOSC_OSCCON.setNOSC0; inline;
  18650. begin
  18651. pTDefRegMap(@Self)^.&set := $00000100;
  18652. end;
  18653. procedure TOSC_OSCCON.clearNOSC0; inline;
  18654. begin
  18655. pTDefRegMap(@Self)^.clr := $00000100;
  18656. end;
  18657. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  18658. begin
  18659. if thebits = 0 then
  18660. pTDefRegMap(@Self)^.clr := $00000100
  18661. else
  18662. pTDefRegMap(@Self)^.&set := $00000100;
  18663. end;
  18664. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  18665. begin
  18666. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18667. end;
  18668. procedure TOSC_OSCCON.setNOSC1; inline;
  18669. begin
  18670. pTDefRegMap(@Self)^.&set := $00000200;
  18671. end;
  18672. procedure TOSC_OSCCON.clearNOSC1; inline;
  18673. begin
  18674. pTDefRegMap(@Self)^.clr := $00000200;
  18675. end;
  18676. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  18677. begin
  18678. if thebits = 0 then
  18679. pTDefRegMap(@Self)^.clr := $00000200
  18680. else
  18681. pTDefRegMap(@Self)^.&set := $00000200;
  18682. end;
  18683. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  18684. begin
  18685. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18686. end;
  18687. procedure TOSC_OSCCON.setNOSC2; inline;
  18688. begin
  18689. pTDefRegMap(@Self)^.&set := $00000400;
  18690. end;
  18691. procedure TOSC_OSCCON.clearNOSC2; inline;
  18692. begin
  18693. pTDefRegMap(@Self)^.clr := $00000400;
  18694. end;
  18695. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  18696. begin
  18697. if thebits = 0 then
  18698. pTDefRegMap(@Self)^.clr := $00000400
  18699. else
  18700. pTDefRegMap(@Self)^.&set := $00000400;
  18701. end;
  18702. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  18703. begin
  18704. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18705. end;
  18706. procedure TOSC_OSCCON.setCOSC0; inline;
  18707. begin
  18708. pTDefRegMap(@Self)^.&set := $00001000;
  18709. end;
  18710. procedure TOSC_OSCCON.clearCOSC0; inline;
  18711. begin
  18712. pTDefRegMap(@Self)^.clr := $00001000;
  18713. end;
  18714. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  18715. begin
  18716. if thebits = 0 then
  18717. pTDefRegMap(@Self)^.clr := $00001000
  18718. else
  18719. pTDefRegMap(@Self)^.&set := $00001000;
  18720. end;
  18721. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  18722. begin
  18723. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18724. end;
  18725. procedure TOSC_OSCCON.setCOSC1; inline;
  18726. begin
  18727. pTDefRegMap(@Self)^.&set := $00002000;
  18728. end;
  18729. procedure TOSC_OSCCON.clearCOSC1; inline;
  18730. begin
  18731. pTDefRegMap(@Self)^.clr := $00002000;
  18732. end;
  18733. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  18734. begin
  18735. if thebits = 0 then
  18736. pTDefRegMap(@Self)^.clr := $00002000
  18737. else
  18738. pTDefRegMap(@Self)^.&set := $00002000;
  18739. end;
  18740. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  18741. begin
  18742. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18743. end;
  18744. procedure TOSC_OSCCON.setCOSC2; inline;
  18745. begin
  18746. pTDefRegMap(@Self)^.&set := $00004000;
  18747. end;
  18748. procedure TOSC_OSCCON.clearCOSC2; inline;
  18749. begin
  18750. pTDefRegMap(@Self)^.clr := $00004000;
  18751. end;
  18752. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  18753. begin
  18754. if thebits = 0 then
  18755. pTDefRegMap(@Self)^.clr := $00004000
  18756. else
  18757. pTDefRegMap(@Self)^.&set := $00004000;
  18758. end;
  18759. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  18760. begin
  18761. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18762. end;
  18763. procedure TOSC_OSCCON.setPLLMULT0; inline;
  18764. begin
  18765. pTDefRegMap(@Self)^.&set := $00010000;
  18766. end;
  18767. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  18768. begin
  18769. pTDefRegMap(@Self)^.clr := $00010000;
  18770. end;
  18771. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  18772. begin
  18773. if thebits = 0 then
  18774. pTDefRegMap(@Self)^.clr := $00010000
  18775. else
  18776. pTDefRegMap(@Self)^.&set := $00010000;
  18777. end;
  18778. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  18779. begin
  18780. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18781. end;
  18782. procedure TOSC_OSCCON.setPLLMULT1; inline;
  18783. begin
  18784. pTDefRegMap(@Self)^.&set := $00020000;
  18785. end;
  18786. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  18787. begin
  18788. pTDefRegMap(@Self)^.clr := $00020000;
  18789. end;
  18790. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  18791. begin
  18792. if thebits = 0 then
  18793. pTDefRegMap(@Self)^.clr := $00020000
  18794. else
  18795. pTDefRegMap(@Self)^.&set := $00020000;
  18796. end;
  18797. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  18798. begin
  18799. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18800. end;
  18801. procedure TOSC_OSCCON.setPLLMULT2; inline;
  18802. begin
  18803. pTDefRegMap(@Self)^.&set := $00040000;
  18804. end;
  18805. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  18806. begin
  18807. pTDefRegMap(@Self)^.clr := $00040000;
  18808. end;
  18809. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  18810. begin
  18811. if thebits = 0 then
  18812. pTDefRegMap(@Self)^.clr := $00040000
  18813. else
  18814. pTDefRegMap(@Self)^.&set := $00040000;
  18815. end;
  18816. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  18817. begin
  18818. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  18819. end;
  18820. procedure TOSC_OSCCON.setPBDIV0; inline;
  18821. begin
  18822. pTDefRegMap(@Self)^.&set := $00080000;
  18823. end;
  18824. procedure TOSC_OSCCON.clearPBDIV0; inline;
  18825. begin
  18826. pTDefRegMap(@Self)^.clr := $00080000;
  18827. end;
  18828. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  18829. begin
  18830. if thebits = 0 then
  18831. pTDefRegMap(@Self)^.clr := $00080000
  18832. else
  18833. pTDefRegMap(@Self)^.&set := $00080000;
  18834. end;
  18835. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  18836. begin
  18837. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  18838. end;
  18839. procedure TOSC_OSCCON.setPBDIV1; inline;
  18840. begin
  18841. pTDefRegMap(@Self)^.&set := $00100000;
  18842. end;
  18843. procedure TOSC_OSCCON.clearPBDIV1; inline;
  18844. begin
  18845. pTDefRegMap(@Self)^.clr := $00100000;
  18846. end;
  18847. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  18848. begin
  18849. if thebits = 0 then
  18850. pTDefRegMap(@Self)^.clr := $00100000
  18851. else
  18852. pTDefRegMap(@Self)^.&set := $00100000;
  18853. end;
  18854. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  18855. begin
  18856. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  18857. end;
  18858. procedure TOSC_OSCCON.setFRCDIV0; inline;
  18859. begin
  18860. pTDefRegMap(@Self)^.&set := $01000000;
  18861. end;
  18862. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  18863. begin
  18864. pTDefRegMap(@Self)^.clr := $01000000;
  18865. end;
  18866. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  18867. begin
  18868. if thebits = 0 then
  18869. pTDefRegMap(@Self)^.clr := $01000000
  18870. else
  18871. pTDefRegMap(@Self)^.&set := $01000000;
  18872. end;
  18873. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  18874. begin
  18875. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18876. end;
  18877. procedure TOSC_OSCCON.setFRCDIV1; inline;
  18878. begin
  18879. pTDefRegMap(@Self)^.&set := $02000000;
  18880. end;
  18881. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  18882. begin
  18883. pTDefRegMap(@Self)^.clr := $02000000;
  18884. end;
  18885. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  18886. begin
  18887. if thebits = 0 then
  18888. pTDefRegMap(@Self)^.clr := $02000000
  18889. else
  18890. pTDefRegMap(@Self)^.&set := $02000000;
  18891. end;
  18892. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  18893. begin
  18894. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  18895. end;
  18896. procedure TOSC_OSCCON.setFRCDIV2; inline;
  18897. begin
  18898. pTDefRegMap(@Self)^.&set := $04000000;
  18899. end;
  18900. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  18901. begin
  18902. pTDefRegMap(@Self)^.clr := $04000000;
  18903. end;
  18904. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  18905. begin
  18906. if thebits = 0 then
  18907. pTDefRegMap(@Self)^.clr := $04000000
  18908. else
  18909. pTDefRegMap(@Self)^.&set := $04000000;
  18910. end;
  18911. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  18912. begin
  18913. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  18914. end;
  18915. procedure TOSC_OSCCON.setPLLODIV0; inline;
  18916. begin
  18917. pTDefRegMap(@Self)^.&set := $08000000;
  18918. end;
  18919. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  18920. begin
  18921. pTDefRegMap(@Self)^.clr := $08000000;
  18922. end;
  18923. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  18924. begin
  18925. if thebits = 0 then
  18926. pTDefRegMap(@Self)^.clr := $08000000
  18927. else
  18928. pTDefRegMap(@Self)^.&set := $08000000;
  18929. end;
  18930. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  18931. begin
  18932. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18933. end;
  18934. procedure TOSC_OSCCON.setPLLODIV1; inline;
  18935. begin
  18936. pTDefRegMap(@Self)^.&set := $10000000;
  18937. end;
  18938. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  18939. begin
  18940. pTDefRegMap(@Self)^.clr := $10000000;
  18941. end;
  18942. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  18943. begin
  18944. if thebits = 0 then
  18945. pTDefRegMap(@Self)^.clr := $10000000
  18946. else
  18947. pTDefRegMap(@Self)^.&set := $10000000;
  18948. end;
  18949. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  18950. begin
  18951. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18952. end;
  18953. procedure TOSC_OSCCON.setPLLODIV2; inline;
  18954. begin
  18955. pTDefRegMap(@Self)^.&set := $20000000;
  18956. end;
  18957. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  18958. begin
  18959. pTDefRegMap(@Self)^.clr := $20000000;
  18960. end;
  18961. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  18962. begin
  18963. if thebits = 0 then
  18964. pTDefRegMap(@Self)^.clr := $20000000
  18965. else
  18966. pTDefRegMap(@Self)^.&set := $20000000;
  18967. end;
  18968. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  18969. begin
  18970. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18971. end;
  18972. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  18973. begin
  18974. pTDefRegMap(@Self)^.val := thebits;
  18975. end;
  18976. function TOSC_OSCCON.getw : TBits_32; inline;
  18977. begin
  18978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18979. end;
  18980. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  18981. begin
  18982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  18983. end;
  18984. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  18985. begin
  18986. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  18987. end;
  18988. procedure TOSC_OSCTUN.setTUN0; inline;
  18989. begin
  18990. pTDefRegMap(@Self)^.&set := $00000001;
  18991. end;
  18992. procedure TOSC_OSCTUN.clearTUN0; inline;
  18993. begin
  18994. pTDefRegMap(@Self)^.clr := $00000001;
  18995. end;
  18996. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  18997. begin
  18998. if thebits = 0 then
  18999. pTDefRegMap(@Self)^.clr := $00000001
  19000. else
  19001. pTDefRegMap(@Self)^.&set := $00000001;
  19002. end;
  19003. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  19004. begin
  19005. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19006. end;
  19007. procedure TOSC_OSCTUN.setTUN1; inline;
  19008. begin
  19009. pTDefRegMap(@Self)^.&set := $00000002;
  19010. end;
  19011. procedure TOSC_OSCTUN.clearTUN1; inline;
  19012. begin
  19013. pTDefRegMap(@Self)^.clr := $00000002;
  19014. end;
  19015. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  19016. begin
  19017. if thebits = 0 then
  19018. pTDefRegMap(@Self)^.clr := $00000002
  19019. else
  19020. pTDefRegMap(@Self)^.&set := $00000002;
  19021. end;
  19022. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  19023. begin
  19024. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19025. end;
  19026. procedure TOSC_OSCTUN.setTUN2; inline;
  19027. begin
  19028. pTDefRegMap(@Self)^.&set := $00000004;
  19029. end;
  19030. procedure TOSC_OSCTUN.clearTUN2; inline;
  19031. begin
  19032. pTDefRegMap(@Self)^.clr := $00000004;
  19033. end;
  19034. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  19035. begin
  19036. if thebits = 0 then
  19037. pTDefRegMap(@Self)^.clr := $00000004
  19038. else
  19039. pTDefRegMap(@Self)^.&set := $00000004;
  19040. end;
  19041. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  19042. begin
  19043. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19044. end;
  19045. procedure TOSC_OSCTUN.setTUN3; inline;
  19046. begin
  19047. pTDefRegMap(@Self)^.&set := $00000008;
  19048. end;
  19049. procedure TOSC_OSCTUN.clearTUN3; inline;
  19050. begin
  19051. pTDefRegMap(@Self)^.clr := $00000008;
  19052. end;
  19053. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  19054. begin
  19055. if thebits = 0 then
  19056. pTDefRegMap(@Self)^.clr := $00000008
  19057. else
  19058. pTDefRegMap(@Self)^.&set := $00000008;
  19059. end;
  19060. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  19061. begin
  19062. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19063. end;
  19064. procedure TOSC_OSCTUN.setTUN4; inline;
  19065. begin
  19066. pTDefRegMap(@Self)^.&set := $00000010;
  19067. end;
  19068. procedure TOSC_OSCTUN.clearTUN4; inline;
  19069. begin
  19070. pTDefRegMap(@Self)^.clr := $00000010;
  19071. end;
  19072. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  19073. begin
  19074. if thebits = 0 then
  19075. pTDefRegMap(@Self)^.clr := $00000010
  19076. else
  19077. pTDefRegMap(@Self)^.&set := $00000010;
  19078. end;
  19079. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  19080. begin
  19081. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19082. end;
  19083. procedure TOSC_OSCTUN.setTUN5; inline;
  19084. begin
  19085. pTDefRegMap(@Self)^.&set := $00000020;
  19086. end;
  19087. procedure TOSC_OSCTUN.clearTUN5; inline;
  19088. begin
  19089. pTDefRegMap(@Self)^.clr := $00000020;
  19090. end;
  19091. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  19092. begin
  19093. if thebits = 0 then
  19094. pTDefRegMap(@Self)^.clr := $00000020
  19095. else
  19096. pTDefRegMap(@Self)^.&set := $00000020;
  19097. end;
  19098. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  19099. begin
  19100. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19101. end;
  19102. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  19103. begin
  19104. pTDefRegMap(@Self)^.val := thebits;
  19105. end;
  19106. function TOSC_OSCTUN.getw : TBits_32; inline;
  19107. begin
  19108. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19109. end;
  19110. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  19111. begin
  19112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19113. end;
  19114. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  19115. begin
  19116. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19117. end;
  19118. procedure TNVM_NVMCON.setLVDSTAT; inline;
  19119. begin
  19120. pTDefRegMap(@Self)^.&set := $00000800;
  19121. end;
  19122. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  19123. begin
  19124. pTDefRegMap(@Self)^.clr := $00000800;
  19125. end;
  19126. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  19127. begin
  19128. if thebits = 0 then
  19129. pTDefRegMap(@Self)^.clr := $00000800
  19130. else
  19131. pTDefRegMap(@Self)^.&set := $00000800;
  19132. end;
  19133. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  19134. begin
  19135. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19136. end;
  19137. procedure TNVM_NVMCON.setLVDERR; inline;
  19138. begin
  19139. pTDefRegMap(@Self)^.&set := $00001000;
  19140. end;
  19141. procedure TNVM_NVMCON.clearLVDERR; inline;
  19142. begin
  19143. pTDefRegMap(@Self)^.clr := $00001000;
  19144. end;
  19145. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  19146. begin
  19147. if thebits = 0 then
  19148. pTDefRegMap(@Self)^.clr := $00001000
  19149. else
  19150. pTDefRegMap(@Self)^.&set := $00001000;
  19151. end;
  19152. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  19153. begin
  19154. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19155. end;
  19156. procedure TNVM_NVMCON.setWRERR; inline;
  19157. begin
  19158. pTDefRegMap(@Self)^.&set := $00002000;
  19159. end;
  19160. procedure TNVM_NVMCON.clearWRERR; inline;
  19161. begin
  19162. pTDefRegMap(@Self)^.clr := $00002000;
  19163. end;
  19164. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  19165. begin
  19166. if thebits = 0 then
  19167. pTDefRegMap(@Self)^.clr := $00002000
  19168. else
  19169. pTDefRegMap(@Self)^.&set := $00002000;
  19170. end;
  19171. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  19172. begin
  19173. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19174. end;
  19175. procedure TNVM_NVMCON.setWREN; inline;
  19176. begin
  19177. pTDefRegMap(@Self)^.&set := $00004000;
  19178. end;
  19179. procedure TNVM_NVMCON.clearWREN; inline;
  19180. begin
  19181. pTDefRegMap(@Self)^.clr := $00004000;
  19182. end;
  19183. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  19184. begin
  19185. if thebits = 0 then
  19186. pTDefRegMap(@Self)^.clr := $00004000
  19187. else
  19188. pTDefRegMap(@Self)^.&set := $00004000;
  19189. end;
  19190. function TNVM_NVMCON.getWREN : TBits_1; inline;
  19191. begin
  19192. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19193. end;
  19194. procedure TNVM_NVMCON.setWR; inline;
  19195. begin
  19196. pTDefRegMap(@Self)^.&set := $00008000;
  19197. end;
  19198. procedure TNVM_NVMCON.clearWR; inline;
  19199. begin
  19200. pTDefRegMap(@Self)^.clr := $00008000;
  19201. end;
  19202. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  19203. begin
  19204. if thebits = 0 then
  19205. pTDefRegMap(@Self)^.clr := $00008000
  19206. else
  19207. pTDefRegMap(@Self)^.&set := $00008000;
  19208. end;
  19209. function TNVM_NVMCON.getWR : TBits_1; inline;
  19210. begin
  19211. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19212. end;
  19213. procedure TNVM_NVMCON.setNVMOP0; inline;
  19214. begin
  19215. pTDefRegMap(@Self)^.&set := $00000001;
  19216. end;
  19217. procedure TNVM_NVMCON.clearNVMOP0; inline;
  19218. begin
  19219. pTDefRegMap(@Self)^.clr := $00000001;
  19220. end;
  19221. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  19222. begin
  19223. if thebits = 0 then
  19224. pTDefRegMap(@Self)^.clr := $00000001
  19225. else
  19226. pTDefRegMap(@Self)^.&set := $00000001;
  19227. end;
  19228. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  19229. begin
  19230. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19231. end;
  19232. procedure TNVM_NVMCON.setNVMOP1; inline;
  19233. begin
  19234. pTDefRegMap(@Self)^.&set := $00000002;
  19235. end;
  19236. procedure TNVM_NVMCON.clearNVMOP1; inline;
  19237. begin
  19238. pTDefRegMap(@Self)^.clr := $00000002;
  19239. end;
  19240. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  19241. begin
  19242. if thebits = 0 then
  19243. pTDefRegMap(@Self)^.clr := $00000002
  19244. else
  19245. pTDefRegMap(@Self)^.&set := $00000002;
  19246. end;
  19247. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  19248. begin
  19249. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19250. end;
  19251. procedure TNVM_NVMCON.setNVMOP2; inline;
  19252. begin
  19253. pTDefRegMap(@Self)^.&set := $00000004;
  19254. end;
  19255. procedure TNVM_NVMCON.clearNVMOP2; inline;
  19256. begin
  19257. pTDefRegMap(@Self)^.clr := $00000004;
  19258. end;
  19259. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  19260. begin
  19261. if thebits = 0 then
  19262. pTDefRegMap(@Self)^.clr := $00000004
  19263. else
  19264. pTDefRegMap(@Self)^.&set := $00000004;
  19265. end;
  19266. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  19267. begin
  19268. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19269. end;
  19270. procedure TNVM_NVMCON.setNVMOP3; inline;
  19271. begin
  19272. pTDefRegMap(@Self)^.&set := $00000008;
  19273. end;
  19274. procedure TNVM_NVMCON.clearNVMOP3; inline;
  19275. begin
  19276. pTDefRegMap(@Self)^.clr := $00000008;
  19277. end;
  19278. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  19279. begin
  19280. if thebits = 0 then
  19281. pTDefRegMap(@Self)^.clr := $00000008
  19282. else
  19283. pTDefRegMap(@Self)^.&set := $00000008;
  19284. end;
  19285. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  19286. begin
  19287. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19288. end;
  19289. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  19290. begin
  19291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19292. end;
  19293. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  19294. begin
  19295. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19296. end;
  19297. procedure TNVM_NVMCON.setPROGOP0; inline;
  19298. begin
  19299. pTDefRegMap(@Self)^.&set := $00000001;
  19300. end;
  19301. procedure TNVM_NVMCON.clearPROGOP0; inline;
  19302. begin
  19303. pTDefRegMap(@Self)^.clr := $00000001;
  19304. end;
  19305. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  19306. begin
  19307. if thebits = 0 then
  19308. pTDefRegMap(@Self)^.clr := $00000001
  19309. else
  19310. pTDefRegMap(@Self)^.&set := $00000001;
  19311. end;
  19312. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  19313. begin
  19314. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19315. end;
  19316. procedure TNVM_NVMCON.setPROGOP1; inline;
  19317. begin
  19318. pTDefRegMap(@Self)^.&set := $00000002;
  19319. end;
  19320. procedure TNVM_NVMCON.clearPROGOP1; inline;
  19321. begin
  19322. pTDefRegMap(@Self)^.clr := $00000002;
  19323. end;
  19324. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  19325. begin
  19326. if thebits = 0 then
  19327. pTDefRegMap(@Self)^.clr := $00000002
  19328. else
  19329. pTDefRegMap(@Self)^.&set := $00000002;
  19330. end;
  19331. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  19332. begin
  19333. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19334. end;
  19335. procedure TNVM_NVMCON.setPROGOP2; inline;
  19336. begin
  19337. pTDefRegMap(@Self)^.&set := $00000004;
  19338. end;
  19339. procedure TNVM_NVMCON.clearPROGOP2; inline;
  19340. begin
  19341. pTDefRegMap(@Self)^.clr := $00000004;
  19342. end;
  19343. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  19344. begin
  19345. if thebits = 0 then
  19346. pTDefRegMap(@Self)^.clr := $00000004
  19347. else
  19348. pTDefRegMap(@Self)^.&set := $00000004;
  19349. end;
  19350. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  19351. begin
  19352. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19353. end;
  19354. procedure TNVM_NVMCON.setPROGOP3; inline;
  19355. begin
  19356. pTDefRegMap(@Self)^.&set := $00000008;
  19357. end;
  19358. procedure TNVM_NVMCON.clearPROGOP3; inline;
  19359. begin
  19360. pTDefRegMap(@Self)^.clr := $00000008;
  19361. end;
  19362. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  19363. begin
  19364. if thebits = 0 then
  19365. pTDefRegMap(@Self)^.clr := $00000008
  19366. else
  19367. pTDefRegMap(@Self)^.&set := $00000008;
  19368. end;
  19369. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  19370. begin
  19371. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19372. end;
  19373. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  19374. begin
  19375. pTDefRegMap(@Self)^.val := thebits;
  19376. end;
  19377. function TNVM_NVMCON.getw : TBits_32; inline;
  19378. begin
  19379. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19380. end;
  19381. procedure TRCON_RCON.setPOR; inline;
  19382. begin
  19383. pTDefRegMap(@Self)^.&set := $00000001;
  19384. end;
  19385. procedure TRCON_RCON.clearPOR; inline;
  19386. begin
  19387. pTDefRegMap(@Self)^.clr := $00000001;
  19388. end;
  19389. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  19390. begin
  19391. if thebits = 0 then
  19392. pTDefRegMap(@Self)^.clr := $00000001
  19393. else
  19394. pTDefRegMap(@Self)^.&set := $00000001;
  19395. end;
  19396. function TRCON_RCON.getPOR : TBits_1; inline;
  19397. begin
  19398. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19399. end;
  19400. procedure TRCON_RCON.setBOR; inline;
  19401. begin
  19402. pTDefRegMap(@Self)^.&set := $00000002;
  19403. end;
  19404. procedure TRCON_RCON.clearBOR; inline;
  19405. begin
  19406. pTDefRegMap(@Self)^.clr := $00000002;
  19407. end;
  19408. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  19409. begin
  19410. if thebits = 0 then
  19411. pTDefRegMap(@Self)^.clr := $00000002
  19412. else
  19413. pTDefRegMap(@Self)^.&set := $00000002;
  19414. end;
  19415. function TRCON_RCON.getBOR : TBits_1; inline;
  19416. begin
  19417. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19418. end;
  19419. procedure TRCON_RCON.setIDLE; inline;
  19420. begin
  19421. pTDefRegMap(@Self)^.&set := $00000004;
  19422. end;
  19423. procedure TRCON_RCON.clearIDLE; inline;
  19424. begin
  19425. pTDefRegMap(@Self)^.clr := $00000004;
  19426. end;
  19427. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  19428. begin
  19429. if thebits = 0 then
  19430. pTDefRegMap(@Self)^.clr := $00000004
  19431. else
  19432. pTDefRegMap(@Self)^.&set := $00000004;
  19433. end;
  19434. function TRCON_RCON.getIDLE : TBits_1; inline;
  19435. begin
  19436. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19437. end;
  19438. procedure TRCON_RCON.setSLEEP; inline;
  19439. begin
  19440. pTDefRegMap(@Self)^.&set := $00000008;
  19441. end;
  19442. procedure TRCON_RCON.clearSLEEP; inline;
  19443. begin
  19444. pTDefRegMap(@Self)^.clr := $00000008;
  19445. end;
  19446. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  19447. begin
  19448. if thebits = 0 then
  19449. pTDefRegMap(@Self)^.clr := $00000008
  19450. else
  19451. pTDefRegMap(@Self)^.&set := $00000008;
  19452. end;
  19453. function TRCON_RCON.getSLEEP : TBits_1; inline;
  19454. begin
  19455. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19456. end;
  19457. procedure TRCON_RCON.setWDTO; inline;
  19458. begin
  19459. pTDefRegMap(@Self)^.&set := $00000010;
  19460. end;
  19461. procedure TRCON_RCON.clearWDTO; inline;
  19462. begin
  19463. pTDefRegMap(@Self)^.clr := $00000010;
  19464. end;
  19465. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  19466. begin
  19467. if thebits = 0 then
  19468. pTDefRegMap(@Self)^.clr := $00000010
  19469. else
  19470. pTDefRegMap(@Self)^.&set := $00000010;
  19471. end;
  19472. function TRCON_RCON.getWDTO : TBits_1; inline;
  19473. begin
  19474. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19475. end;
  19476. procedure TRCON_RCON.setSWR; inline;
  19477. begin
  19478. pTDefRegMap(@Self)^.&set := $00000040;
  19479. end;
  19480. procedure TRCON_RCON.clearSWR; inline;
  19481. begin
  19482. pTDefRegMap(@Self)^.clr := $00000040;
  19483. end;
  19484. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  19485. begin
  19486. if thebits = 0 then
  19487. pTDefRegMap(@Self)^.clr := $00000040
  19488. else
  19489. pTDefRegMap(@Self)^.&set := $00000040;
  19490. end;
  19491. function TRCON_RCON.getSWR : TBits_1; inline;
  19492. begin
  19493. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19494. end;
  19495. procedure TRCON_RCON.setEXTR; inline;
  19496. begin
  19497. pTDefRegMap(@Self)^.&set := $00000080;
  19498. end;
  19499. procedure TRCON_RCON.clearEXTR; inline;
  19500. begin
  19501. pTDefRegMap(@Self)^.clr := $00000080;
  19502. end;
  19503. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  19504. begin
  19505. if thebits = 0 then
  19506. pTDefRegMap(@Self)^.clr := $00000080
  19507. else
  19508. pTDefRegMap(@Self)^.&set := $00000080;
  19509. end;
  19510. function TRCON_RCON.getEXTR : TBits_1; inline;
  19511. begin
  19512. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19513. end;
  19514. procedure TRCON_RCON.setVREGS; inline;
  19515. begin
  19516. pTDefRegMap(@Self)^.&set := $00000100;
  19517. end;
  19518. procedure TRCON_RCON.clearVREGS; inline;
  19519. begin
  19520. pTDefRegMap(@Self)^.clr := $00000100;
  19521. end;
  19522. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  19523. begin
  19524. if thebits = 0 then
  19525. pTDefRegMap(@Self)^.clr := $00000100
  19526. else
  19527. pTDefRegMap(@Self)^.&set := $00000100;
  19528. end;
  19529. function TRCON_RCON.getVREGS : TBits_1; inline;
  19530. begin
  19531. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19532. end;
  19533. procedure TRCON_RCON.setCMR; inline;
  19534. begin
  19535. pTDefRegMap(@Self)^.&set := $00000200;
  19536. end;
  19537. procedure TRCON_RCON.clearCMR; inline;
  19538. begin
  19539. pTDefRegMap(@Self)^.clr := $00000200;
  19540. end;
  19541. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  19542. begin
  19543. if thebits = 0 then
  19544. pTDefRegMap(@Self)^.clr := $00000200
  19545. else
  19546. pTDefRegMap(@Self)^.&set := $00000200;
  19547. end;
  19548. function TRCON_RCON.getCMR : TBits_1; inline;
  19549. begin
  19550. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19551. end;
  19552. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  19553. begin
  19554. pTDefRegMap(@Self)^.val := thebits;
  19555. end;
  19556. function TRCON_RCON.getw : TBits_32; inline;
  19557. begin
  19558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19559. end;
  19560. procedure TRCON_RSWRST.setSWRST; inline;
  19561. begin
  19562. pTDefRegMap(@Self)^.&set := $00000001;
  19563. end;
  19564. procedure TRCON_RSWRST.clearSWRST; inline;
  19565. begin
  19566. pTDefRegMap(@Self)^.clr := $00000001;
  19567. end;
  19568. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  19569. begin
  19570. if thebits = 0 then
  19571. pTDefRegMap(@Self)^.clr := $00000001
  19572. else
  19573. pTDefRegMap(@Self)^.&set := $00000001;
  19574. end;
  19575. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  19576. begin
  19577. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19578. end;
  19579. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  19580. begin
  19581. pTDefRegMap(@Self)^.val := thebits;
  19582. end;
  19583. function TRCON_RSWRST.getw : TBits_32; inline;
  19584. begin
  19585. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19586. end;
  19587. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  19588. begin
  19589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  19590. end;
  19591. function TINT_INTSTAT.getVEC : TBits_6; inline;
  19592. begin
  19593. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  19594. end;
  19595. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  19596. begin
  19597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19598. end;
  19599. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  19600. begin
  19601. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19602. end;
  19603. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  19604. begin
  19605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19606. end;
  19607. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  19608. begin
  19609. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19610. end;
  19611. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  19612. begin
  19613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19614. end;
  19615. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  19616. begin
  19617. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19618. end;
  19619. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  19620. begin
  19621. pTDefRegMap(@Self)^.&set := $00000040;
  19622. end;
  19623. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  19624. begin
  19625. pTDefRegMap(@Self)^.clr := $00000040;
  19626. end;
  19627. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  19628. begin
  19629. if thebits = 0 then
  19630. pTDefRegMap(@Self)^.clr := $00000040
  19631. else
  19632. pTDefRegMap(@Self)^.&set := $00000040;
  19633. end;
  19634. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  19635. begin
  19636. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19637. end;
  19638. procedure TBMX_BMXCON.setBMXERRIS; inline;
  19639. begin
  19640. pTDefRegMap(@Self)^.&set := $00010000;
  19641. end;
  19642. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  19643. begin
  19644. pTDefRegMap(@Self)^.clr := $00010000;
  19645. end;
  19646. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  19647. begin
  19648. if thebits = 0 then
  19649. pTDefRegMap(@Self)^.clr := $00010000
  19650. else
  19651. pTDefRegMap(@Self)^.&set := $00010000;
  19652. end;
  19653. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  19654. begin
  19655. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19656. end;
  19657. procedure TBMX_BMXCON.setBMXERRDS; inline;
  19658. begin
  19659. pTDefRegMap(@Self)^.&set := $00020000;
  19660. end;
  19661. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  19662. begin
  19663. pTDefRegMap(@Self)^.clr := $00020000;
  19664. end;
  19665. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  19666. begin
  19667. if thebits = 0 then
  19668. pTDefRegMap(@Self)^.clr := $00020000
  19669. else
  19670. pTDefRegMap(@Self)^.&set := $00020000;
  19671. end;
  19672. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  19673. begin
  19674. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19675. end;
  19676. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  19677. begin
  19678. pTDefRegMap(@Self)^.&set := $00040000;
  19679. end;
  19680. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  19681. begin
  19682. pTDefRegMap(@Self)^.clr := $00040000;
  19683. end;
  19684. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  19685. begin
  19686. if thebits = 0 then
  19687. pTDefRegMap(@Self)^.clr := $00040000
  19688. else
  19689. pTDefRegMap(@Self)^.&set := $00040000;
  19690. end;
  19691. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  19692. begin
  19693. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  19694. end;
  19695. procedure TBMX_BMXCON.setBMXERRICD; inline;
  19696. begin
  19697. pTDefRegMap(@Self)^.&set := $00080000;
  19698. end;
  19699. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  19700. begin
  19701. pTDefRegMap(@Self)^.clr := $00080000;
  19702. end;
  19703. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  19704. begin
  19705. if thebits = 0 then
  19706. pTDefRegMap(@Self)^.clr := $00080000
  19707. else
  19708. pTDefRegMap(@Self)^.&set := $00080000;
  19709. end;
  19710. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  19711. begin
  19712. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  19713. end;
  19714. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  19715. begin
  19716. pTDefRegMap(@Self)^.&set := $00100000;
  19717. end;
  19718. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  19719. begin
  19720. pTDefRegMap(@Self)^.clr := $00100000;
  19721. end;
  19722. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  19723. begin
  19724. if thebits = 0 then
  19725. pTDefRegMap(@Self)^.clr := $00100000
  19726. else
  19727. pTDefRegMap(@Self)^.&set := $00100000;
  19728. end;
  19729. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  19730. begin
  19731. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  19732. end;
  19733. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  19734. begin
  19735. pTDefRegMap(@Self)^.&set := $04000000;
  19736. end;
  19737. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  19738. begin
  19739. pTDefRegMap(@Self)^.clr := $04000000;
  19740. end;
  19741. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  19742. begin
  19743. if thebits = 0 then
  19744. pTDefRegMap(@Self)^.clr := $04000000
  19745. else
  19746. pTDefRegMap(@Self)^.&set := $04000000;
  19747. end;
  19748. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  19749. begin
  19750. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  19751. end;
  19752. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  19753. begin
  19754. pTDefRegMap(@Self)^.val := thebits;
  19755. end;
  19756. function TBMX_BMXCON.getw : TBits_32; inline;
  19757. begin
  19758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19759. end;
  19760. procedure TDMAC_DMACON.setSUSPEND; inline;
  19761. begin
  19762. pTDefRegMap(@Self)^.&set := $00001000;
  19763. end;
  19764. procedure TDMAC_DMACON.clearSUSPEND; inline;
  19765. begin
  19766. pTDefRegMap(@Self)^.clr := $00001000;
  19767. end;
  19768. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  19769. begin
  19770. if thebits = 0 then
  19771. pTDefRegMap(@Self)^.clr := $00001000
  19772. else
  19773. pTDefRegMap(@Self)^.&set := $00001000;
  19774. end;
  19775. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  19776. begin
  19777. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19778. end;
  19779. procedure TDMAC_DMACON.setSIDL; inline;
  19780. begin
  19781. pTDefRegMap(@Self)^.&set := $00002000;
  19782. end;
  19783. procedure TDMAC_DMACON.clearSIDL; inline;
  19784. begin
  19785. pTDefRegMap(@Self)^.clr := $00002000;
  19786. end;
  19787. procedure TDMAC_DMACON.setSIDL(thebits : TBits_1); inline;
  19788. begin
  19789. if thebits = 0 then
  19790. pTDefRegMap(@Self)^.clr := $00002000
  19791. else
  19792. pTDefRegMap(@Self)^.&set := $00002000;
  19793. end;
  19794. function TDMAC_DMACON.getSIDL : TBits_1; inline;
  19795. begin
  19796. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19797. end;
  19798. procedure TDMAC_DMACON.setON; inline;
  19799. begin
  19800. pTDefRegMap(@Self)^.&set := $00008000;
  19801. end;
  19802. procedure TDMAC_DMACON.clearON; inline;
  19803. begin
  19804. pTDefRegMap(@Self)^.clr := $00008000;
  19805. end;
  19806. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  19807. begin
  19808. if thebits = 0 then
  19809. pTDefRegMap(@Self)^.clr := $00008000
  19810. else
  19811. pTDefRegMap(@Self)^.&set := $00008000;
  19812. end;
  19813. function TDMAC_DMACON.getON : TBits_1; inline;
  19814. begin
  19815. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19816. end;
  19817. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  19818. begin
  19819. pTDefRegMap(@Self)^.val := thebits;
  19820. end;
  19821. function TDMAC_DMACON.getw : TBits_32; inline;
  19822. begin
  19823. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19824. end;
  19825. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_2); inline;
  19826. begin
  19827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19828. end;
  19829. function TDMAC_DMASTAT.getDMACH : TBits_2; inline;
  19830. begin
  19831. getDMACH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19832. end;
  19833. procedure TDMAC_DMASTAT.setRDWR; inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.&set := $00000008;
  19836. end;
  19837. procedure TDMAC_DMASTAT.clearRDWR; inline;
  19838. begin
  19839. pTDefRegMap(@Self)^.clr := $00000008;
  19840. end;
  19841. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  19842. begin
  19843. if thebits = 0 then
  19844. pTDefRegMap(@Self)^.clr := $00000008
  19845. else
  19846. pTDefRegMap(@Self)^.&set := $00000008;
  19847. end;
  19848. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  19849. begin
  19850. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19851. end;
  19852. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  19853. begin
  19854. pTDefRegMap(@Self)^.val := thebits;
  19855. end;
  19856. function TDMAC_DMASTAT.getw : TBits_32; inline;
  19857. begin
  19858. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19859. end;
  19860. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_2); inline;
  19861. begin
  19862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19863. end;
  19864. function TDMAC_DCRCCON.getCRCCH : TBits_2; inline;
  19865. begin
  19866. getCRCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19867. end;
  19868. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  19869. begin
  19870. pTDefRegMap(@Self)^.&set := $00000020;
  19871. end;
  19872. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  19873. begin
  19874. pTDefRegMap(@Self)^.clr := $00000020;
  19875. end;
  19876. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  19877. begin
  19878. if thebits = 0 then
  19879. pTDefRegMap(@Self)^.clr := $00000020
  19880. else
  19881. pTDefRegMap(@Self)^.&set := $00000020;
  19882. end;
  19883. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  19884. begin
  19885. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19886. end;
  19887. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  19888. begin
  19889. pTDefRegMap(@Self)^.&set := $00000040;
  19890. end;
  19891. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  19892. begin
  19893. pTDefRegMap(@Self)^.clr := $00000040;
  19894. end;
  19895. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  19896. begin
  19897. if thebits = 0 then
  19898. pTDefRegMap(@Self)^.clr := $00000040
  19899. else
  19900. pTDefRegMap(@Self)^.&set := $00000040;
  19901. end;
  19902. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  19903. begin
  19904. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19905. end;
  19906. procedure TDMAC_DCRCCON.setCRCEN; inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.&set := $00000080;
  19909. end;
  19910. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  19911. begin
  19912. pTDefRegMap(@Self)^.clr := $00000080;
  19913. end;
  19914. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  19915. begin
  19916. if thebits = 0 then
  19917. pTDefRegMap(@Self)^.clr := $00000080
  19918. else
  19919. pTDefRegMap(@Self)^.&set := $00000080;
  19920. end;
  19921. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  19922. begin
  19923. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19924. end;
  19925. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_4); inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  19928. end;
  19929. function TDMAC_DCRCCON.getPLEN : TBits_4; inline;
  19930. begin
  19931. getPLEN := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  19932. end;
  19933. procedure TDMAC_DCRCCON.setBITO; inline;
  19934. begin
  19935. pTDefRegMap(@Self)^.&set := $01000000;
  19936. end;
  19937. procedure TDMAC_DCRCCON.clearBITO; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.clr := $01000000;
  19940. end;
  19941. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  19942. begin
  19943. if thebits = 0 then
  19944. pTDefRegMap(@Self)^.clr := $01000000
  19945. else
  19946. pTDefRegMap(@Self)^.&set := $01000000;
  19947. end;
  19948. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  19949. begin
  19950. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19951. end;
  19952. procedure TDMAC_DCRCCON.setWBO; inline;
  19953. begin
  19954. pTDefRegMap(@Self)^.&set := $08000000;
  19955. end;
  19956. procedure TDMAC_DCRCCON.clearWBO; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.clr := $08000000;
  19959. end;
  19960. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  19961. begin
  19962. if thebits = 0 then
  19963. pTDefRegMap(@Self)^.clr := $08000000
  19964. else
  19965. pTDefRegMap(@Self)^.&set := $08000000;
  19966. end;
  19967. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  19968. begin
  19969. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  19970. end;
  19971. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  19972. begin
  19973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  19974. end;
  19975. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  19976. begin
  19977. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  19978. end;
  19979. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  19980. begin
  19981. pTDefRegMap(@Self)^.val := thebits;
  19982. end;
  19983. function TDMAC_DCRCCON.getw : TBits_32; inline;
  19984. begin
  19985. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19986. end;
  19987. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  19988. begin
  19989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19990. end;
  19991. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  19992. begin
  19993. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19994. end;
  19995. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  19996. begin
  19997. pTDefRegMap(@Self)^.&set := $00000004;
  19998. end;
  19999. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  20000. begin
  20001. pTDefRegMap(@Self)^.clr := $00000004;
  20002. end;
  20003. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  20004. begin
  20005. if thebits = 0 then
  20006. pTDefRegMap(@Self)^.clr := $00000004
  20007. else
  20008. pTDefRegMap(@Self)^.&set := $00000004;
  20009. end;
  20010. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  20011. begin
  20012. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20013. end;
  20014. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  20015. begin
  20016. pTDefRegMap(@Self)^.&set := $00000010;
  20017. end;
  20018. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  20019. begin
  20020. pTDefRegMap(@Self)^.clr := $00000010;
  20021. end;
  20022. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  20023. begin
  20024. if thebits = 0 then
  20025. pTDefRegMap(@Self)^.clr := $00000010
  20026. else
  20027. pTDefRegMap(@Self)^.&set := $00000010;
  20028. end;
  20029. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  20030. begin
  20031. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20032. end;
  20033. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  20034. begin
  20035. pTDefRegMap(@Self)^.&set := $00000020;
  20036. end;
  20037. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  20038. begin
  20039. pTDefRegMap(@Self)^.clr := $00000020;
  20040. end;
  20041. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  20042. begin
  20043. if thebits = 0 then
  20044. pTDefRegMap(@Self)^.clr := $00000020
  20045. else
  20046. pTDefRegMap(@Self)^.&set := $00000020;
  20047. end;
  20048. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  20049. begin
  20050. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20051. end;
  20052. procedure TDMAC0_DCH0CON.setCHAED; inline;
  20053. begin
  20054. pTDefRegMap(@Self)^.&set := $00000040;
  20055. end;
  20056. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  20057. begin
  20058. pTDefRegMap(@Self)^.clr := $00000040;
  20059. end;
  20060. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  20061. begin
  20062. if thebits = 0 then
  20063. pTDefRegMap(@Self)^.clr := $00000040
  20064. else
  20065. pTDefRegMap(@Self)^.&set := $00000040;
  20066. end;
  20067. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  20068. begin
  20069. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20070. end;
  20071. procedure TDMAC0_DCH0CON.setCHEN; inline;
  20072. begin
  20073. pTDefRegMap(@Self)^.&set := $00000080;
  20074. end;
  20075. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  20076. begin
  20077. pTDefRegMap(@Self)^.clr := $00000080;
  20078. end;
  20079. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  20080. begin
  20081. if thebits = 0 then
  20082. pTDefRegMap(@Self)^.clr := $00000080
  20083. else
  20084. pTDefRegMap(@Self)^.&set := $00000080;
  20085. end;
  20086. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  20087. begin
  20088. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20089. end;
  20090. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  20091. begin
  20092. pTDefRegMap(@Self)^.&set := $00000100;
  20093. end;
  20094. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  20095. begin
  20096. pTDefRegMap(@Self)^.clr := $00000100;
  20097. end;
  20098. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  20099. begin
  20100. if thebits = 0 then
  20101. pTDefRegMap(@Self)^.clr := $00000100
  20102. else
  20103. pTDefRegMap(@Self)^.&set := $00000100;
  20104. end;
  20105. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  20106. begin
  20107. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20108. end;
  20109. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  20110. begin
  20111. pTDefRegMap(@Self)^.val := thebits;
  20112. end;
  20113. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  20114. begin
  20115. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20116. end;
  20117. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  20118. begin
  20119. pTDefRegMap(@Self)^.&set := $00000008;
  20120. end;
  20121. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  20122. begin
  20123. pTDefRegMap(@Self)^.clr := $00000008;
  20124. end;
  20125. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  20126. begin
  20127. if thebits = 0 then
  20128. pTDefRegMap(@Self)^.clr := $00000008
  20129. else
  20130. pTDefRegMap(@Self)^.&set := $00000008;
  20131. end;
  20132. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  20133. begin
  20134. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20135. end;
  20136. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  20137. begin
  20138. pTDefRegMap(@Self)^.&set := $00000010;
  20139. end;
  20140. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  20141. begin
  20142. pTDefRegMap(@Self)^.clr := $00000010;
  20143. end;
  20144. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  20145. begin
  20146. if thebits = 0 then
  20147. pTDefRegMap(@Self)^.clr := $00000010
  20148. else
  20149. pTDefRegMap(@Self)^.&set := $00000010;
  20150. end;
  20151. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  20152. begin
  20153. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20154. end;
  20155. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  20156. begin
  20157. pTDefRegMap(@Self)^.&set := $00000020;
  20158. end;
  20159. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  20160. begin
  20161. pTDefRegMap(@Self)^.clr := $00000020;
  20162. end;
  20163. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  20164. begin
  20165. if thebits = 0 then
  20166. pTDefRegMap(@Self)^.clr := $00000020
  20167. else
  20168. pTDefRegMap(@Self)^.&set := $00000020;
  20169. end;
  20170. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  20171. begin
  20172. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20173. end;
  20174. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  20175. begin
  20176. pTDefRegMap(@Self)^.&set := $00000040;
  20177. end;
  20178. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  20179. begin
  20180. pTDefRegMap(@Self)^.clr := $00000040;
  20181. end;
  20182. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  20183. begin
  20184. if thebits = 0 then
  20185. pTDefRegMap(@Self)^.clr := $00000040
  20186. else
  20187. pTDefRegMap(@Self)^.&set := $00000040;
  20188. end;
  20189. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  20190. begin
  20191. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20192. end;
  20193. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  20194. begin
  20195. pTDefRegMap(@Self)^.&set := $00000080;
  20196. end;
  20197. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  20198. begin
  20199. pTDefRegMap(@Self)^.clr := $00000080;
  20200. end;
  20201. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  20202. begin
  20203. if thebits = 0 then
  20204. pTDefRegMap(@Self)^.clr := $00000080
  20205. else
  20206. pTDefRegMap(@Self)^.&set := $00000080;
  20207. end;
  20208. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  20209. begin
  20210. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20211. end;
  20212. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  20213. begin
  20214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  20215. end;
  20216. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  20217. begin
  20218. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  20219. end;
  20220. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  20221. begin
  20222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20223. end;
  20224. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  20225. begin
  20226. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20227. end;
  20228. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  20229. begin
  20230. pTDefRegMap(@Self)^.val := thebits;
  20231. end;
  20232. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  20233. begin
  20234. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20235. end;
  20236. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  20237. begin
  20238. pTDefRegMap(@Self)^.&set := $00000001;
  20239. end;
  20240. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  20241. begin
  20242. pTDefRegMap(@Self)^.clr := $00000001;
  20243. end;
  20244. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  20245. begin
  20246. if thebits = 0 then
  20247. pTDefRegMap(@Self)^.clr := $00000001
  20248. else
  20249. pTDefRegMap(@Self)^.&set := $00000001;
  20250. end;
  20251. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  20252. begin
  20253. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20254. end;
  20255. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.&set := $00000002;
  20258. end;
  20259. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  20260. begin
  20261. pTDefRegMap(@Self)^.clr := $00000002;
  20262. end;
  20263. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  20264. begin
  20265. if thebits = 0 then
  20266. pTDefRegMap(@Self)^.clr := $00000002
  20267. else
  20268. pTDefRegMap(@Self)^.&set := $00000002;
  20269. end;
  20270. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  20271. begin
  20272. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20273. end;
  20274. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  20275. begin
  20276. pTDefRegMap(@Self)^.&set := $00000004;
  20277. end;
  20278. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  20279. begin
  20280. pTDefRegMap(@Self)^.clr := $00000004;
  20281. end;
  20282. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  20283. begin
  20284. if thebits = 0 then
  20285. pTDefRegMap(@Self)^.clr := $00000004
  20286. else
  20287. pTDefRegMap(@Self)^.&set := $00000004;
  20288. end;
  20289. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  20290. begin
  20291. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20292. end;
  20293. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.&set := $00000008;
  20296. end;
  20297. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  20298. begin
  20299. pTDefRegMap(@Self)^.clr := $00000008;
  20300. end;
  20301. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  20302. begin
  20303. if thebits = 0 then
  20304. pTDefRegMap(@Self)^.clr := $00000008
  20305. else
  20306. pTDefRegMap(@Self)^.&set := $00000008;
  20307. end;
  20308. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  20309. begin
  20310. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20311. end;
  20312. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  20313. begin
  20314. pTDefRegMap(@Self)^.&set := $00000010;
  20315. end;
  20316. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  20317. begin
  20318. pTDefRegMap(@Self)^.clr := $00000010;
  20319. end;
  20320. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  20321. begin
  20322. if thebits = 0 then
  20323. pTDefRegMap(@Self)^.clr := $00000010
  20324. else
  20325. pTDefRegMap(@Self)^.&set := $00000010;
  20326. end;
  20327. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  20328. begin
  20329. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20330. end;
  20331. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  20332. begin
  20333. pTDefRegMap(@Self)^.&set := $00000020;
  20334. end;
  20335. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  20336. begin
  20337. pTDefRegMap(@Self)^.clr := $00000020;
  20338. end;
  20339. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  20340. begin
  20341. if thebits = 0 then
  20342. pTDefRegMap(@Self)^.clr := $00000020
  20343. else
  20344. pTDefRegMap(@Self)^.&set := $00000020;
  20345. end;
  20346. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  20347. begin
  20348. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20349. end;
  20350. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  20351. begin
  20352. pTDefRegMap(@Self)^.&set := $00000040;
  20353. end;
  20354. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  20355. begin
  20356. pTDefRegMap(@Self)^.clr := $00000040;
  20357. end;
  20358. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  20359. begin
  20360. if thebits = 0 then
  20361. pTDefRegMap(@Self)^.clr := $00000040
  20362. else
  20363. pTDefRegMap(@Self)^.&set := $00000040;
  20364. end;
  20365. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  20366. begin
  20367. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20368. end;
  20369. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  20370. begin
  20371. pTDefRegMap(@Self)^.&set := $00000080;
  20372. end;
  20373. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  20374. begin
  20375. pTDefRegMap(@Self)^.clr := $00000080;
  20376. end;
  20377. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  20378. begin
  20379. if thebits = 0 then
  20380. pTDefRegMap(@Self)^.clr := $00000080
  20381. else
  20382. pTDefRegMap(@Self)^.&set := $00000080;
  20383. end;
  20384. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  20385. begin
  20386. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20387. end;
  20388. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  20389. begin
  20390. pTDefRegMap(@Self)^.&set := $00010000;
  20391. end;
  20392. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  20393. begin
  20394. pTDefRegMap(@Self)^.clr := $00010000;
  20395. end;
  20396. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  20397. begin
  20398. if thebits = 0 then
  20399. pTDefRegMap(@Self)^.clr := $00010000
  20400. else
  20401. pTDefRegMap(@Self)^.&set := $00010000;
  20402. end;
  20403. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  20404. begin
  20405. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20406. end;
  20407. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  20408. begin
  20409. pTDefRegMap(@Self)^.&set := $00020000;
  20410. end;
  20411. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  20412. begin
  20413. pTDefRegMap(@Self)^.clr := $00020000;
  20414. end;
  20415. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  20416. begin
  20417. if thebits = 0 then
  20418. pTDefRegMap(@Self)^.clr := $00020000
  20419. else
  20420. pTDefRegMap(@Self)^.&set := $00020000;
  20421. end;
  20422. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  20423. begin
  20424. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20425. end;
  20426. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  20427. begin
  20428. pTDefRegMap(@Self)^.&set := $00040000;
  20429. end;
  20430. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  20431. begin
  20432. pTDefRegMap(@Self)^.clr := $00040000;
  20433. end;
  20434. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  20435. begin
  20436. if thebits = 0 then
  20437. pTDefRegMap(@Self)^.clr := $00040000
  20438. else
  20439. pTDefRegMap(@Self)^.&set := $00040000;
  20440. end;
  20441. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  20442. begin
  20443. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20444. end;
  20445. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  20446. begin
  20447. pTDefRegMap(@Self)^.&set := $00080000;
  20448. end;
  20449. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  20450. begin
  20451. pTDefRegMap(@Self)^.clr := $00080000;
  20452. end;
  20453. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  20454. begin
  20455. if thebits = 0 then
  20456. pTDefRegMap(@Self)^.clr := $00080000
  20457. else
  20458. pTDefRegMap(@Self)^.&set := $00080000;
  20459. end;
  20460. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  20461. begin
  20462. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20463. end;
  20464. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  20465. begin
  20466. pTDefRegMap(@Self)^.&set := $00100000;
  20467. end;
  20468. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  20469. begin
  20470. pTDefRegMap(@Self)^.clr := $00100000;
  20471. end;
  20472. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  20473. begin
  20474. if thebits = 0 then
  20475. pTDefRegMap(@Self)^.clr := $00100000
  20476. else
  20477. pTDefRegMap(@Self)^.&set := $00100000;
  20478. end;
  20479. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  20480. begin
  20481. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20482. end;
  20483. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  20484. begin
  20485. pTDefRegMap(@Self)^.&set := $00200000;
  20486. end;
  20487. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  20488. begin
  20489. pTDefRegMap(@Self)^.clr := $00200000;
  20490. end;
  20491. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  20492. begin
  20493. if thebits = 0 then
  20494. pTDefRegMap(@Self)^.clr := $00200000
  20495. else
  20496. pTDefRegMap(@Self)^.&set := $00200000;
  20497. end;
  20498. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  20499. begin
  20500. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  20501. end;
  20502. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  20503. begin
  20504. pTDefRegMap(@Self)^.&set := $00400000;
  20505. end;
  20506. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  20507. begin
  20508. pTDefRegMap(@Self)^.clr := $00400000;
  20509. end;
  20510. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  20511. begin
  20512. if thebits = 0 then
  20513. pTDefRegMap(@Self)^.clr := $00400000
  20514. else
  20515. pTDefRegMap(@Self)^.&set := $00400000;
  20516. end;
  20517. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  20518. begin
  20519. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  20520. end;
  20521. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  20522. begin
  20523. pTDefRegMap(@Self)^.&set := $00800000;
  20524. end;
  20525. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  20526. begin
  20527. pTDefRegMap(@Self)^.clr := $00800000;
  20528. end;
  20529. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  20530. begin
  20531. if thebits = 0 then
  20532. pTDefRegMap(@Self)^.clr := $00800000
  20533. else
  20534. pTDefRegMap(@Self)^.&set := $00800000;
  20535. end;
  20536. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  20537. begin
  20538. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  20539. end;
  20540. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  20541. begin
  20542. pTDefRegMap(@Self)^.val := thebits;
  20543. end;
  20544. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  20545. begin
  20546. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20547. end;
  20548. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  20549. begin
  20550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20551. end;
  20552. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  20553. begin
  20554. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20555. end;
  20556. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  20557. begin
  20558. pTDefRegMap(@Self)^.&set := $00000004;
  20559. end;
  20560. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  20561. begin
  20562. pTDefRegMap(@Self)^.clr := $00000004;
  20563. end;
  20564. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  20565. begin
  20566. if thebits = 0 then
  20567. pTDefRegMap(@Self)^.clr := $00000004
  20568. else
  20569. pTDefRegMap(@Self)^.&set := $00000004;
  20570. end;
  20571. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  20572. begin
  20573. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20574. end;
  20575. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  20576. begin
  20577. pTDefRegMap(@Self)^.&set := $00000010;
  20578. end;
  20579. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  20580. begin
  20581. pTDefRegMap(@Self)^.clr := $00000010;
  20582. end;
  20583. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  20584. begin
  20585. if thebits = 0 then
  20586. pTDefRegMap(@Self)^.clr := $00000010
  20587. else
  20588. pTDefRegMap(@Self)^.&set := $00000010;
  20589. end;
  20590. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  20591. begin
  20592. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20593. end;
  20594. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  20595. begin
  20596. pTDefRegMap(@Self)^.&set := $00000020;
  20597. end;
  20598. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  20599. begin
  20600. pTDefRegMap(@Self)^.clr := $00000020;
  20601. end;
  20602. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  20603. begin
  20604. if thebits = 0 then
  20605. pTDefRegMap(@Self)^.clr := $00000020
  20606. else
  20607. pTDefRegMap(@Self)^.&set := $00000020;
  20608. end;
  20609. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  20610. begin
  20611. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20612. end;
  20613. procedure TDMAC1_DCH1CON.setCHAED; inline;
  20614. begin
  20615. pTDefRegMap(@Self)^.&set := $00000040;
  20616. end;
  20617. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  20618. begin
  20619. pTDefRegMap(@Self)^.clr := $00000040;
  20620. end;
  20621. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  20622. begin
  20623. if thebits = 0 then
  20624. pTDefRegMap(@Self)^.clr := $00000040
  20625. else
  20626. pTDefRegMap(@Self)^.&set := $00000040;
  20627. end;
  20628. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  20629. begin
  20630. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20631. end;
  20632. procedure TDMAC1_DCH1CON.setCHEN; inline;
  20633. begin
  20634. pTDefRegMap(@Self)^.&set := $00000080;
  20635. end;
  20636. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  20637. begin
  20638. pTDefRegMap(@Self)^.clr := $00000080;
  20639. end;
  20640. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  20641. begin
  20642. if thebits = 0 then
  20643. pTDefRegMap(@Self)^.clr := $00000080
  20644. else
  20645. pTDefRegMap(@Self)^.&set := $00000080;
  20646. end;
  20647. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  20648. begin
  20649. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20650. end;
  20651. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  20652. begin
  20653. pTDefRegMap(@Self)^.&set := $00000100;
  20654. end;
  20655. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  20656. begin
  20657. pTDefRegMap(@Self)^.clr := $00000100;
  20658. end;
  20659. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  20660. begin
  20661. if thebits = 0 then
  20662. pTDefRegMap(@Self)^.clr := $00000100
  20663. else
  20664. pTDefRegMap(@Self)^.&set := $00000100;
  20665. end;
  20666. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  20667. begin
  20668. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20669. end;
  20670. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  20671. begin
  20672. pTDefRegMap(@Self)^.val := thebits;
  20673. end;
  20674. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  20675. begin
  20676. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20677. end;
  20678. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  20679. begin
  20680. pTDefRegMap(@Self)^.&set := $00000008;
  20681. end;
  20682. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  20683. begin
  20684. pTDefRegMap(@Self)^.clr := $00000008;
  20685. end;
  20686. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  20687. begin
  20688. if thebits = 0 then
  20689. pTDefRegMap(@Self)^.clr := $00000008
  20690. else
  20691. pTDefRegMap(@Self)^.&set := $00000008;
  20692. end;
  20693. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  20694. begin
  20695. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20696. end;
  20697. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  20698. begin
  20699. pTDefRegMap(@Self)^.&set := $00000010;
  20700. end;
  20701. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  20702. begin
  20703. pTDefRegMap(@Self)^.clr := $00000010;
  20704. end;
  20705. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  20706. begin
  20707. if thebits = 0 then
  20708. pTDefRegMap(@Self)^.clr := $00000010
  20709. else
  20710. pTDefRegMap(@Self)^.&set := $00000010;
  20711. end;
  20712. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  20713. begin
  20714. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20715. end;
  20716. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  20717. begin
  20718. pTDefRegMap(@Self)^.&set := $00000020;
  20719. end;
  20720. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  20721. begin
  20722. pTDefRegMap(@Self)^.clr := $00000020;
  20723. end;
  20724. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  20725. begin
  20726. if thebits = 0 then
  20727. pTDefRegMap(@Self)^.clr := $00000020
  20728. else
  20729. pTDefRegMap(@Self)^.&set := $00000020;
  20730. end;
  20731. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  20732. begin
  20733. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20734. end;
  20735. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.&set := $00000040;
  20738. end;
  20739. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  20740. begin
  20741. pTDefRegMap(@Self)^.clr := $00000040;
  20742. end;
  20743. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  20744. begin
  20745. if thebits = 0 then
  20746. pTDefRegMap(@Self)^.clr := $00000040
  20747. else
  20748. pTDefRegMap(@Self)^.&set := $00000040;
  20749. end;
  20750. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  20751. begin
  20752. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20753. end;
  20754. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  20755. begin
  20756. pTDefRegMap(@Self)^.&set := $00000080;
  20757. end;
  20758. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  20759. begin
  20760. pTDefRegMap(@Self)^.clr := $00000080;
  20761. end;
  20762. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  20763. begin
  20764. if thebits = 0 then
  20765. pTDefRegMap(@Self)^.clr := $00000080
  20766. else
  20767. pTDefRegMap(@Self)^.&set := $00000080;
  20768. end;
  20769. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  20770. begin
  20771. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20772. end;
  20773. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  20774. begin
  20775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  20776. end;
  20777. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  20778. begin
  20779. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  20780. end;
  20781. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  20782. begin
  20783. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20784. end;
  20785. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  20786. begin
  20787. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20788. end;
  20789. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  20790. begin
  20791. pTDefRegMap(@Self)^.val := thebits;
  20792. end;
  20793. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  20794. begin
  20795. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20796. end;
  20797. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  20798. begin
  20799. pTDefRegMap(@Self)^.&set := $00000001;
  20800. end;
  20801. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  20802. begin
  20803. pTDefRegMap(@Self)^.clr := $00000001;
  20804. end;
  20805. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  20806. begin
  20807. if thebits = 0 then
  20808. pTDefRegMap(@Self)^.clr := $00000001
  20809. else
  20810. pTDefRegMap(@Self)^.&set := $00000001;
  20811. end;
  20812. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  20813. begin
  20814. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20815. end;
  20816. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  20817. begin
  20818. pTDefRegMap(@Self)^.&set := $00000002;
  20819. end;
  20820. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  20821. begin
  20822. pTDefRegMap(@Self)^.clr := $00000002;
  20823. end;
  20824. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  20825. begin
  20826. if thebits = 0 then
  20827. pTDefRegMap(@Self)^.clr := $00000002
  20828. else
  20829. pTDefRegMap(@Self)^.&set := $00000002;
  20830. end;
  20831. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  20832. begin
  20833. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20834. end;
  20835. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  20836. begin
  20837. pTDefRegMap(@Self)^.&set := $00000004;
  20838. end;
  20839. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  20840. begin
  20841. pTDefRegMap(@Self)^.clr := $00000004;
  20842. end;
  20843. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  20844. begin
  20845. if thebits = 0 then
  20846. pTDefRegMap(@Self)^.clr := $00000004
  20847. else
  20848. pTDefRegMap(@Self)^.&set := $00000004;
  20849. end;
  20850. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  20851. begin
  20852. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20853. end;
  20854. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  20855. begin
  20856. pTDefRegMap(@Self)^.&set := $00000008;
  20857. end;
  20858. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  20859. begin
  20860. pTDefRegMap(@Self)^.clr := $00000008;
  20861. end;
  20862. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  20863. begin
  20864. if thebits = 0 then
  20865. pTDefRegMap(@Self)^.clr := $00000008
  20866. else
  20867. pTDefRegMap(@Self)^.&set := $00000008;
  20868. end;
  20869. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  20870. begin
  20871. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20872. end;
  20873. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  20874. begin
  20875. pTDefRegMap(@Self)^.&set := $00000010;
  20876. end;
  20877. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  20878. begin
  20879. pTDefRegMap(@Self)^.clr := $00000010;
  20880. end;
  20881. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  20882. begin
  20883. if thebits = 0 then
  20884. pTDefRegMap(@Self)^.clr := $00000010
  20885. else
  20886. pTDefRegMap(@Self)^.&set := $00000010;
  20887. end;
  20888. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  20889. begin
  20890. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20891. end;
  20892. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  20893. begin
  20894. pTDefRegMap(@Self)^.&set := $00000020;
  20895. end;
  20896. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  20897. begin
  20898. pTDefRegMap(@Self)^.clr := $00000020;
  20899. end;
  20900. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  20901. begin
  20902. if thebits = 0 then
  20903. pTDefRegMap(@Self)^.clr := $00000020
  20904. else
  20905. pTDefRegMap(@Self)^.&set := $00000020;
  20906. end;
  20907. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  20908. begin
  20909. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20910. end;
  20911. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.&set := $00000040;
  20914. end;
  20915. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  20916. begin
  20917. pTDefRegMap(@Self)^.clr := $00000040;
  20918. end;
  20919. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  20920. begin
  20921. if thebits = 0 then
  20922. pTDefRegMap(@Self)^.clr := $00000040
  20923. else
  20924. pTDefRegMap(@Self)^.&set := $00000040;
  20925. end;
  20926. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  20927. begin
  20928. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20929. end;
  20930. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.&set := $00000080;
  20933. end;
  20934. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  20935. begin
  20936. pTDefRegMap(@Self)^.clr := $00000080;
  20937. end;
  20938. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  20939. begin
  20940. if thebits = 0 then
  20941. pTDefRegMap(@Self)^.clr := $00000080
  20942. else
  20943. pTDefRegMap(@Self)^.&set := $00000080;
  20944. end;
  20945. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  20946. begin
  20947. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20948. end;
  20949. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  20950. begin
  20951. pTDefRegMap(@Self)^.&set := $00010000;
  20952. end;
  20953. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  20954. begin
  20955. pTDefRegMap(@Self)^.clr := $00010000;
  20956. end;
  20957. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  20958. begin
  20959. if thebits = 0 then
  20960. pTDefRegMap(@Self)^.clr := $00010000
  20961. else
  20962. pTDefRegMap(@Self)^.&set := $00010000;
  20963. end;
  20964. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  20965. begin
  20966. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20967. end;
  20968. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  20969. begin
  20970. pTDefRegMap(@Self)^.&set := $00020000;
  20971. end;
  20972. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  20973. begin
  20974. pTDefRegMap(@Self)^.clr := $00020000;
  20975. end;
  20976. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  20977. begin
  20978. if thebits = 0 then
  20979. pTDefRegMap(@Self)^.clr := $00020000
  20980. else
  20981. pTDefRegMap(@Self)^.&set := $00020000;
  20982. end;
  20983. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  20984. begin
  20985. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20986. end;
  20987. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  20988. begin
  20989. pTDefRegMap(@Self)^.&set := $00040000;
  20990. end;
  20991. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.clr := $00040000;
  20994. end;
  20995. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  20996. begin
  20997. if thebits = 0 then
  20998. pTDefRegMap(@Self)^.clr := $00040000
  20999. else
  21000. pTDefRegMap(@Self)^.&set := $00040000;
  21001. end;
  21002. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  21003. begin
  21004. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21005. end;
  21006. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  21007. begin
  21008. pTDefRegMap(@Self)^.&set := $00080000;
  21009. end;
  21010. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  21011. begin
  21012. pTDefRegMap(@Self)^.clr := $00080000;
  21013. end;
  21014. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  21015. begin
  21016. if thebits = 0 then
  21017. pTDefRegMap(@Self)^.clr := $00080000
  21018. else
  21019. pTDefRegMap(@Self)^.&set := $00080000;
  21020. end;
  21021. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  21022. begin
  21023. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21024. end;
  21025. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  21026. begin
  21027. pTDefRegMap(@Self)^.&set := $00100000;
  21028. end;
  21029. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  21030. begin
  21031. pTDefRegMap(@Self)^.clr := $00100000;
  21032. end;
  21033. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  21034. begin
  21035. if thebits = 0 then
  21036. pTDefRegMap(@Self)^.clr := $00100000
  21037. else
  21038. pTDefRegMap(@Self)^.&set := $00100000;
  21039. end;
  21040. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  21041. begin
  21042. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21043. end;
  21044. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  21045. begin
  21046. pTDefRegMap(@Self)^.&set := $00200000;
  21047. end;
  21048. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  21049. begin
  21050. pTDefRegMap(@Self)^.clr := $00200000;
  21051. end;
  21052. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  21053. begin
  21054. if thebits = 0 then
  21055. pTDefRegMap(@Self)^.clr := $00200000
  21056. else
  21057. pTDefRegMap(@Self)^.&set := $00200000;
  21058. end;
  21059. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  21060. begin
  21061. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21062. end;
  21063. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  21064. begin
  21065. pTDefRegMap(@Self)^.&set := $00400000;
  21066. end;
  21067. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.clr := $00400000;
  21070. end;
  21071. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  21072. begin
  21073. if thebits = 0 then
  21074. pTDefRegMap(@Self)^.clr := $00400000
  21075. else
  21076. pTDefRegMap(@Self)^.&set := $00400000;
  21077. end;
  21078. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  21079. begin
  21080. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21081. end;
  21082. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  21083. begin
  21084. pTDefRegMap(@Self)^.&set := $00800000;
  21085. end;
  21086. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  21087. begin
  21088. pTDefRegMap(@Self)^.clr := $00800000;
  21089. end;
  21090. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  21091. begin
  21092. if thebits = 0 then
  21093. pTDefRegMap(@Self)^.clr := $00800000
  21094. else
  21095. pTDefRegMap(@Self)^.&set := $00800000;
  21096. end;
  21097. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  21098. begin
  21099. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21100. end;
  21101. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  21102. begin
  21103. pTDefRegMap(@Self)^.val := thebits;
  21104. end;
  21105. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  21106. begin
  21107. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21108. end;
  21109. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  21110. begin
  21111. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21112. end;
  21113. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  21114. begin
  21115. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21116. end;
  21117. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  21118. begin
  21119. pTDefRegMap(@Self)^.&set := $00000004;
  21120. end;
  21121. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  21122. begin
  21123. pTDefRegMap(@Self)^.clr := $00000004;
  21124. end;
  21125. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  21126. begin
  21127. if thebits = 0 then
  21128. pTDefRegMap(@Self)^.clr := $00000004
  21129. else
  21130. pTDefRegMap(@Self)^.&set := $00000004;
  21131. end;
  21132. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  21133. begin
  21134. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21135. end;
  21136. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  21137. begin
  21138. pTDefRegMap(@Self)^.&set := $00000010;
  21139. end;
  21140. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  21141. begin
  21142. pTDefRegMap(@Self)^.clr := $00000010;
  21143. end;
  21144. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  21145. begin
  21146. if thebits = 0 then
  21147. pTDefRegMap(@Self)^.clr := $00000010
  21148. else
  21149. pTDefRegMap(@Self)^.&set := $00000010;
  21150. end;
  21151. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  21152. begin
  21153. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21154. end;
  21155. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  21156. begin
  21157. pTDefRegMap(@Self)^.&set := $00000020;
  21158. end;
  21159. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  21160. begin
  21161. pTDefRegMap(@Self)^.clr := $00000020;
  21162. end;
  21163. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  21164. begin
  21165. if thebits = 0 then
  21166. pTDefRegMap(@Self)^.clr := $00000020
  21167. else
  21168. pTDefRegMap(@Self)^.&set := $00000020;
  21169. end;
  21170. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  21171. begin
  21172. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21173. end;
  21174. procedure TDMAC2_DCH2CON.setCHAED; inline;
  21175. begin
  21176. pTDefRegMap(@Self)^.&set := $00000040;
  21177. end;
  21178. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  21179. begin
  21180. pTDefRegMap(@Self)^.clr := $00000040;
  21181. end;
  21182. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  21183. begin
  21184. if thebits = 0 then
  21185. pTDefRegMap(@Self)^.clr := $00000040
  21186. else
  21187. pTDefRegMap(@Self)^.&set := $00000040;
  21188. end;
  21189. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  21190. begin
  21191. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21192. end;
  21193. procedure TDMAC2_DCH2CON.setCHEN; inline;
  21194. begin
  21195. pTDefRegMap(@Self)^.&set := $00000080;
  21196. end;
  21197. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  21198. begin
  21199. pTDefRegMap(@Self)^.clr := $00000080;
  21200. end;
  21201. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  21202. begin
  21203. if thebits = 0 then
  21204. pTDefRegMap(@Self)^.clr := $00000080
  21205. else
  21206. pTDefRegMap(@Self)^.&set := $00000080;
  21207. end;
  21208. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  21209. begin
  21210. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21211. end;
  21212. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  21213. begin
  21214. pTDefRegMap(@Self)^.&set := $00000100;
  21215. end;
  21216. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  21217. begin
  21218. pTDefRegMap(@Self)^.clr := $00000100;
  21219. end;
  21220. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  21221. begin
  21222. if thebits = 0 then
  21223. pTDefRegMap(@Self)^.clr := $00000100
  21224. else
  21225. pTDefRegMap(@Self)^.&set := $00000100;
  21226. end;
  21227. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  21228. begin
  21229. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21230. end;
  21231. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  21232. begin
  21233. pTDefRegMap(@Self)^.val := thebits;
  21234. end;
  21235. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  21236. begin
  21237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21238. end;
  21239. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  21240. begin
  21241. pTDefRegMap(@Self)^.&set := $00000008;
  21242. end;
  21243. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  21244. begin
  21245. pTDefRegMap(@Self)^.clr := $00000008;
  21246. end;
  21247. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  21248. begin
  21249. if thebits = 0 then
  21250. pTDefRegMap(@Self)^.clr := $00000008
  21251. else
  21252. pTDefRegMap(@Self)^.&set := $00000008;
  21253. end;
  21254. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  21255. begin
  21256. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21257. end;
  21258. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  21259. begin
  21260. pTDefRegMap(@Self)^.&set := $00000010;
  21261. end;
  21262. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  21263. begin
  21264. pTDefRegMap(@Self)^.clr := $00000010;
  21265. end;
  21266. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  21267. begin
  21268. if thebits = 0 then
  21269. pTDefRegMap(@Self)^.clr := $00000010
  21270. else
  21271. pTDefRegMap(@Self)^.&set := $00000010;
  21272. end;
  21273. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  21274. begin
  21275. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21276. end;
  21277. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  21278. begin
  21279. pTDefRegMap(@Self)^.&set := $00000020;
  21280. end;
  21281. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  21282. begin
  21283. pTDefRegMap(@Self)^.clr := $00000020;
  21284. end;
  21285. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  21286. begin
  21287. if thebits = 0 then
  21288. pTDefRegMap(@Self)^.clr := $00000020
  21289. else
  21290. pTDefRegMap(@Self)^.&set := $00000020;
  21291. end;
  21292. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  21293. begin
  21294. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21295. end;
  21296. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  21297. begin
  21298. pTDefRegMap(@Self)^.&set := $00000040;
  21299. end;
  21300. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  21301. begin
  21302. pTDefRegMap(@Self)^.clr := $00000040;
  21303. end;
  21304. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  21305. begin
  21306. if thebits = 0 then
  21307. pTDefRegMap(@Self)^.clr := $00000040
  21308. else
  21309. pTDefRegMap(@Self)^.&set := $00000040;
  21310. end;
  21311. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  21312. begin
  21313. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21314. end;
  21315. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  21316. begin
  21317. pTDefRegMap(@Self)^.&set := $00000080;
  21318. end;
  21319. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  21320. begin
  21321. pTDefRegMap(@Self)^.clr := $00000080;
  21322. end;
  21323. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  21324. begin
  21325. if thebits = 0 then
  21326. pTDefRegMap(@Self)^.clr := $00000080
  21327. else
  21328. pTDefRegMap(@Self)^.&set := $00000080;
  21329. end;
  21330. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  21331. begin
  21332. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21333. end;
  21334. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  21335. begin
  21336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21337. end;
  21338. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  21339. begin
  21340. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21341. end;
  21342. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  21343. begin
  21344. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21345. end;
  21346. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  21347. begin
  21348. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21349. end;
  21350. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  21351. begin
  21352. pTDefRegMap(@Self)^.val := thebits;
  21353. end;
  21354. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  21355. begin
  21356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21357. end;
  21358. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.&set := $00000001;
  21361. end;
  21362. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  21363. begin
  21364. pTDefRegMap(@Self)^.clr := $00000001;
  21365. end;
  21366. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  21367. begin
  21368. if thebits = 0 then
  21369. pTDefRegMap(@Self)^.clr := $00000001
  21370. else
  21371. pTDefRegMap(@Self)^.&set := $00000001;
  21372. end;
  21373. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  21374. begin
  21375. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21376. end;
  21377. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.&set := $00000002;
  21380. end;
  21381. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  21382. begin
  21383. pTDefRegMap(@Self)^.clr := $00000002;
  21384. end;
  21385. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  21386. begin
  21387. if thebits = 0 then
  21388. pTDefRegMap(@Self)^.clr := $00000002
  21389. else
  21390. pTDefRegMap(@Self)^.&set := $00000002;
  21391. end;
  21392. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  21393. begin
  21394. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21395. end;
  21396. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.&set := $00000004;
  21399. end;
  21400. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  21401. begin
  21402. pTDefRegMap(@Self)^.clr := $00000004;
  21403. end;
  21404. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  21405. begin
  21406. if thebits = 0 then
  21407. pTDefRegMap(@Self)^.clr := $00000004
  21408. else
  21409. pTDefRegMap(@Self)^.&set := $00000004;
  21410. end;
  21411. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  21412. begin
  21413. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21414. end;
  21415. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.&set := $00000008;
  21418. end;
  21419. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  21420. begin
  21421. pTDefRegMap(@Self)^.clr := $00000008;
  21422. end;
  21423. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  21424. begin
  21425. if thebits = 0 then
  21426. pTDefRegMap(@Self)^.clr := $00000008
  21427. else
  21428. pTDefRegMap(@Self)^.&set := $00000008;
  21429. end;
  21430. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  21431. begin
  21432. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21433. end;
  21434. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.&set := $00000010;
  21437. end;
  21438. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  21439. begin
  21440. pTDefRegMap(@Self)^.clr := $00000010;
  21441. end;
  21442. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  21443. begin
  21444. if thebits = 0 then
  21445. pTDefRegMap(@Self)^.clr := $00000010
  21446. else
  21447. pTDefRegMap(@Self)^.&set := $00000010;
  21448. end;
  21449. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  21450. begin
  21451. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21452. end;
  21453. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.&set := $00000020;
  21456. end;
  21457. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  21458. begin
  21459. pTDefRegMap(@Self)^.clr := $00000020;
  21460. end;
  21461. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  21462. begin
  21463. if thebits = 0 then
  21464. pTDefRegMap(@Self)^.clr := $00000020
  21465. else
  21466. pTDefRegMap(@Self)^.&set := $00000020;
  21467. end;
  21468. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  21469. begin
  21470. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21471. end;
  21472. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  21473. begin
  21474. pTDefRegMap(@Self)^.&set := $00000040;
  21475. end;
  21476. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  21477. begin
  21478. pTDefRegMap(@Self)^.clr := $00000040;
  21479. end;
  21480. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  21481. begin
  21482. if thebits = 0 then
  21483. pTDefRegMap(@Self)^.clr := $00000040
  21484. else
  21485. pTDefRegMap(@Self)^.&set := $00000040;
  21486. end;
  21487. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  21488. begin
  21489. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21490. end;
  21491. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.&set := $00000080;
  21494. end;
  21495. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  21496. begin
  21497. pTDefRegMap(@Self)^.clr := $00000080;
  21498. end;
  21499. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  21500. begin
  21501. if thebits = 0 then
  21502. pTDefRegMap(@Self)^.clr := $00000080
  21503. else
  21504. pTDefRegMap(@Self)^.&set := $00000080;
  21505. end;
  21506. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  21507. begin
  21508. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21509. end;
  21510. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  21511. begin
  21512. pTDefRegMap(@Self)^.&set := $00010000;
  21513. end;
  21514. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  21515. begin
  21516. pTDefRegMap(@Self)^.clr := $00010000;
  21517. end;
  21518. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  21519. begin
  21520. if thebits = 0 then
  21521. pTDefRegMap(@Self)^.clr := $00010000
  21522. else
  21523. pTDefRegMap(@Self)^.&set := $00010000;
  21524. end;
  21525. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  21526. begin
  21527. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21528. end;
  21529. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  21530. begin
  21531. pTDefRegMap(@Self)^.&set := $00020000;
  21532. end;
  21533. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  21534. begin
  21535. pTDefRegMap(@Self)^.clr := $00020000;
  21536. end;
  21537. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  21538. begin
  21539. if thebits = 0 then
  21540. pTDefRegMap(@Self)^.clr := $00020000
  21541. else
  21542. pTDefRegMap(@Self)^.&set := $00020000;
  21543. end;
  21544. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  21545. begin
  21546. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21547. end;
  21548. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  21549. begin
  21550. pTDefRegMap(@Self)^.&set := $00040000;
  21551. end;
  21552. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  21553. begin
  21554. pTDefRegMap(@Self)^.clr := $00040000;
  21555. end;
  21556. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  21557. begin
  21558. if thebits = 0 then
  21559. pTDefRegMap(@Self)^.clr := $00040000
  21560. else
  21561. pTDefRegMap(@Self)^.&set := $00040000;
  21562. end;
  21563. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  21564. begin
  21565. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21566. end;
  21567. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  21568. begin
  21569. pTDefRegMap(@Self)^.&set := $00080000;
  21570. end;
  21571. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  21572. begin
  21573. pTDefRegMap(@Self)^.clr := $00080000;
  21574. end;
  21575. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  21576. begin
  21577. if thebits = 0 then
  21578. pTDefRegMap(@Self)^.clr := $00080000
  21579. else
  21580. pTDefRegMap(@Self)^.&set := $00080000;
  21581. end;
  21582. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  21583. begin
  21584. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21585. end;
  21586. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  21587. begin
  21588. pTDefRegMap(@Self)^.&set := $00100000;
  21589. end;
  21590. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  21591. begin
  21592. pTDefRegMap(@Self)^.clr := $00100000;
  21593. end;
  21594. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  21595. begin
  21596. if thebits = 0 then
  21597. pTDefRegMap(@Self)^.clr := $00100000
  21598. else
  21599. pTDefRegMap(@Self)^.&set := $00100000;
  21600. end;
  21601. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  21602. begin
  21603. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21604. end;
  21605. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  21606. begin
  21607. pTDefRegMap(@Self)^.&set := $00200000;
  21608. end;
  21609. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  21610. begin
  21611. pTDefRegMap(@Self)^.clr := $00200000;
  21612. end;
  21613. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  21614. begin
  21615. if thebits = 0 then
  21616. pTDefRegMap(@Self)^.clr := $00200000
  21617. else
  21618. pTDefRegMap(@Self)^.&set := $00200000;
  21619. end;
  21620. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  21621. begin
  21622. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21623. end;
  21624. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  21625. begin
  21626. pTDefRegMap(@Self)^.&set := $00400000;
  21627. end;
  21628. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  21629. begin
  21630. pTDefRegMap(@Self)^.clr := $00400000;
  21631. end;
  21632. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  21633. begin
  21634. if thebits = 0 then
  21635. pTDefRegMap(@Self)^.clr := $00400000
  21636. else
  21637. pTDefRegMap(@Self)^.&set := $00400000;
  21638. end;
  21639. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  21640. begin
  21641. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21642. end;
  21643. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  21644. begin
  21645. pTDefRegMap(@Self)^.&set := $00800000;
  21646. end;
  21647. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  21648. begin
  21649. pTDefRegMap(@Self)^.clr := $00800000;
  21650. end;
  21651. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  21652. begin
  21653. if thebits = 0 then
  21654. pTDefRegMap(@Self)^.clr := $00800000
  21655. else
  21656. pTDefRegMap(@Self)^.&set := $00800000;
  21657. end;
  21658. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  21659. begin
  21660. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21661. end;
  21662. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.val := thebits;
  21665. end;
  21666. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  21667. begin
  21668. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21669. end;
  21670. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  21671. begin
  21672. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21673. end;
  21674. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  21675. begin
  21676. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21677. end;
  21678. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  21679. begin
  21680. pTDefRegMap(@Self)^.&set := $00000004;
  21681. end;
  21682. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.clr := $00000004;
  21685. end;
  21686. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  21687. begin
  21688. if thebits = 0 then
  21689. pTDefRegMap(@Self)^.clr := $00000004
  21690. else
  21691. pTDefRegMap(@Self)^.&set := $00000004;
  21692. end;
  21693. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  21694. begin
  21695. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21696. end;
  21697. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  21698. begin
  21699. pTDefRegMap(@Self)^.&set := $00000010;
  21700. end;
  21701. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.clr := $00000010;
  21704. end;
  21705. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  21706. begin
  21707. if thebits = 0 then
  21708. pTDefRegMap(@Self)^.clr := $00000010
  21709. else
  21710. pTDefRegMap(@Self)^.&set := $00000010;
  21711. end;
  21712. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  21713. begin
  21714. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21715. end;
  21716. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  21717. begin
  21718. pTDefRegMap(@Self)^.&set := $00000020;
  21719. end;
  21720. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.clr := $00000020;
  21723. end;
  21724. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  21725. begin
  21726. if thebits = 0 then
  21727. pTDefRegMap(@Self)^.clr := $00000020
  21728. else
  21729. pTDefRegMap(@Self)^.&set := $00000020;
  21730. end;
  21731. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  21732. begin
  21733. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21734. end;
  21735. procedure TDMAC3_DCH3CON.setCHAED; inline;
  21736. begin
  21737. pTDefRegMap(@Self)^.&set := $00000040;
  21738. end;
  21739. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.clr := $00000040;
  21742. end;
  21743. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  21744. begin
  21745. if thebits = 0 then
  21746. pTDefRegMap(@Self)^.clr := $00000040
  21747. else
  21748. pTDefRegMap(@Self)^.&set := $00000040;
  21749. end;
  21750. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  21751. begin
  21752. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21753. end;
  21754. procedure TDMAC3_DCH3CON.setCHEN; inline;
  21755. begin
  21756. pTDefRegMap(@Self)^.&set := $00000080;
  21757. end;
  21758. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  21759. begin
  21760. pTDefRegMap(@Self)^.clr := $00000080;
  21761. end;
  21762. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  21763. begin
  21764. if thebits = 0 then
  21765. pTDefRegMap(@Self)^.clr := $00000080
  21766. else
  21767. pTDefRegMap(@Self)^.&set := $00000080;
  21768. end;
  21769. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  21770. begin
  21771. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21772. end;
  21773. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  21774. begin
  21775. pTDefRegMap(@Self)^.&set := $00000100;
  21776. end;
  21777. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  21778. begin
  21779. pTDefRegMap(@Self)^.clr := $00000100;
  21780. end;
  21781. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  21782. begin
  21783. if thebits = 0 then
  21784. pTDefRegMap(@Self)^.clr := $00000100
  21785. else
  21786. pTDefRegMap(@Self)^.&set := $00000100;
  21787. end;
  21788. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  21789. begin
  21790. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21791. end;
  21792. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  21793. begin
  21794. pTDefRegMap(@Self)^.val := thebits;
  21795. end;
  21796. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  21797. begin
  21798. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21799. end;
  21800. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  21801. begin
  21802. pTDefRegMap(@Self)^.&set := $00000008;
  21803. end;
  21804. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  21805. begin
  21806. pTDefRegMap(@Self)^.clr := $00000008;
  21807. end;
  21808. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  21809. begin
  21810. if thebits = 0 then
  21811. pTDefRegMap(@Self)^.clr := $00000008
  21812. else
  21813. pTDefRegMap(@Self)^.&set := $00000008;
  21814. end;
  21815. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  21816. begin
  21817. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21818. end;
  21819. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  21820. begin
  21821. pTDefRegMap(@Self)^.&set := $00000010;
  21822. end;
  21823. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  21824. begin
  21825. pTDefRegMap(@Self)^.clr := $00000010;
  21826. end;
  21827. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  21828. begin
  21829. if thebits = 0 then
  21830. pTDefRegMap(@Self)^.clr := $00000010
  21831. else
  21832. pTDefRegMap(@Self)^.&set := $00000010;
  21833. end;
  21834. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  21835. begin
  21836. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21837. end;
  21838. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  21839. begin
  21840. pTDefRegMap(@Self)^.&set := $00000020;
  21841. end;
  21842. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  21843. begin
  21844. pTDefRegMap(@Self)^.clr := $00000020;
  21845. end;
  21846. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  21847. begin
  21848. if thebits = 0 then
  21849. pTDefRegMap(@Self)^.clr := $00000020
  21850. else
  21851. pTDefRegMap(@Self)^.&set := $00000020;
  21852. end;
  21853. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  21854. begin
  21855. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21856. end;
  21857. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  21858. begin
  21859. pTDefRegMap(@Self)^.&set := $00000040;
  21860. end;
  21861. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  21862. begin
  21863. pTDefRegMap(@Self)^.clr := $00000040;
  21864. end;
  21865. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  21866. begin
  21867. if thebits = 0 then
  21868. pTDefRegMap(@Self)^.clr := $00000040
  21869. else
  21870. pTDefRegMap(@Self)^.&set := $00000040;
  21871. end;
  21872. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  21873. begin
  21874. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21875. end;
  21876. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  21877. begin
  21878. pTDefRegMap(@Self)^.&set := $00000080;
  21879. end;
  21880. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  21881. begin
  21882. pTDefRegMap(@Self)^.clr := $00000080;
  21883. end;
  21884. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  21885. begin
  21886. if thebits = 0 then
  21887. pTDefRegMap(@Self)^.clr := $00000080
  21888. else
  21889. pTDefRegMap(@Self)^.&set := $00000080;
  21890. end;
  21891. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  21892. begin
  21893. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21894. end;
  21895. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  21896. begin
  21897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21898. end;
  21899. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  21900. begin
  21901. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21902. end;
  21903. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  21904. begin
  21905. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21906. end;
  21907. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  21908. begin
  21909. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21910. end;
  21911. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  21912. begin
  21913. pTDefRegMap(@Self)^.val := thebits;
  21914. end;
  21915. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  21916. begin
  21917. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21918. end;
  21919. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  21920. begin
  21921. pTDefRegMap(@Self)^.&set := $00000001;
  21922. end;
  21923. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  21924. begin
  21925. pTDefRegMap(@Self)^.clr := $00000001;
  21926. end;
  21927. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  21928. begin
  21929. if thebits = 0 then
  21930. pTDefRegMap(@Self)^.clr := $00000001
  21931. else
  21932. pTDefRegMap(@Self)^.&set := $00000001;
  21933. end;
  21934. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  21935. begin
  21936. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21937. end;
  21938. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  21939. begin
  21940. pTDefRegMap(@Self)^.&set := $00000002;
  21941. end;
  21942. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  21943. begin
  21944. pTDefRegMap(@Self)^.clr := $00000002;
  21945. end;
  21946. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  21947. begin
  21948. if thebits = 0 then
  21949. pTDefRegMap(@Self)^.clr := $00000002
  21950. else
  21951. pTDefRegMap(@Self)^.&set := $00000002;
  21952. end;
  21953. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  21954. begin
  21955. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21956. end;
  21957. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  21958. begin
  21959. pTDefRegMap(@Self)^.&set := $00000004;
  21960. end;
  21961. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  21962. begin
  21963. pTDefRegMap(@Self)^.clr := $00000004;
  21964. end;
  21965. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  21966. begin
  21967. if thebits = 0 then
  21968. pTDefRegMap(@Self)^.clr := $00000004
  21969. else
  21970. pTDefRegMap(@Self)^.&set := $00000004;
  21971. end;
  21972. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  21973. begin
  21974. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21975. end;
  21976. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  21977. begin
  21978. pTDefRegMap(@Self)^.&set := $00000008;
  21979. end;
  21980. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  21981. begin
  21982. pTDefRegMap(@Self)^.clr := $00000008;
  21983. end;
  21984. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  21985. begin
  21986. if thebits = 0 then
  21987. pTDefRegMap(@Self)^.clr := $00000008
  21988. else
  21989. pTDefRegMap(@Self)^.&set := $00000008;
  21990. end;
  21991. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  21992. begin
  21993. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21994. end;
  21995. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  21996. begin
  21997. pTDefRegMap(@Self)^.&set := $00000010;
  21998. end;
  21999. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  22000. begin
  22001. pTDefRegMap(@Self)^.clr := $00000010;
  22002. end;
  22003. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  22004. begin
  22005. if thebits = 0 then
  22006. pTDefRegMap(@Self)^.clr := $00000010
  22007. else
  22008. pTDefRegMap(@Self)^.&set := $00000010;
  22009. end;
  22010. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  22011. begin
  22012. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22013. end;
  22014. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  22015. begin
  22016. pTDefRegMap(@Self)^.&set := $00000020;
  22017. end;
  22018. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  22019. begin
  22020. pTDefRegMap(@Self)^.clr := $00000020;
  22021. end;
  22022. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  22023. begin
  22024. if thebits = 0 then
  22025. pTDefRegMap(@Self)^.clr := $00000020
  22026. else
  22027. pTDefRegMap(@Self)^.&set := $00000020;
  22028. end;
  22029. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  22030. begin
  22031. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22032. end;
  22033. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  22034. begin
  22035. pTDefRegMap(@Self)^.&set := $00000040;
  22036. end;
  22037. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  22038. begin
  22039. pTDefRegMap(@Self)^.clr := $00000040;
  22040. end;
  22041. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  22042. begin
  22043. if thebits = 0 then
  22044. pTDefRegMap(@Self)^.clr := $00000040
  22045. else
  22046. pTDefRegMap(@Self)^.&set := $00000040;
  22047. end;
  22048. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  22049. begin
  22050. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22051. end;
  22052. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  22053. begin
  22054. pTDefRegMap(@Self)^.&set := $00000080;
  22055. end;
  22056. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  22057. begin
  22058. pTDefRegMap(@Self)^.clr := $00000080;
  22059. end;
  22060. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  22061. begin
  22062. if thebits = 0 then
  22063. pTDefRegMap(@Self)^.clr := $00000080
  22064. else
  22065. pTDefRegMap(@Self)^.&set := $00000080;
  22066. end;
  22067. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  22068. begin
  22069. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22070. end;
  22071. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  22072. begin
  22073. pTDefRegMap(@Self)^.&set := $00010000;
  22074. end;
  22075. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  22076. begin
  22077. pTDefRegMap(@Self)^.clr := $00010000;
  22078. end;
  22079. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  22080. begin
  22081. if thebits = 0 then
  22082. pTDefRegMap(@Self)^.clr := $00010000
  22083. else
  22084. pTDefRegMap(@Self)^.&set := $00010000;
  22085. end;
  22086. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  22087. begin
  22088. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22089. end;
  22090. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  22091. begin
  22092. pTDefRegMap(@Self)^.&set := $00020000;
  22093. end;
  22094. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  22095. begin
  22096. pTDefRegMap(@Self)^.clr := $00020000;
  22097. end;
  22098. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  22099. begin
  22100. if thebits = 0 then
  22101. pTDefRegMap(@Self)^.clr := $00020000
  22102. else
  22103. pTDefRegMap(@Self)^.&set := $00020000;
  22104. end;
  22105. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  22106. begin
  22107. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22108. end;
  22109. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  22110. begin
  22111. pTDefRegMap(@Self)^.&set := $00040000;
  22112. end;
  22113. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  22114. begin
  22115. pTDefRegMap(@Self)^.clr := $00040000;
  22116. end;
  22117. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  22118. begin
  22119. if thebits = 0 then
  22120. pTDefRegMap(@Self)^.clr := $00040000
  22121. else
  22122. pTDefRegMap(@Self)^.&set := $00040000;
  22123. end;
  22124. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  22125. begin
  22126. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22127. end;
  22128. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  22129. begin
  22130. pTDefRegMap(@Self)^.&set := $00080000;
  22131. end;
  22132. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  22133. begin
  22134. pTDefRegMap(@Self)^.clr := $00080000;
  22135. end;
  22136. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  22137. begin
  22138. if thebits = 0 then
  22139. pTDefRegMap(@Self)^.clr := $00080000
  22140. else
  22141. pTDefRegMap(@Self)^.&set := $00080000;
  22142. end;
  22143. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  22144. begin
  22145. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22146. end;
  22147. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  22148. begin
  22149. pTDefRegMap(@Self)^.&set := $00100000;
  22150. end;
  22151. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  22152. begin
  22153. pTDefRegMap(@Self)^.clr := $00100000;
  22154. end;
  22155. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  22156. begin
  22157. if thebits = 0 then
  22158. pTDefRegMap(@Self)^.clr := $00100000
  22159. else
  22160. pTDefRegMap(@Self)^.&set := $00100000;
  22161. end;
  22162. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  22163. begin
  22164. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22165. end;
  22166. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  22167. begin
  22168. pTDefRegMap(@Self)^.&set := $00200000;
  22169. end;
  22170. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  22171. begin
  22172. pTDefRegMap(@Self)^.clr := $00200000;
  22173. end;
  22174. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  22175. begin
  22176. if thebits = 0 then
  22177. pTDefRegMap(@Self)^.clr := $00200000
  22178. else
  22179. pTDefRegMap(@Self)^.&set := $00200000;
  22180. end;
  22181. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  22182. begin
  22183. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22184. end;
  22185. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  22186. begin
  22187. pTDefRegMap(@Self)^.&set := $00400000;
  22188. end;
  22189. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  22190. begin
  22191. pTDefRegMap(@Self)^.clr := $00400000;
  22192. end;
  22193. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  22194. begin
  22195. if thebits = 0 then
  22196. pTDefRegMap(@Self)^.clr := $00400000
  22197. else
  22198. pTDefRegMap(@Self)^.&set := $00400000;
  22199. end;
  22200. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  22201. begin
  22202. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22203. end;
  22204. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  22205. begin
  22206. pTDefRegMap(@Self)^.&set := $00800000;
  22207. end;
  22208. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  22209. begin
  22210. pTDefRegMap(@Self)^.clr := $00800000;
  22211. end;
  22212. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  22213. begin
  22214. if thebits = 0 then
  22215. pTDefRegMap(@Self)^.clr := $00800000
  22216. else
  22217. pTDefRegMap(@Self)^.&set := $00800000;
  22218. end;
  22219. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  22220. begin
  22221. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22222. end;
  22223. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  22224. begin
  22225. pTDefRegMap(@Self)^.val := thebits;
  22226. end;
  22227. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  22228. begin
  22229. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22230. end;
  22231. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  22232. begin
  22233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  22234. end;
  22235. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  22236. begin
  22237. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  22238. end;
  22239. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  22240. begin
  22241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  22242. end;
  22243. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  22244. begin
  22245. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  22246. end;
  22247. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  22248. begin
  22249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22250. end;
  22251. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  22252. begin
  22253. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22254. end;
  22255. procedure TPCACHE_CHECON.setCHECOH; inline;
  22256. begin
  22257. pTDefRegMap(@Self)^.&set := $00010000;
  22258. end;
  22259. procedure TPCACHE_CHECON.clearCHECOH; inline;
  22260. begin
  22261. pTDefRegMap(@Self)^.clr := $00010000;
  22262. end;
  22263. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  22264. begin
  22265. if thebits = 0 then
  22266. pTDefRegMap(@Self)^.clr := $00010000
  22267. else
  22268. pTDefRegMap(@Self)^.&set := $00010000;
  22269. end;
  22270. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  22271. begin
  22272. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22273. end;
  22274. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  22275. begin
  22276. pTDefRegMap(@Self)^.val := thebits;
  22277. end;
  22278. function TPCACHE_CHECON.getw : TBits_32; inline;
  22279. begin
  22280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22281. end;
  22282. procedure TPCACHE_CHETAG.setLTYPE; inline;
  22283. begin
  22284. pTDefRegMap(@Self)^.&set := $00000002;
  22285. end;
  22286. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  22287. begin
  22288. pTDefRegMap(@Self)^.clr := $00000002;
  22289. end;
  22290. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  22291. begin
  22292. if thebits = 0 then
  22293. pTDefRegMap(@Self)^.clr := $00000002
  22294. else
  22295. pTDefRegMap(@Self)^.&set := $00000002;
  22296. end;
  22297. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  22298. begin
  22299. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22300. end;
  22301. procedure TPCACHE_CHETAG.setLLOCK; inline;
  22302. begin
  22303. pTDefRegMap(@Self)^.&set := $00000004;
  22304. end;
  22305. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  22306. begin
  22307. pTDefRegMap(@Self)^.clr := $00000004;
  22308. end;
  22309. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  22310. begin
  22311. if thebits = 0 then
  22312. pTDefRegMap(@Self)^.clr := $00000004
  22313. else
  22314. pTDefRegMap(@Self)^.&set := $00000004;
  22315. end;
  22316. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  22317. begin
  22318. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22319. end;
  22320. procedure TPCACHE_CHETAG.setLVALID; inline;
  22321. begin
  22322. pTDefRegMap(@Self)^.&set := $00000008;
  22323. end;
  22324. procedure TPCACHE_CHETAG.clearLVALID; inline;
  22325. begin
  22326. pTDefRegMap(@Self)^.clr := $00000008;
  22327. end;
  22328. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  22329. begin
  22330. if thebits = 0 then
  22331. pTDefRegMap(@Self)^.clr := $00000008
  22332. else
  22333. pTDefRegMap(@Self)^.&set := $00000008;
  22334. end;
  22335. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  22336. begin
  22337. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22338. end;
  22339. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  22340. begin
  22341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  22342. end;
  22343. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  22344. begin
  22345. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  22346. end;
  22347. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  22348. begin
  22349. pTDefRegMap(@Self)^.&set := $80000000;
  22350. end;
  22351. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  22352. begin
  22353. pTDefRegMap(@Self)^.clr := $80000000;
  22354. end;
  22355. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  22356. begin
  22357. if thebits = 0 then
  22358. pTDefRegMap(@Self)^.clr := $80000000
  22359. else
  22360. pTDefRegMap(@Self)^.&set := $80000000;
  22361. end;
  22362. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  22363. begin
  22364. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22365. end;
  22366. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  22367. begin
  22368. pTDefRegMap(@Self)^.val := thebits;
  22369. end;
  22370. function TPCACHE_CHETAG.getw : TBits_32; inline;
  22371. begin
  22372. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22373. end;
  22374. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  22375. begin
  22376. pTDefRegMap(@Self)^.&set := $00000001;
  22377. end;
  22378. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  22379. begin
  22380. pTDefRegMap(@Self)^.clr := $00000001;
  22381. end;
  22382. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  22383. begin
  22384. if thebits = 0 then
  22385. pTDefRegMap(@Self)^.clr := $00000001
  22386. else
  22387. pTDefRegMap(@Self)^.&set := $00000001;
  22388. end;
  22389. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  22390. begin
  22391. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22392. end;
  22393. procedure TUSB_U1IR.setUERRIF; inline;
  22394. begin
  22395. pTDefRegMap(@Self)^.&set := $00000002;
  22396. end;
  22397. procedure TUSB_U1IR.clearUERRIF; inline;
  22398. begin
  22399. pTDefRegMap(@Self)^.clr := $00000002;
  22400. end;
  22401. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  22402. begin
  22403. if thebits = 0 then
  22404. pTDefRegMap(@Self)^.clr := $00000002
  22405. else
  22406. pTDefRegMap(@Self)^.&set := $00000002;
  22407. end;
  22408. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  22409. begin
  22410. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22411. end;
  22412. procedure TUSB_U1IR.setSOFIF; inline;
  22413. begin
  22414. pTDefRegMap(@Self)^.&set := $00000004;
  22415. end;
  22416. procedure TUSB_U1IR.clearSOFIF; inline;
  22417. begin
  22418. pTDefRegMap(@Self)^.clr := $00000004;
  22419. end;
  22420. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  22421. begin
  22422. if thebits = 0 then
  22423. pTDefRegMap(@Self)^.clr := $00000004
  22424. else
  22425. pTDefRegMap(@Self)^.&set := $00000004;
  22426. end;
  22427. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  22428. begin
  22429. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22430. end;
  22431. procedure TUSB_U1IR.setTRNIF; inline;
  22432. begin
  22433. pTDefRegMap(@Self)^.&set := $00000008;
  22434. end;
  22435. procedure TUSB_U1IR.clearTRNIF; inline;
  22436. begin
  22437. pTDefRegMap(@Self)^.clr := $00000008;
  22438. end;
  22439. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  22440. begin
  22441. if thebits = 0 then
  22442. pTDefRegMap(@Self)^.clr := $00000008
  22443. else
  22444. pTDefRegMap(@Self)^.&set := $00000008;
  22445. end;
  22446. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  22447. begin
  22448. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22449. end;
  22450. procedure TUSB_U1IR.setIDLEIF; inline;
  22451. begin
  22452. pTDefRegMap(@Self)^.&set := $00000010;
  22453. end;
  22454. procedure TUSB_U1IR.clearIDLEIF; inline;
  22455. begin
  22456. pTDefRegMap(@Self)^.clr := $00000010;
  22457. end;
  22458. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  22459. begin
  22460. if thebits = 0 then
  22461. pTDefRegMap(@Self)^.clr := $00000010
  22462. else
  22463. pTDefRegMap(@Self)^.&set := $00000010;
  22464. end;
  22465. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  22466. begin
  22467. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22468. end;
  22469. procedure TUSB_U1IR.setRESUMEIF; inline;
  22470. begin
  22471. pTDefRegMap(@Self)^.&set := $00000020;
  22472. end;
  22473. procedure TUSB_U1IR.clearRESUMEIF; inline;
  22474. begin
  22475. pTDefRegMap(@Self)^.clr := $00000020;
  22476. end;
  22477. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  22478. begin
  22479. if thebits = 0 then
  22480. pTDefRegMap(@Self)^.clr := $00000020
  22481. else
  22482. pTDefRegMap(@Self)^.&set := $00000020;
  22483. end;
  22484. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  22485. begin
  22486. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22487. end;
  22488. procedure TUSB_U1IR.setATTACHIF; inline;
  22489. begin
  22490. pTDefRegMap(@Self)^.&set := $00000040;
  22491. end;
  22492. procedure TUSB_U1IR.clearATTACHIF; inline;
  22493. begin
  22494. pTDefRegMap(@Self)^.clr := $00000040;
  22495. end;
  22496. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  22497. begin
  22498. if thebits = 0 then
  22499. pTDefRegMap(@Self)^.clr := $00000040
  22500. else
  22501. pTDefRegMap(@Self)^.&set := $00000040;
  22502. end;
  22503. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  22504. begin
  22505. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22506. end;
  22507. procedure TUSB_U1IR.setSTALLIF; inline;
  22508. begin
  22509. pTDefRegMap(@Self)^.&set := $00000080;
  22510. end;
  22511. procedure TUSB_U1IR.clearSTALLIF; inline;
  22512. begin
  22513. pTDefRegMap(@Self)^.clr := $00000080;
  22514. end;
  22515. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  22516. begin
  22517. if thebits = 0 then
  22518. pTDefRegMap(@Self)^.clr := $00000080
  22519. else
  22520. pTDefRegMap(@Self)^.&set := $00000080;
  22521. end;
  22522. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  22523. begin
  22524. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22525. end;
  22526. procedure TUSB_U1IR.setDETACHIF; inline;
  22527. begin
  22528. pTDefRegMap(@Self)^.&set := $00000001;
  22529. end;
  22530. procedure TUSB_U1IR.clearDETACHIF; inline;
  22531. begin
  22532. pTDefRegMap(@Self)^.clr := $00000001;
  22533. end;
  22534. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  22535. begin
  22536. if thebits = 0 then
  22537. pTDefRegMap(@Self)^.clr := $00000001
  22538. else
  22539. pTDefRegMap(@Self)^.&set := $00000001;
  22540. end;
  22541. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  22542. begin
  22543. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22544. end;
  22545. procedure TUSB_U1IR.setURSTIF; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.&set := $00000001;
  22548. end;
  22549. procedure TUSB_U1IR.clearURSTIF; inline;
  22550. begin
  22551. pTDefRegMap(@Self)^.clr := $00000001;
  22552. end;
  22553. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  22554. begin
  22555. if thebits = 0 then
  22556. pTDefRegMap(@Self)^.clr := $00000001
  22557. else
  22558. pTDefRegMap(@Self)^.&set := $00000001;
  22559. end;
  22560. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  22561. begin
  22562. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22563. end;
  22564. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.&set := $00000001;
  22567. end;
  22568. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.clr := $00000001;
  22571. end;
  22572. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  22573. begin
  22574. if thebits = 0 then
  22575. pTDefRegMap(@Self)^.clr := $00000001
  22576. else
  22577. pTDefRegMap(@Self)^.&set := $00000001;
  22578. end;
  22579. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  22580. begin
  22581. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22582. end;
  22583. procedure TUSB_U1IE.setUERRIE; inline;
  22584. begin
  22585. pTDefRegMap(@Self)^.&set := $00000002;
  22586. end;
  22587. procedure TUSB_U1IE.clearUERRIE; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.clr := $00000002;
  22590. end;
  22591. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  22592. begin
  22593. if thebits = 0 then
  22594. pTDefRegMap(@Self)^.clr := $00000002
  22595. else
  22596. pTDefRegMap(@Self)^.&set := $00000002;
  22597. end;
  22598. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  22599. begin
  22600. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22601. end;
  22602. procedure TUSB_U1IE.setSOFIE; inline;
  22603. begin
  22604. pTDefRegMap(@Self)^.&set := $00000004;
  22605. end;
  22606. procedure TUSB_U1IE.clearSOFIE; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.clr := $00000004;
  22609. end;
  22610. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  22611. begin
  22612. if thebits = 0 then
  22613. pTDefRegMap(@Self)^.clr := $00000004
  22614. else
  22615. pTDefRegMap(@Self)^.&set := $00000004;
  22616. end;
  22617. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  22618. begin
  22619. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22620. end;
  22621. procedure TUSB_U1IE.setTRNIE; inline;
  22622. begin
  22623. pTDefRegMap(@Self)^.&set := $00000008;
  22624. end;
  22625. procedure TUSB_U1IE.clearTRNIE; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.clr := $00000008;
  22628. end;
  22629. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  22630. begin
  22631. if thebits = 0 then
  22632. pTDefRegMap(@Self)^.clr := $00000008
  22633. else
  22634. pTDefRegMap(@Self)^.&set := $00000008;
  22635. end;
  22636. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  22637. begin
  22638. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22639. end;
  22640. procedure TUSB_U1IE.setIDLEIE; inline;
  22641. begin
  22642. pTDefRegMap(@Self)^.&set := $00000010;
  22643. end;
  22644. procedure TUSB_U1IE.clearIDLEIE; inline;
  22645. begin
  22646. pTDefRegMap(@Self)^.clr := $00000010;
  22647. end;
  22648. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  22649. begin
  22650. if thebits = 0 then
  22651. pTDefRegMap(@Self)^.clr := $00000010
  22652. else
  22653. pTDefRegMap(@Self)^.&set := $00000010;
  22654. end;
  22655. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  22656. begin
  22657. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22658. end;
  22659. procedure TUSB_U1IE.setRESUMEIE; inline;
  22660. begin
  22661. pTDefRegMap(@Self)^.&set := $00000020;
  22662. end;
  22663. procedure TUSB_U1IE.clearRESUMEIE; inline;
  22664. begin
  22665. pTDefRegMap(@Self)^.clr := $00000020;
  22666. end;
  22667. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  22668. begin
  22669. if thebits = 0 then
  22670. pTDefRegMap(@Self)^.clr := $00000020
  22671. else
  22672. pTDefRegMap(@Self)^.&set := $00000020;
  22673. end;
  22674. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  22675. begin
  22676. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22677. end;
  22678. procedure TUSB_U1IE.setATTACHIE; inline;
  22679. begin
  22680. pTDefRegMap(@Self)^.&set := $00000040;
  22681. end;
  22682. procedure TUSB_U1IE.clearATTACHIE; inline;
  22683. begin
  22684. pTDefRegMap(@Self)^.clr := $00000040;
  22685. end;
  22686. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  22687. begin
  22688. if thebits = 0 then
  22689. pTDefRegMap(@Self)^.clr := $00000040
  22690. else
  22691. pTDefRegMap(@Self)^.&set := $00000040;
  22692. end;
  22693. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  22694. begin
  22695. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22696. end;
  22697. procedure TUSB_U1IE.setSTALLIE; inline;
  22698. begin
  22699. pTDefRegMap(@Self)^.&set := $00000080;
  22700. end;
  22701. procedure TUSB_U1IE.clearSTALLIE; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.clr := $00000080;
  22704. end;
  22705. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  22706. begin
  22707. if thebits = 0 then
  22708. pTDefRegMap(@Self)^.clr := $00000080
  22709. else
  22710. pTDefRegMap(@Self)^.&set := $00000080;
  22711. end;
  22712. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  22713. begin
  22714. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22715. end;
  22716. procedure TUSB_U1IE.setDETACHIE; inline;
  22717. begin
  22718. pTDefRegMap(@Self)^.&set := $00000001;
  22719. end;
  22720. procedure TUSB_U1IE.clearDETACHIE; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.clr := $00000001;
  22723. end;
  22724. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  22725. begin
  22726. if thebits = 0 then
  22727. pTDefRegMap(@Self)^.clr := $00000001
  22728. else
  22729. pTDefRegMap(@Self)^.&set := $00000001;
  22730. end;
  22731. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  22732. begin
  22733. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22734. end;
  22735. procedure TUSB_U1IE.setURSTIE; inline;
  22736. begin
  22737. pTDefRegMap(@Self)^.&set := $00000001;
  22738. end;
  22739. procedure TUSB_U1IE.clearURSTIE; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.clr := $00000001;
  22742. end;
  22743. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  22744. begin
  22745. if thebits = 0 then
  22746. pTDefRegMap(@Self)^.clr := $00000001
  22747. else
  22748. pTDefRegMap(@Self)^.&set := $00000001;
  22749. end;
  22750. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  22751. begin
  22752. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22753. end;
  22754. procedure TUSB_U1EIR.setPIDEF; inline;
  22755. begin
  22756. pTDefRegMap(@Self)^.&set := $00000001;
  22757. end;
  22758. procedure TUSB_U1EIR.clearPIDEF; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.clr := $00000001;
  22761. end;
  22762. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  22763. begin
  22764. if thebits = 0 then
  22765. pTDefRegMap(@Self)^.clr := $00000001
  22766. else
  22767. pTDefRegMap(@Self)^.&set := $00000001;
  22768. end;
  22769. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  22770. begin
  22771. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22772. end;
  22773. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  22774. begin
  22775. pTDefRegMap(@Self)^.&set := $00000002;
  22776. end;
  22777. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.clr := $00000002;
  22780. end;
  22781. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  22782. begin
  22783. if thebits = 0 then
  22784. pTDefRegMap(@Self)^.clr := $00000002
  22785. else
  22786. pTDefRegMap(@Self)^.&set := $00000002;
  22787. end;
  22788. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  22789. begin
  22790. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22791. end;
  22792. procedure TUSB_U1EIR.setCRC16EF; inline;
  22793. begin
  22794. pTDefRegMap(@Self)^.&set := $00000004;
  22795. end;
  22796. procedure TUSB_U1EIR.clearCRC16EF; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.clr := $00000004;
  22799. end;
  22800. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  22801. begin
  22802. if thebits = 0 then
  22803. pTDefRegMap(@Self)^.clr := $00000004
  22804. else
  22805. pTDefRegMap(@Self)^.&set := $00000004;
  22806. end;
  22807. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  22808. begin
  22809. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22810. end;
  22811. procedure TUSB_U1EIR.setDFN8EF; inline;
  22812. begin
  22813. pTDefRegMap(@Self)^.&set := $00000008;
  22814. end;
  22815. procedure TUSB_U1EIR.clearDFN8EF; inline;
  22816. begin
  22817. pTDefRegMap(@Self)^.clr := $00000008;
  22818. end;
  22819. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  22820. begin
  22821. if thebits = 0 then
  22822. pTDefRegMap(@Self)^.clr := $00000008
  22823. else
  22824. pTDefRegMap(@Self)^.&set := $00000008;
  22825. end;
  22826. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  22827. begin
  22828. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22829. end;
  22830. procedure TUSB_U1EIR.setBTOEF; inline;
  22831. begin
  22832. pTDefRegMap(@Self)^.&set := $00000010;
  22833. end;
  22834. procedure TUSB_U1EIR.clearBTOEF; inline;
  22835. begin
  22836. pTDefRegMap(@Self)^.clr := $00000010;
  22837. end;
  22838. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  22839. begin
  22840. if thebits = 0 then
  22841. pTDefRegMap(@Self)^.clr := $00000010
  22842. else
  22843. pTDefRegMap(@Self)^.&set := $00000010;
  22844. end;
  22845. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  22846. begin
  22847. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22848. end;
  22849. procedure TUSB_U1EIR.setDMAEF; inline;
  22850. begin
  22851. pTDefRegMap(@Self)^.&set := $00000020;
  22852. end;
  22853. procedure TUSB_U1EIR.clearDMAEF; inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.clr := $00000020;
  22856. end;
  22857. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  22858. begin
  22859. if thebits = 0 then
  22860. pTDefRegMap(@Self)^.clr := $00000020
  22861. else
  22862. pTDefRegMap(@Self)^.&set := $00000020;
  22863. end;
  22864. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  22865. begin
  22866. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22867. end;
  22868. procedure TUSB_U1EIR.setBMXEF; inline;
  22869. begin
  22870. pTDefRegMap(@Self)^.&set := $00000040;
  22871. end;
  22872. procedure TUSB_U1EIR.clearBMXEF; inline;
  22873. begin
  22874. pTDefRegMap(@Self)^.clr := $00000040;
  22875. end;
  22876. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  22877. begin
  22878. if thebits = 0 then
  22879. pTDefRegMap(@Self)^.clr := $00000040
  22880. else
  22881. pTDefRegMap(@Self)^.&set := $00000040;
  22882. end;
  22883. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  22884. begin
  22885. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22886. end;
  22887. procedure TUSB_U1EIR.setBTSEF; inline;
  22888. begin
  22889. pTDefRegMap(@Self)^.&set := $00000080;
  22890. end;
  22891. procedure TUSB_U1EIR.clearBTSEF; inline;
  22892. begin
  22893. pTDefRegMap(@Self)^.clr := $00000080;
  22894. end;
  22895. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  22896. begin
  22897. if thebits = 0 then
  22898. pTDefRegMap(@Self)^.clr := $00000080
  22899. else
  22900. pTDefRegMap(@Self)^.&set := $00000080;
  22901. end;
  22902. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  22903. begin
  22904. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22905. end;
  22906. procedure TUSB_U1EIR.setCRC5EF; inline;
  22907. begin
  22908. pTDefRegMap(@Self)^.&set := $00000002;
  22909. end;
  22910. procedure TUSB_U1EIR.clearCRC5EF; inline;
  22911. begin
  22912. pTDefRegMap(@Self)^.clr := $00000002;
  22913. end;
  22914. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  22915. begin
  22916. if thebits = 0 then
  22917. pTDefRegMap(@Self)^.clr := $00000002
  22918. else
  22919. pTDefRegMap(@Self)^.&set := $00000002;
  22920. end;
  22921. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  22922. begin
  22923. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22924. end;
  22925. procedure TUSB_U1EIR.setEOFEF; inline;
  22926. begin
  22927. pTDefRegMap(@Self)^.&set := $00000002;
  22928. end;
  22929. procedure TUSB_U1EIR.clearEOFEF; inline;
  22930. begin
  22931. pTDefRegMap(@Self)^.clr := $00000002;
  22932. end;
  22933. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  22934. begin
  22935. if thebits = 0 then
  22936. pTDefRegMap(@Self)^.clr := $00000002
  22937. else
  22938. pTDefRegMap(@Self)^.&set := $00000002;
  22939. end;
  22940. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  22941. begin
  22942. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22943. end;
  22944. procedure TUSB_U1EIE.setPIDEE; inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.&set := $00000001;
  22947. end;
  22948. procedure TUSB_U1EIE.clearPIDEE; inline;
  22949. begin
  22950. pTDefRegMap(@Self)^.clr := $00000001;
  22951. end;
  22952. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  22953. begin
  22954. if thebits = 0 then
  22955. pTDefRegMap(@Self)^.clr := $00000001
  22956. else
  22957. pTDefRegMap(@Self)^.&set := $00000001;
  22958. end;
  22959. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  22960. begin
  22961. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22962. end;
  22963. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  22964. begin
  22965. pTDefRegMap(@Self)^.&set := $00000002;
  22966. end;
  22967. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  22968. begin
  22969. pTDefRegMap(@Self)^.clr := $00000002;
  22970. end;
  22971. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  22972. begin
  22973. if thebits = 0 then
  22974. pTDefRegMap(@Self)^.clr := $00000002
  22975. else
  22976. pTDefRegMap(@Self)^.&set := $00000002;
  22977. end;
  22978. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  22979. begin
  22980. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22981. end;
  22982. procedure TUSB_U1EIE.setCRC16EE; inline;
  22983. begin
  22984. pTDefRegMap(@Self)^.&set := $00000004;
  22985. end;
  22986. procedure TUSB_U1EIE.clearCRC16EE; inline;
  22987. begin
  22988. pTDefRegMap(@Self)^.clr := $00000004;
  22989. end;
  22990. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  22991. begin
  22992. if thebits = 0 then
  22993. pTDefRegMap(@Self)^.clr := $00000004
  22994. else
  22995. pTDefRegMap(@Self)^.&set := $00000004;
  22996. end;
  22997. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  22998. begin
  22999. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23000. end;
  23001. procedure TUSB_U1EIE.setDFN8EE; inline;
  23002. begin
  23003. pTDefRegMap(@Self)^.&set := $00000008;
  23004. end;
  23005. procedure TUSB_U1EIE.clearDFN8EE; inline;
  23006. begin
  23007. pTDefRegMap(@Self)^.clr := $00000008;
  23008. end;
  23009. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  23010. begin
  23011. if thebits = 0 then
  23012. pTDefRegMap(@Self)^.clr := $00000008
  23013. else
  23014. pTDefRegMap(@Self)^.&set := $00000008;
  23015. end;
  23016. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  23017. begin
  23018. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23019. end;
  23020. procedure TUSB_U1EIE.setBTOEE; inline;
  23021. begin
  23022. pTDefRegMap(@Self)^.&set := $00000010;
  23023. end;
  23024. procedure TUSB_U1EIE.clearBTOEE; inline;
  23025. begin
  23026. pTDefRegMap(@Self)^.clr := $00000010;
  23027. end;
  23028. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  23029. begin
  23030. if thebits = 0 then
  23031. pTDefRegMap(@Self)^.clr := $00000010
  23032. else
  23033. pTDefRegMap(@Self)^.&set := $00000010;
  23034. end;
  23035. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  23036. begin
  23037. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23038. end;
  23039. procedure TUSB_U1EIE.setDMAEE; inline;
  23040. begin
  23041. pTDefRegMap(@Self)^.&set := $00000020;
  23042. end;
  23043. procedure TUSB_U1EIE.clearDMAEE; inline;
  23044. begin
  23045. pTDefRegMap(@Self)^.clr := $00000020;
  23046. end;
  23047. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  23048. begin
  23049. if thebits = 0 then
  23050. pTDefRegMap(@Self)^.clr := $00000020
  23051. else
  23052. pTDefRegMap(@Self)^.&set := $00000020;
  23053. end;
  23054. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  23055. begin
  23056. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23057. end;
  23058. procedure TUSB_U1EIE.setBMXEE; inline;
  23059. begin
  23060. pTDefRegMap(@Self)^.&set := $00000040;
  23061. end;
  23062. procedure TUSB_U1EIE.clearBMXEE; inline;
  23063. begin
  23064. pTDefRegMap(@Self)^.clr := $00000040;
  23065. end;
  23066. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  23067. begin
  23068. if thebits = 0 then
  23069. pTDefRegMap(@Self)^.clr := $00000040
  23070. else
  23071. pTDefRegMap(@Self)^.&set := $00000040;
  23072. end;
  23073. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  23074. begin
  23075. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23076. end;
  23077. procedure TUSB_U1EIE.setBTSEE; inline;
  23078. begin
  23079. pTDefRegMap(@Self)^.&set := $00000080;
  23080. end;
  23081. procedure TUSB_U1EIE.clearBTSEE; inline;
  23082. begin
  23083. pTDefRegMap(@Self)^.clr := $00000080;
  23084. end;
  23085. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  23086. begin
  23087. if thebits = 0 then
  23088. pTDefRegMap(@Self)^.clr := $00000080
  23089. else
  23090. pTDefRegMap(@Self)^.&set := $00000080;
  23091. end;
  23092. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  23093. begin
  23094. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23095. end;
  23096. procedure TUSB_U1EIE.setCRC5EE; inline;
  23097. begin
  23098. pTDefRegMap(@Self)^.&set := $00000002;
  23099. end;
  23100. procedure TUSB_U1EIE.clearCRC5EE; inline;
  23101. begin
  23102. pTDefRegMap(@Self)^.clr := $00000002;
  23103. end;
  23104. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  23105. begin
  23106. if thebits = 0 then
  23107. pTDefRegMap(@Self)^.clr := $00000002
  23108. else
  23109. pTDefRegMap(@Self)^.&set := $00000002;
  23110. end;
  23111. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  23112. begin
  23113. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23114. end;
  23115. procedure TUSB_U1EIE.setEOFEE; inline;
  23116. begin
  23117. pTDefRegMap(@Self)^.&set := $00000002;
  23118. end;
  23119. procedure TUSB_U1EIE.clearEOFEE; inline;
  23120. begin
  23121. pTDefRegMap(@Self)^.clr := $00000002;
  23122. end;
  23123. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  23124. begin
  23125. if thebits = 0 then
  23126. pTDefRegMap(@Self)^.clr := $00000002
  23127. else
  23128. pTDefRegMap(@Self)^.&set := $00000002;
  23129. end;
  23130. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  23131. begin
  23132. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23133. end;
  23134. procedure TUSB_U1STAT.setPPBI; inline;
  23135. begin
  23136. pTDefRegMap(@Self)^.&set := $00000004;
  23137. end;
  23138. procedure TUSB_U1STAT.clearPPBI; inline;
  23139. begin
  23140. pTDefRegMap(@Self)^.clr := $00000004;
  23141. end;
  23142. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  23143. begin
  23144. if thebits = 0 then
  23145. pTDefRegMap(@Self)^.clr := $00000004
  23146. else
  23147. pTDefRegMap(@Self)^.&set := $00000004;
  23148. end;
  23149. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  23150. begin
  23151. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23152. end;
  23153. procedure TUSB_U1STAT.setDIR; inline;
  23154. begin
  23155. pTDefRegMap(@Self)^.&set := $00000008;
  23156. end;
  23157. procedure TUSB_U1STAT.clearDIR; inline;
  23158. begin
  23159. pTDefRegMap(@Self)^.clr := $00000008;
  23160. end;
  23161. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  23162. begin
  23163. if thebits = 0 then
  23164. pTDefRegMap(@Self)^.clr := $00000008
  23165. else
  23166. pTDefRegMap(@Self)^.&set := $00000008;
  23167. end;
  23168. function TUSB_U1STAT.getDIR : TBits_1; inline;
  23169. begin
  23170. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23171. end;
  23172. procedure TUSB_U1STAT.setENDPT0; inline;
  23173. begin
  23174. pTDefRegMap(@Self)^.&set := $00000010;
  23175. end;
  23176. procedure TUSB_U1STAT.clearENDPT0; inline;
  23177. begin
  23178. pTDefRegMap(@Self)^.clr := $00000010;
  23179. end;
  23180. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  23181. begin
  23182. if thebits = 0 then
  23183. pTDefRegMap(@Self)^.clr := $00000010
  23184. else
  23185. pTDefRegMap(@Self)^.&set := $00000010;
  23186. end;
  23187. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  23188. begin
  23189. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23190. end;
  23191. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  23192. begin
  23193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  23194. end;
  23195. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  23196. begin
  23197. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  23198. end;
  23199. procedure TUSB_U1STAT.setENDPT1; inline;
  23200. begin
  23201. pTDefRegMap(@Self)^.&set := $00000020;
  23202. end;
  23203. procedure TUSB_U1STAT.clearENDPT1; inline;
  23204. begin
  23205. pTDefRegMap(@Self)^.clr := $00000020;
  23206. end;
  23207. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  23208. begin
  23209. if thebits = 0 then
  23210. pTDefRegMap(@Self)^.clr := $00000020
  23211. else
  23212. pTDefRegMap(@Self)^.&set := $00000020;
  23213. end;
  23214. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  23215. begin
  23216. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23217. end;
  23218. procedure TUSB_U1STAT.setENDPT2; inline;
  23219. begin
  23220. pTDefRegMap(@Self)^.&set := $00000040;
  23221. end;
  23222. procedure TUSB_U1STAT.clearENDPT2; inline;
  23223. begin
  23224. pTDefRegMap(@Self)^.clr := $00000040;
  23225. end;
  23226. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  23227. begin
  23228. if thebits = 0 then
  23229. pTDefRegMap(@Self)^.clr := $00000040
  23230. else
  23231. pTDefRegMap(@Self)^.&set := $00000040;
  23232. end;
  23233. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  23234. begin
  23235. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23236. end;
  23237. procedure TUSB_U1STAT.setENDPT3; inline;
  23238. begin
  23239. pTDefRegMap(@Self)^.&set := $00000080;
  23240. end;
  23241. procedure TUSB_U1STAT.clearENDPT3; inline;
  23242. begin
  23243. pTDefRegMap(@Self)^.clr := $00000080;
  23244. end;
  23245. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  23246. begin
  23247. if thebits = 0 then
  23248. pTDefRegMap(@Self)^.clr := $00000080
  23249. else
  23250. pTDefRegMap(@Self)^.&set := $00000080;
  23251. end;
  23252. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  23253. begin
  23254. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23255. end;
  23256. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  23257. begin
  23258. pTDefRegMap(@Self)^.&set := $00000001;
  23259. end;
  23260. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  23261. begin
  23262. pTDefRegMap(@Self)^.clr := $00000001;
  23263. end;
  23264. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  23265. begin
  23266. if thebits = 0 then
  23267. pTDefRegMap(@Self)^.clr := $00000001
  23268. else
  23269. pTDefRegMap(@Self)^.&set := $00000001;
  23270. end;
  23271. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  23272. begin
  23273. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23274. end;
  23275. procedure TUSB_U1CON.setPPBRST; inline;
  23276. begin
  23277. pTDefRegMap(@Self)^.&set := $00000002;
  23278. end;
  23279. procedure TUSB_U1CON.clearPPBRST; inline;
  23280. begin
  23281. pTDefRegMap(@Self)^.clr := $00000002;
  23282. end;
  23283. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  23284. begin
  23285. if thebits = 0 then
  23286. pTDefRegMap(@Self)^.clr := $00000002
  23287. else
  23288. pTDefRegMap(@Self)^.&set := $00000002;
  23289. end;
  23290. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  23291. begin
  23292. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23293. end;
  23294. procedure TUSB_U1CON.setRESUME; inline;
  23295. begin
  23296. pTDefRegMap(@Self)^.&set := $00000004;
  23297. end;
  23298. procedure TUSB_U1CON.clearRESUME; inline;
  23299. begin
  23300. pTDefRegMap(@Self)^.clr := $00000004;
  23301. end;
  23302. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  23303. begin
  23304. if thebits = 0 then
  23305. pTDefRegMap(@Self)^.clr := $00000004
  23306. else
  23307. pTDefRegMap(@Self)^.&set := $00000004;
  23308. end;
  23309. function TUSB_U1CON.getRESUME : TBits_1; inline;
  23310. begin
  23311. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23312. end;
  23313. procedure TUSB_U1CON.setHOSTEN; inline;
  23314. begin
  23315. pTDefRegMap(@Self)^.&set := $00000008;
  23316. end;
  23317. procedure TUSB_U1CON.clearHOSTEN; inline;
  23318. begin
  23319. pTDefRegMap(@Self)^.clr := $00000008;
  23320. end;
  23321. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  23322. begin
  23323. if thebits = 0 then
  23324. pTDefRegMap(@Self)^.clr := $00000008
  23325. else
  23326. pTDefRegMap(@Self)^.&set := $00000008;
  23327. end;
  23328. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  23329. begin
  23330. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23331. end;
  23332. procedure TUSB_U1CON.setUSBRST; inline;
  23333. begin
  23334. pTDefRegMap(@Self)^.&set := $00000010;
  23335. end;
  23336. procedure TUSB_U1CON.clearUSBRST; inline;
  23337. begin
  23338. pTDefRegMap(@Self)^.clr := $00000010;
  23339. end;
  23340. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  23341. begin
  23342. if thebits = 0 then
  23343. pTDefRegMap(@Self)^.clr := $00000010
  23344. else
  23345. pTDefRegMap(@Self)^.&set := $00000010;
  23346. end;
  23347. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  23348. begin
  23349. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23350. end;
  23351. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  23352. begin
  23353. pTDefRegMap(@Self)^.&set := $00000020;
  23354. end;
  23355. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  23356. begin
  23357. pTDefRegMap(@Self)^.clr := $00000020;
  23358. end;
  23359. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  23360. begin
  23361. if thebits = 0 then
  23362. pTDefRegMap(@Self)^.clr := $00000020
  23363. else
  23364. pTDefRegMap(@Self)^.&set := $00000020;
  23365. end;
  23366. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  23367. begin
  23368. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23369. end;
  23370. procedure TUSB_U1CON.setSE0; inline;
  23371. begin
  23372. pTDefRegMap(@Self)^.&set := $00000040;
  23373. end;
  23374. procedure TUSB_U1CON.clearSE0; inline;
  23375. begin
  23376. pTDefRegMap(@Self)^.clr := $00000040;
  23377. end;
  23378. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  23379. begin
  23380. if thebits = 0 then
  23381. pTDefRegMap(@Self)^.clr := $00000040
  23382. else
  23383. pTDefRegMap(@Self)^.&set := $00000040;
  23384. end;
  23385. function TUSB_U1CON.getSE0 : TBits_1; inline;
  23386. begin
  23387. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23388. end;
  23389. procedure TUSB_U1CON.setJSTATE; inline;
  23390. begin
  23391. pTDefRegMap(@Self)^.&set := $00000080;
  23392. end;
  23393. procedure TUSB_U1CON.clearJSTATE; inline;
  23394. begin
  23395. pTDefRegMap(@Self)^.clr := $00000080;
  23396. end;
  23397. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  23398. begin
  23399. if thebits = 0 then
  23400. pTDefRegMap(@Self)^.clr := $00000080
  23401. else
  23402. pTDefRegMap(@Self)^.&set := $00000080;
  23403. end;
  23404. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  23405. begin
  23406. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23407. end;
  23408. procedure TUSB_U1CON.setUSBEN; inline;
  23409. begin
  23410. pTDefRegMap(@Self)^.&set := $00000001;
  23411. end;
  23412. procedure TUSB_U1CON.clearUSBEN; inline;
  23413. begin
  23414. pTDefRegMap(@Self)^.clr := $00000001;
  23415. end;
  23416. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  23417. begin
  23418. if thebits = 0 then
  23419. pTDefRegMap(@Self)^.clr := $00000001
  23420. else
  23421. pTDefRegMap(@Self)^.&set := $00000001;
  23422. end;
  23423. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  23424. begin
  23425. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23426. end;
  23427. procedure TUSB_U1CON.setSOFEN; inline;
  23428. begin
  23429. pTDefRegMap(@Self)^.&set := $00000001;
  23430. end;
  23431. procedure TUSB_U1CON.clearSOFEN; inline;
  23432. begin
  23433. pTDefRegMap(@Self)^.clr := $00000001;
  23434. end;
  23435. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  23436. begin
  23437. if thebits = 0 then
  23438. pTDefRegMap(@Self)^.clr := $00000001
  23439. else
  23440. pTDefRegMap(@Self)^.&set := $00000001;
  23441. end;
  23442. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  23443. begin
  23444. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23445. end;
  23446. procedure TUSB_U1CON.setPKTDIS; inline;
  23447. begin
  23448. pTDefRegMap(@Self)^.&set := $00000020;
  23449. end;
  23450. procedure TUSB_U1CON.clearPKTDIS; inline;
  23451. begin
  23452. pTDefRegMap(@Self)^.clr := $00000020;
  23453. end;
  23454. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  23455. begin
  23456. if thebits = 0 then
  23457. pTDefRegMap(@Self)^.clr := $00000020
  23458. else
  23459. pTDefRegMap(@Self)^.&set := $00000020;
  23460. end;
  23461. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  23462. begin
  23463. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23464. end;
  23465. procedure TUSB_U1CON.setTOKBUSY; inline;
  23466. begin
  23467. pTDefRegMap(@Self)^.&set := $00000020;
  23468. end;
  23469. procedure TUSB_U1CON.clearTOKBUSY; inline;
  23470. begin
  23471. pTDefRegMap(@Self)^.clr := $00000020;
  23472. end;
  23473. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  23474. begin
  23475. if thebits = 0 then
  23476. pTDefRegMap(@Self)^.clr := $00000020
  23477. else
  23478. pTDefRegMap(@Self)^.&set := $00000020;
  23479. end;
  23480. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  23481. begin
  23482. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23483. end;
  23484. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  23485. begin
  23486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  23487. end;
  23488. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  23489. begin
  23490. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  23491. end;
  23492. procedure TUSB_U1ADDR.setLSPDEN; inline;
  23493. begin
  23494. pTDefRegMap(@Self)^.&set := $00000080;
  23495. end;
  23496. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  23497. begin
  23498. pTDefRegMap(@Self)^.clr := $00000080;
  23499. end;
  23500. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  23501. begin
  23502. if thebits = 0 then
  23503. pTDefRegMap(@Self)^.clr := $00000080
  23504. else
  23505. pTDefRegMap(@Self)^.&set := $00000080;
  23506. end;
  23507. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  23508. begin
  23509. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23510. end;
  23511. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  23512. begin
  23513. pTDefRegMap(@Self)^.&set := $00000001;
  23514. end;
  23515. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  23516. begin
  23517. pTDefRegMap(@Self)^.clr := $00000001;
  23518. end;
  23519. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  23520. begin
  23521. if thebits = 0 then
  23522. pTDefRegMap(@Self)^.clr := $00000001
  23523. else
  23524. pTDefRegMap(@Self)^.&set := $00000001;
  23525. end;
  23526. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  23527. begin
  23528. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23529. end;
  23530. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  23531. begin
  23532. pTDefRegMap(@Self)^.&set := $00000002;
  23533. end;
  23534. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  23535. begin
  23536. pTDefRegMap(@Self)^.clr := $00000002;
  23537. end;
  23538. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  23539. begin
  23540. if thebits = 0 then
  23541. pTDefRegMap(@Self)^.clr := $00000002
  23542. else
  23543. pTDefRegMap(@Self)^.&set := $00000002;
  23544. end;
  23545. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  23546. begin
  23547. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23548. end;
  23549. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  23550. begin
  23551. pTDefRegMap(@Self)^.&set := $00000004;
  23552. end;
  23553. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  23554. begin
  23555. pTDefRegMap(@Self)^.clr := $00000004;
  23556. end;
  23557. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  23558. begin
  23559. if thebits = 0 then
  23560. pTDefRegMap(@Self)^.clr := $00000004
  23561. else
  23562. pTDefRegMap(@Self)^.&set := $00000004;
  23563. end;
  23564. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  23565. begin
  23566. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23567. end;
  23568. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  23569. begin
  23570. pTDefRegMap(@Self)^.&set := $00000008;
  23571. end;
  23572. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  23573. begin
  23574. pTDefRegMap(@Self)^.clr := $00000008;
  23575. end;
  23576. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  23577. begin
  23578. if thebits = 0 then
  23579. pTDefRegMap(@Self)^.clr := $00000008
  23580. else
  23581. pTDefRegMap(@Self)^.&set := $00000008;
  23582. end;
  23583. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  23584. begin
  23585. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23586. end;
  23587. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  23588. begin
  23589. pTDefRegMap(@Self)^.&set := $00000010;
  23590. end;
  23591. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  23592. begin
  23593. pTDefRegMap(@Self)^.clr := $00000010;
  23594. end;
  23595. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  23596. begin
  23597. if thebits = 0 then
  23598. pTDefRegMap(@Self)^.clr := $00000010
  23599. else
  23600. pTDefRegMap(@Self)^.&set := $00000010;
  23601. end;
  23602. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  23603. begin
  23604. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23605. end;
  23606. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  23607. begin
  23608. pTDefRegMap(@Self)^.&set := $00000020;
  23609. end;
  23610. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  23611. begin
  23612. pTDefRegMap(@Self)^.clr := $00000020;
  23613. end;
  23614. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  23615. begin
  23616. if thebits = 0 then
  23617. pTDefRegMap(@Self)^.clr := $00000020
  23618. else
  23619. pTDefRegMap(@Self)^.&set := $00000020;
  23620. end;
  23621. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  23622. begin
  23623. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23624. end;
  23625. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  23626. begin
  23627. pTDefRegMap(@Self)^.&set := $00000040;
  23628. end;
  23629. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  23630. begin
  23631. pTDefRegMap(@Self)^.clr := $00000040;
  23632. end;
  23633. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  23634. begin
  23635. if thebits = 0 then
  23636. pTDefRegMap(@Self)^.clr := $00000040
  23637. else
  23638. pTDefRegMap(@Self)^.&set := $00000040;
  23639. end;
  23640. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  23641. begin
  23642. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23643. end;
  23644. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  23645. begin
  23646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  23647. end;
  23648. function TUSB_U1FRML.getFRML : TBits_8; inline;
  23649. begin
  23650. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  23651. end;
  23652. procedure TUSB_U1FRML.setFRM0; inline;
  23653. begin
  23654. pTDefRegMap(@Self)^.&set := $00000001;
  23655. end;
  23656. procedure TUSB_U1FRML.clearFRM0; inline;
  23657. begin
  23658. pTDefRegMap(@Self)^.clr := $00000001;
  23659. end;
  23660. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  23661. begin
  23662. if thebits = 0 then
  23663. pTDefRegMap(@Self)^.clr := $00000001
  23664. else
  23665. pTDefRegMap(@Self)^.&set := $00000001;
  23666. end;
  23667. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  23668. begin
  23669. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23670. end;
  23671. procedure TUSB_U1FRML.setFRM1; inline;
  23672. begin
  23673. pTDefRegMap(@Self)^.&set := $00000002;
  23674. end;
  23675. procedure TUSB_U1FRML.clearFRM1; inline;
  23676. begin
  23677. pTDefRegMap(@Self)^.clr := $00000002;
  23678. end;
  23679. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  23680. begin
  23681. if thebits = 0 then
  23682. pTDefRegMap(@Self)^.clr := $00000002
  23683. else
  23684. pTDefRegMap(@Self)^.&set := $00000002;
  23685. end;
  23686. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  23687. begin
  23688. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23689. end;
  23690. procedure TUSB_U1FRML.setFRM2; inline;
  23691. begin
  23692. pTDefRegMap(@Self)^.&set := $00000004;
  23693. end;
  23694. procedure TUSB_U1FRML.clearFRM2; inline;
  23695. begin
  23696. pTDefRegMap(@Self)^.clr := $00000004;
  23697. end;
  23698. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  23699. begin
  23700. if thebits = 0 then
  23701. pTDefRegMap(@Self)^.clr := $00000004
  23702. else
  23703. pTDefRegMap(@Self)^.&set := $00000004;
  23704. end;
  23705. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  23706. begin
  23707. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23708. end;
  23709. procedure TUSB_U1FRML.setFRM3; inline;
  23710. begin
  23711. pTDefRegMap(@Self)^.&set := $00000008;
  23712. end;
  23713. procedure TUSB_U1FRML.clearFRM3; inline;
  23714. begin
  23715. pTDefRegMap(@Self)^.clr := $00000008;
  23716. end;
  23717. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  23718. begin
  23719. if thebits = 0 then
  23720. pTDefRegMap(@Self)^.clr := $00000008
  23721. else
  23722. pTDefRegMap(@Self)^.&set := $00000008;
  23723. end;
  23724. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  23725. begin
  23726. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23727. end;
  23728. procedure TUSB_U1FRML.setFRM4; inline;
  23729. begin
  23730. pTDefRegMap(@Self)^.&set := $00000010;
  23731. end;
  23732. procedure TUSB_U1FRML.clearFRM4; inline;
  23733. begin
  23734. pTDefRegMap(@Self)^.clr := $00000010;
  23735. end;
  23736. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  23737. begin
  23738. if thebits = 0 then
  23739. pTDefRegMap(@Self)^.clr := $00000010
  23740. else
  23741. pTDefRegMap(@Self)^.&set := $00000010;
  23742. end;
  23743. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  23744. begin
  23745. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23746. end;
  23747. procedure TUSB_U1FRML.setFRM5; inline;
  23748. begin
  23749. pTDefRegMap(@Self)^.&set := $00000020;
  23750. end;
  23751. procedure TUSB_U1FRML.clearFRM5; inline;
  23752. begin
  23753. pTDefRegMap(@Self)^.clr := $00000020;
  23754. end;
  23755. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  23756. begin
  23757. if thebits = 0 then
  23758. pTDefRegMap(@Self)^.clr := $00000020
  23759. else
  23760. pTDefRegMap(@Self)^.&set := $00000020;
  23761. end;
  23762. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  23763. begin
  23764. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23765. end;
  23766. procedure TUSB_U1FRML.setFRM6; inline;
  23767. begin
  23768. pTDefRegMap(@Self)^.&set := $00000040;
  23769. end;
  23770. procedure TUSB_U1FRML.clearFRM6; inline;
  23771. begin
  23772. pTDefRegMap(@Self)^.clr := $00000040;
  23773. end;
  23774. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  23775. begin
  23776. if thebits = 0 then
  23777. pTDefRegMap(@Self)^.clr := $00000040
  23778. else
  23779. pTDefRegMap(@Self)^.&set := $00000040;
  23780. end;
  23781. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  23782. begin
  23783. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23784. end;
  23785. procedure TUSB_U1FRML.setFRM7; inline;
  23786. begin
  23787. pTDefRegMap(@Self)^.&set := $00000080;
  23788. end;
  23789. procedure TUSB_U1FRML.clearFRM7; inline;
  23790. begin
  23791. pTDefRegMap(@Self)^.clr := $00000080;
  23792. end;
  23793. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  23794. begin
  23795. if thebits = 0 then
  23796. pTDefRegMap(@Self)^.clr := $00000080
  23797. else
  23798. pTDefRegMap(@Self)^.&set := $00000080;
  23799. end;
  23800. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  23801. begin
  23802. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23803. end;
  23804. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  23805. begin
  23806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  23807. end;
  23808. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  23809. begin
  23810. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  23811. end;
  23812. procedure TUSB_U1FRMH.setFRM8; inline;
  23813. begin
  23814. pTDefRegMap(@Self)^.&set := $00000001;
  23815. end;
  23816. procedure TUSB_U1FRMH.clearFRM8; inline;
  23817. begin
  23818. pTDefRegMap(@Self)^.clr := $00000001;
  23819. end;
  23820. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  23821. begin
  23822. if thebits = 0 then
  23823. pTDefRegMap(@Self)^.clr := $00000001
  23824. else
  23825. pTDefRegMap(@Self)^.&set := $00000001;
  23826. end;
  23827. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  23828. begin
  23829. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23830. end;
  23831. procedure TUSB_U1FRMH.setFRM9; inline;
  23832. begin
  23833. pTDefRegMap(@Self)^.&set := $00000002;
  23834. end;
  23835. procedure TUSB_U1FRMH.clearFRM9; inline;
  23836. begin
  23837. pTDefRegMap(@Self)^.clr := $00000002;
  23838. end;
  23839. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  23840. begin
  23841. if thebits = 0 then
  23842. pTDefRegMap(@Self)^.clr := $00000002
  23843. else
  23844. pTDefRegMap(@Self)^.&set := $00000002;
  23845. end;
  23846. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  23847. begin
  23848. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23849. end;
  23850. procedure TUSB_U1FRMH.setFRM10; inline;
  23851. begin
  23852. pTDefRegMap(@Self)^.&set := $00000004;
  23853. end;
  23854. procedure TUSB_U1FRMH.clearFRM10; inline;
  23855. begin
  23856. pTDefRegMap(@Self)^.clr := $00000004;
  23857. end;
  23858. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  23859. begin
  23860. if thebits = 0 then
  23861. pTDefRegMap(@Self)^.clr := $00000004
  23862. else
  23863. pTDefRegMap(@Self)^.&set := $00000004;
  23864. end;
  23865. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  23866. begin
  23867. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23868. end;
  23869. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  23870. begin
  23871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23872. end;
  23873. function TUSB_U1TOK.getEP : TBits_4; inline;
  23874. begin
  23875. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23876. end;
  23877. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  23878. begin
  23879. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  23880. end;
  23881. function TUSB_U1TOK.getPID : TBits_4; inline;
  23882. begin
  23883. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  23884. end;
  23885. procedure TUSB_U1TOK.setEP0; inline;
  23886. begin
  23887. pTDefRegMap(@Self)^.&set := $00000001;
  23888. end;
  23889. procedure TUSB_U1TOK.clearEP0; inline;
  23890. begin
  23891. pTDefRegMap(@Self)^.clr := $00000001;
  23892. end;
  23893. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  23894. begin
  23895. if thebits = 0 then
  23896. pTDefRegMap(@Self)^.clr := $00000001
  23897. else
  23898. pTDefRegMap(@Self)^.&set := $00000001;
  23899. end;
  23900. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  23901. begin
  23902. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23903. end;
  23904. procedure TUSB_U1TOK.setEP1; inline;
  23905. begin
  23906. pTDefRegMap(@Self)^.&set := $00000002;
  23907. end;
  23908. procedure TUSB_U1TOK.clearEP1; inline;
  23909. begin
  23910. pTDefRegMap(@Self)^.clr := $00000002;
  23911. end;
  23912. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  23913. begin
  23914. if thebits = 0 then
  23915. pTDefRegMap(@Self)^.clr := $00000002
  23916. else
  23917. pTDefRegMap(@Self)^.&set := $00000002;
  23918. end;
  23919. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  23920. begin
  23921. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23922. end;
  23923. procedure TUSB_U1TOK.setEP2; inline;
  23924. begin
  23925. pTDefRegMap(@Self)^.&set := $00000004;
  23926. end;
  23927. procedure TUSB_U1TOK.clearEP2; inline;
  23928. begin
  23929. pTDefRegMap(@Self)^.clr := $00000004;
  23930. end;
  23931. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  23932. begin
  23933. if thebits = 0 then
  23934. pTDefRegMap(@Self)^.clr := $00000004
  23935. else
  23936. pTDefRegMap(@Self)^.&set := $00000004;
  23937. end;
  23938. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  23939. begin
  23940. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23941. end;
  23942. procedure TUSB_U1TOK.setEP3; inline;
  23943. begin
  23944. pTDefRegMap(@Self)^.&set := $00000008;
  23945. end;
  23946. procedure TUSB_U1TOK.clearEP3; inline;
  23947. begin
  23948. pTDefRegMap(@Self)^.clr := $00000008;
  23949. end;
  23950. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  23951. begin
  23952. if thebits = 0 then
  23953. pTDefRegMap(@Self)^.clr := $00000008
  23954. else
  23955. pTDefRegMap(@Self)^.&set := $00000008;
  23956. end;
  23957. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  23958. begin
  23959. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23960. end;
  23961. procedure TUSB_U1TOK.setPID0; inline;
  23962. begin
  23963. pTDefRegMap(@Self)^.&set := $00000010;
  23964. end;
  23965. procedure TUSB_U1TOK.clearPID0; inline;
  23966. begin
  23967. pTDefRegMap(@Self)^.clr := $00000010;
  23968. end;
  23969. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  23970. begin
  23971. if thebits = 0 then
  23972. pTDefRegMap(@Self)^.clr := $00000010
  23973. else
  23974. pTDefRegMap(@Self)^.&set := $00000010;
  23975. end;
  23976. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  23977. begin
  23978. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23979. end;
  23980. procedure TUSB_U1TOK.setPID1; inline;
  23981. begin
  23982. pTDefRegMap(@Self)^.&set := $00000020;
  23983. end;
  23984. procedure TUSB_U1TOK.clearPID1; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.clr := $00000020;
  23987. end;
  23988. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  23989. begin
  23990. if thebits = 0 then
  23991. pTDefRegMap(@Self)^.clr := $00000020
  23992. else
  23993. pTDefRegMap(@Self)^.&set := $00000020;
  23994. end;
  23995. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  23996. begin
  23997. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23998. end;
  23999. procedure TUSB_U1TOK.setPID2; inline;
  24000. begin
  24001. pTDefRegMap(@Self)^.&set := $00000040;
  24002. end;
  24003. procedure TUSB_U1TOK.clearPID2; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.clr := $00000040;
  24006. end;
  24007. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  24008. begin
  24009. if thebits = 0 then
  24010. pTDefRegMap(@Self)^.clr := $00000040
  24011. else
  24012. pTDefRegMap(@Self)^.&set := $00000040;
  24013. end;
  24014. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  24015. begin
  24016. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24017. end;
  24018. procedure TUSB_U1TOK.setPID3; inline;
  24019. begin
  24020. pTDefRegMap(@Self)^.&set := $00000080;
  24021. end;
  24022. procedure TUSB_U1TOK.clearPID3; inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.clr := $00000080;
  24025. end;
  24026. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  24027. begin
  24028. if thebits = 0 then
  24029. pTDefRegMap(@Self)^.clr := $00000080
  24030. else
  24031. pTDefRegMap(@Self)^.&set := $00000080;
  24032. end;
  24033. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  24034. begin
  24035. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24036. end;
  24037. procedure TPORTB_TRISB.setTRISB0; inline;
  24038. begin
  24039. pTDefRegMap(@Self)^.&set := $00000001;
  24040. end;
  24041. procedure TPORTB_TRISB.clearTRISB0; inline;
  24042. begin
  24043. pTDefRegMap(@Self)^.clr := $00000001;
  24044. end;
  24045. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  24046. begin
  24047. if thebits = 0 then
  24048. pTDefRegMap(@Self)^.clr := $00000001
  24049. else
  24050. pTDefRegMap(@Self)^.&set := $00000001;
  24051. end;
  24052. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  24053. begin
  24054. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24055. end;
  24056. procedure TPORTB_TRISB.setTRISB1; inline;
  24057. begin
  24058. pTDefRegMap(@Self)^.&set := $00000002;
  24059. end;
  24060. procedure TPORTB_TRISB.clearTRISB1; inline;
  24061. begin
  24062. pTDefRegMap(@Self)^.clr := $00000002;
  24063. end;
  24064. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  24065. begin
  24066. if thebits = 0 then
  24067. pTDefRegMap(@Self)^.clr := $00000002
  24068. else
  24069. pTDefRegMap(@Self)^.&set := $00000002;
  24070. end;
  24071. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  24072. begin
  24073. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24074. end;
  24075. procedure TPORTB_TRISB.setTRISB2; inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.&set := $00000004;
  24078. end;
  24079. procedure TPORTB_TRISB.clearTRISB2; inline;
  24080. begin
  24081. pTDefRegMap(@Self)^.clr := $00000004;
  24082. end;
  24083. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  24084. begin
  24085. if thebits = 0 then
  24086. pTDefRegMap(@Self)^.clr := $00000004
  24087. else
  24088. pTDefRegMap(@Self)^.&set := $00000004;
  24089. end;
  24090. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  24091. begin
  24092. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24093. end;
  24094. procedure TPORTB_TRISB.setTRISB3; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.&set := $00000008;
  24097. end;
  24098. procedure TPORTB_TRISB.clearTRISB3; inline;
  24099. begin
  24100. pTDefRegMap(@Self)^.clr := $00000008;
  24101. end;
  24102. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  24103. begin
  24104. if thebits = 0 then
  24105. pTDefRegMap(@Self)^.clr := $00000008
  24106. else
  24107. pTDefRegMap(@Self)^.&set := $00000008;
  24108. end;
  24109. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  24110. begin
  24111. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24112. end;
  24113. procedure TPORTB_TRISB.setTRISB4; inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.&set := $00000010;
  24116. end;
  24117. procedure TPORTB_TRISB.clearTRISB4; inline;
  24118. begin
  24119. pTDefRegMap(@Self)^.clr := $00000010;
  24120. end;
  24121. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  24122. begin
  24123. if thebits = 0 then
  24124. pTDefRegMap(@Self)^.clr := $00000010
  24125. else
  24126. pTDefRegMap(@Self)^.&set := $00000010;
  24127. end;
  24128. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  24129. begin
  24130. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24131. end;
  24132. procedure TPORTB_TRISB.setTRISB5; inline;
  24133. begin
  24134. pTDefRegMap(@Self)^.&set := $00000020;
  24135. end;
  24136. procedure TPORTB_TRISB.clearTRISB5; inline;
  24137. begin
  24138. pTDefRegMap(@Self)^.clr := $00000020;
  24139. end;
  24140. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  24141. begin
  24142. if thebits = 0 then
  24143. pTDefRegMap(@Self)^.clr := $00000020
  24144. else
  24145. pTDefRegMap(@Self)^.&set := $00000020;
  24146. end;
  24147. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  24148. begin
  24149. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24150. end;
  24151. procedure TPORTB_TRISB.setTRISB6; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.&set := $00000040;
  24154. end;
  24155. procedure TPORTB_TRISB.clearTRISB6; inline;
  24156. begin
  24157. pTDefRegMap(@Self)^.clr := $00000040;
  24158. end;
  24159. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  24160. begin
  24161. if thebits = 0 then
  24162. pTDefRegMap(@Self)^.clr := $00000040
  24163. else
  24164. pTDefRegMap(@Self)^.&set := $00000040;
  24165. end;
  24166. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  24167. begin
  24168. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24169. end;
  24170. procedure TPORTB_TRISB.setTRISB7; inline;
  24171. begin
  24172. pTDefRegMap(@Self)^.&set := $00000080;
  24173. end;
  24174. procedure TPORTB_TRISB.clearTRISB7; inline;
  24175. begin
  24176. pTDefRegMap(@Self)^.clr := $00000080;
  24177. end;
  24178. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  24179. begin
  24180. if thebits = 0 then
  24181. pTDefRegMap(@Self)^.clr := $00000080
  24182. else
  24183. pTDefRegMap(@Self)^.&set := $00000080;
  24184. end;
  24185. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  24186. begin
  24187. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24188. end;
  24189. procedure TPORTB_TRISB.setTRISB8; inline;
  24190. begin
  24191. pTDefRegMap(@Self)^.&set := $00000100;
  24192. end;
  24193. procedure TPORTB_TRISB.clearTRISB8; inline;
  24194. begin
  24195. pTDefRegMap(@Self)^.clr := $00000100;
  24196. end;
  24197. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  24198. begin
  24199. if thebits = 0 then
  24200. pTDefRegMap(@Self)^.clr := $00000100
  24201. else
  24202. pTDefRegMap(@Self)^.&set := $00000100;
  24203. end;
  24204. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  24205. begin
  24206. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24207. end;
  24208. procedure TPORTB_TRISB.setTRISB9; inline;
  24209. begin
  24210. pTDefRegMap(@Self)^.&set := $00000200;
  24211. end;
  24212. procedure TPORTB_TRISB.clearTRISB9; inline;
  24213. begin
  24214. pTDefRegMap(@Self)^.clr := $00000200;
  24215. end;
  24216. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  24217. begin
  24218. if thebits = 0 then
  24219. pTDefRegMap(@Self)^.clr := $00000200
  24220. else
  24221. pTDefRegMap(@Self)^.&set := $00000200;
  24222. end;
  24223. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  24224. begin
  24225. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24226. end;
  24227. procedure TPORTB_TRISB.setTRISB10; inline;
  24228. begin
  24229. pTDefRegMap(@Self)^.&set := $00000400;
  24230. end;
  24231. procedure TPORTB_TRISB.clearTRISB10; inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.clr := $00000400;
  24234. end;
  24235. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  24236. begin
  24237. if thebits = 0 then
  24238. pTDefRegMap(@Self)^.clr := $00000400
  24239. else
  24240. pTDefRegMap(@Self)^.&set := $00000400;
  24241. end;
  24242. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  24243. begin
  24244. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24245. end;
  24246. procedure TPORTB_TRISB.setTRISB11; inline;
  24247. begin
  24248. pTDefRegMap(@Self)^.&set := $00000800;
  24249. end;
  24250. procedure TPORTB_TRISB.clearTRISB11; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.clr := $00000800;
  24253. end;
  24254. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  24255. begin
  24256. if thebits = 0 then
  24257. pTDefRegMap(@Self)^.clr := $00000800
  24258. else
  24259. pTDefRegMap(@Self)^.&set := $00000800;
  24260. end;
  24261. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  24262. begin
  24263. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24264. end;
  24265. procedure TPORTB_TRISB.setTRISB12; inline;
  24266. begin
  24267. pTDefRegMap(@Self)^.&set := $00001000;
  24268. end;
  24269. procedure TPORTB_TRISB.clearTRISB12; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.clr := $00001000;
  24272. end;
  24273. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  24274. begin
  24275. if thebits = 0 then
  24276. pTDefRegMap(@Self)^.clr := $00001000
  24277. else
  24278. pTDefRegMap(@Self)^.&set := $00001000;
  24279. end;
  24280. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  24281. begin
  24282. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24283. end;
  24284. procedure TPORTB_TRISB.setTRISB13; inline;
  24285. begin
  24286. pTDefRegMap(@Self)^.&set := $00002000;
  24287. end;
  24288. procedure TPORTB_TRISB.clearTRISB13; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.clr := $00002000;
  24291. end;
  24292. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  24293. begin
  24294. if thebits = 0 then
  24295. pTDefRegMap(@Self)^.clr := $00002000
  24296. else
  24297. pTDefRegMap(@Self)^.&set := $00002000;
  24298. end;
  24299. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  24300. begin
  24301. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24302. end;
  24303. procedure TPORTB_TRISB.setTRISB14; inline;
  24304. begin
  24305. pTDefRegMap(@Self)^.&set := $00004000;
  24306. end;
  24307. procedure TPORTB_TRISB.clearTRISB14; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.clr := $00004000;
  24310. end;
  24311. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  24312. begin
  24313. if thebits = 0 then
  24314. pTDefRegMap(@Self)^.clr := $00004000
  24315. else
  24316. pTDefRegMap(@Self)^.&set := $00004000;
  24317. end;
  24318. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  24319. begin
  24320. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24321. end;
  24322. procedure TPORTB_TRISB.setTRISB15; inline;
  24323. begin
  24324. pTDefRegMap(@Self)^.&set := $00008000;
  24325. end;
  24326. procedure TPORTB_TRISB.clearTRISB15; inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.clr := $00008000;
  24329. end;
  24330. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  24331. begin
  24332. if thebits = 0 then
  24333. pTDefRegMap(@Self)^.clr := $00008000
  24334. else
  24335. pTDefRegMap(@Self)^.&set := $00008000;
  24336. end;
  24337. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  24338. begin
  24339. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24340. end;
  24341. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  24342. begin
  24343. pTDefRegMap(@Self)^.val := thebits;
  24344. end;
  24345. function TPORTB_TRISB.getw : TBits_32; inline;
  24346. begin
  24347. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24348. end;
  24349. procedure TPORTB_PORTB.setRB0; inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.&set := $00000001;
  24352. end;
  24353. procedure TPORTB_PORTB.clearRB0; inline;
  24354. begin
  24355. pTDefRegMap(@Self)^.clr := $00000001;
  24356. end;
  24357. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  24358. begin
  24359. if thebits = 0 then
  24360. pTDefRegMap(@Self)^.clr := $00000001
  24361. else
  24362. pTDefRegMap(@Self)^.&set := $00000001;
  24363. end;
  24364. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  24365. begin
  24366. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24367. end;
  24368. procedure TPORTB_PORTB.setRB1; inline;
  24369. begin
  24370. pTDefRegMap(@Self)^.&set := $00000002;
  24371. end;
  24372. procedure TPORTB_PORTB.clearRB1; inline;
  24373. begin
  24374. pTDefRegMap(@Self)^.clr := $00000002;
  24375. end;
  24376. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  24377. begin
  24378. if thebits = 0 then
  24379. pTDefRegMap(@Self)^.clr := $00000002
  24380. else
  24381. pTDefRegMap(@Self)^.&set := $00000002;
  24382. end;
  24383. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  24384. begin
  24385. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24386. end;
  24387. procedure TPORTB_PORTB.setRB2; inline;
  24388. begin
  24389. pTDefRegMap(@Self)^.&set := $00000004;
  24390. end;
  24391. procedure TPORTB_PORTB.clearRB2; inline;
  24392. begin
  24393. pTDefRegMap(@Self)^.clr := $00000004;
  24394. end;
  24395. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  24396. begin
  24397. if thebits = 0 then
  24398. pTDefRegMap(@Self)^.clr := $00000004
  24399. else
  24400. pTDefRegMap(@Self)^.&set := $00000004;
  24401. end;
  24402. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  24403. begin
  24404. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24405. end;
  24406. procedure TPORTB_PORTB.setRB3; inline;
  24407. begin
  24408. pTDefRegMap(@Self)^.&set := $00000008;
  24409. end;
  24410. procedure TPORTB_PORTB.clearRB3; inline;
  24411. begin
  24412. pTDefRegMap(@Self)^.clr := $00000008;
  24413. end;
  24414. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  24415. begin
  24416. if thebits = 0 then
  24417. pTDefRegMap(@Self)^.clr := $00000008
  24418. else
  24419. pTDefRegMap(@Self)^.&set := $00000008;
  24420. end;
  24421. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  24422. begin
  24423. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24424. end;
  24425. procedure TPORTB_PORTB.setRB4; inline;
  24426. begin
  24427. pTDefRegMap(@Self)^.&set := $00000010;
  24428. end;
  24429. procedure TPORTB_PORTB.clearRB4; inline;
  24430. begin
  24431. pTDefRegMap(@Self)^.clr := $00000010;
  24432. end;
  24433. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  24434. begin
  24435. if thebits = 0 then
  24436. pTDefRegMap(@Self)^.clr := $00000010
  24437. else
  24438. pTDefRegMap(@Self)^.&set := $00000010;
  24439. end;
  24440. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  24441. begin
  24442. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24443. end;
  24444. procedure TPORTB_PORTB.setRB5; inline;
  24445. begin
  24446. pTDefRegMap(@Self)^.&set := $00000020;
  24447. end;
  24448. procedure TPORTB_PORTB.clearRB5; inline;
  24449. begin
  24450. pTDefRegMap(@Self)^.clr := $00000020;
  24451. end;
  24452. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  24453. begin
  24454. if thebits = 0 then
  24455. pTDefRegMap(@Self)^.clr := $00000020
  24456. else
  24457. pTDefRegMap(@Self)^.&set := $00000020;
  24458. end;
  24459. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  24460. begin
  24461. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24462. end;
  24463. procedure TPORTB_PORTB.setRB6; inline;
  24464. begin
  24465. pTDefRegMap(@Self)^.&set := $00000040;
  24466. end;
  24467. procedure TPORTB_PORTB.clearRB6; inline;
  24468. begin
  24469. pTDefRegMap(@Self)^.clr := $00000040;
  24470. end;
  24471. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  24472. begin
  24473. if thebits = 0 then
  24474. pTDefRegMap(@Self)^.clr := $00000040
  24475. else
  24476. pTDefRegMap(@Self)^.&set := $00000040;
  24477. end;
  24478. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  24479. begin
  24480. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24481. end;
  24482. procedure TPORTB_PORTB.setRB7; inline;
  24483. begin
  24484. pTDefRegMap(@Self)^.&set := $00000080;
  24485. end;
  24486. procedure TPORTB_PORTB.clearRB7; inline;
  24487. begin
  24488. pTDefRegMap(@Self)^.clr := $00000080;
  24489. end;
  24490. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  24491. begin
  24492. if thebits = 0 then
  24493. pTDefRegMap(@Self)^.clr := $00000080
  24494. else
  24495. pTDefRegMap(@Self)^.&set := $00000080;
  24496. end;
  24497. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  24498. begin
  24499. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24500. end;
  24501. procedure TPORTB_PORTB.setRB8; inline;
  24502. begin
  24503. pTDefRegMap(@Self)^.&set := $00000100;
  24504. end;
  24505. procedure TPORTB_PORTB.clearRB8; inline;
  24506. begin
  24507. pTDefRegMap(@Self)^.clr := $00000100;
  24508. end;
  24509. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  24510. begin
  24511. if thebits = 0 then
  24512. pTDefRegMap(@Self)^.clr := $00000100
  24513. else
  24514. pTDefRegMap(@Self)^.&set := $00000100;
  24515. end;
  24516. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  24517. begin
  24518. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24519. end;
  24520. procedure TPORTB_PORTB.setRB9; inline;
  24521. begin
  24522. pTDefRegMap(@Self)^.&set := $00000200;
  24523. end;
  24524. procedure TPORTB_PORTB.clearRB9; inline;
  24525. begin
  24526. pTDefRegMap(@Self)^.clr := $00000200;
  24527. end;
  24528. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  24529. begin
  24530. if thebits = 0 then
  24531. pTDefRegMap(@Self)^.clr := $00000200
  24532. else
  24533. pTDefRegMap(@Self)^.&set := $00000200;
  24534. end;
  24535. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  24536. begin
  24537. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24538. end;
  24539. procedure TPORTB_PORTB.setRB10; inline;
  24540. begin
  24541. pTDefRegMap(@Self)^.&set := $00000400;
  24542. end;
  24543. procedure TPORTB_PORTB.clearRB10; inline;
  24544. begin
  24545. pTDefRegMap(@Self)^.clr := $00000400;
  24546. end;
  24547. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  24548. begin
  24549. if thebits = 0 then
  24550. pTDefRegMap(@Self)^.clr := $00000400
  24551. else
  24552. pTDefRegMap(@Self)^.&set := $00000400;
  24553. end;
  24554. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  24555. begin
  24556. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24557. end;
  24558. procedure TPORTB_PORTB.setRB11; inline;
  24559. begin
  24560. pTDefRegMap(@Self)^.&set := $00000800;
  24561. end;
  24562. procedure TPORTB_PORTB.clearRB11; inline;
  24563. begin
  24564. pTDefRegMap(@Self)^.clr := $00000800;
  24565. end;
  24566. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  24567. begin
  24568. if thebits = 0 then
  24569. pTDefRegMap(@Self)^.clr := $00000800
  24570. else
  24571. pTDefRegMap(@Self)^.&set := $00000800;
  24572. end;
  24573. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  24574. begin
  24575. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24576. end;
  24577. procedure TPORTB_PORTB.setRB12; inline;
  24578. begin
  24579. pTDefRegMap(@Self)^.&set := $00001000;
  24580. end;
  24581. procedure TPORTB_PORTB.clearRB12; inline;
  24582. begin
  24583. pTDefRegMap(@Self)^.clr := $00001000;
  24584. end;
  24585. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  24586. begin
  24587. if thebits = 0 then
  24588. pTDefRegMap(@Self)^.clr := $00001000
  24589. else
  24590. pTDefRegMap(@Self)^.&set := $00001000;
  24591. end;
  24592. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  24593. begin
  24594. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24595. end;
  24596. procedure TPORTB_PORTB.setRB13; inline;
  24597. begin
  24598. pTDefRegMap(@Self)^.&set := $00002000;
  24599. end;
  24600. procedure TPORTB_PORTB.clearRB13; inline;
  24601. begin
  24602. pTDefRegMap(@Self)^.clr := $00002000;
  24603. end;
  24604. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  24605. begin
  24606. if thebits = 0 then
  24607. pTDefRegMap(@Self)^.clr := $00002000
  24608. else
  24609. pTDefRegMap(@Self)^.&set := $00002000;
  24610. end;
  24611. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  24612. begin
  24613. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24614. end;
  24615. procedure TPORTB_PORTB.setRB14; inline;
  24616. begin
  24617. pTDefRegMap(@Self)^.&set := $00004000;
  24618. end;
  24619. procedure TPORTB_PORTB.clearRB14; inline;
  24620. begin
  24621. pTDefRegMap(@Self)^.clr := $00004000;
  24622. end;
  24623. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  24624. begin
  24625. if thebits = 0 then
  24626. pTDefRegMap(@Self)^.clr := $00004000
  24627. else
  24628. pTDefRegMap(@Self)^.&set := $00004000;
  24629. end;
  24630. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  24631. begin
  24632. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24633. end;
  24634. procedure TPORTB_PORTB.setRB15; inline;
  24635. begin
  24636. pTDefRegMap(@Self)^.&set := $00008000;
  24637. end;
  24638. procedure TPORTB_PORTB.clearRB15; inline;
  24639. begin
  24640. pTDefRegMap(@Self)^.clr := $00008000;
  24641. end;
  24642. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  24643. begin
  24644. if thebits = 0 then
  24645. pTDefRegMap(@Self)^.clr := $00008000
  24646. else
  24647. pTDefRegMap(@Self)^.&set := $00008000;
  24648. end;
  24649. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  24650. begin
  24651. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24652. end;
  24653. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  24654. begin
  24655. pTDefRegMap(@Self)^.val := thebits;
  24656. end;
  24657. function TPORTB_PORTB.getw : TBits_32; inline;
  24658. begin
  24659. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24660. end;
  24661. procedure TPORTB_LATB.setLATB0; inline;
  24662. begin
  24663. pTDefRegMap(@Self)^.&set := $00000001;
  24664. end;
  24665. procedure TPORTB_LATB.clearLATB0; inline;
  24666. begin
  24667. pTDefRegMap(@Self)^.clr := $00000001;
  24668. end;
  24669. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  24670. begin
  24671. if thebits = 0 then
  24672. pTDefRegMap(@Self)^.clr := $00000001
  24673. else
  24674. pTDefRegMap(@Self)^.&set := $00000001;
  24675. end;
  24676. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  24677. begin
  24678. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24679. end;
  24680. procedure TPORTB_LATB.setLATB1; inline;
  24681. begin
  24682. pTDefRegMap(@Self)^.&set := $00000002;
  24683. end;
  24684. procedure TPORTB_LATB.clearLATB1; inline;
  24685. begin
  24686. pTDefRegMap(@Self)^.clr := $00000002;
  24687. end;
  24688. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  24689. begin
  24690. if thebits = 0 then
  24691. pTDefRegMap(@Self)^.clr := $00000002
  24692. else
  24693. pTDefRegMap(@Self)^.&set := $00000002;
  24694. end;
  24695. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  24696. begin
  24697. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24698. end;
  24699. procedure TPORTB_LATB.setLATB2; inline;
  24700. begin
  24701. pTDefRegMap(@Self)^.&set := $00000004;
  24702. end;
  24703. procedure TPORTB_LATB.clearLATB2; inline;
  24704. begin
  24705. pTDefRegMap(@Self)^.clr := $00000004;
  24706. end;
  24707. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  24708. begin
  24709. if thebits = 0 then
  24710. pTDefRegMap(@Self)^.clr := $00000004
  24711. else
  24712. pTDefRegMap(@Self)^.&set := $00000004;
  24713. end;
  24714. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  24715. begin
  24716. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24717. end;
  24718. procedure TPORTB_LATB.setLATB3; inline;
  24719. begin
  24720. pTDefRegMap(@Self)^.&set := $00000008;
  24721. end;
  24722. procedure TPORTB_LATB.clearLATB3; inline;
  24723. begin
  24724. pTDefRegMap(@Self)^.clr := $00000008;
  24725. end;
  24726. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  24727. begin
  24728. if thebits = 0 then
  24729. pTDefRegMap(@Self)^.clr := $00000008
  24730. else
  24731. pTDefRegMap(@Self)^.&set := $00000008;
  24732. end;
  24733. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  24734. begin
  24735. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24736. end;
  24737. procedure TPORTB_LATB.setLATB4; inline;
  24738. begin
  24739. pTDefRegMap(@Self)^.&set := $00000010;
  24740. end;
  24741. procedure TPORTB_LATB.clearLATB4; inline;
  24742. begin
  24743. pTDefRegMap(@Self)^.clr := $00000010;
  24744. end;
  24745. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  24746. begin
  24747. if thebits = 0 then
  24748. pTDefRegMap(@Self)^.clr := $00000010
  24749. else
  24750. pTDefRegMap(@Self)^.&set := $00000010;
  24751. end;
  24752. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  24753. begin
  24754. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24755. end;
  24756. procedure TPORTB_LATB.setLATB5; inline;
  24757. begin
  24758. pTDefRegMap(@Self)^.&set := $00000020;
  24759. end;
  24760. procedure TPORTB_LATB.clearLATB5; inline;
  24761. begin
  24762. pTDefRegMap(@Self)^.clr := $00000020;
  24763. end;
  24764. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  24765. begin
  24766. if thebits = 0 then
  24767. pTDefRegMap(@Self)^.clr := $00000020
  24768. else
  24769. pTDefRegMap(@Self)^.&set := $00000020;
  24770. end;
  24771. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  24772. begin
  24773. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24774. end;
  24775. procedure TPORTB_LATB.setLATB6; inline;
  24776. begin
  24777. pTDefRegMap(@Self)^.&set := $00000040;
  24778. end;
  24779. procedure TPORTB_LATB.clearLATB6; inline;
  24780. begin
  24781. pTDefRegMap(@Self)^.clr := $00000040;
  24782. end;
  24783. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  24784. begin
  24785. if thebits = 0 then
  24786. pTDefRegMap(@Self)^.clr := $00000040
  24787. else
  24788. pTDefRegMap(@Self)^.&set := $00000040;
  24789. end;
  24790. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  24791. begin
  24792. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24793. end;
  24794. procedure TPORTB_LATB.setLATB7; inline;
  24795. begin
  24796. pTDefRegMap(@Self)^.&set := $00000080;
  24797. end;
  24798. procedure TPORTB_LATB.clearLATB7; inline;
  24799. begin
  24800. pTDefRegMap(@Self)^.clr := $00000080;
  24801. end;
  24802. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  24803. begin
  24804. if thebits = 0 then
  24805. pTDefRegMap(@Self)^.clr := $00000080
  24806. else
  24807. pTDefRegMap(@Self)^.&set := $00000080;
  24808. end;
  24809. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  24810. begin
  24811. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24812. end;
  24813. procedure TPORTB_LATB.setLATB8; inline;
  24814. begin
  24815. pTDefRegMap(@Self)^.&set := $00000100;
  24816. end;
  24817. procedure TPORTB_LATB.clearLATB8; inline;
  24818. begin
  24819. pTDefRegMap(@Self)^.clr := $00000100;
  24820. end;
  24821. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  24822. begin
  24823. if thebits = 0 then
  24824. pTDefRegMap(@Self)^.clr := $00000100
  24825. else
  24826. pTDefRegMap(@Self)^.&set := $00000100;
  24827. end;
  24828. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  24829. begin
  24830. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24831. end;
  24832. procedure TPORTB_LATB.setLATB9; inline;
  24833. begin
  24834. pTDefRegMap(@Self)^.&set := $00000200;
  24835. end;
  24836. procedure TPORTB_LATB.clearLATB9; inline;
  24837. begin
  24838. pTDefRegMap(@Self)^.clr := $00000200;
  24839. end;
  24840. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  24841. begin
  24842. if thebits = 0 then
  24843. pTDefRegMap(@Self)^.clr := $00000200
  24844. else
  24845. pTDefRegMap(@Self)^.&set := $00000200;
  24846. end;
  24847. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  24848. begin
  24849. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24850. end;
  24851. procedure TPORTB_LATB.setLATB10; inline;
  24852. begin
  24853. pTDefRegMap(@Self)^.&set := $00000400;
  24854. end;
  24855. procedure TPORTB_LATB.clearLATB10; inline;
  24856. begin
  24857. pTDefRegMap(@Self)^.clr := $00000400;
  24858. end;
  24859. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  24860. begin
  24861. if thebits = 0 then
  24862. pTDefRegMap(@Self)^.clr := $00000400
  24863. else
  24864. pTDefRegMap(@Self)^.&set := $00000400;
  24865. end;
  24866. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  24867. begin
  24868. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24869. end;
  24870. procedure TPORTB_LATB.setLATB11; inline;
  24871. begin
  24872. pTDefRegMap(@Self)^.&set := $00000800;
  24873. end;
  24874. procedure TPORTB_LATB.clearLATB11; inline;
  24875. begin
  24876. pTDefRegMap(@Self)^.clr := $00000800;
  24877. end;
  24878. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  24879. begin
  24880. if thebits = 0 then
  24881. pTDefRegMap(@Self)^.clr := $00000800
  24882. else
  24883. pTDefRegMap(@Self)^.&set := $00000800;
  24884. end;
  24885. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  24886. begin
  24887. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24888. end;
  24889. procedure TPORTB_LATB.setLATB12; inline;
  24890. begin
  24891. pTDefRegMap(@Self)^.&set := $00001000;
  24892. end;
  24893. procedure TPORTB_LATB.clearLATB12; inline;
  24894. begin
  24895. pTDefRegMap(@Self)^.clr := $00001000;
  24896. end;
  24897. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  24898. begin
  24899. if thebits = 0 then
  24900. pTDefRegMap(@Self)^.clr := $00001000
  24901. else
  24902. pTDefRegMap(@Self)^.&set := $00001000;
  24903. end;
  24904. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  24905. begin
  24906. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24907. end;
  24908. procedure TPORTB_LATB.setLATB13; inline;
  24909. begin
  24910. pTDefRegMap(@Self)^.&set := $00002000;
  24911. end;
  24912. procedure TPORTB_LATB.clearLATB13; inline;
  24913. begin
  24914. pTDefRegMap(@Self)^.clr := $00002000;
  24915. end;
  24916. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  24917. begin
  24918. if thebits = 0 then
  24919. pTDefRegMap(@Self)^.clr := $00002000
  24920. else
  24921. pTDefRegMap(@Self)^.&set := $00002000;
  24922. end;
  24923. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  24924. begin
  24925. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24926. end;
  24927. procedure TPORTB_LATB.setLATB14; inline;
  24928. begin
  24929. pTDefRegMap(@Self)^.&set := $00004000;
  24930. end;
  24931. procedure TPORTB_LATB.clearLATB14; inline;
  24932. begin
  24933. pTDefRegMap(@Self)^.clr := $00004000;
  24934. end;
  24935. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  24936. begin
  24937. if thebits = 0 then
  24938. pTDefRegMap(@Self)^.clr := $00004000
  24939. else
  24940. pTDefRegMap(@Self)^.&set := $00004000;
  24941. end;
  24942. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  24943. begin
  24944. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24945. end;
  24946. procedure TPORTB_LATB.setLATB15; inline;
  24947. begin
  24948. pTDefRegMap(@Self)^.&set := $00008000;
  24949. end;
  24950. procedure TPORTB_LATB.clearLATB15; inline;
  24951. begin
  24952. pTDefRegMap(@Self)^.clr := $00008000;
  24953. end;
  24954. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  24955. begin
  24956. if thebits = 0 then
  24957. pTDefRegMap(@Self)^.clr := $00008000
  24958. else
  24959. pTDefRegMap(@Self)^.&set := $00008000;
  24960. end;
  24961. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  24962. begin
  24963. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24964. end;
  24965. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  24966. begin
  24967. pTDefRegMap(@Self)^.val := thebits;
  24968. end;
  24969. function TPORTB_LATB.getw : TBits_32; inline;
  24970. begin
  24971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24972. end;
  24973. procedure TPORTB_ODCB.setODCB0; inline;
  24974. begin
  24975. pTDefRegMap(@Self)^.&set := $00000001;
  24976. end;
  24977. procedure TPORTB_ODCB.clearODCB0; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.clr := $00000001;
  24980. end;
  24981. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  24982. begin
  24983. if thebits = 0 then
  24984. pTDefRegMap(@Self)^.clr := $00000001
  24985. else
  24986. pTDefRegMap(@Self)^.&set := $00000001;
  24987. end;
  24988. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  24989. begin
  24990. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24991. end;
  24992. procedure TPORTB_ODCB.setODCB1; inline;
  24993. begin
  24994. pTDefRegMap(@Self)^.&set := $00000002;
  24995. end;
  24996. procedure TPORTB_ODCB.clearODCB1; inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.clr := $00000002;
  24999. end;
  25000. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  25001. begin
  25002. if thebits = 0 then
  25003. pTDefRegMap(@Self)^.clr := $00000002
  25004. else
  25005. pTDefRegMap(@Self)^.&set := $00000002;
  25006. end;
  25007. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  25008. begin
  25009. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25010. end;
  25011. procedure TPORTB_ODCB.setODCB2; inline;
  25012. begin
  25013. pTDefRegMap(@Self)^.&set := $00000004;
  25014. end;
  25015. procedure TPORTB_ODCB.clearODCB2; inline;
  25016. begin
  25017. pTDefRegMap(@Self)^.clr := $00000004;
  25018. end;
  25019. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  25020. begin
  25021. if thebits = 0 then
  25022. pTDefRegMap(@Self)^.clr := $00000004
  25023. else
  25024. pTDefRegMap(@Self)^.&set := $00000004;
  25025. end;
  25026. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  25027. begin
  25028. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25029. end;
  25030. procedure TPORTB_ODCB.setODCB3; inline;
  25031. begin
  25032. pTDefRegMap(@Self)^.&set := $00000008;
  25033. end;
  25034. procedure TPORTB_ODCB.clearODCB3; inline;
  25035. begin
  25036. pTDefRegMap(@Self)^.clr := $00000008;
  25037. end;
  25038. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  25039. begin
  25040. if thebits = 0 then
  25041. pTDefRegMap(@Self)^.clr := $00000008
  25042. else
  25043. pTDefRegMap(@Self)^.&set := $00000008;
  25044. end;
  25045. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  25046. begin
  25047. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25048. end;
  25049. procedure TPORTB_ODCB.setODCB4; inline;
  25050. begin
  25051. pTDefRegMap(@Self)^.&set := $00000010;
  25052. end;
  25053. procedure TPORTB_ODCB.clearODCB4; inline;
  25054. begin
  25055. pTDefRegMap(@Self)^.clr := $00000010;
  25056. end;
  25057. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  25058. begin
  25059. if thebits = 0 then
  25060. pTDefRegMap(@Self)^.clr := $00000010
  25061. else
  25062. pTDefRegMap(@Self)^.&set := $00000010;
  25063. end;
  25064. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  25065. begin
  25066. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25067. end;
  25068. procedure TPORTB_ODCB.setODCB5; inline;
  25069. begin
  25070. pTDefRegMap(@Self)^.&set := $00000020;
  25071. end;
  25072. procedure TPORTB_ODCB.clearODCB5; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.clr := $00000020;
  25075. end;
  25076. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  25077. begin
  25078. if thebits = 0 then
  25079. pTDefRegMap(@Self)^.clr := $00000020
  25080. else
  25081. pTDefRegMap(@Self)^.&set := $00000020;
  25082. end;
  25083. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  25084. begin
  25085. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25086. end;
  25087. procedure TPORTB_ODCB.setODCB6; inline;
  25088. begin
  25089. pTDefRegMap(@Self)^.&set := $00000040;
  25090. end;
  25091. procedure TPORTB_ODCB.clearODCB6; inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.clr := $00000040;
  25094. end;
  25095. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  25096. begin
  25097. if thebits = 0 then
  25098. pTDefRegMap(@Self)^.clr := $00000040
  25099. else
  25100. pTDefRegMap(@Self)^.&set := $00000040;
  25101. end;
  25102. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  25103. begin
  25104. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25105. end;
  25106. procedure TPORTB_ODCB.setODCB7; inline;
  25107. begin
  25108. pTDefRegMap(@Self)^.&set := $00000080;
  25109. end;
  25110. procedure TPORTB_ODCB.clearODCB7; inline;
  25111. begin
  25112. pTDefRegMap(@Self)^.clr := $00000080;
  25113. end;
  25114. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  25115. begin
  25116. if thebits = 0 then
  25117. pTDefRegMap(@Self)^.clr := $00000080
  25118. else
  25119. pTDefRegMap(@Self)^.&set := $00000080;
  25120. end;
  25121. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  25122. begin
  25123. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25124. end;
  25125. procedure TPORTB_ODCB.setODCB8; inline;
  25126. begin
  25127. pTDefRegMap(@Self)^.&set := $00000100;
  25128. end;
  25129. procedure TPORTB_ODCB.clearODCB8; inline;
  25130. begin
  25131. pTDefRegMap(@Self)^.clr := $00000100;
  25132. end;
  25133. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  25134. begin
  25135. if thebits = 0 then
  25136. pTDefRegMap(@Self)^.clr := $00000100
  25137. else
  25138. pTDefRegMap(@Self)^.&set := $00000100;
  25139. end;
  25140. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  25141. begin
  25142. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25143. end;
  25144. procedure TPORTB_ODCB.setODCB9; inline;
  25145. begin
  25146. pTDefRegMap(@Self)^.&set := $00000200;
  25147. end;
  25148. procedure TPORTB_ODCB.clearODCB9; inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.clr := $00000200;
  25151. end;
  25152. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  25153. begin
  25154. if thebits = 0 then
  25155. pTDefRegMap(@Self)^.clr := $00000200
  25156. else
  25157. pTDefRegMap(@Self)^.&set := $00000200;
  25158. end;
  25159. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  25160. begin
  25161. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25162. end;
  25163. procedure TPORTB_ODCB.setODCB10; inline;
  25164. begin
  25165. pTDefRegMap(@Self)^.&set := $00000400;
  25166. end;
  25167. procedure TPORTB_ODCB.clearODCB10; inline;
  25168. begin
  25169. pTDefRegMap(@Self)^.clr := $00000400;
  25170. end;
  25171. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  25172. begin
  25173. if thebits = 0 then
  25174. pTDefRegMap(@Self)^.clr := $00000400
  25175. else
  25176. pTDefRegMap(@Self)^.&set := $00000400;
  25177. end;
  25178. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  25179. begin
  25180. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25181. end;
  25182. procedure TPORTB_ODCB.setODCB11; inline;
  25183. begin
  25184. pTDefRegMap(@Self)^.&set := $00000800;
  25185. end;
  25186. procedure TPORTB_ODCB.clearODCB11; inline;
  25187. begin
  25188. pTDefRegMap(@Self)^.clr := $00000800;
  25189. end;
  25190. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  25191. begin
  25192. if thebits = 0 then
  25193. pTDefRegMap(@Self)^.clr := $00000800
  25194. else
  25195. pTDefRegMap(@Self)^.&set := $00000800;
  25196. end;
  25197. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  25198. begin
  25199. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25200. end;
  25201. procedure TPORTB_ODCB.setODCB12; inline;
  25202. begin
  25203. pTDefRegMap(@Self)^.&set := $00001000;
  25204. end;
  25205. procedure TPORTB_ODCB.clearODCB12; inline;
  25206. begin
  25207. pTDefRegMap(@Self)^.clr := $00001000;
  25208. end;
  25209. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  25210. begin
  25211. if thebits = 0 then
  25212. pTDefRegMap(@Self)^.clr := $00001000
  25213. else
  25214. pTDefRegMap(@Self)^.&set := $00001000;
  25215. end;
  25216. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  25217. begin
  25218. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25219. end;
  25220. procedure TPORTB_ODCB.setODCB13; inline;
  25221. begin
  25222. pTDefRegMap(@Self)^.&set := $00002000;
  25223. end;
  25224. procedure TPORTB_ODCB.clearODCB13; inline;
  25225. begin
  25226. pTDefRegMap(@Self)^.clr := $00002000;
  25227. end;
  25228. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  25229. begin
  25230. if thebits = 0 then
  25231. pTDefRegMap(@Self)^.clr := $00002000
  25232. else
  25233. pTDefRegMap(@Self)^.&set := $00002000;
  25234. end;
  25235. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  25236. begin
  25237. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25238. end;
  25239. procedure TPORTB_ODCB.setODCB14; inline;
  25240. begin
  25241. pTDefRegMap(@Self)^.&set := $00004000;
  25242. end;
  25243. procedure TPORTB_ODCB.clearODCB14; inline;
  25244. begin
  25245. pTDefRegMap(@Self)^.clr := $00004000;
  25246. end;
  25247. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  25248. begin
  25249. if thebits = 0 then
  25250. pTDefRegMap(@Self)^.clr := $00004000
  25251. else
  25252. pTDefRegMap(@Self)^.&set := $00004000;
  25253. end;
  25254. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  25255. begin
  25256. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25257. end;
  25258. procedure TPORTB_ODCB.setODCB15; inline;
  25259. begin
  25260. pTDefRegMap(@Self)^.&set := $00008000;
  25261. end;
  25262. procedure TPORTB_ODCB.clearODCB15; inline;
  25263. begin
  25264. pTDefRegMap(@Self)^.clr := $00008000;
  25265. end;
  25266. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  25267. begin
  25268. if thebits = 0 then
  25269. pTDefRegMap(@Self)^.clr := $00008000
  25270. else
  25271. pTDefRegMap(@Self)^.&set := $00008000;
  25272. end;
  25273. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  25274. begin
  25275. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25276. end;
  25277. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  25278. begin
  25279. pTDefRegMap(@Self)^.val := thebits;
  25280. end;
  25281. function TPORTB_ODCB.getw : TBits_32; inline;
  25282. begin
  25283. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25284. end;
  25285. procedure TPORTC_TRISC.setTRISC12; inline;
  25286. begin
  25287. pTDefRegMap(@Self)^.&set := $00001000;
  25288. end;
  25289. procedure TPORTC_TRISC.clearTRISC12; inline;
  25290. begin
  25291. pTDefRegMap(@Self)^.clr := $00001000;
  25292. end;
  25293. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  25294. begin
  25295. if thebits = 0 then
  25296. pTDefRegMap(@Self)^.clr := $00001000
  25297. else
  25298. pTDefRegMap(@Self)^.&set := $00001000;
  25299. end;
  25300. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  25301. begin
  25302. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25303. end;
  25304. procedure TPORTC_TRISC.setTRISC13; inline;
  25305. begin
  25306. pTDefRegMap(@Self)^.&set := $00002000;
  25307. end;
  25308. procedure TPORTC_TRISC.clearTRISC13; inline;
  25309. begin
  25310. pTDefRegMap(@Self)^.clr := $00002000;
  25311. end;
  25312. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  25313. begin
  25314. if thebits = 0 then
  25315. pTDefRegMap(@Self)^.clr := $00002000
  25316. else
  25317. pTDefRegMap(@Self)^.&set := $00002000;
  25318. end;
  25319. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  25320. begin
  25321. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25322. end;
  25323. procedure TPORTC_TRISC.setTRISC14; inline;
  25324. begin
  25325. pTDefRegMap(@Self)^.&set := $00004000;
  25326. end;
  25327. procedure TPORTC_TRISC.clearTRISC14; inline;
  25328. begin
  25329. pTDefRegMap(@Self)^.clr := $00004000;
  25330. end;
  25331. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  25332. begin
  25333. if thebits = 0 then
  25334. pTDefRegMap(@Self)^.clr := $00004000
  25335. else
  25336. pTDefRegMap(@Self)^.&set := $00004000;
  25337. end;
  25338. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  25339. begin
  25340. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25341. end;
  25342. procedure TPORTC_TRISC.setTRISC15; inline;
  25343. begin
  25344. pTDefRegMap(@Self)^.&set := $00008000;
  25345. end;
  25346. procedure TPORTC_TRISC.clearTRISC15; inline;
  25347. begin
  25348. pTDefRegMap(@Self)^.clr := $00008000;
  25349. end;
  25350. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  25351. begin
  25352. if thebits = 0 then
  25353. pTDefRegMap(@Self)^.clr := $00008000
  25354. else
  25355. pTDefRegMap(@Self)^.&set := $00008000;
  25356. end;
  25357. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  25358. begin
  25359. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25360. end;
  25361. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  25362. begin
  25363. pTDefRegMap(@Self)^.val := thebits;
  25364. end;
  25365. function TPORTC_TRISC.getw : TBits_32; inline;
  25366. begin
  25367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25368. end;
  25369. procedure TPORTC_PORTC.setRC12; inline;
  25370. begin
  25371. pTDefRegMap(@Self)^.&set := $00001000;
  25372. end;
  25373. procedure TPORTC_PORTC.clearRC12; inline;
  25374. begin
  25375. pTDefRegMap(@Self)^.clr := $00001000;
  25376. end;
  25377. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  25378. begin
  25379. if thebits = 0 then
  25380. pTDefRegMap(@Self)^.clr := $00001000
  25381. else
  25382. pTDefRegMap(@Self)^.&set := $00001000;
  25383. end;
  25384. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  25385. begin
  25386. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25387. end;
  25388. procedure TPORTC_PORTC.setRC13; inline;
  25389. begin
  25390. pTDefRegMap(@Self)^.&set := $00002000;
  25391. end;
  25392. procedure TPORTC_PORTC.clearRC13; inline;
  25393. begin
  25394. pTDefRegMap(@Self)^.clr := $00002000;
  25395. end;
  25396. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  25397. begin
  25398. if thebits = 0 then
  25399. pTDefRegMap(@Self)^.clr := $00002000
  25400. else
  25401. pTDefRegMap(@Self)^.&set := $00002000;
  25402. end;
  25403. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  25404. begin
  25405. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25406. end;
  25407. procedure TPORTC_PORTC.setRC14; inline;
  25408. begin
  25409. pTDefRegMap(@Self)^.&set := $00004000;
  25410. end;
  25411. procedure TPORTC_PORTC.clearRC14; inline;
  25412. begin
  25413. pTDefRegMap(@Self)^.clr := $00004000;
  25414. end;
  25415. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  25416. begin
  25417. if thebits = 0 then
  25418. pTDefRegMap(@Self)^.clr := $00004000
  25419. else
  25420. pTDefRegMap(@Self)^.&set := $00004000;
  25421. end;
  25422. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  25423. begin
  25424. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25425. end;
  25426. procedure TPORTC_PORTC.setRC15; inline;
  25427. begin
  25428. pTDefRegMap(@Self)^.&set := $00008000;
  25429. end;
  25430. procedure TPORTC_PORTC.clearRC15; inline;
  25431. begin
  25432. pTDefRegMap(@Self)^.clr := $00008000;
  25433. end;
  25434. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  25435. begin
  25436. if thebits = 0 then
  25437. pTDefRegMap(@Self)^.clr := $00008000
  25438. else
  25439. pTDefRegMap(@Self)^.&set := $00008000;
  25440. end;
  25441. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  25442. begin
  25443. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25444. end;
  25445. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  25446. begin
  25447. pTDefRegMap(@Self)^.val := thebits;
  25448. end;
  25449. function TPORTC_PORTC.getw : TBits_32; inline;
  25450. begin
  25451. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25452. end;
  25453. procedure TPORTC_LATC.setLATC12; inline;
  25454. begin
  25455. pTDefRegMap(@Self)^.&set := $00001000;
  25456. end;
  25457. procedure TPORTC_LATC.clearLATC12; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.clr := $00001000;
  25460. end;
  25461. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  25462. begin
  25463. if thebits = 0 then
  25464. pTDefRegMap(@Self)^.clr := $00001000
  25465. else
  25466. pTDefRegMap(@Self)^.&set := $00001000;
  25467. end;
  25468. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  25469. begin
  25470. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25471. end;
  25472. procedure TPORTC_LATC.setLATC13; inline;
  25473. begin
  25474. pTDefRegMap(@Self)^.&set := $00002000;
  25475. end;
  25476. procedure TPORTC_LATC.clearLATC13; inline;
  25477. begin
  25478. pTDefRegMap(@Self)^.clr := $00002000;
  25479. end;
  25480. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  25481. begin
  25482. if thebits = 0 then
  25483. pTDefRegMap(@Self)^.clr := $00002000
  25484. else
  25485. pTDefRegMap(@Self)^.&set := $00002000;
  25486. end;
  25487. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  25488. begin
  25489. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25490. end;
  25491. procedure TPORTC_LATC.setLATC14; inline;
  25492. begin
  25493. pTDefRegMap(@Self)^.&set := $00004000;
  25494. end;
  25495. procedure TPORTC_LATC.clearLATC14; inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.clr := $00004000;
  25498. end;
  25499. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  25500. begin
  25501. if thebits = 0 then
  25502. pTDefRegMap(@Self)^.clr := $00004000
  25503. else
  25504. pTDefRegMap(@Self)^.&set := $00004000;
  25505. end;
  25506. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  25507. begin
  25508. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25509. end;
  25510. procedure TPORTC_LATC.setLATC15; inline;
  25511. begin
  25512. pTDefRegMap(@Self)^.&set := $00008000;
  25513. end;
  25514. procedure TPORTC_LATC.clearLATC15; inline;
  25515. begin
  25516. pTDefRegMap(@Self)^.clr := $00008000;
  25517. end;
  25518. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  25519. begin
  25520. if thebits = 0 then
  25521. pTDefRegMap(@Self)^.clr := $00008000
  25522. else
  25523. pTDefRegMap(@Self)^.&set := $00008000;
  25524. end;
  25525. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  25526. begin
  25527. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25528. end;
  25529. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  25530. begin
  25531. pTDefRegMap(@Self)^.val := thebits;
  25532. end;
  25533. function TPORTC_LATC.getw : TBits_32; inline;
  25534. begin
  25535. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25536. end;
  25537. procedure TPORTC_ODCC.setODCC12; inline;
  25538. begin
  25539. pTDefRegMap(@Self)^.&set := $00001000;
  25540. end;
  25541. procedure TPORTC_ODCC.clearODCC12; inline;
  25542. begin
  25543. pTDefRegMap(@Self)^.clr := $00001000;
  25544. end;
  25545. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  25546. begin
  25547. if thebits = 0 then
  25548. pTDefRegMap(@Self)^.clr := $00001000
  25549. else
  25550. pTDefRegMap(@Self)^.&set := $00001000;
  25551. end;
  25552. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  25553. begin
  25554. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25555. end;
  25556. procedure TPORTC_ODCC.setODCC13; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.&set := $00002000;
  25559. end;
  25560. procedure TPORTC_ODCC.clearODCC13; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.clr := $00002000;
  25563. end;
  25564. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  25565. begin
  25566. if thebits = 0 then
  25567. pTDefRegMap(@Self)^.clr := $00002000
  25568. else
  25569. pTDefRegMap(@Self)^.&set := $00002000;
  25570. end;
  25571. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  25572. begin
  25573. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25574. end;
  25575. procedure TPORTC_ODCC.setODCC14; inline;
  25576. begin
  25577. pTDefRegMap(@Self)^.&set := $00004000;
  25578. end;
  25579. procedure TPORTC_ODCC.clearODCC14; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.clr := $00004000;
  25582. end;
  25583. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  25584. begin
  25585. if thebits = 0 then
  25586. pTDefRegMap(@Self)^.clr := $00004000
  25587. else
  25588. pTDefRegMap(@Self)^.&set := $00004000;
  25589. end;
  25590. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  25591. begin
  25592. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25593. end;
  25594. procedure TPORTC_ODCC.setODCC15; inline;
  25595. begin
  25596. pTDefRegMap(@Self)^.&set := $00008000;
  25597. end;
  25598. procedure TPORTC_ODCC.clearODCC15; inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.clr := $00008000;
  25601. end;
  25602. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  25603. begin
  25604. if thebits = 0 then
  25605. pTDefRegMap(@Self)^.clr := $00008000
  25606. else
  25607. pTDefRegMap(@Self)^.&set := $00008000;
  25608. end;
  25609. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  25610. begin
  25611. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25612. end;
  25613. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.val := thebits;
  25616. end;
  25617. function TPORTC_ODCC.getw : TBits_32; inline;
  25618. begin
  25619. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25620. end;
  25621. procedure TPORTD_TRISD.setTRISD0; inline;
  25622. begin
  25623. pTDefRegMap(@Self)^.&set := $00000001;
  25624. end;
  25625. procedure TPORTD_TRISD.clearTRISD0; inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.clr := $00000001;
  25628. end;
  25629. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  25630. begin
  25631. if thebits = 0 then
  25632. pTDefRegMap(@Self)^.clr := $00000001
  25633. else
  25634. pTDefRegMap(@Self)^.&set := $00000001;
  25635. end;
  25636. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  25637. begin
  25638. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25639. end;
  25640. procedure TPORTD_TRISD.setTRISD1; inline;
  25641. begin
  25642. pTDefRegMap(@Self)^.&set := $00000002;
  25643. end;
  25644. procedure TPORTD_TRISD.clearTRISD1; inline;
  25645. begin
  25646. pTDefRegMap(@Self)^.clr := $00000002;
  25647. end;
  25648. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  25649. begin
  25650. if thebits = 0 then
  25651. pTDefRegMap(@Self)^.clr := $00000002
  25652. else
  25653. pTDefRegMap(@Self)^.&set := $00000002;
  25654. end;
  25655. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  25656. begin
  25657. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25658. end;
  25659. procedure TPORTD_TRISD.setTRISD2; inline;
  25660. begin
  25661. pTDefRegMap(@Self)^.&set := $00000004;
  25662. end;
  25663. procedure TPORTD_TRISD.clearTRISD2; inline;
  25664. begin
  25665. pTDefRegMap(@Self)^.clr := $00000004;
  25666. end;
  25667. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  25668. begin
  25669. if thebits = 0 then
  25670. pTDefRegMap(@Self)^.clr := $00000004
  25671. else
  25672. pTDefRegMap(@Self)^.&set := $00000004;
  25673. end;
  25674. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  25675. begin
  25676. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25677. end;
  25678. procedure TPORTD_TRISD.setTRISD3; inline;
  25679. begin
  25680. pTDefRegMap(@Self)^.&set := $00000008;
  25681. end;
  25682. procedure TPORTD_TRISD.clearTRISD3; inline;
  25683. begin
  25684. pTDefRegMap(@Self)^.clr := $00000008;
  25685. end;
  25686. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  25687. begin
  25688. if thebits = 0 then
  25689. pTDefRegMap(@Self)^.clr := $00000008
  25690. else
  25691. pTDefRegMap(@Self)^.&set := $00000008;
  25692. end;
  25693. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  25694. begin
  25695. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25696. end;
  25697. procedure TPORTD_TRISD.setTRISD4; inline;
  25698. begin
  25699. pTDefRegMap(@Self)^.&set := $00000010;
  25700. end;
  25701. procedure TPORTD_TRISD.clearTRISD4; inline;
  25702. begin
  25703. pTDefRegMap(@Self)^.clr := $00000010;
  25704. end;
  25705. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  25706. begin
  25707. if thebits = 0 then
  25708. pTDefRegMap(@Self)^.clr := $00000010
  25709. else
  25710. pTDefRegMap(@Self)^.&set := $00000010;
  25711. end;
  25712. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  25713. begin
  25714. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25715. end;
  25716. procedure TPORTD_TRISD.setTRISD5; inline;
  25717. begin
  25718. pTDefRegMap(@Self)^.&set := $00000020;
  25719. end;
  25720. procedure TPORTD_TRISD.clearTRISD5; inline;
  25721. begin
  25722. pTDefRegMap(@Self)^.clr := $00000020;
  25723. end;
  25724. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  25725. begin
  25726. if thebits = 0 then
  25727. pTDefRegMap(@Self)^.clr := $00000020
  25728. else
  25729. pTDefRegMap(@Self)^.&set := $00000020;
  25730. end;
  25731. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  25732. begin
  25733. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25734. end;
  25735. procedure TPORTD_TRISD.setTRISD6; inline;
  25736. begin
  25737. pTDefRegMap(@Self)^.&set := $00000040;
  25738. end;
  25739. procedure TPORTD_TRISD.clearTRISD6; inline;
  25740. begin
  25741. pTDefRegMap(@Self)^.clr := $00000040;
  25742. end;
  25743. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  25744. begin
  25745. if thebits = 0 then
  25746. pTDefRegMap(@Self)^.clr := $00000040
  25747. else
  25748. pTDefRegMap(@Self)^.&set := $00000040;
  25749. end;
  25750. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  25751. begin
  25752. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25753. end;
  25754. procedure TPORTD_TRISD.setTRISD7; inline;
  25755. begin
  25756. pTDefRegMap(@Self)^.&set := $00000080;
  25757. end;
  25758. procedure TPORTD_TRISD.clearTRISD7; inline;
  25759. begin
  25760. pTDefRegMap(@Self)^.clr := $00000080;
  25761. end;
  25762. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  25763. begin
  25764. if thebits = 0 then
  25765. pTDefRegMap(@Self)^.clr := $00000080
  25766. else
  25767. pTDefRegMap(@Self)^.&set := $00000080;
  25768. end;
  25769. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  25770. begin
  25771. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25772. end;
  25773. procedure TPORTD_TRISD.setTRISD8; inline;
  25774. begin
  25775. pTDefRegMap(@Self)^.&set := $00000100;
  25776. end;
  25777. procedure TPORTD_TRISD.clearTRISD8; inline;
  25778. begin
  25779. pTDefRegMap(@Self)^.clr := $00000100;
  25780. end;
  25781. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  25782. begin
  25783. if thebits = 0 then
  25784. pTDefRegMap(@Self)^.clr := $00000100
  25785. else
  25786. pTDefRegMap(@Self)^.&set := $00000100;
  25787. end;
  25788. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  25789. begin
  25790. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25791. end;
  25792. procedure TPORTD_TRISD.setTRISD9; inline;
  25793. begin
  25794. pTDefRegMap(@Self)^.&set := $00000200;
  25795. end;
  25796. procedure TPORTD_TRISD.clearTRISD9; inline;
  25797. begin
  25798. pTDefRegMap(@Self)^.clr := $00000200;
  25799. end;
  25800. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  25801. begin
  25802. if thebits = 0 then
  25803. pTDefRegMap(@Self)^.clr := $00000200
  25804. else
  25805. pTDefRegMap(@Self)^.&set := $00000200;
  25806. end;
  25807. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  25808. begin
  25809. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25810. end;
  25811. procedure TPORTD_TRISD.setTRISD10; inline;
  25812. begin
  25813. pTDefRegMap(@Self)^.&set := $00000400;
  25814. end;
  25815. procedure TPORTD_TRISD.clearTRISD10; inline;
  25816. begin
  25817. pTDefRegMap(@Self)^.clr := $00000400;
  25818. end;
  25819. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  25820. begin
  25821. if thebits = 0 then
  25822. pTDefRegMap(@Self)^.clr := $00000400
  25823. else
  25824. pTDefRegMap(@Self)^.&set := $00000400;
  25825. end;
  25826. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  25827. begin
  25828. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25829. end;
  25830. procedure TPORTD_TRISD.setTRISD11; inline;
  25831. begin
  25832. pTDefRegMap(@Self)^.&set := $00000800;
  25833. end;
  25834. procedure TPORTD_TRISD.clearTRISD11; inline;
  25835. begin
  25836. pTDefRegMap(@Self)^.clr := $00000800;
  25837. end;
  25838. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  25839. begin
  25840. if thebits = 0 then
  25841. pTDefRegMap(@Self)^.clr := $00000800
  25842. else
  25843. pTDefRegMap(@Self)^.&set := $00000800;
  25844. end;
  25845. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  25846. begin
  25847. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25848. end;
  25849. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  25850. begin
  25851. pTDefRegMap(@Self)^.val := thebits;
  25852. end;
  25853. function TPORTD_TRISD.getw : TBits_32; inline;
  25854. begin
  25855. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25856. end;
  25857. procedure TPORTD_PORTD.setRD0; inline;
  25858. begin
  25859. pTDefRegMap(@Self)^.&set := $00000001;
  25860. end;
  25861. procedure TPORTD_PORTD.clearRD0; inline;
  25862. begin
  25863. pTDefRegMap(@Self)^.clr := $00000001;
  25864. end;
  25865. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  25866. begin
  25867. if thebits = 0 then
  25868. pTDefRegMap(@Self)^.clr := $00000001
  25869. else
  25870. pTDefRegMap(@Self)^.&set := $00000001;
  25871. end;
  25872. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  25873. begin
  25874. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25875. end;
  25876. procedure TPORTD_PORTD.setRD1; inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.&set := $00000002;
  25879. end;
  25880. procedure TPORTD_PORTD.clearRD1; inline;
  25881. begin
  25882. pTDefRegMap(@Self)^.clr := $00000002;
  25883. end;
  25884. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  25885. begin
  25886. if thebits = 0 then
  25887. pTDefRegMap(@Self)^.clr := $00000002
  25888. else
  25889. pTDefRegMap(@Self)^.&set := $00000002;
  25890. end;
  25891. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  25892. begin
  25893. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25894. end;
  25895. procedure TPORTD_PORTD.setRD2; inline;
  25896. begin
  25897. pTDefRegMap(@Self)^.&set := $00000004;
  25898. end;
  25899. procedure TPORTD_PORTD.clearRD2; inline;
  25900. begin
  25901. pTDefRegMap(@Self)^.clr := $00000004;
  25902. end;
  25903. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  25904. begin
  25905. if thebits = 0 then
  25906. pTDefRegMap(@Self)^.clr := $00000004
  25907. else
  25908. pTDefRegMap(@Self)^.&set := $00000004;
  25909. end;
  25910. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  25911. begin
  25912. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25913. end;
  25914. procedure TPORTD_PORTD.setRD3; inline;
  25915. begin
  25916. pTDefRegMap(@Self)^.&set := $00000008;
  25917. end;
  25918. procedure TPORTD_PORTD.clearRD3; inline;
  25919. begin
  25920. pTDefRegMap(@Self)^.clr := $00000008;
  25921. end;
  25922. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  25923. begin
  25924. if thebits = 0 then
  25925. pTDefRegMap(@Self)^.clr := $00000008
  25926. else
  25927. pTDefRegMap(@Self)^.&set := $00000008;
  25928. end;
  25929. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  25930. begin
  25931. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25932. end;
  25933. procedure TPORTD_PORTD.setRD4; inline;
  25934. begin
  25935. pTDefRegMap(@Self)^.&set := $00000010;
  25936. end;
  25937. procedure TPORTD_PORTD.clearRD4; inline;
  25938. begin
  25939. pTDefRegMap(@Self)^.clr := $00000010;
  25940. end;
  25941. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  25942. begin
  25943. if thebits = 0 then
  25944. pTDefRegMap(@Self)^.clr := $00000010
  25945. else
  25946. pTDefRegMap(@Self)^.&set := $00000010;
  25947. end;
  25948. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  25949. begin
  25950. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25951. end;
  25952. procedure TPORTD_PORTD.setRD5; inline;
  25953. begin
  25954. pTDefRegMap(@Self)^.&set := $00000020;
  25955. end;
  25956. procedure TPORTD_PORTD.clearRD5; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.clr := $00000020;
  25959. end;
  25960. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  25961. begin
  25962. if thebits = 0 then
  25963. pTDefRegMap(@Self)^.clr := $00000020
  25964. else
  25965. pTDefRegMap(@Self)^.&set := $00000020;
  25966. end;
  25967. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  25968. begin
  25969. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25970. end;
  25971. procedure TPORTD_PORTD.setRD6; inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.&set := $00000040;
  25974. end;
  25975. procedure TPORTD_PORTD.clearRD6; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.clr := $00000040;
  25978. end;
  25979. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  25980. begin
  25981. if thebits = 0 then
  25982. pTDefRegMap(@Self)^.clr := $00000040
  25983. else
  25984. pTDefRegMap(@Self)^.&set := $00000040;
  25985. end;
  25986. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  25987. begin
  25988. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25989. end;
  25990. procedure TPORTD_PORTD.setRD7; inline;
  25991. begin
  25992. pTDefRegMap(@Self)^.&set := $00000080;
  25993. end;
  25994. procedure TPORTD_PORTD.clearRD7; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.clr := $00000080;
  25997. end;
  25998. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  25999. begin
  26000. if thebits = 0 then
  26001. pTDefRegMap(@Self)^.clr := $00000080
  26002. else
  26003. pTDefRegMap(@Self)^.&set := $00000080;
  26004. end;
  26005. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  26006. begin
  26007. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26008. end;
  26009. procedure TPORTD_PORTD.setRD8; inline;
  26010. begin
  26011. pTDefRegMap(@Self)^.&set := $00000100;
  26012. end;
  26013. procedure TPORTD_PORTD.clearRD8; inline;
  26014. begin
  26015. pTDefRegMap(@Self)^.clr := $00000100;
  26016. end;
  26017. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  26018. begin
  26019. if thebits = 0 then
  26020. pTDefRegMap(@Self)^.clr := $00000100
  26021. else
  26022. pTDefRegMap(@Self)^.&set := $00000100;
  26023. end;
  26024. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  26025. begin
  26026. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26027. end;
  26028. procedure TPORTD_PORTD.setRD9; inline;
  26029. begin
  26030. pTDefRegMap(@Self)^.&set := $00000200;
  26031. end;
  26032. procedure TPORTD_PORTD.clearRD9; inline;
  26033. begin
  26034. pTDefRegMap(@Self)^.clr := $00000200;
  26035. end;
  26036. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  26037. begin
  26038. if thebits = 0 then
  26039. pTDefRegMap(@Self)^.clr := $00000200
  26040. else
  26041. pTDefRegMap(@Self)^.&set := $00000200;
  26042. end;
  26043. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  26044. begin
  26045. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26046. end;
  26047. procedure TPORTD_PORTD.setRD10; inline;
  26048. begin
  26049. pTDefRegMap(@Self)^.&set := $00000400;
  26050. end;
  26051. procedure TPORTD_PORTD.clearRD10; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.clr := $00000400;
  26054. end;
  26055. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  26056. begin
  26057. if thebits = 0 then
  26058. pTDefRegMap(@Self)^.clr := $00000400
  26059. else
  26060. pTDefRegMap(@Self)^.&set := $00000400;
  26061. end;
  26062. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  26063. begin
  26064. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26065. end;
  26066. procedure TPORTD_PORTD.setRD11; inline;
  26067. begin
  26068. pTDefRegMap(@Self)^.&set := $00000800;
  26069. end;
  26070. procedure TPORTD_PORTD.clearRD11; inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.clr := $00000800;
  26073. end;
  26074. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  26075. begin
  26076. if thebits = 0 then
  26077. pTDefRegMap(@Self)^.clr := $00000800
  26078. else
  26079. pTDefRegMap(@Self)^.&set := $00000800;
  26080. end;
  26081. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  26082. begin
  26083. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26084. end;
  26085. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  26086. begin
  26087. pTDefRegMap(@Self)^.val := thebits;
  26088. end;
  26089. function TPORTD_PORTD.getw : TBits_32; inline;
  26090. begin
  26091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26092. end;
  26093. procedure TPORTD_LATD.setLATD0; inline;
  26094. begin
  26095. pTDefRegMap(@Self)^.&set := $00000001;
  26096. end;
  26097. procedure TPORTD_LATD.clearLATD0; inline;
  26098. begin
  26099. pTDefRegMap(@Self)^.clr := $00000001;
  26100. end;
  26101. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  26102. begin
  26103. if thebits = 0 then
  26104. pTDefRegMap(@Self)^.clr := $00000001
  26105. else
  26106. pTDefRegMap(@Self)^.&set := $00000001;
  26107. end;
  26108. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  26109. begin
  26110. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26111. end;
  26112. procedure TPORTD_LATD.setLATD1; inline;
  26113. begin
  26114. pTDefRegMap(@Self)^.&set := $00000002;
  26115. end;
  26116. procedure TPORTD_LATD.clearLATD1; inline;
  26117. begin
  26118. pTDefRegMap(@Self)^.clr := $00000002;
  26119. end;
  26120. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  26121. begin
  26122. if thebits = 0 then
  26123. pTDefRegMap(@Self)^.clr := $00000002
  26124. else
  26125. pTDefRegMap(@Self)^.&set := $00000002;
  26126. end;
  26127. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  26128. begin
  26129. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26130. end;
  26131. procedure TPORTD_LATD.setLATD2; inline;
  26132. begin
  26133. pTDefRegMap(@Self)^.&set := $00000004;
  26134. end;
  26135. procedure TPORTD_LATD.clearLATD2; inline;
  26136. begin
  26137. pTDefRegMap(@Self)^.clr := $00000004;
  26138. end;
  26139. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  26140. begin
  26141. if thebits = 0 then
  26142. pTDefRegMap(@Self)^.clr := $00000004
  26143. else
  26144. pTDefRegMap(@Self)^.&set := $00000004;
  26145. end;
  26146. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  26147. begin
  26148. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26149. end;
  26150. procedure TPORTD_LATD.setLATD3; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.&set := $00000008;
  26153. end;
  26154. procedure TPORTD_LATD.clearLATD3; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.clr := $00000008;
  26157. end;
  26158. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  26159. begin
  26160. if thebits = 0 then
  26161. pTDefRegMap(@Self)^.clr := $00000008
  26162. else
  26163. pTDefRegMap(@Self)^.&set := $00000008;
  26164. end;
  26165. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  26166. begin
  26167. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26168. end;
  26169. procedure TPORTD_LATD.setLATD4; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.&set := $00000010;
  26172. end;
  26173. procedure TPORTD_LATD.clearLATD4; inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.clr := $00000010;
  26176. end;
  26177. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  26178. begin
  26179. if thebits = 0 then
  26180. pTDefRegMap(@Self)^.clr := $00000010
  26181. else
  26182. pTDefRegMap(@Self)^.&set := $00000010;
  26183. end;
  26184. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  26185. begin
  26186. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26187. end;
  26188. procedure TPORTD_LATD.setLATD5; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.&set := $00000020;
  26191. end;
  26192. procedure TPORTD_LATD.clearLATD5; inline;
  26193. begin
  26194. pTDefRegMap(@Self)^.clr := $00000020;
  26195. end;
  26196. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  26197. begin
  26198. if thebits = 0 then
  26199. pTDefRegMap(@Self)^.clr := $00000020
  26200. else
  26201. pTDefRegMap(@Self)^.&set := $00000020;
  26202. end;
  26203. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  26204. begin
  26205. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26206. end;
  26207. procedure TPORTD_LATD.setLATD6; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.&set := $00000040;
  26210. end;
  26211. procedure TPORTD_LATD.clearLATD6; inline;
  26212. begin
  26213. pTDefRegMap(@Self)^.clr := $00000040;
  26214. end;
  26215. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  26216. begin
  26217. if thebits = 0 then
  26218. pTDefRegMap(@Self)^.clr := $00000040
  26219. else
  26220. pTDefRegMap(@Self)^.&set := $00000040;
  26221. end;
  26222. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  26223. begin
  26224. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26225. end;
  26226. procedure TPORTD_LATD.setLATD7; inline;
  26227. begin
  26228. pTDefRegMap(@Self)^.&set := $00000080;
  26229. end;
  26230. procedure TPORTD_LATD.clearLATD7; inline;
  26231. begin
  26232. pTDefRegMap(@Self)^.clr := $00000080;
  26233. end;
  26234. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  26235. begin
  26236. if thebits = 0 then
  26237. pTDefRegMap(@Self)^.clr := $00000080
  26238. else
  26239. pTDefRegMap(@Self)^.&set := $00000080;
  26240. end;
  26241. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  26242. begin
  26243. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26244. end;
  26245. procedure TPORTD_LATD.setLATD8; inline;
  26246. begin
  26247. pTDefRegMap(@Self)^.&set := $00000100;
  26248. end;
  26249. procedure TPORTD_LATD.clearLATD8; inline;
  26250. begin
  26251. pTDefRegMap(@Self)^.clr := $00000100;
  26252. end;
  26253. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  26254. begin
  26255. if thebits = 0 then
  26256. pTDefRegMap(@Self)^.clr := $00000100
  26257. else
  26258. pTDefRegMap(@Self)^.&set := $00000100;
  26259. end;
  26260. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  26261. begin
  26262. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26263. end;
  26264. procedure TPORTD_LATD.setLATD9; inline;
  26265. begin
  26266. pTDefRegMap(@Self)^.&set := $00000200;
  26267. end;
  26268. procedure TPORTD_LATD.clearLATD9; inline;
  26269. begin
  26270. pTDefRegMap(@Self)^.clr := $00000200;
  26271. end;
  26272. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  26273. begin
  26274. if thebits = 0 then
  26275. pTDefRegMap(@Self)^.clr := $00000200
  26276. else
  26277. pTDefRegMap(@Self)^.&set := $00000200;
  26278. end;
  26279. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  26280. begin
  26281. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26282. end;
  26283. procedure TPORTD_LATD.setLATD10; inline;
  26284. begin
  26285. pTDefRegMap(@Self)^.&set := $00000400;
  26286. end;
  26287. procedure TPORTD_LATD.clearLATD10; inline;
  26288. begin
  26289. pTDefRegMap(@Self)^.clr := $00000400;
  26290. end;
  26291. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  26292. begin
  26293. if thebits = 0 then
  26294. pTDefRegMap(@Self)^.clr := $00000400
  26295. else
  26296. pTDefRegMap(@Self)^.&set := $00000400;
  26297. end;
  26298. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  26299. begin
  26300. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26301. end;
  26302. procedure TPORTD_LATD.setLATD11; inline;
  26303. begin
  26304. pTDefRegMap(@Self)^.&set := $00000800;
  26305. end;
  26306. procedure TPORTD_LATD.clearLATD11; inline;
  26307. begin
  26308. pTDefRegMap(@Self)^.clr := $00000800;
  26309. end;
  26310. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  26311. begin
  26312. if thebits = 0 then
  26313. pTDefRegMap(@Self)^.clr := $00000800
  26314. else
  26315. pTDefRegMap(@Self)^.&set := $00000800;
  26316. end;
  26317. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  26318. begin
  26319. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26320. end;
  26321. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  26322. begin
  26323. pTDefRegMap(@Self)^.val := thebits;
  26324. end;
  26325. function TPORTD_LATD.getw : TBits_32; inline;
  26326. begin
  26327. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26328. end;
  26329. procedure TPORTD_ODCD.setODCD0; inline;
  26330. begin
  26331. pTDefRegMap(@Self)^.&set := $00000001;
  26332. end;
  26333. procedure TPORTD_ODCD.clearODCD0; inline;
  26334. begin
  26335. pTDefRegMap(@Self)^.clr := $00000001;
  26336. end;
  26337. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  26338. begin
  26339. if thebits = 0 then
  26340. pTDefRegMap(@Self)^.clr := $00000001
  26341. else
  26342. pTDefRegMap(@Self)^.&set := $00000001;
  26343. end;
  26344. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  26345. begin
  26346. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26347. end;
  26348. procedure TPORTD_ODCD.setODCD1; inline;
  26349. begin
  26350. pTDefRegMap(@Self)^.&set := $00000002;
  26351. end;
  26352. procedure TPORTD_ODCD.clearODCD1; inline;
  26353. begin
  26354. pTDefRegMap(@Self)^.clr := $00000002;
  26355. end;
  26356. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  26357. begin
  26358. if thebits = 0 then
  26359. pTDefRegMap(@Self)^.clr := $00000002
  26360. else
  26361. pTDefRegMap(@Self)^.&set := $00000002;
  26362. end;
  26363. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  26364. begin
  26365. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26366. end;
  26367. procedure TPORTD_ODCD.setODCD2; inline;
  26368. begin
  26369. pTDefRegMap(@Self)^.&set := $00000004;
  26370. end;
  26371. procedure TPORTD_ODCD.clearODCD2; inline;
  26372. begin
  26373. pTDefRegMap(@Self)^.clr := $00000004;
  26374. end;
  26375. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  26376. begin
  26377. if thebits = 0 then
  26378. pTDefRegMap(@Self)^.clr := $00000004
  26379. else
  26380. pTDefRegMap(@Self)^.&set := $00000004;
  26381. end;
  26382. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  26383. begin
  26384. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26385. end;
  26386. procedure TPORTD_ODCD.setODCD3; inline;
  26387. begin
  26388. pTDefRegMap(@Self)^.&set := $00000008;
  26389. end;
  26390. procedure TPORTD_ODCD.clearODCD3; inline;
  26391. begin
  26392. pTDefRegMap(@Self)^.clr := $00000008;
  26393. end;
  26394. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  26395. begin
  26396. if thebits = 0 then
  26397. pTDefRegMap(@Self)^.clr := $00000008
  26398. else
  26399. pTDefRegMap(@Self)^.&set := $00000008;
  26400. end;
  26401. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  26402. begin
  26403. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26404. end;
  26405. procedure TPORTD_ODCD.setODCD4; inline;
  26406. begin
  26407. pTDefRegMap(@Self)^.&set := $00000010;
  26408. end;
  26409. procedure TPORTD_ODCD.clearODCD4; inline;
  26410. begin
  26411. pTDefRegMap(@Self)^.clr := $00000010;
  26412. end;
  26413. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  26414. begin
  26415. if thebits = 0 then
  26416. pTDefRegMap(@Self)^.clr := $00000010
  26417. else
  26418. pTDefRegMap(@Self)^.&set := $00000010;
  26419. end;
  26420. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  26421. begin
  26422. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26423. end;
  26424. procedure TPORTD_ODCD.setODCD5; inline;
  26425. begin
  26426. pTDefRegMap(@Self)^.&set := $00000020;
  26427. end;
  26428. procedure TPORTD_ODCD.clearODCD5; inline;
  26429. begin
  26430. pTDefRegMap(@Self)^.clr := $00000020;
  26431. end;
  26432. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  26433. begin
  26434. if thebits = 0 then
  26435. pTDefRegMap(@Self)^.clr := $00000020
  26436. else
  26437. pTDefRegMap(@Self)^.&set := $00000020;
  26438. end;
  26439. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  26440. begin
  26441. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26442. end;
  26443. procedure TPORTD_ODCD.setODCD6; inline;
  26444. begin
  26445. pTDefRegMap(@Self)^.&set := $00000040;
  26446. end;
  26447. procedure TPORTD_ODCD.clearODCD6; inline;
  26448. begin
  26449. pTDefRegMap(@Self)^.clr := $00000040;
  26450. end;
  26451. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  26452. begin
  26453. if thebits = 0 then
  26454. pTDefRegMap(@Self)^.clr := $00000040
  26455. else
  26456. pTDefRegMap(@Self)^.&set := $00000040;
  26457. end;
  26458. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  26459. begin
  26460. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26461. end;
  26462. procedure TPORTD_ODCD.setODCD7; inline;
  26463. begin
  26464. pTDefRegMap(@Self)^.&set := $00000080;
  26465. end;
  26466. procedure TPORTD_ODCD.clearODCD7; inline;
  26467. begin
  26468. pTDefRegMap(@Self)^.clr := $00000080;
  26469. end;
  26470. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  26471. begin
  26472. if thebits = 0 then
  26473. pTDefRegMap(@Self)^.clr := $00000080
  26474. else
  26475. pTDefRegMap(@Self)^.&set := $00000080;
  26476. end;
  26477. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  26478. begin
  26479. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26480. end;
  26481. procedure TPORTD_ODCD.setODCD8; inline;
  26482. begin
  26483. pTDefRegMap(@Self)^.&set := $00000100;
  26484. end;
  26485. procedure TPORTD_ODCD.clearODCD8; inline;
  26486. begin
  26487. pTDefRegMap(@Self)^.clr := $00000100;
  26488. end;
  26489. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  26490. begin
  26491. if thebits = 0 then
  26492. pTDefRegMap(@Self)^.clr := $00000100
  26493. else
  26494. pTDefRegMap(@Self)^.&set := $00000100;
  26495. end;
  26496. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  26497. begin
  26498. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26499. end;
  26500. procedure TPORTD_ODCD.setODCD9; inline;
  26501. begin
  26502. pTDefRegMap(@Self)^.&set := $00000200;
  26503. end;
  26504. procedure TPORTD_ODCD.clearODCD9; inline;
  26505. begin
  26506. pTDefRegMap(@Self)^.clr := $00000200;
  26507. end;
  26508. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  26509. begin
  26510. if thebits = 0 then
  26511. pTDefRegMap(@Self)^.clr := $00000200
  26512. else
  26513. pTDefRegMap(@Self)^.&set := $00000200;
  26514. end;
  26515. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  26516. begin
  26517. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26518. end;
  26519. procedure TPORTD_ODCD.setODCD10; inline;
  26520. begin
  26521. pTDefRegMap(@Self)^.&set := $00000400;
  26522. end;
  26523. procedure TPORTD_ODCD.clearODCD10; inline;
  26524. begin
  26525. pTDefRegMap(@Self)^.clr := $00000400;
  26526. end;
  26527. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  26528. begin
  26529. if thebits = 0 then
  26530. pTDefRegMap(@Self)^.clr := $00000400
  26531. else
  26532. pTDefRegMap(@Self)^.&set := $00000400;
  26533. end;
  26534. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  26535. begin
  26536. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26537. end;
  26538. procedure TPORTD_ODCD.setODCD11; inline;
  26539. begin
  26540. pTDefRegMap(@Self)^.&set := $00000800;
  26541. end;
  26542. procedure TPORTD_ODCD.clearODCD11; inline;
  26543. begin
  26544. pTDefRegMap(@Self)^.clr := $00000800;
  26545. end;
  26546. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  26547. begin
  26548. if thebits = 0 then
  26549. pTDefRegMap(@Self)^.clr := $00000800
  26550. else
  26551. pTDefRegMap(@Self)^.&set := $00000800;
  26552. end;
  26553. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  26554. begin
  26555. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26556. end;
  26557. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.val := thebits;
  26560. end;
  26561. function TPORTD_ODCD.getw : TBits_32; inline;
  26562. begin
  26563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26564. end;
  26565. procedure TPORTE_TRISE.setTRISE0; inline;
  26566. begin
  26567. pTDefRegMap(@Self)^.&set := $00000001;
  26568. end;
  26569. procedure TPORTE_TRISE.clearTRISE0; inline;
  26570. begin
  26571. pTDefRegMap(@Self)^.clr := $00000001;
  26572. end;
  26573. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  26574. begin
  26575. if thebits = 0 then
  26576. pTDefRegMap(@Self)^.clr := $00000001
  26577. else
  26578. pTDefRegMap(@Self)^.&set := $00000001;
  26579. end;
  26580. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  26581. begin
  26582. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26583. end;
  26584. procedure TPORTE_TRISE.setTRISE1; inline;
  26585. begin
  26586. pTDefRegMap(@Self)^.&set := $00000002;
  26587. end;
  26588. procedure TPORTE_TRISE.clearTRISE1; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.clr := $00000002;
  26591. end;
  26592. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  26593. begin
  26594. if thebits = 0 then
  26595. pTDefRegMap(@Self)^.clr := $00000002
  26596. else
  26597. pTDefRegMap(@Self)^.&set := $00000002;
  26598. end;
  26599. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  26600. begin
  26601. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26602. end;
  26603. procedure TPORTE_TRISE.setTRISE2; inline;
  26604. begin
  26605. pTDefRegMap(@Self)^.&set := $00000004;
  26606. end;
  26607. procedure TPORTE_TRISE.clearTRISE2; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.clr := $00000004;
  26610. end;
  26611. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  26612. begin
  26613. if thebits = 0 then
  26614. pTDefRegMap(@Self)^.clr := $00000004
  26615. else
  26616. pTDefRegMap(@Self)^.&set := $00000004;
  26617. end;
  26618. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  26619. begin
  26620. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26621. end;
  26622. procedure TPORTE_TRISE.setTRISE3; inline;
  26623. begin
  26624. pTDefRegMap(@Self)^.&set := $00000008;
  26625. end;
  26626. procedure TPORTE_TRISE.clearTRISE3; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.clr := $00000008;
  26629. end;
  26630. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  26631. begin
  26632. if thebits = 0 then
  26633. pTDefRegMap(@Self)^.clr := $00000008
  26634. else
  26635. pTDefRegMap(@Self)^.&set := $00000008;
  26636. end;
  26637. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  26638. begin
  26639. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26640. end;
  26641. procedure TPORTE_TRISE.setTRISE4; inline;
  26642. begin
  26643. pTDefRegMap(@Self)^.&set := $00000010;
  26644. end;
  26645. procedure TPORTE_TRISE.clearTRISE4; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.clr := $00000010;
  26648. end;
  26649. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  26650. begin
  26651. if thebits = 0 then
  26652. pTDefRegMap(@Self)^.clr := $00000010
  26653. else
  26654. pTDefRegMap(@Self)^.&set := $00000010;
  26655. end;
  26656. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  26657. begin
  26658. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26659. end;
  26660. procedure TPORTE_TRISE.setTRISE5; inline;
  26661. begin
  26662. pTDefRegMap(@Self)^.&set := $00000020;
  26663. end;
  26664. procedure TPORTE_TRISE.clearTRISE5; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.clr := $00000020;
  26667. end;
  26668. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  26669. begin
  26670. if thebits = 0 then
  26671. pTDefRegMap(@Self)^.clr := $00000020
  26672. else
  26673. pTDefRegMap(@Self)^.&set := $00000020;
  26674. end;
  26675. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  26676. begin
  26677. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26678. end;
  26679. procedure TPORTE_TRISE.setTRISE6; inline;
  26680. begin
  26681. pTDefRegMap(@Self)^.&set := $00000040;
  26682. end;
  26683. procedure TPORTE_TRISE.clearTRISE6; inline;
  26684. begin
  26685. pTDefRegMap(@Self)^.clr := $00000040;
  26686. end;
  26687. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  26688. begin
  26689. if thebits = 0 then
  26690. pTDefRegMap(@Self)^.clr := $00000040
  26691. else
  26692. pTDefRegMap(@Self)^.&set := $00000040;
  26693. end;
  26694. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  26695. begin
  26696. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26697. end;
  26698. procedure TPORTE_TRISE.setTRISE7; inline;
  26699. begin
  26700. pTDefRegMap(@Self)^.&set := $00000080;
  26701. end;
  26702. procedure TPORTE_TRISE.clearTRISE7; inline;
  26703. begin
  26704. pTDefRegMap(@Self)^.clr := $00000080;
  26705. end;
  26706. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  26707. begin
  26708. if thebits = 0 then
  26709. pTDefRegMap(@Self)^.clr := $00000080
  26710. else
  26711. pTDefRegMap(@Self)^.&set := $00000080;
  26712. end;
  26713. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  26714. begin
  26715. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26716. end;
  26717. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  26718. begin
  26719. pTDefRegMap(@Self)^.val := thebits;
  26720. end;
  26721. function TPORTE_TRISE.getw : TBits_32; inline;
  26722. begin
  26723. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26724. end;
  26725. procedure TPORTE_PORTE.setRE0; inline;
  26726. begin
  26727. pTDefRegMap(@Self)^.&set := $00000001;
  26728. end;
  26729. procedure TPORTE_PORTE.clearRE0; inline;
  26730. begin
  26731. pTDefRegMap(@Self)^.clr := $00000001;
  26732. end;
  26733. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  26734. begin
  26735. if thebits = 0 then
  26736. pTDefRegMap(@Self)^.clr := $00000001
  26737. else
  26738. pTDefRegMap(@Self)^.&set := $00000001;
  26739. end;
  26740. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  26741. begin
  26742. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26743. end;
  26744. procedure TPORTE_PORTE.setRE1; inline;
  26745. begin
  26746. pTDefRegMap(@Self)^.&set := $00000002;
  26747. end;
  26748. procedure TPORTE_PORTE.clearRE1; inline;
  26749. begin
  26750. pTDefRegMap(@Self)^.clr := $00000002;
  26751. end;
  26752. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  26753. begin
  26754. if thebits = 0 then
  26755. pTDefRegMap(@Self)^.clr := $00000002
  26756. else
  26757. pTDefRegMap(@Self)^.&set := $00000002;
  26758. end;
  26759. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  26760. begin
  26761. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26762. end;
  26763. procedure TPORTE_PORTE.setRE2; inline;
  26764. begin
  26765. pTDefRegMap(@Self)^.&set := $00000004;
  26766. end;
  26767. procedure TPORTE_PORTE.clearRE2; inline;
  26768. begin
  26769. pTDefRegMap(@Self)^.clr := $00000004;
  26770. end;
  26771. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  26772. begin
  26773. if thebits = 0 then
  26774. pTDefRegMap(@Self)^.clr := $00000004
  26775. else
  26776. pTDefRegMap(@Self)^.&set := $00000004;
  26777. end;
  26778. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  26779. begin
  26780. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26781. end;
  26782. procedure TPORTE_PORTE.setRE3; inline;
  26783. begin
  26784. pTDefRegMap(@Self)^.&set := $00000008;
  26785. end;
  26786. procedure TPORTE_PORTE.clearRE3; inline;
  26787. begin
  26788. pTDefRegMap(@Self)^.clr := $00000008;
  26789. end;
  26790. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  26791. begin
  26792. if thebits = 0 then
  26793. pTDefRegMap(@Self)^.clr := $00000008
  26794. else
  26795. pTDefRegMap(@Self)^.&set := $00000008;
  26796. end;
  26797. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  26798. begin
  26799. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26800. end;
  26801. procedure TPORTE_PORTE.setRE4; inline;
  26802. begin
  26803. pTDefRegMap(@Self)^.&set := $00000010;
  26804. end;
  26805. procedure TPORTE_PORTE.clearRE4; inline;
  26806. begin
  26807. pTDefRegMap(@Self)^.clr := $00000010;
  26808. end;
  26809. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  26810. begin
  26811. if thebits = 0 then
  26812. pTDefRegMap(@Self)^.clr := $00000010
  26813. else
  26814. pTDefRegMap(@Self)^.&set := $00000010;
  26815. end;
  26816. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  26817. begin
  26818. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26819. end;
  26820. procedure TPORTE_PORTE.setRE5; inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.&set := $00000020;
  26823. end;
  26824. procedure TPORTE_PORTE.clearRE5; inline;
  26825. begin
  26826. pTDefRegMap(@Self)^.clr := $00000020;
  26827. end;
  26828. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  26829. begin
  26830. if thebits = 0 then
  26831. pTDefRegMap(@Self)^.clr := $00000020
  26832. else
  26833. pTDefRegMap(@Self)^.&set := $00000020;
  26834. end;
  26835. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  26836. begin
  26837. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26838. end;
  26839. procedure TPORTE_PORTE.setRE6; inline;
  26840. begin
  26841. pTDefRegMap(@Self)^.&set := $00000040;
  26842. end;
  26843. procedure TPORTE_PORTE.clearRE6; inline;
  26844. begin
  26845. pTDefRegMap(@Self)^.clr := $00000040;
  26846. end;
  26847. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  26848. begin
  26849. if thebits = 0 then
  26850. pTDefRegMap(@Self)^.clr := $00000040
  26851. else
  26852. pTDefRegMap(@Self)^.&set := $00000040;
  26853. end;
  26854. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  26855. begin
  26856. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26857. end;
  26858. procedure TPORTE_PORTE.setRE7; inline;
  26859. begin
  26860. pTDefRegMap(@Self)^.&set := $00000080;
  26861. end;
  26862. procedure TPORTE_PORTE.clearRE7; inline;
  26863. begin
  26864. pTDefRegMap(@Self)^.clr := $00000080;
  26865. end;
  26866. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  26867. begin
  26868. if thebits = 0 then
  26869. pTDefRegMap(@Self)^.clr := $00000080
  26870. else
  26871. pTDefRegMap(@Self)^.&set := $00000080;
  26872. end;
  26873. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  26874. begin
  26875. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26876. end;
  26877. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  26878. begin
  26879. pTDefRegMap(@Self)^.val := thebits;
  26880. end;
  26881. function TPORTE_PORTE.getw : TBits_32; inline;
  26882. begin
  26883. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26884. end;
  26885. procedure TPORTE_LATE.setLATE0; inline;
  26886. begin
  26887. pTDefRegMap(@Self)^.&set := $00000001;
  26888. end;
  26889. procedure TPORTE_LATE.clearLATE0; inline;
  26890. begin
  26891. pTDefRegMap(@Self)^.clr := $00000001;
  26892. end;
  26893. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  26894. begin
  26895. if thebits = 0 then
  26896. pTDefRegMap(@Self)^.clr := $00000001
  26897. else
  26898. pTDefRegMap(@Self)^.&set := $00000001;
  26899. end;
  26900. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  26901. begin
  26902. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26903. end;
  26904. procedure TPORTE_LATE.setLATE1; inline;
  26905. begin
  26906. pTDefRegMap(@Self)^.&set := $00000002;
  26907. end;
  26908. procedure TPORTE_LATE.clearLATE1; inline;
  26909. begin
  26910. pTDefRegMap(@Self)^.clr := $00000002;
  26911. end;
  26912. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  26913. begin
  26914. if thebits = 0 then
  26915. pTDefRegMap(@Self)^.clr := $00000002
  26916. else
  26917. pTDefRegMap(@Self)^.&set := $00000002;
  26918. end;
  26919. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  26920. begin
  26921. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26922. end;
  26923. procedure TPORTE_LATE.setLATE2; inline;
  26924. begin
  26925. pTDefRegMap(@Self)^.&set := $00000004;
  26926. end;
  26927. procedure TPORTE_LATE.clearLATE2; inline;
  26928. begin
  26929. pTDefRegMap(@Self)^.clr := $00000004;
  26930. end;
  26931. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  26932. begin
  26933. if thebits = 0 then
  26934. pTDefRegMap(@Self)^.clr := $00000004
  26935. else
  26936. pTDefRegMap(@Self)^.&set := $00000004;
  26937. end;
  26938. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  26939. begin
  26940. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26941. end;
  26942. procedure TPORTE_LATE.setLATE3; inline;
  26943. begin
  26944. pTDefRegMap(@Self)^.&set := $00000008;
  26945. end;
  26946. procedure TPORTE_LATE.clearLATE3; inline;
  26947. begin
  26948. pTDefRegMap(@Self)^.clr := $00000008;
  26949. end;
  26950. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  26951. begin
  26952. if thebits = 0 then
  26953. pTDefRegMap(@Self)^.clr := $00000008
  26954. else
  26955. pTDefRegMap(@Self)^.&set := $00000008;
  26956. end;
  26957. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  26958. begin
  26959. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26960. end;
  26961. procedure TPORTE_LATE.setLATE4; inline;
  26962. begin
  26963. pTDefRegMap(@Self)^.&set := $00000010;
  26964. end;
  26965. procedure TPORTE_LATE.clearLATE4; inline;
  26966. begin
  26967. pTDefRegMap(@Self)^.clr := $00000010;
  26968. end;
  26969. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  26970. begin
  26971. if thebits = 0 then
  26972. pTDefRegMap(@Self)^.clr := $00000010
  26973. else
  26974. pTDefRegMap(@Self)^.&set := $00000010;
  26975. end;
  26976. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  26977. begin
  26978. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26979. end;
  26980. procedure TPORTE_LATE.setLATE5; inline;
  26981. begin
  26982. pTDefRegMap(@Self)^.&set := $00000020;
  26983. end;
  26984. procedure TPORTE_LATE.clearLATE5; inline;
  26985. begin
  26986. pTDefRegMap(@Self)^.clr := $00000020;
  26987. end;
  26988. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  26989. begin
  26990. if thebits = 0 then
  26991. pTDefRegMap(@Self)^.clr := $00000020
  26992. else
  26993. pTDefRegMap(@Self)^.&set := $00000020;
  26994. end;
  26995. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  26996. begin
  26997. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26998. end;
  26999. procedure TPORTE_LATE.setLATE6; inline;
  27000. begin
  27001. pTDefRegMap(@Self)^.&set := $00000040;
  27002. end;
  27003. procedure TPORTE_LATE.clearLATE6; inline;
  27004. begin
  27005. pTDefRegMap(@Self)^.clr := $00000040;
  27006. end;
  27007. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  27008. begin
  27009. if thebits = 0 then
  27010. pTDefRegMap(@Self)^.clr := $00000040
  27011. else
  27012. pTDefRegMap(@Self)^.&set := $00000040;
  27013. end;
  27014. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  27015. begin
  27016. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27017. end;
  27018. procedure TPORTE_LATE.setLATE7; inline;
  27019. begin
  27020. pTDefRegMap(@Self)^.&set := $00000080;
  27021. end;
  27022. procedure TPORTE_LATE.clearLATE7; inline;
  27023. begin
  27024. pTDefRegMap(@Self)^.clr := $00000080;
  27025. end;
  27026. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  27027. begin
  27028. if thebits = 0 then
  27029. pTDefRegMap(@Self)^.clr := $00000080
  27030. else
  27031. pTDefRegMap(@Self)^.&set := $00000080;
  27032. end;
  27033. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  27034. begin
  27035. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27036. end;
  27037. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  27038. begin
  27039. pTDefRegMap(@Self)^.val := thebits;
  27040. end;
  27041. function TPORTE_LATE.getw : TBits_32; inline;
  27042. begin
  27043. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27044. end;
  27045. procedure TPORTE_ODCE.setODCE0; inline;
  27046. begin
  27047. pTDefRegMap(@Self)^.&set := $00000001;
  27048. end;
  27049. procedure TPORTE_ODCE.clearODCE0; inline;
  27050. begin
  27051. pTDefRegMap(@Self)^.clr := $00000001;
  27052. end;
  27053. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  27054. begin
  27055. if thebits = 0 then
  27056. pTDefRegMap(@Self)^.clr := $00000001
  27057. else
  27058. pTDefRegMap(@Self)^.&set := $00000001;
  27059. end;
  27060. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  27061. begin
  27062. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27063. end;
  27064. procedure TPORTE_ODCE.setODCE1; inline;
  27065. begin
  27066. pTDefRegMap(@Self)^.&set := $00000002;
  27067. end;
  27068. procedure TPORTE_ODCE.clearODCE1; inline;
  27069. begin
  27070. pTDefRegMap(@Self)^.clr := $00000002;
  27071. end;
  27072. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  27073. begin
  27074. if thebits = 0 then
  27075. pTDefRegMap(@Self)^.clr := $00000002
  27076. else
  27077. pTDefRegMap(@Self)^.&set := $00000002;
  27078. end;
  27079. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  27080. begin
  27081. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27082. end;
  27083. procedure TPORTE_ODCE.setODCE2; inline;
  27084. begin
  27085. pTDefRegMap(@Self)^.&set := $00000004;
  27086. end;
  27087. procedure TPORTE_ODCE.clearODCE2; inline;
  27088. begin
  27089. pTDefRegMap(@Self)^.clr := $00000004;
  27090. end;
  27091. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  27092. begin
  27093. if thebits = 0 then
  27094. pTDefRegMap(@Self)^.clr := $00000004
  27095. else
  27096. pTDefRegMap(@Self)^.&set := $00000004;
  27097. end;
  27098. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  27099. begin
  27100. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27101. end;
  27102. procedure TPORTE_ODCE.setODCE3; inline;
  27103. begin
  27104. pTDefRegMap(@Self)^.&set := $00000008;
  27105. end;
  27106. procedure TPORTE_ODCE.clearODCE3; inline;
  27107. begin
  27108. pTDefRegMap(@Self)^.clr := $00000008;
  27109. end;
  27110. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  27111. begin
  27112. if thebits = 0 then
  27113. pTDefRegMap(@Self)^.clr := $00000008
  27114. else
  27115. pTDefRegMap(@Self)^.&set := $00000008;
  27116. end;
  27117. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  27118. begin
  27119. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27120. end;
  27121. procedure TPORTE_ODCE.setODCE4; inline;
  27122. begin
  27123. pTDefRegMap(@Self)^.&set := $00000010;
  27124. end;
  27125. procedure TPORTE_ODCE.clearODCE4; inline;
  27126. begin
  27127. pTDefRegMap(@Self)^.clr := $00000010;
  27128. end;
  27129. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  27130. begin
  27131. if thebits = 0 then
  27132. pTDefRegMap(@Self)^.clr := $00000010
  27133. else
  27134. pTDefRegMap(@Self)^.&set := $00000010;
  27135. end;
  27136. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  27137. begin
  27138. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27139. end;
  27140. procedure TPORTE_ODCE.setODCE5; inline;
  27141. begin
  27142. pTDefRegMap(@Self)^.&set := $00000020;
  27143. end;
  27144. procedure TPORTE_ODCE.clearODCE5; inline;
  27145. begin
  27146. pTDefRegMap(@Self)^.clr := $00000020;
  27147. end;
  27148. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  27149. begin
  27150. if thebits = 0 then
  27151. pTDefRegMap(@Self)^.clr := $00000020
  27152. else
  27153. pTDefRegMap(@Self)^.&set := $00000020;
  27154. end;
  27155. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  27156. begin
  27157. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27158. end;
  27159. procedure TPORTE_ODCE.setODCE6; inline;
  27160. begin
  27161. pTDefRegMap(@Self)^.&set := $00000040;
  27162. end;
  27163. procedure TPORTE_ODCE.clearODCE6; inline;
  27164. begin
  27165. pTDefRegMap(@Self)^.clr := $00000040;
  27166. end;
  27167. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  27168. begin
  27169. if thebits = 0 then
  27170. pTDefRegMap(@Self)^.clr := $00000040
  27171. else
  27172. pTDefRegMap(@Self)^.&set := $00000040;
  27173. end;
  27174. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  27175. begin
  27176. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27177. end;
  27178. procedure TPORTE_ODCE.setODCE7; inline;
  27179. begin
  27180. pTDefRegMap(@Self)^.&set := $00000080;
  27181. end;
  27182. procedure TPORTE_ODCE.clearODCE7; inline;
  27183. begin
  27184. pTDefRegMap(@Self)^.clr := $00000080;
  27185. end;
  27186. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  27187. begin
  27188. if thebits = 0 then
  27189. pTDefRegMap(@Self)^.clr := $00000080
  27190. else
  27191. pTDefRegMap(@Self)^.&set := $00000080;
  27192. end;
  27193. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  27194. begin
  27195. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27196. end;
  27197. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  27198. begin
  27199. pTDefRegMap(@Self)^.val := thebits;
  27200. end;
  27201. function TPORTE_ODCE.getw : TBits_32; inline;
  27202. begin
  27203. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27204. end;
  27205. procedure TPORTF_TRISF.setTRISF0; inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.&set := $00000001;
  27208. end;
  27209. procedure TPORTF_TRISF.clearTRISF0; inline;
  27210. begin
  27211. pTDefRegMap(@Self)^.clr := $00000001;
  27212. end;
  27213. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  27214. begin
  27215. if thebits = 0 then
  27216. pTDefRegMap(@Self)^.clr := $00000001
  27217. else
  27218. pTDefRegMap(@Self)^.&set := $00000001;
  27219. end;
  27220. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  27221. begin
  27222. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27223. end;
  27224. procedure TPORTF_TRISF.setTRISF1; inline;
  27225. begin
  27226. pTDefRegMap(@Self)^.&set := $00000002;
  27227. end;
  27228. procedure TPORTF_TRISF.clearTRISF1; inline;
  27229. begin
  27230. pTDefRegMap(@Self)^.clr := $00000002;
  27231. end;
  27232. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  27233. begin
  27234. if thebits = 0 then
  27235. pTDefRegMap(@Self)^.clr := $00000002
  27236. else
  27237. pTDefRegMap(@Self)^.&set := $00000002;
  27238. end;
  27239. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  27240. begin
  27241. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27242. end;
  27243. procedure TPORTF_TRISF.setTRISF3; inline;
  27244. begin
  27245. pTDefRegMap(@Self)^.&set := $00000008;
  27246. end;
  27247. procedure TPORTF_TRISF.clearTRISF3; inline;
  27248. begin
  27249. pTDefRegMap(@Self)^.clr := $00000008;
  27250. end;
  27251. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  27252. begin
  27253. if thebits = 0 then
  27254. pTDefRegMap(@Self)^.clr := $00000008
  27255. else
  27256. pTDefRegMap(@Self)^.&set := $00000008;
  27257. end;
  27258. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  27259. begin
  27260. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27261. end;
  27262. procedure TPORTF_TRISF.setTRISF4; inline;
  27263. begin
  27264. pTDefRegMap(@Self)^.&set := $00000010;
  27265. end;
  27266. procedure TPORTF_TRISF.clearTRISF4; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.clr := $00000010;
  27269. end;
  27270. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  27271. begin
  27272. if thebits = 0 then
  27273. pTDefRegMap(@Self)^.clr := $00000010
  27274. else
  27275. pTDefRegMap(@Self)^.&set := $00000010;
  27276. end;
  27277. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  27278. begin
  27279. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27280. end;
  27281. procedure TPORTF_TRISF.setTRISF5; inline;
  27282. begin
  27283. pTDefRegMap(@Self)^.&set := $00000020;
  27284. end;
  27285. procedure TPORTF_TRISF.clearTRISF5; inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.clr := $00000020;
  27288. end;
  27289. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  27290. begin
  27291. if thebits = 0 then
  27292. pTDefRegMap(@Self)^.clr := $00000020
  27293. else
  27294. pTDefRegMap(@Self)^.&set := $00000020;
  27295. end;
  27296. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  27297. begin
  27298. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27299. end;
  27300. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  27301. begin
  27302. pTDefRegMap(@Self)^.val := thebits;
  27303. end;
  27304. function TPORTF_TRISF.getw : TBits_32; inline;
  27305. begin
  27306. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27307. end;
  27308. procedure TPORTF_PORTF.setRF0; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000001;
  27311. end;
  27312. procedure TPORTF_PORTF.clearRF0; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000001;
  27315. end;
  27316. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000001
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000001;
  27322. end;
  27323. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  27324. begin
  27325. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27326. end;
  27327. procedure TPORTF_PORTF.setRF1; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.&set := $00000002;
  27330. end;
  27331. procedure TPORTF_PORTF.clearRF1; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.clr := $00000002;
  27334. end;
  27335. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  27336. begin
  27337. if thebits = 0 then
  27338. pTDefRegMap(@Self)^.clr := $00000002
  27339. else
  27340. pTDefRegMap(@Self)^.&set := $00000002;
  27341. end;
  27342. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  27343. begin
  27344. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27345. end;
  27346. procedure TPORTF_PORTF.setRF3; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.&set := $00000008;
  27349. end;
  27350. procedure TPORTF_PORTF.clearRF3; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.clr := $00000008;
  27353. end;
  27354. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  27355. begin
  27356. if thebits = 0 then
  27357. pTDefRegMap(@Self)^.clr := $00000008
  27358. else
  27359. pTDefRegMap(@Self)^.&set := $00000008;
  27360. end;
  27361. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  27362. begin
  27363. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27364. end;
  27365. procedure TPORTF_PORTF.setRF4; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.&set := $00000010;
  27368. end;
  27369. procedure TPORTF_PORTF.clearRF4; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.clr := $00000010;
  27372. end;
  27373. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  27374. begin
  27375. if thebits = 0 then
  27376. pTDefRegMap(@Self)^.clr := $00000010
  27377. else
  27378. pTDefRegMap(@Self)^.&set := $00000010;
  27379. end;
  27380. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  27381. begin
  27382. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27383. end;
  27384. procedure TPORTF_PORTF.setRF5; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.&set := $00000020;
  27387. end;
  27388. procedure TPORTF_PORTF.clearRF5; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.clr := $00000020;
  27391. end;
  27392. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  27393. begin
  27394. if thebits = 0 then
  27395. pTDefRegMap(@Self)^.clr := $00000020
  27396. else
  27397. pTDefRegMap(@Self)^.&set := $00000020;
  27398. end;
  27399. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  27400. begin
  27401. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27402. end;
  27403. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.val := thebits;
  27406. end;
  27407. function TPORTF_PORTF.getw : TBits_32; inline;
  27408. begin
  27409. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27410. end;
  27411. procedure TPORTF_LATF.setLATF0; inline;
  27412. begin
  27413. pTDefRegMap(@Self)^.&set := $00000001;
  27414. end;
  27415. procedure TPORTF_LATF.clearLATF0; inline;
  27416. begin
  27417. pTDefRegMap(@Self)^.clr := $00000001;
  27418. end;
  27419. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  27420. begin
  27421. if thebits = 0 then
  27422. pTDefRegMap(@Self)^.clr := $00000001
  27423. else
  27424. pTDefRegMap(@Self)^.&set := $00000001;
  27425. end;
  27426. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  27427. begin
  27428. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27429. end;
  27430. procedure TPORTF_LATF.setLATF1; inline;
  27431. begin
  27432. pTDefRegMap(@Self)^.&set := $00000002;
  27433. end;
  27434. procedure TPORTF_LATF.clearLATF1; inline;
  27435. begin
  27436. pTDefRegMap(@Self)^.clr := $00000002;
  27437. end;
  27438. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  27439. begin
  27440. if thebits = 0 then
  27441. pTDefRegMap(@Self)^.clr := $00000002
  27442. else
  27443. pTDefRegMap(@Self)^.&set := $00000002;
  27444. end;
  27445. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  27446. begin
  27447. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27448. end;
  27449. procedure TPORTF_LATF.setLATF3; inline;
  27450. begin
  27451. pTDefRegMap(@Self)^.&set := $00000008;
  27452. end;
  27453. procedure TPORTF_LATF.clearLATF3; inline;
  27454. begin
  27455. pTDefRegMap(@Self)^.clr := $00000008;
  27456. end;
  27457. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  27458. begin
  27459. if thebits = 0 then
  27460. pTDefRegMap(@Self)^.clr := $00000008
  27461. else
  27462. pTDefRegMap(@Self)^.&set := $00000008;
  27463. end;
  27464. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  27465. begin
  27466. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27467. end;
  27468. procedure TPORTF_LATF.setLATF4; inline;
  27469. begin
  27470. pTDefRegMap(@Self)^.&set := $00000010;
  27471. end;
  27472. procedure TPORTF_LATF.clearLATF4; inline;
  27473. begin
  27474. pTDefRegMap(@Self)^.clr := $00000010;
  27475. end;
  27476. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  27477. begin
  27478. if thebits = 0 then
  27479. pTDefRegMap(@Self)^.clr := $00000010
  27480. else
  27481. pTDefRegMap(@Self)^.&set := $00000010;
  27482. end;
  27483. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  27484. begin
  27485. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27486. end;
  27487. procedure TPORTF_LATF.setLATF5; inline;
  27488. begin
  27489. pTDefRegMap(@Self)^.&set := $00000020;
  27490. end;
  27491. procedure TPORTF_LATF.clearLATF5; inline;
  27492. begin
  27493. pTDefRegMap(@Self)^.clr := $00000020;
  27494. end;
  27495. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  27496. begin
  27497. if thebits = 0 then
  27498. pTDefRegMap(@Self)^.clr := $00000020
  27499. else
  27500. pTDefRegMap(@Self)^.&set := $00000020;
  27501. end;
  27502. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  27503. begin
  27504. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27505. end;
  27506. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  27507. begin
  27508. pTDefRegMap(@Self)^.val := thebits;
  27509. end;
  27510. function TPORTF_LATF.getw : TBits_32; inline;
  27511. begin
  27512. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27513. end;
  27514. procedure TPORTF_ODCF.setODCF0; inline;
  27515. begin
  27516. pTDefRegMap(@Self)^.&set := $00000001;
  27517. end;
  27518. procedure TPORTF_ODCF.clearODCF0; inline;
  27519. begin
  27520. pTDefRegMap(@Self)^.clr := $00000001;
  27521. end;
  27522. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  27523. begin
  27524. if thebits = 0 then
  27525. pTDefRegMap(@Self)^.clr := $00000001
  27526. else
  27527. pTDefRegMap(@Self)^.&set := $00000001;
  27528. end;
  27529. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  27530. begin
  27531. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27532. end;
  27533. procedure TPORTF_ODCF.setODCF1; inline;
  27534. begin
  27535. pTDefRegMap(@Self)^.&set := $00000002;
  27536. end;
  27537. procedure TPORTF_ODCF.clearODCF1; inline;
  27538. begin
  27539. pTDefRegMap(@Self)^.clr := $00000002;
  27540. end;
  27541. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  27542. begin
  27543. if thebits = 0 then
  27544. pTDefRegMap(@Self)^.clr := $00000002
  27545. else
  27546. pTDefRegMap(@Self)^.&set := $00000002;
  27547. end;
  27548. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  27549. begin
  27550. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27551. end;
  27552. procedure TPORTF_ODCF.setODCF3; inline;
  27553. begin
  27554. pTDefRegMap(@Self)^.&set := $00000008;
  27555. end;
  27556. procedure TPORTF_ODCF.clearODCF3; inline;
  27557. begin
  27558. pTDefRegMap(@Self)^.clr := $00000008;
  27559. end;
  27560. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  27561. begin
  27562. if thebits = 0 then
  27563. pTDefRegMap(@Self)^.clr := $00000008
  27564. else
  27565. pTDefRegMap(@Self)^.&set := $00000008;
  27566. end;
  27567. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  27568. begin
  27569. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27570. end;
  27571. procedure TPORTF_ODCF.setODCF4; inline;
  27572. begin
  27573. pTDefRegMap(@Self)^.&set := $00000010;
  27574. end;
  27575. procedure TPORTF_ODCF.clearODCF4; inline;
  27576. begin
  27577. pTDefRegMap(@Self)^.clr := $00000010;
  27578. end;
  27579. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  27580. begin
  27581. if thebits = 0 then
  27582. pTDefRegMap(@Self)^.clr := $00000010
  27583. else
  27584. pTDefRegMap(@Self)^.&set := $00000010;
  27585. end;
  27586. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  27587. begin
  27588. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27589. end;
  27590. procedure TPORTF_ODCF.setODCF5; inline;
  27591. begin
  27592. pTDefRegMap(@Self)^.&set := $00000020;
  27593. end;
  27594. procedure TPORTF_ODCF.clearODCF5; inline;
  27595. begin
  27596. pTDefRegMap(@Self)^.clr := $00000020;
  27597. end;
  27598. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  27599. begin
  27600. if thebits = 0 then
  27601. pTDefRegMap(@Self)^.clr := $00000020
  27602. else
  27603. pTDefRegMap(@Self)^.&set := $00000020;
  27604. end;
  27605. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  27606. begin
  27607. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27608. end;
  27609. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  27610. begin
  27611. pTDefRegMap(@Self)^.val := thebits;
  27612. end;
  27613. function TPORTF_ODCF.getw : TBits_32; inline;
  27614. begin
  27615. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27616. end;
  27617. procedure TPORTG_TRISG.setTRISG2; inline;
  27618. begin
  27619. pTDefRegMap(@Self)^.&set := $00000004;
  27620. end;
  27621. procedure TPORTG_TRISG.clearTRISG2; inline;
  27622. begin
  27623. pTDefRegMap(@Self)^.clr := $00000004;
  27624. end;
  27625. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  27626. begin
  27627. if thebits = 0 then
  27628. pTDefRegMap(@Self)^.clr := $00000004
  27629. else
  27630. pTDefRegMap(@Self)^.&set := $00000004;
  27631. end;
  27632. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  27633. begin
  27634. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27635. end;
  27636. procedure TPORTG_TRISG.setTRISG3; inline;
  27637. begin
  27638. pTDefRegMap(@Self)^.&set := $00000008;
  27639. end;
  27640. procedure TPORTG_TRISG.clearTRISG3; inline;
  27641. begin
  27642. pTDefRegMap(@Self)^.clr := $00000008;
  27643. end;
  27644. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  27645. begin
  27646. if thebits = 0 then
  27647. pTDefRegMap(@Self)^.clr := $00000008
  27648. else
  27649. pTDefRegMap(@Self)^.&set := $00000008;
  27650. end;
  27651. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  27652. begin
  27653. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27654. end;
  27655. procedure TPORTG_TRISG.setTRISG6; inline;
  27656. begin
  27657. pTDefRegMap(@Self)^.&set := $00000040;
  27658. end;
  27659. procedure TPORTG_TRISG.clearTRISG6; inline;
  27660. begin
  27661. pTDefRegMap(@Self)^.clr := $00000040;
  27662. end;
  27663. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  27664. begin
  27665. if thebits = 0 then
  27666. pTDefRegMap(@Self)^.clr := $00000040
  27667. else
  27668. pTDefRegMap(@Self)^.&set := $00000040;
  27669. end;
  27670. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  27671. begin
  27672. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27673. end;
  27674. procedure TPORTG_TRISG.setTRISG7; inline;
  27675. begin
  27676. pTDefRegMap(@Self)^.&set := $00000080;
  27677. end;
  27678. procedure TPORTG_TRISG.clearTRISG7; inline;
  27679. begin
  27680. pTDefRegMap(@Self)^.clr := $00000080;
  27681. end;
  27682. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  27683. begin
  27684. if thebits = 0 then
  27685. pTDefRegMap(@Self)^.clr := $00000080
  27686. else
  27687. pTDefRegMap(@Self)^.&set := $00000080;
  27688. end;
  27689. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  27690. begin
  27691. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27692. end;
  27693. procedure TPORTG_TRISG.setTRISG8; inline;
  27694. begin
  27695. pTDefRegMap(@Self)^.&set := $00000100;
  27696. end;
  27697. procedure TPORTG_TRISG.clearTRISG8; inline;
  27698. begin
  27699. pTDefRegMap(@Self)^.clr := $00000100;
  27700. end;
  27701. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  27702. begin
  27703. if thebits = 0 then
  27704. pTDefRegMap(@Self)^.clr := $00000100
  27705. else
  27706. pTDefRegMap(@Self)^.&set := $00000100;
  27707. end;
  27708. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  27709. begin
  27710. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27711. end;
  27712. procedure TPORTG_TRISG.setTRISG9; inline;
  27713. begin
  27714. pTDefRegMap(@Self)^.&set := $00000200;
  27715. end;
  27716. procedure TPORTG_TRISG.clearTRISG9; inline;
  27717. begin
  27718. pTDefRegMap(@Self)^.clr := $00000200;
  27719. end;
  27720. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  27721. begin
  27722. if thebits = 0 then
  27723. pTDefRegMap(@Self)^.clr := $00000200
  27724. else
  27725. pTDefRegMap(@Self)^.&set := $00000200;
  27726. end;
  27727. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  27728. begin
  27729. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27730. end;
  27731. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  27732. begin
  27733. pTDefRegMap(@Self)^.val := thebits;
  27734. end;
  27735. function TPORTG_TRISG.getw : TBits_32; inline;
  27736. begin
  27737. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27738. end;
  27739. procedure TPORTG_PORTG.setRG2; inline;
  27740. begin
  27741. pTDefRegMap(@Self)^.&set := $00000004;
  27742. end;
  27743. procedure TPORTG_PORTG.clearRG2; inline;
  27744. begin
  27745. pTDefRegMap(@Self)^.clr := $00000004;
  27746. end;
  27747. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  27748. begin
  27749. if thebits = 0 then
  27750. pTDefRegMap(@Self)^.clr := $00000004
  27751. else
  27752. pTDefRegMap(@Self)^.&set := $00000004;
  27753. end;
  27754. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  27755. begin
  27756. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27757. end;
  27758. procedure TPORTG_PORTG.setRG3; inline;
  27759. begin
  27760. pTDefRegMap(@Self)^.&set := $00000008;
  27761. end;
  27762. procedure TPORTG_PORTG.clearRG3; inline;
  27763. begin
  27764. pTDefRegMap(@Self)^.clr := $00000008;
  27765. end;
  27766. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  27767. begin
  27768. if thebits = 0 then
  27769. pTDefRegMap(@Self)^.clr := $00000008
  27770. else
  27771. pTDefRegMap(@Self)^.&set := $00000008;
  27772. end;
  27773. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  27774. begin
  27775. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27776. end;
  27777. procedure TPORTG_PORTG.setRG6; inline;
  27778. begin
  27779. pTDefRegMap(@Self)^.&set := $00000040;
  27780. end;
  27781. procedure TPORTG_PORTG.clearRG6; inline;
  27782. begin
  27783. pTDefRegMap(@Self)^.clr := $00000040;
  27784. end;
  27785. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  27786. begin
  27787. if thebits = 0 then
  27788. pTDefRegMap(@Self)^.clr := $00000040
  27789. else
  27790. pTDefRegMap(@Self)^.&set := $00000040;
  27791. end;
  27792. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  27793. begin
  27794. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27795. end;
  27796. procedure TPORTG_PORTG.setRG7; inline;
  27797. begin
  27798. pTDefRegMap(@Self)^.&set := $00000080;
  27799. end;
  27800. procedure TPORTG_PORTG.clearRG7; inline;
  27801. begin
  27802. pTDefRegMap(@Self)^.clr := $00000080;
  27803. end;
  27804. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  27805. begin
  27806. if thebits = 0 then
  27807. pTDefRegMap(@Self)^.clr := $00000080
  27808. else
  27809. pTDefRegMap(@Self)^.&set := $00000080;
  27810. end;
  27811. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  27812. begin
  27813. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27814. end;
  27815. procedure TPORTG_PORTG.setRG8; inline;
  27816. begin
  27817. pTDefRegMap(@Self)^.&set := $00000100;
  27818. end;
  27819. procedure TPORTG_PORTG.clearRG8; inline;
  27820. begin
  27821. pTDefRegMap(@Self)^.clr := $00000100;
  27822. end;
  27823. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  27824. begin
  27825. if thebits = 0 then
  27826. pTDefRegMap(@Self)^.clr := $00000100
  27827. else
  27828. pTDefRegMap(@Self)^.&set := $00000100;
  27829. end;
  27830. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  27831. begin
  27832. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27833. end;
  27834. procedure TPORTG_PORTG.setRG9; inline;
  27835. begin
  27836. pTDefRegMap(@Self)^.&set := $00000200;
  27837. end;
  27838. procedure TPORTG_PORTG.clearRG9; inline;
  27839. begin
  27840. pTDefRegMap(@Self)^.clr := $00000200;
  27841. end;
  27842. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  27843. begin
  27844. if thebits = 0 then
  27845. pTDefRegMap(@Self)^.clr := $00000200
  27846. else
  27847. pTDefRegMap(@Self)^.&set := $00000200;
  27848. end;
  27849. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  27850. begin
  27851. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27852. end;
  27853. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  27854. begin
  27855. pTDefRegMap(@Self)^.val := thebits;
  27856. end;
  27857. function TPORTG_PORTG.getw : TBits_32; inline;
  27858. begin
  27859. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27860. end;
  27861. procedure TPORTG_LATG.setLATG2; inline;
  27862. begin
  27863. pTDefRegMap(@Self)^.&set := $00000004;
  27864. end;
  27865. procedure TPORTG_LATG.clearLATG2; inline;
  27866. begin
  27867. pTDefRegMap(@Self)^.clr := $00000004;
  27868. end;
  27869. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  27870. begin
  27871. if thebits = 0 then
  27872. pTDefRegMap(@Self)^.clr := $00000004
  27873. else
  27874. pTDefRegMap(@Self)^.&set := $00000004;
  27875. end;
  27876. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  27877. begin
  27878. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27879. end;
  27880. procedure TPORTG_LATG.setLATG3; inline;
  27881. begin
  27882. pTDefRegMap(@Self)^.&set := $00000008;
  27883. end;
  27884. procedure TPORTG_LATG.clearLATG3; inline;
  27885. begin
  27886. pTDefRegMap(@Self)^.clr := $00000008;
  27887. end;
  27888. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  27889. begin
  27890. if thebits = 0 then
  27891. pTDefRegMap(@Self)^.clr := $00000008
  27892. else
  27893. pTDefRegMap(@Self)^.&set := $00000008;
  27894. end;
  27895. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  27896. begin
  27897. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27898. end;
  27899. procedure TPORTG_LATG.setLATG6; inline;
  27900. begin
  27901. pTDefRegMap(@Self)^.&set := $00000040;
  27902. end;
  27903. procedure TPORTG_LATG.clearLATG6; inline;
  27904. begin
  27905. pTDefRegMap(@Self)^.clr := $00000040;
  27906. end;
  27907. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  27908. begin
  27909. if thebits = 0 then
  27910. pTDefRegMap(@Self)^.clr := $00000040
  27911. else
  27912. pTDefRegMap(@Self)^.&set := $00000040;
  27913. end;
  27914. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  27915. begin
  27916. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27917. end;
  27918. procedure TPORTG_LATG.setLATG7; inline;
  27919. begin
  27920. pTDefRegMap(@Self)^.&set := $00000080;
  27921. end;
  27922. procedure TPORTG_LATG.clearLATG7; inline;
  27923. begin
  27924. pTDefRegMap(@Self)^.clr := $00000080;
  27925. end;
  27926. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  27927. begin
  27928. if thebits = 0 then
  27929. pTDefRegMap(@Self)^.clr := $00000080
  27930. else
  27931. pTDefRegMap(@Self)^.&set := $00000080;
  27932. end;
  27933. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  27934. begin
  27935. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27936. end;
  27937. procedure TPORTG_LATG.setLATG8; inline;
  27938. begin
  27939. pTDefRegMap(@Self)^.&set := $00000100;
  27940. end;
  27941. procedure TPORTG_LATG.clearLATG8; inline;
  27942. begin
  27943. pTDefRegMap(@Self)^.clr := $00000100;
  27944. end;
  27945. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  27946. begin
  27947. if thebits = 0 then
  27948. pTDefRegMap(@Self)^.clr := $00000100
  27949. else
  27950. pTDefRegMap(@Self)^.&set := $00000100;
  27951. end;
  27952. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  27953. begin
  27954. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27955. end;
  27956. procedure TPORTG_LATG.setLATG9; inline;
  27957. begin
  27958. pTDefRegMap(@Self)^.&set := $00000200;
  27959. end;
  27960. procedure TPORTG_LATG.clearLATG9; inline;
  27961. begin
  27962. pTDefRegMap(@Self)^.clr := $00000200;
  27963. end;
  27964. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  27965. begin
  27966. if thebits = 0 then
  27967. pTDefRegMap(@Self)^.clr := $00000200
  27968. else
  27969. pTDefRegMap(@Self)^.&set := $00000200;
  27970. end;
  27971. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  27972. begin
  27973. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27974. end;
  27975. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  27976. begin
  27977. pTDefRegMap(@Self)^.val := thebits;
  27978. end;
  27979. function TPORTG_LATG.getw : TBits_32; inline;
  27980. begin
  27981. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27982. end;
  27983. procedure TPORTG_ODCG.setODCG2; inline;
  27984. begin
  27985. pTDefRegMap(@Self)^.&set := $00000004;
  27986. end;
  27987. procedure TPORTG_ODCG.clearODCG2; inline;
  27988. begin
  27989. pTDefRegMap(@Self)^.clr := $00000004;
  27990. end;
  27991. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  27992. begin
  27993. if thebits = 0 then
  27994. pTDefRegMap(@Self)^.clr := $00000004
  27995. else
  27996. pTDefRegMap(@Self)^.&set := $00000004;
  27997. end;
  27998. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  27999. begin
  28000. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28001. end;
  28002. procedure TPORTG_ODCG.setODCG3; inline;
  28003. begin
  28004. pTDefRegMap(@Self)^.&set := $00000008;
  28005. end;
  28006. procedure TPORTG_ODCG.clearODCG3; inline;
  28007. begin
  28008. pTDefRegMap(@Self)^.clr := $00000008;
  28009. end;
  28010. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  28011. begin
  28012. if thebits = 0 then
  28013. pTDefRegMap(@Self)^.clr := $00000008
  28014. else
  28015. pTDefRegMap(@Self)^.&set := $00000008;
  28016. end;
  28017. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  28018. begin
  28019. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28020. end;
  28021. procedure TPORTG_ODCG.setODCG6; inline;
  28022. begin
  28023. pTDefRegMap(@Self)^.&set := $00000040;
  28024. end;
  28025. procedure TPORTG_ODCG.clearODCG6; inline;
  28026. begin
  28027. pTDefRegMap(@Self)^.clr := $00000040;
  28028. end;
  28029. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  28030. begin
  28031. if thebits = 0 then
  28032. pTDefRegMap(@Self)^.clr := $00000040
  28033. else
  28034. pTDefRegMap(@Self)^.&set := $00000040;
  28035. end;
  28036. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  28037. begin
  28038. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28039. end;
  28040. procedure TPORTG_ODCG.setODCG7; inline;
  28041. begin
  28042. pTDefRegMap(@Self)^.&set := $00000080;
  28043. end;
  28044. procedure TPORTG_ODCG.clearODCG7; inline;
  28045. begin
  28046. pTDefRegMap(@Self)^.clr := $00000080;
  28047. end;
  28048. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  28049. begin
  28050. if thebits = 0 then
  28051. pTDefRegMap(@Self)^.clr := $00000080
  28052. else
  28053. pTDefRegMap(@Self)^.&set := $00000080;
  28054. end;
  28055. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  28056. begin
  28057. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28058. end;
  28059. procedure TPORTG_ODCG.setODCG8; inline;
  28060. begin
  28061. pTDefRegMap(@Self)^.&set := $00000100;
  28062. end;
  28063. procedure TPORTG_ODCG.clearODCG8; inline;
  28064. begin
  28065. pTDefRegMap(@Self)^.clr := $00000100;
  28066. end;
  28067. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  28068. begin
  28069. if thebits = 0 then
  28070. pTDefRegMap(@Self)^.clr := $00000100
  28071. else
  28072. pTDefRegMap(@Self)^.&set := $00000100;
  28073. end;
  28074. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  28075. begin
  28076. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28077. end;
  28078. procedure TPORTG_ODCG.setODCG9; inline;
  28079. begin
  28080. pTDefRegMap(@Self)^.&set := $00000200;
  28081. end;
  28082. procedure TPORTG_ODCG.clearODCG9; inline;
  28083. begin
  28084. pTDefRegMap(@Self)^.clr := $00000200;
  28085. end;
  28086. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  28087. begin
  28088. if thebits = 0 then
  28089. pTDefRegMap(@Self)^.clr := $00000200
  28090. else
  28091. pTDefRegMap(@Self)^.&set := $00000200;
  28092. end;
  28093. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  28094. begin
  28095. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28096. end;
  28097. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  28098. begin
  28099. pTDefRegMap(@Self)^.val := thebits;
  28100. end;
  28101. function TPORTG_ODCG.getw : TBits_32; inline;
  28102. begin
  28103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28104. end;
  28105. procedure TPORTG_CNCON.setSIDL; inline;
  28106. begin
  28107. pTDefRegMap(@Self)^.&set := $00002000;
  28108. end;
  28109. procedure TPORTG_CNCON.clearSIDL; inline;
  28110. begin
  28111. pTDefRegMap(@Self)^.clr := $00002000;
  28112. end;
  28113. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  28114. begin
  28115. if thebits = 0 then
  28116. pTDefRegMap(@Self)^.clr := $00002000
  28117. else
  28118. pTDefRegMap(@Self)^.&set := $00002000;
  28119. end;
  28120. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  28121. begin
  28122. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28123. end;
  28124. procedure TPORTG_CNCON.setON; inline;
  28125. begin
  28126. pTDefRegMap(@Self)^.&set := $00008000;
  28127. end;
  28128. procedure TPORTG_CNCON.clearON; inline;
  28129. begin
  28130. pTDefRegMap(@Self)^.clr := $00008000;
  28131. end;
  28132. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  28133. begin
  28134. if thebits = 0 then
  28135. pTDefRegMap(@Self)^.clr := $00008000
  28136. else
  28137. pTDefRegMap(@Self)^.&set := $00008000;
  28138. end;
  28139. function TPORTG_CNCON.getON : TBits_1; inline;
  28140. begin
  28141. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28142. end;
  28143. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  28144. begin
  28145. pTDefRegMap(@Self)^.val := thebits;
  28146. end;
  28147. function TPORTG_CNCON.getw : TBits_32; inline;
  28148. begin
  28149. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28150. end;
  28151. procedure TPORTG_CNEN.setCNEN0; inline;
  28152. begin
  28153. pTDefRegMap(@Self)^.&set := $00000001;
  28154. end;
  28155. procedure TPORTG_CNEN.clearCNEN0; inline;
  28156. begin
  28157. pTDefRegMap(@Self)^.clr := $00000001;
  28158. end;
  28159. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  28160. begin
  28161. if thebits = 0 then
  28162. pTDefRegMap(@Self)^.clr := $00000001
  28163. else
  28164. pTDefRegMap(@Self)^.&set := $00000001;
  28165. end;
  28166. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  28167. begin
  28168. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28169. end;
  28170. procedure TPORTG_CNEN.setCNEN1; inline;
  28171. begin
  28172. pTDefRegMap(@Self)^.&set := $00000002;
  28173. end;
  28174. procedure TPORTG_CNEN.clearCNEN1; inline;
  28175. begin
  28176. pTDefRegMap(@Self)^.clr := $00000002;
  28177. end;
  28178. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  28179. begin
  28180. if thebits = 0 then
  28181. pTDefRegMap(@Self)^.clr := $00000002
  28182. else
  28183. pTDefRegMap(@Self)^.&set := $00000002;
  28184. end;
  28185. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  28186. begin
  28187. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28188. end;
  28189. procedure TPORTG_CNEN.setCNEN2; inline;
  28190. begin
  28191. pTDefRegMap(@Self)^.&set := $00000004;
  28192. end;
  28193. procedure TPORTG_CNEN.clearCNEN2; inline;
  28194. begin
  28195. pTDefRegMap(@Self)^.clr := $00000004;
  28196. end;
  28197. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  28198. begin
  28199. if thebits = 0 then
  28200. pTDefRegMap(@Self)^.clr := $00000004
  28201. else
  28202. pTDefRegMap(@Self)^.&set := $00000004;
  28203. end;
  28204. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  28205. begin
  28206. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28207. end;
  28208. procedure TPORTG_CNEN.setCNEN3; inline;
  28209. begin
  28210. pTDefRegMap(@Self)^.&set := $00000008;
  28211. end;
  28212. procedure TPORTG_CNEN.clearCNEN3; inline;
  28213. begin
  28214. pTDefRegMap(@Self)^.clr := $00000008;
  28215. end;
  28216. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  28217. begin
  28218. if thebits = 0 then
  28219. pTDefRegMap(@Self)^.clr := $00000008
  28220. else
  28221. pTDefRegMap(@Self)^.&set := $00000008;
  28222. end;
  28223. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  28224. begin
  28225. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28226. end;
  28227. procedure TPORTG_CNEN.setCNEN4; inline;
  28228. begin
  28229. pTDefRegMap(@Self)^.&set := $00000010;
  28230. end;
  28231. procedure TPORTG_CNEN.clearCNEN4; inline;
  28232. begin
  28233. pTDefRegMap(@Self)^.clr := $00000010;
  28234. end;
  28235. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  28236. begin
  28237. if thebits = 0 then
  28238. pTDefRegMap(@Self)^.clr := $00000010
  28239. else
  28240. pTDefRegMap(@Self)^.&set := $00000010;
  28241. end;
  28242. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  28243. begin
  28244. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28245. end;
  28246. procedure TPORTG_CNEN.setCNEN5; inline;
  28247. begin
  28248. pTDefRegMap(@Self)^.&set := $00000020;
  28249. end;
  28250. procedure TPORTG_CNEN.clearCNEN5; inline;
  28251. begin
  28252. pTDefRegMap(@Self)^.clr := $00000020;
  28253. end;
  28254. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  28255. begin
  28256. if thebits = 0 then
  28257. pTDefRegMap(@Self)^.clr := $00000020
  28258. else
  28259. pTDefRegMap(@Self)^.&set := $00000020;
  28260. end;
  28261. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  28262. begin
  28263. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28264. end;
  28265. procedure TPORTG_CNEN.setCNEN6; inline;
  28266. begin
  28267. pTDefRegMap(@Self)^.&set := $00000040;
  28268. end;
  28269. procedure TPORTG_CNEN.clearCNEN6; inline;
  28270. begin
  28271. pTDefRegMap(@Self)^.clr := $00000040;
  28272. end;
  28273. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  28274. begin
  28275. if thebits = 0 then
  28276. pTDefRegMap(@Self)^.clr := $00000040
  28277. else
  28278. pTDefRegMap(@Self)^.&set := $00000040;
  28279. end;
  28280. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  28281. begin
  28282. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28283. end;
  28284. procedure TPORTG_CNEN.setCNEN7; inline;
  28285. begin
  28286. pTDefRegMap(@Self)^.&set := $00000080;
  28287. end;
  28288. procedure TPORTG_CNEN.clearCNEN7; inline;
  28289. begin
  28290. pTDefRegMap(@Self)^.clr := $00000080;
  28291. end;
  28292. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  28293. begin
  28294. if thebits = 0 then
  28295. pTDefRegMap(@Self)^.clr := $00000080
  28296. else
  28297. pTDefRegMap(@Self)^.&set := $00000080;
  28298. end;
  28299. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  28300. begin
  28301. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28302. end;
  28303. procedure TPORTG_CNEN.setCNEN8; inline;
  28304. begin
  28305. pTDefRegMap(@Self)^.&set := $00000100;
  28306. end;
  28307. procedure TPORTG_CNEN.clearCNEN8; inline;
  28308. begin
  28309. pTDefRegMap(@Self)^.clr := $00000100;
  28310. end;
  28311. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  28312. begin
  28313. if thebits = 0 then
  28314. pTDefRegMap(@Self)^.clr := $00000100
  28315. else
  28316. pTDefRegMap(@Self)^.&set := $00000100;
  28317. end;
  28318. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  28319. begin
  28320. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28321. end;
  28322. procedure TPORTG_CNEN.setCNEN9; inline;
  28323. begin
  28324. pTDefRegMap(@Self)^.&set := $00000200;
  28325. end;
  28326. procedure TPORTG_CNEN.clearCNEN9; inline;
  28327. begin
  28328. pTDefRegMap(@Self)^.clr := $00000200;
  28329. end;
  28330. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  28331. begin
  28332. if thebits = 0 then
  28333. pTDefRegMap(@Self)^.clr := $00000200
  28334. else
  28335. pTDefRegMap(@Self)^.&set := $00000200;
  28336. end;
  28337. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  28338. begin
  28339. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28340. end;
  28341. procedure TPORTG_CNEN.setCNEN10; inline;
  28342. begin
  28343. pTDefRegMap(@Self)^.&set := $00000400;
  28344. end;
  28345. procedure TPORTG_CNEN.clearCNEN10; inline;
  28346. begin
  28347. pTDefRegMap(@Self)^.clr := $00000400;
  28348. end;
  28349. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  28350. begin
  28351. if thebits = 0 then
  28352. pTDefRegMap(@Self)^.clr := $00000400
  28353. else
  28354. pTDefRegMap(@Self)^.&set := $00000400;
  28355. end;
  28356. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  28357. begin
  28358. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28359. end;
  28360. procedure TPORTG_CNEN.setCNEN11; inline;
  28361. begin
  28362. pTDefRegMap(@Self)^.&set := $00000800;
  28363. end;
  28364. procedure TPORTG_CNEN.clearCNEN11; inline;
  28365. begin
  28366. pTDefRegMap(@Self)^.clr := $00000800;
  28367. end;
  28368. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  28369. begin
  28370. if thebits = 0 then
  28371. pTDefRegMap(@Self)^.clr := $00000800
  28372. else
  28373. pTDefRegMap(@Self)^.&set := $00000800;
  28374. end;
  28375. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  28376. begin
  28377. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28378. end;
  28379. procedure TPORTG_CNEN.setCNEN12; inline;
  28380. begin
  28381. pTDefRegMap(@Self)^.&set := $00001000;
  28382. end;
  28383. procedure TPORTG_CNEN.clearCNEN12; inline;
  28384. begin
  28385. pTDefRegMap(@Self)^.clr := $00001000;
  28386. end;
  28387. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  28388. begin
  28389. if thebits = 0 then
  28390. pTDefRegMap(@Self)^.clr := $00001000
  28391. else
  28392. pTDefRegMap(@Self)^.&set := $00001000;
  28393. end;
  28394. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  28395. begin
  28396. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28397. end;
  28398. procedure TPORTG_CNEN.setCNEN13; inline;
  28399. begin
  28400. pTDefRegMap(@Self)^.&set := $00002000;
  28401. end;
  28402. procedure TPORTG_CNEN.clearCNEN13; inline;
  28403. begin
  28404. pTDefRegMap(@Self)^.clr := $00002000;
  28405. end;
  28406. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  28407. begin
  28408. if thebits = 0 then
  28409. pTDefRegMap(@Self)^.clr := $00002000
  28410. else
  28411. pTDefRegMap(@Self)^.&set := $00002000;
  28412. end;
  28413. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  28414. begin
  28415. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28416. end;
  28417. procedure TPORTG_CNEN.setCNEN14; inline;
  28418. begin
  28419. pTDefRegMap(@Self)^.&set := $00004000;
  28420. end;
  28421. procedure TPORTG_CNEN.clearCNEN14; inline;
  28422. begin
  28423. pTDefRegMap(@Self)^.clr := $00004000;
  28424. end;
  28425. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  28426. begin
  28427. if thebits = 0 then
  28428. pTDefRegMap(@Self)^.clr := $00004000
  28429. else
  28430. pTDefRegMap(@Self)^.&set := $00004000;
  28431. end;
  28432. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  28433. begin
  28434. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28435. end;
  28436. procedure TPORTG_CNEN.setCNEN15; inline;
  28437. begin
  28438. pTDefRegMap(@Self)^.&set := $00008000;
  28439. end;
  28440. procedure TPORTG_CNEN.clearCNEN15; inline;
  28441. begin
  28442. pTDefRegMap(@Self)^.clr := $00008000;
  28443. end;
  28444. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  28445. begin
  28446. if thebits = 0 then
  28447. pTDefRegMap(@Self)^.clr := $00008000
  28448. else
  28449. pTDefRegMap(@Self)^.&set := $00008000;
  28450. end;
  28451. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  28452. begin
  28453. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28454. end;
  28455. procedure TPORTG_CNEN.setCNEN16; inline;
  28456. begin
  28457. pTDefRegMap(@Self)^.&set := $00010000;
  28458. end;
  28459. procedure TPORTG_CNEN.clearCNEN16; inline;
  28460. begin
  28461. pTDefRegMap(@Self)^.clr := $00010000;
  28462. end;
  28463. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  28464. begin
  28465. if thebits = 0 then
  28466. pTDefRegMap(@Self)^.clr := $00010000
  28467. else
  28468. pTDefRegMap(@Self)^.&set := $00010000;
  28469. end;
  28470. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  28471. begin
  28472. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28473. end;
  28474. procedure TPORTG_CNEN.setCNEN17; inline;
  28475. begin
  28476. pTDefRegMap(@Self)^.&set := $00020000;
  28477. end;
  28478. procedure TPORTG_CNEN.clearCNEN17; inline;
  28479. begin
  28480. pTDefRegMap(@Self)^.clr := $00020000;
  28481. end;
  28482. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  28483. begin
  28484. if thebits = 0 then
  28485. pTDefRegMap(@Self)^.clr := $00020000
  28486. else
  28487. pTDefRegMap(@Self)^.&set := $00020000;
  28488. end;
  28489. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  28490. begin
  28491. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28492. end;
  28493. procedure TPORTG_CNEN.setCNEN18; inline;
  28494. begin
  28495. pTDefRegMap(@Self)^.&set := $00040000;
  28496. end;
  28497. procedure TPORTG_CNEN.clearCNEN18; inline;
  28498. begin
  28499. pTDefRegMap(@Self)^.clr := $00040000;
  28500. end;
  28501. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  28502. begin
  28503. if thebits = 0 then
  28504. pTDefRegMap(@Self)^.clr := $00040000
  28505. else
  28506. pTDefRegMap(@Self)^.&set := $00040000;
  28507. end;
  28508. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  28509. begin
  28510. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28511. end;
  28512. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  28513. begin
  28514. pTDefRegMap(@Self)^.val := thebits;
  28515. end;
  28516. function TPORTG_CNEN.getw : TBits_32; inline;
  28517. begin
  28518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28519. end;
  28520. procedure TPORTG_CNPUE.setCNPUE0; inline;
  28521. begin
  28522. pTDefRegMap(@Self)^.&set := $00000001;
  28523. end;
  28524. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  28525. begin
  28526. pTDefRegMap(@Self)^.clr := $00000001;
  28527. end;
  28528. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  28529. begin
  28530. if thebits = 0 then
  28531. pTDefRegMap(@Self)^.clr := $00000001
  28532. else
  28533. pTDefRegMap(@Self)^.&set := $00000001;
  28534. end;
  28535. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  28536. begin
  28537. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28538. end;
  28539. procedure TPORTG_CNPUE.setCNPUE1; inline;
  28540. begin
  28541. pTDefRegMap(@Self)^.&set := $00000002;
  28542. end;
  28543. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  28544. begin
  28545. pTDefRegMap(@Self)^.clr := $00000002;
  28546. end;
  28547. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  28548. begin
  28549. if thebits = 0 then
  28550. pTDefRegMap(@Self)^.clr := $00000002
  28551. else
  28552. pTDefRegMap(@Self)^.&set := $00000002;
  28553. end;
  28554. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  28555. begin
  28556. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28557. end;
  28558. procedure TPORTG_CNPUE.setCNPUE2; inline;
  28559. begin
  28560. pTDefRegMap(@Self)^.&set := $00000004;
  28561. end;
  28562. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  28563. begin
  28564. pTDefRegMap(@Self)^.clr := $00000004;
  28565. end;
  28566. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  28567. begin
  28568. if thebits = 0 then
  28569. pTDefRegMap(@Self)^.clr := $00000004
  28570. else
  28571. pTDefRegMap(@Self)^.&set := $00000004;
  28572. end;
  28573. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  28574. begin
  28575. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28576. end;
  28577. procedure TPORTG_CNPUE.setCNPUE3; inline;
  28578. begin
  28579. pTDefRegMap(@Self)^.&set := $00000008;
  28580. end;
  28581. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  28582. begin
  28583. pTDefRegMap(@Self)^.clr := $00000008;
  28584. end;
  28585. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  28586. begin
  28587. if thebits = 0 then
  28588. pTDefRegMap(@Self)^.clr := $00000008
  28589. else
  28590. pTDefRegMap(@Self)^.&set := $00000008;
  28591. end;
  28592. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  28593. begin
  28594. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28595. end;
  28596. procedure TPORTG_CNPUE.setCNPUE4; inline;
  28597. begin
  28598. pTDefRegMap(@Self)^.&set := $00000010;
  28599. end;
  28600. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  28601. begin
  28602. pTDefRegMap(@Self)^.clr := $00000010;
  28603. end;
  28604. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  28605. begin
  28606. if thebits = 0 then
  28607. pTDefRegMap(@Self)^.clr := $00000010
  28608. else
  28609. pTDefRegMap(@Self)^.&set := $00000010;
  28610. end;
  28611. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  28612. begin
  28613. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28614. end;
  28615. procedure TPORTG_CNPUE.setCNPUE5; inline;
  28616. begin
  28617. pTDefRegMap(@Self)^.&set := $00000020;
  28618. end;
  28619. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  28620. begin
  28621. pTDefRegMap(@Self)^.clr := $00000020;
  28622. end;
  28623. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  28624. begin
  28625. if thebits = 0 then
  28626. pTDefRegMap(@Self)^.clr := $00000020
  28627. else
  28628. pTDefRegMap(@Self)^.&set := $00000020;
  28629. end;
  28630. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  28631. begin
  28632. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28633. end;
  28634. procedure TPORTG_CNPUE.setCNPUE6; inline;
  28635. begin
  28636. pTDefRegMap(@Self)^.&set := $00000040;
  28637. end;
  28638. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  28639. begin
  28640. pTDefRegMap(@Self)^.clr := $00000040;
  28641. end;
  28642. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  28643. begin
  28644. if thebits = 0 then
  28645. pTDefRegMap(@Self)^.clr := $00000040
  28646. else
  28647. pTDefRegMap(@Self)^.&set := $00000040;
  28648. end;
  28649. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  28650. begin
  28651. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28652. end;
  28653. procedure TPORTG_CNPUE.setCNPUE7; inline;
  28654. begin
  28655. pTDefRegMap(@Self)^.&set := $00000080;
  28656. end;
  28657. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  28658. begin
  28659. pTDefRegMap(@Self)^.clr := $00000080;
  28660. end;
  28661. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  28662. begin
  28663. if thebits = 0 then
  28664. pTDefRegMap(@Self)^.clr := $00000080
  28665. else
  28666. pTDefRegMap(@Self)^.&set := $00000080;
  28667. end;
  28668. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  28669. begin
  28670. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28671. end;
  28672. procedure TPORTG_CNPUE.setCNPUE8; inline;
  28673. begin
  28674. pTDefRegMap(@Self)^.&set := $00000100;
  28675. end;
  28676. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  28677. begin
  28678. pTDefRegMap(@Self)^.clr := $00000100;
  28679. end;
  28680. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  28681. begin
  28682. if thebits = 0 then
  28683. pTDefRegMap(@Self)^.clr := $00000100
  28684. else
  28685. pTDefRegMap(@Self)^.&set := $00000100;
  28686. end;
  28687. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  28688. begin
  28689. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28690. end;
  28691. procedure TPORTG_CNPUE.setCNPUE9; inline;
  28692. begin
  28693. pTDefRegMap(@Self)^.&set := $00000200;
  28694. end;
  28695. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  28696. begin
  28697. pTDefRegMap(@Self)^.clr := $00000200;
  28698. end;
  28699. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  28700. begin
  28701. if thebits = 0 then
  28702. pTDefRegMap(@Self)^.clr := $00000200
  28703. else
  28704. pTDefRegMap(@Self)^.&set := $00000200;
  28705. end;
  28706. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  28707. begin
  28708. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28709. end;
  28710. procedure TPORTG_CNPUE.setCNPUE10; inline;
  28711. begin
  28712. pTDefRegMap(@Self)^.&set := $00000400;
  28713. end;
  28714. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  28715. begin
  28716. pTDefRegMap(@Self)^.clr := $00000400;
  28717. end;
  28718. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  28719. begin
  28720. if thebits = 0 then
  28721. pTDefRegMap(@Self)^.clr := $00000400
  28722. else
  28723. pTDefRegMap(@Self)^.&set := $00000400;
  28724. end;
  28725. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  28726. begin
  28727. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28728. end;
  28729. procedure TPORTG_CNPUE.setCNPUE11; inline;
  28730. begin
  28731. pTDefRegMap(@Self)^.&set := $00000800;
  28732. end;
  28733. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  28734. begin
  28735. pTDefRegMap(@Self)^.clr := $00000800;
  28736. end;
  28737. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  28738. begin
  28739. if thebits = 0 then
  28740. pTDefRegMap(@Self)^.clr := $00000800
  28741. else
  28742. pTDefRegMap(@Self)^.&set := $00000800;
  28743. end;
  28744. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  28745. begin
  28746. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28747. end;
  28748. procedure TPORTG_CNPUE.setCNPUE12; inline;
  28749. begin
  28750. pTDefRegMap(@Self)^.&set := $00001000;
  28751. end;
  28752. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  28753. begin
  28754. pTDefRegMap(@Self)^.clr := $00001000;
  28755. end;
  28756. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  28757. begin
  28758. if thebits = 0 then
  28759. pTDefRegMap(@Self)^.clr := $00001000
  28760. else
  28761. pTDefRegMap(@Self)^.&set := $00001000;
  28762. end;
  28763. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  28764. begin
  28765. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28766. end;
  28767. procedure TPORTG_CNPUE.setCNPUE13; inline;
  28768. begin
  28769. pTDefRegMap(@Self)^.&set := $00002000;
  28770. end;
  28771. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  28772. begin
  28773. pTDefRegMap(@Self)^.clr := $00002000;
  28774. end;
  28775. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  28776. begin
  28777. if thebits = 0 then
  28778. pTDefRegMap(@Self)^.clr := $00002000
  28779. else
  28780. pTDefRegMap(@Self)^.&set := $00002000;
  28781. end;
  28782. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  28783. begin
  28784. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28785. end;
  28786. procedure TPORTG_CNPUE.setCNPUE14; inline;
  28787. begin
  28788. pTDefRegMap(@Self)^.&set := $00004000;
  28789. end;
  28790. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  28791. begin
  28792. pTDefRegMap(@Self)^.clr := $00004000;
  28793. end;
  28794. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  28795. begin
  28796. if thebits = 0 then
  28797. pTDefRegMap(@Self)^.clr := $00004000
  28798. else
  28799. pTDefRegMap(@Self)^.&set := $00004000;
  28800. end;
  28801. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  28802. begin
  28803. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28804. end;
  28805. procedure TPORTG_CNPUE.setCNPUE15; inline;
  28806. begin
  28807. pTDefRegMap(@Self)^.&set := $00008000;
  28808. end;
  28809. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  28810. begin
  28811. pTDefRegMap(@Self)^.clr := $00008000;
  28812. end;
  28813. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  28814. begin
  28815. if thebits = 0 then
  28816. pTDefRegMap(@Self)^.clr := $00008000
  28817. else
  28818. pTDefRegMap(@Self)^.&set := $00008000;
  28819. end;
  28820. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  28821. begin
  28822. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28823. end;
  28824. procedure TPORTG_CNPUE.setCNPUE16; inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.&set := $00010000;
  28827. end;
  28828. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.clr := $00010000;
  28831. end;
  28832. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  28833. begin
  28834. if thebits = 0 then
  28835. pTDefRegMap(@Self)^.clr := $00010000
  28836. else
  28837. pTDefRegMap(@Self)^.&set := $00010000;
  28838. end;
  28839. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  28840. begin
  28841. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28842. end;
  28843. procedure TPORTG_CNPUE.setCNPUE17; inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.&set := $00020000;
  28846. end;
  28847. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  28848. begin
  28849. pTDefRegMap(@Self)^.clr := $00020000;
  28850. end;
  28851. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  28852. begin
  28853. if thebits = 0 then
  28854. pTDefRegMap(@Self)^.clr := $00020000
  28855. else
  28856. pTDefRegMap(@Self)^.&set := $00020000;
  28857. end;
  28858. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  28859. begin
  28860. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28861. end;
  28862. procedure TPORTG_CNPUE.setCNPUE18; inline;
  28863. begin
  28864. pTDefRegMap(@Self)^.&set := $00040000;
  28865. end;
  28866. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  28867. begin
  28868. pTDefRegMap(@Self)^.clr := $00040000;
  28869. end;
  28870. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  28871. begin
  28872. if thebits = 0 then
  28873. pTDefRegMap(@Self)^.clr := $00040000
  28874. else
  28875. pTDefRegMap(@Self)^.&set := $00040000;
  28876. end;
  28877. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  28878. begin
  28879. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28880. end;
  28881. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.val := thebits;
  28884. end;
  28885. function TPORTG_CNPUE.getw : TBits_32; inline;
  28886. begin
  28887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28888. end;
  28889. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  28890. begin
  28891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  28892. end;
  28893. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  28894. begin
  28895. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  28896. end;
  28897. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  28898. begin
  28899. pTDefRegMap(@Self)^.val := thebits;
  28900. end;
  28901. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  28902. begin
  28903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28904. end;
  28905. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  28906. begin
  28907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  28908. end;
  28909. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  28910. begin
  28911. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  28912. end;
  28913. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  28914. begin
  28915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  28916. end;
  28917. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  28918. begin
  28919. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  28920. end;
  28921. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  28922. begin
  28923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  28924. end;
  28925. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  28926. begin
  28927. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  28928. end;
  28929. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  28930. begin
  28931. pTDefRegMap(@Self)^.&set := $00008000;
  28932. end;
  28933. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  28934. begin
  28935. pTDefRegMap(@Self)^.clr := $00008000;
  28936. end;
  28937. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  28938. begin
  28939. if thebits = 0 then
  28940. pTDefRegMap(@Self)^.clr := $00008000
  28941. else
  28942. pTDefRegMap(@Self)^.&set := $00008000;
  28943. end;
  28944. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  28945. begin
  28946. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28947. end;
  28948. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  28949. begin
  28950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  28951. end;
  28952. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  28953. begin
  28954. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  28955. end;
  28956. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  28957. begin
  28958. pTDefRegMap(@Self)^.val := thebits;
  28959. end;
  28960. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  28961. begin
  28962. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28963. end;
  28964. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  28965. begin
  28966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  28967. end;
  28968. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  28969. begin
  28970. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  28971. end;
  28972. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  28973. begin
  28974. pTDefRegMap(@Self)^.&set := $00000020;
  28975. end;
  28976. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  28977. begin
  28978. pTDefRegMap(@Self)^.clr := $00000020;
  28979. end;
  28980. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  28981. begin
  28982. if thebits = 0 then
  28983. pTDefRegMap(@Self)^.clr := $00000020
  28984. else
  28985. pTDefRegMap(@Self)^.&set := $00000020;
  28986. end;
  28987. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  28988. begin
  28989. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28990. end;
  28991. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  28992. begin
  28993. pTDefRegMap(@Self)^.&set := $00000080;
  28994. end;
  28995. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  28996. begin
  28997. pTDefRegMap(@Self)^.clr := $00000080;
  28998. end;
  28999. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  29000. begin
  29001. if thebits = 0 then
  29002. pTDefRegMap(@Self)^.clr := $00000080
  29003. else
  29004. pTDefRegMap(@Self)^.&set := $00000080;
  29005. end;
  29006. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  29007. begin
  29008. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29009. end;
  29010. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  29011. begin
  29012. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29013. end;
  29014. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  29015. begin
  29016. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29017. end;
  29018. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  29019. begin
  29020. pTDefRegMap(@Self)^.&set := $00000400;
  29021. end;
  29022. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  29023. begin
  29024. pTDefRegMap(@Self)^.clr := $00000400;
  29025. end;
  29026. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  29027. begin
  29028. if thebits = 0 then
  29029. pTDefRegMap(@Self)^.clr := $00000400
  29030. else
  29031. pTDefRegMap(@Self)^.&set := $00000400;
  29032. end;
  29033. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  29034. begin
  29035. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29036. end;
  29037. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  29038. begin
  29039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  29040. end;
  29041. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  29042. begin
  29043. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  29044. end;
  29045. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  29046. begin
  29047. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29048. end;
  29049. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  29050. begin
  29051. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29052. end;
  29053. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  29054. begin
  29055. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  29056. end;
  29057. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  29058. begin
  29059. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  29060. end;
  29061. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  29062. begin
  29063. pTDefRegMap(@Self)^.&set := $00800000;
  29064. end;
  29065. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  29066. begin
  29067. pTDefRegMap(@Self)^.clr := $00800000;
  29068. end;
  29069. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  29070. begin
  29071. if thebits = 0 then
  29072. pTDefRegMap(@Self)^.clr := $00800000
  29073. else
  29074. pTDefRegMap(@Self)^.&set := $00800000;
  29075. end;
  29076. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  29077. begin
  29078. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  29079. end;
  29080. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.val := thebits;
  29083. end;
  29084. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  29085. begin
  29086. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29087. end;
  29088. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29091. end;
  29092. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  29093. begin
  29094. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29095. end;
  29096. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  29097. begin
  29098. pTDefRegMap(@Self)^.&set := $00000008;
  29099. end;
  29100. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  29101. begin
  29102. pTDefRegMap(@Self)^.clr := $00000008;
  29103. end;
  29104. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  29105. begin
  29106. if thebits = 0 then
  29107. pTDefRegMap(@Self)^.clr := $00000008
  29108. else
  29109. pTDefRegMap(@Self)^.&set := $00000008;
  29110. end;
  29111. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  29112. begin
  29113. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29114. end;
  29115. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  29118. end;
  29119. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  29120. begin
  29121. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  29122. end;
  29123. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.&set := $01000000;
  29126. end;
  29127. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  29128. begin
  29129. pTDefRegMap(@Self)^.clr := $01000000;
  29130. end;
  29131. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  29132. begin
  29133. if thebits = 0 then
  29134. pTDefRegMap(@Self)^.clr := $01000000
  29135. else
  29136. pTDefRegMap(@Self)^.&set := $01000000;
  29137. end;
  29138. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  29139. begin
  29140. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29141. end;
  29142. procedure TDEVCFG_DEVCFG0.setCP; inline;
  29143. begin
  29144. pTDefRegMap(@Self)^.&set := $10000000;
  29145. end;
  29146. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  29147. begin
  29148. pTDefRegMap(@Self)^.clr := $10000000;
  29149. end;
  29150. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  29151. begin
  29152. if thebits = 0 then
  29153. pTDefRegMap(@Self)^.clr := $10000000
  29154. else
  29155. pTDefRegMap(@Self)^.&set := $10000000;
  29156. end;
  29157. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  29158. begin
  29159. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  29160. end;
  29161. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  29162. begin
  29163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29164. end;
  29165. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  29166. begin
  29167. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29168. end;
  29169. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  29170. begin
  29171. pTDefRegMap(@Self)^.val := thebits;
  29172. end;
  29173. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  29174. begin
  29175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29176. end;
  29177. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  29178. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  29179. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  29180. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  29181. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  29182. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  29183. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  29184. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  29185. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  29186. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  29187. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  29188. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  29189. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  29190. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  29191. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  29192. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  29193. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  29194. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  29195. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  29196. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  29197. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  29198. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  29199. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  29200. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  29201. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  29202. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  29203. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  29204. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  29205. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  29206. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  29207. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  29208. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  29209. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  29210. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  29211. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  29212. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  29213. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  29214. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  29215. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  29216. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  29217. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  29218. procedure Vectors; assembler; nostackframe;
  29219. label interrupt_vectors;
  29220. asm
  29221. .section ".init.interrupt_vectors,\"ax\",@progbits"
  29222. interrupt_vectors:
  29223. j _CORE_TIMER_VECTOR_interrupt
  29224. nop
  29225. nop
  29226. nop
  29227. nop
  29228. nop
  29229. nop
  29230. nop
  29231. j _CORE_SOFTWARE_0_VECTOR_interrupt
  29232. nop
  29233. nop
  29234. nop
  29235. nop
  29236. nop
  29237. nop
  29238. nop
  29239. j _CORE_SOFTWARE_1_VECTOR_interrupt
  29240. nop
  29241. nop
  29242. nop
  29243. nop
  29244. nop
  29245. nop
  29246. nop
  29247. j _EXTERNAL_0_VECTOR_interrupt
  29248. nop
  29249. nop
  29250. nop
  29251. nop
  29252. nop
  29253. nop
  29254. nop
  29255. j _TIMER_1_VECTOR_interrupt
  29256. nop
  29257. nop
  29258. nop
  29259. nop
  29260. nop
  29261. nop
  29262. nop
  29263. j _INPUT_CAPTURE_1_VECTOR_interrupt
  29264. nop
  29265. nop
  29266. nop
  29267. nop
  29268. nop
  29269. nop
  29270. nop
  29271. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  29272. nop
  29273. nop
  29274. nop
  29275. nop
  29276. nop
  29277. nop
  29278. nop
  29279. j _EXTERNAL_1_VECTOR_interrupt
  29280. nop
  29281. nop
  29282. nop
  29283. nop
  29284. nop
  29285. nop
  29286. nop
  29287. j _TIMER_2_VECTOR_interrupt
  29288. nop
  29289. nop
  29290. nop
  29291. nop
  29292. nop
  29293. nop
  29294. nop
  29295. j _INPUT_CAPTURE_2_VECTOR_interrupt
  29296. nop
  29297. nop
  29298. nop
  29299. nop
  29300. nop
  29301. nop
  29302. nop
  29303. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  29304. nop
  29305. nop
  29306. nop
  29307. nop
  29308. nop
  29309. nop
  29310. nop
  29311. j _EXTERNAL_2_VECTOR_interrupt
  29312. nop
  29313. nop
  29314. nop
  29315. nop
  29316. nop
  29317. nop
  29318. nop
  29319. j _TIMER_3_VECTOR_interrupt
  29320. nop
  29321. nop
  29322. nop
  29323. nop
  29324. nop
  29325. nop
  29326. nop
  29327. j _INPUT_CAPTURE_3_VECTOR_interrupt
  29328. nop
  29329. nop
  29330. nop
  29331. nop
  29332. nop
  29333. nop
  29334. nop
  29335. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  29336. nop
  29337. nop
  29338. nop
  29339. nop
  29340. nop
  29341. nop
  29342. nop
  29343. j _EXTERNAL_3_VECTOR_interrupt
  29344. nop
  29345. nop
  29346. nop
  29347. nop
  29348. nop
  29349. nop
  29350. nop
  29351. j _TIMER_4_VECTOR_interrupt
  29352. nop
  29353. nop
  29354. nop
  29355. nop
  29356. nop
  29357. nop
  29358. nop
  29359. j _INPUT_CAPTURE_4_VECTOR_interrupt
  29360. nop
  29361. nop
  29362. nop
  29363. nop
  29364. nop
  29365. nop
  29366. nop
  29367. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  29368. nop
  29369. nop
  29370. nop
  29371. nop
  29372. nop
  29373. nop
  29374. nop
  29375. j _EXTERNAL_4_VECTOR_interrupt
  29376. nop
  29377. nop
  29378. nop
  29379. nop
  29380. nop
  29381. nop
  29382. nop
  29383. j _TIMER_5_VECTOR_interrupt
  29384. nop
  29385. nop
  29386. nop
  29387. nop
  29388. nop
  29389. nop
  29390. nop
  29391. j _INPUT_CAPTURE_5_VECTOR_interrupt
  29392. nop
  29393. nop
  29394. nop
  29395. nop
  29396. nop
  29397. nop
  29398. nop
  29399. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  29400. nop
  29401. nop
  29402. nop
  29403. nop
  29404. nop
  29405. nop
  29406. nop
  29407. nop
  29408. nop
  29409. nop
  29410. nop
  29411. nop
  29412. nop
  29413. nop
  29414. nop
  29415. j _UART_1_VECTOR_interrupt
  29416. nop
  29417. nop
  29418. nop
  29419. nop
  29420. nop
  29421. nop
  29422. nop
  29423. j _I2C_1_VECTOR_interrupt
  29424. nop
  29425. nop
  29426. nop
  29427. nop
  29428. nop
  29429. nop
  29430. nop
  29431. j _CHANGE_NOTICE_VECTOR_interrupt
  29432. nop
  29433. nop
  29434. nop
  29435. nop
  29436. nop
  29437. nop
  29438. nop
  29439. j _ADC_VECTOR_interrupt
  29440. nop
  29441. nop
  29442. nop
  29443. nop
  29444. nop
  29445. nop
  29446. nop
  29447. j _PMP_VECTOR_interrupt
  29448. nop
  29449. nop
  29450. nop
  29451. nop
  29452. nop
  29453. nop
  29454. nop
  29455. j _COMPARATOR_1_VECTOR_interrupt
  29456. nop
  29457. nop
  29458. nop
  29459. nop
  29460. nop
  29461. nop
  29462. nop
  29463. j _COMPARATOR_2_VECTOR_interrupt
  29464. nop
  29465. nop
  29466. nop
  29467. nop
  29468. nop
  29469. nop
  29470. nop
  29471. j _SPI_2_VECTOR_interrupt
  29472. nop
  29473. nop
  29474. nop
  29475. nop
  29476. nop
  29477. nop
  29478. nop
  29479. j _UART_2_VECTOR_interrupt
  29480. nop
  29481. nop
  29482. nop
  29483. nop
  29484. nop
  29485. nop
  29486. nop
  29487. j _I2C_2_VECTOR_interrupt
  29488. nop
  29489. nop
  29490. nop
  29491. nop
  29492. nop
  29493. nop
  29494. nop
  29495. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  29496. nop
  29497. nop
  29498. nop
  29499. nop
  29500. nop
  29501. nop
  29502. nop
  29503. j _RTCC_VECTOR_interrupt
  29504. nop
  29505. nop
  29506. nop
  29507. nop
  29508. nop
  29509. nop
  29510. nop
  29511. j _DMA_0_VECTOR_interrupt
  29512. nop
  29513. nop
  29514. nop
  29515. nop
  29516. nop
  29517. nop
  29518. nop
  29519. j _DMA_1_VECTOR_interrupt
  29520. nop
  29521. nop
  29522. nop
  29523. nop
  29524. nop
  29525. nop
  29526. nop
  29527. j _DMA_2_VECTOR_interrupt
  29528. nop
  29529. nop
  29530. nop
  29531. nop
  29532. nop
  29533. nop
  29534. nop
  29535. j _DMA_3_VECTOR_interrupt
  29536. nop
  29537. nop
  29538. nop
  29539. nop
  29540. nop
  29541. nop
  29542. nop
  29543. nop
  29544. nop
  29545. nop
  29546. nop
  29547. nop
  29548. nop
  29549. nop
  29550. nop
  29551. nop
  29552. nop
  29553. nop
  29554. nop
  29555. nop
  29556. nop
  29557. nop
  29558. nop
  29559. nop
  29560. nop
  29561. nop
  29562. nop
  29563. nop
  29564. nop
  29565. nop
  29566. nop
  29567. nop
  29568. nop
  29569. nop
  29570. nop
  29571. nop
  29572. nop
  29573. nop
  29574. nop
  29575. j _FCE_VECTOR_interrupt
  29576. nop
  29577. nop
  29578. nop
  29579. nop
  29580. nop
  29581. nop
  29582. nop
  29583. j _USB_1_VECTOR_interrupt
  29584. nop
  29585. nop
  29586. nop
  29587. nop
  29588. nop
  29589. nop
  29590. nop
  29591. .weak _CORE_TIMER_VECTOR_interrupt
  29592. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  29593. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  29594. .weak _EXTERNAL_0_VECTOR_interrupt
  29595. .weak _TIMER_1_VECTOR_interrupt
  29596. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  29597. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  29598. .weak _EXTERNAL_1_VECTOR_interrupt
  29599. .weak _TIMER_2_VECTOR_interrupt
  29600. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  29601. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  29602. .weak _EXTERNAL_2_VECTOR_interrupt
  29603. .weak _TIMER_3_VECTOR_interrupt
  29604. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  29605. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  29606. .weak _EXTERNAL_3_VECTOR_interrupt
  29607. .weak _TIMER_4_VECTOR_interrupt
  29608. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  29609. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  29610. .weak _EXTERNAL_4_VECTOR_interrupt
  29611. .weak _TIMER_5_VECTOR_interrupt
  29612. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  29613. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  29614. .weak _UART_1_VECTOR_interrupt
  29615. .weak _I2C_1_VECTOR_interrupt
  29616. .weak _CHANGE_NOTICE_VECTOR_interrupt
  29617. .weak _ADC_VECTOR_interrupt
  29618. .weak _PMP_VECTOR_interrupt
  29619. .weak _COMPARATOR_1_VECTOR_interrupt
  29620. .weak _COMPARATOR_2_VECTOR_interrupt
  29621. .weak _SPI_2_VECTOR_interrupt
  29622. .weak _UART_2_VECTOR_interrupt
  29623. .weak _I2C_2_VECTOR_interrupt
  29624. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  29625. .weak _RTCC_VECTOR_interrupt
  29626. .weak _DMA_0_VECTOR_interrupt
  29627. .weak _DMA_1_VECTOR_interrupt
  29628. .weak _DMA_2_VECTOR_interrupt
  29629. .weak _DMA_3_VECTOR_interrupt
  29630. .weak _FCE_VECTOR_interrupt
  29631. .weak _USB_1_VECTOR_interrupt
  29632. .text
  29633. end;
  29634. end.