pic32mx210f016d.pp 1.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414
  1. unit pic32mx210f016d;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. TCFG_PMD5 = record
  5167. private
  5168. function getI2C1MD : TBits_1; inline;
  5169. function getI2C2MD : TBits_1; inline;
  5170. function getSPI1MD : TBits_1; inline;
  5171. function getSPI2MD : TBits_1; inline;
  5172. function getU1MD : TBits_1; inline;
  5173. function getU2MD : TBits_1; inline;
  5174. function getUSB1MD : TBits_1; inline;
  5175. function getUSBMD : TBits_1; inline;
  5176. procedure setI2C1MD(thebits : TBits_1); inline;
  5177. procedure setI2C2MD(thebits : TBits_1); inline;
  5178. procedure setSPI1MD(thebits : TBits_1); inline;
  5179. procedure setSPI2MD(thebits : TBits_1); inline;
  5180. procedure setU1MD(thebits : TBits_1); inline;
  5181. procedure setU2MD(thebits : TBits_1); inline;
  5182. procedure setUSB1MD(thebits : TBits_1); inline;
  5183. procedure setUSBMD(thebits : TBits_1); inline;
  5184. public
  5185. procedure clearI2C1MD; inline;
  5186. procedure clearI2C2MD; inline;
  5187. procedure clearSPI1MD; inline;
  5188. procedure clearSPI2MD; inline;
  5189. procedure clearU1MD; inline;
  5190. procedure clearU2MD; inline;
  5191. procedure clearUSB1MD; inline;
  5192. procedure clearUSBMD; inline;
  5193. procedure setI2C1MD; inline;
  5194. procedure setI2C2MD; inline;
  5195. procedure setSPI1MD; inline;
  5196. procedure setSPI2MD; inline;
  5197. procedure setU1MD; inline;
  5198. procedure setU2MD; inline;
  5199. procedure setUSB1MD; inline;
  5200. procedure setUSBMD; inline;
  5201. property I2C1MD : TBits_1 read getI2C1MD write setI2C1MD;
  5202. property I2C2MD : TBits_1 read getI2C2MD write setI2C2MD;
  5203. property SPI1MD : TBits_1 read getSPI1MD write setSPI1MD;
  5204. property SPI2MD : TBits_1 read getSPI2MD write setSPI2MD;
  5205. property U1MD : TBits_1 read getU1MD write setU1MD;
  5206. property U2MD : TBits_1 read getU2MD write setU2MD;
  5207. property USB1MD : TBits_1 read getUSB1MD write setUSB1MD;
  5208. property USBMD : TBits_1 read getUSBMD write setUSBMD;
  5209. end;
  5210. type
  5211. TCFGRegisters = record
  5212. CFGCON : longWord;
  5213. DDPCON : longWord;
  5214. DEVID : longWord;
  5215. SYSKEY : longWord;
  5216. SYSKEYCLR : longWord;
  5217. SYSKEYSET : longWord;
  5218. SYSKEYINV : longWord;
  5219. PMD1 : longWord;
  5220. PMD1CLR : longWord;
  5221. PMD1SET : longWord;
  5222. PMD1INV : longWord;
  5223. PMD2 : longWord;
  5224. PMD2CLR : longWord;
  5225. PMD2SET : longWord;
  5226. PMD2INV : longWord;
  5227. PMD3 : longWord;
  5228. PMD3CLR : longWord;
  5229. PMD3SET : longWord;
  5230. PMD3INV : longWord;
  5231. PMD4 : longWord;
  5232. PMD4CLR : longWord;
  5233. PMD4SET : longWord;
  5234. PMD4INV : longWord;
  5235. PMD5bits : TCFG_PMD5;
  5236. PMD5 : longWord;
  5237. PMD5CLR : longWord;
  5238. PMD5SET : longWord;
  5239. PMD5INV : longWord;
  5240. PMD6 : longWord;
  5241. PMD6CLR : longWord;
  5242. PMD6SET : longWord;
  5243. PMD6INV : longWord;
  5244. end;
  5245. TNVM_NVMCON = record
  5246. private
  5247. function getLVDERR : TBits_1; inline;
  5248. function getLVDSTAT : TBits_1; inline;
  5249. function getNVMOP : TBits_4; inline;
  5250. function getNVMOP0 : TBits_1; inline;
  5251. function getNVMOP1 : TBits_1; inline;
  5252. function getNVMOP2 : TBits_1; inline;
  5253. function getNVMOP3 : TBits_1; inline;
  5254. function getPROGOP : TBits_4; inline;
  5255. function getPROGOP0 : TBits_1; inline;
  5256. function getPROGOP1 : TBits_1; inline;
  5257. function getPROGOP2 : TBits_1; inline;
  5258. function getPROGOP3 : TBits_1; inline;
  5259. function getWR : TBits_1; inline;
  5260. function getWREN : TBits_1; inline;
  5261. function getWRERR : TBits_1; inline;
  5262. function getw : TBits_32; inline;
  5263. procedure setLVDERR(thebits : TBits_1); inline;
  5264. procedure setLVDSTAT(thebits : TBits_1); inline;
  5265. procedure setNVMOP(thebits : TBits_4); inline;
  5266. procedure setNVMOP0(thebits : TBits_1); inline;
  5267. procedure setNVMOP1(thebits : TBits_1); inline;
  5268. procedure setNVMOP2(thebits : TBits_1); inline;
  5269. procedure setNVMOP3(thebits : TBits_1); inline;
  5270. procedure setPROGOP(thebits : TBits_4); inline;
  5271. procedure setPROGOP0(thebits : TBits_1); inline;
  5272. procedure setPROGOP1(thebits : TBits_1); inline;
  5273. procedure setPROGOP2(thebits : TBits_1); inline;
  5274. procedure setPROGOP3(thebits : TBits_1); inline;
  5275. procedure setWR(thebits : TBits_1); inline;
  5276. procedure setWREN(thebits : TBits_1); inline;
  5277. procedure setWRERR(thebits : TBits_1); inline;
  5278. procedure setw(thebits : TBits_32); inline;
  5279. public
  5280. procedure clearLVDERR; inline;
  5281. procedure clearLVDSTAT; inline;
  5282. procedure clearNVMOP0; inline;
  5283. procedure clearNVMOP1; inline;
  5284. procedure clearNVMOP2; inline;
  5285. procedure clearNVMOP3; inline;
  5286. procedure clearPROGOP0; inline;
  5287. procedure clearPROGOP1; inline;
  5288. procedure clearPROGOP2; inline;
  5289. procedure clearPROGOP3; inline;
  5290. procedure clearWR; inline;
  5291. procedure clearWREN; inline;
  5292. procedure clearWRERR; inline;
  5293. procedure setLVDERR; inline;
  5294. procedure setLVDSTAT; inline;
  5295. procedure setNVMOP0; inline;
  5296. procedure setNVMOP1; inline;
  5297. procedure setNVMOP2; inline;
  5298. procedure setNVMOP3; inline;
  5299. procedure setPROGOP0; inline;
  5300. procedure setPROGOP1; inline;
  5301. procedure setPROGOP2; inline;
  5302. procedure setPROGOP3; inline;
  5303. procedure setWR; inline;
  5304. procedure setWREN; inline;
  5305. procedure setWRERR; inline;
  5306. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5307. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5308. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5309. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5310. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5311. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5312. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5313. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5314. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5315. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5316. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5317. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5318. property WR : TBits_1 read getWR write setWR;
  5319. property WREN : TBits_1 read getWREN write setWREN;
  5320. property WRERR : TBits_1 read getWRERR write setWRERR;
  5321. property w : TBits_32 read getw write setw;
  5322. end;
  5323. type
  5324. TNVMRegisters = record
  5325. NVMCONbits : TNVM_NVMCON;
  5326. NVMCON : longWord;
  5327. NVMCONCLR : longWord;
  5328. NVMCONSET : longWord;
  5329. NVMCONINV : longWord;
  5330. NVMKEY : longWord;
  5331. NVMADDR : longWord;
  5332. NVMADDRCLR : longWord;
  5333. NVMADDRSET : longWord;
  5334. NVMADDRINV : longWord;
  5335. NVMDATA : longWord;
  5336. NVMSRCADDR : longWord;
  5337. end;
  5338. TRCON_RCON = record
  5339. private
  5340. function getBOR : TBits_1; inline;
  5341. function getCMR : TBits_1; inline;
  5342. function getEXTR : TBits_1; inline;
  5343. function getIDLE : TBits_1; inline;
  5344. function getPOR : TBits_1; inline;
  5345. function getSLEEP : TBits_1; inline;
  5346. function getSWR : TBits_1; inline;
  5347. function getVREGS : TBits_1; inline;
  5348. function getWDTO : TBits_1; inline;
  5349. function getw : TBits_32; inline;
  5350. procedure setBOR(thebits : TBits_1); inline;
  5351. procedure setCMR(thebits : TBits_1); inline;
  5352. procedure setEXTR(thebits : TBits_1); inline;
  5353. procedure setIDLE(thebits : TBits_1); inline;
  5354. procedure setPOR(thebits : TBits_1); inline;
  5355. procedure setSLEEP(thebits : TBits_1); inline;
  5356. procedure setSWR(thebits : TBits_1); inline;
  5357. procedure setVREGS(thebits : TBits_1); inline;
  5358. procedure setWDTO(thebits : TBits_1); inline;
  5359. procedure setw(thebits : TBits_32); inline;
  5360. public
  5361. procedure clearBOR; inline;
  5362. procedure clearCMR; inline;
  5363. procedure clearEXTR; inline;
  5364. procedure clearIDLE; inline;
  5365. procedure clearPOR; inline;
  5366. procedure clearSLEEP; inline;
  5367. procedure clearSWR; inline;
  5368. procedure clearVREGS; inline;
  5369. procedure clearWDTO; inline;
  5370. procedure setBOR; inline;
  5371. procedure setCMR; inline;
  5372. procedure setEXTR; inline;
  5373. procedure setIDLE; inline;
  5374. procedure setPOR; inline;
  5375. procedure setSLEEP; inline;
  5376. procedure setSWR; inline;
  5377. procedure setVREGS; inline;
  5378. procedure setWDTO; inline;
  5379. property BOR : TBits_1 read getBOR write setBOR;
  5380. property CMR : TBits_1 read getCMR write setCMR;
  5381. property EXTR : TBits_1 read getEXTR write setEXTR;
  5382. property IDLE : TBits_1 read getIDLE write setIDLE;
  5383. property POR : TBits_1 read getPOR write setPOR;
  5384. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5385. property SWR : TBits_1 read getSWR write setSWR;
  5386. property VREGS : TBits_1 read getVREGS write setVREGS;
  5387. property WDTO : TBits_1 read getWDTO write setWDTO;
  5388. property w : TBits_32 read getw write setw;
  5389. end;
  5390. TRCON_RSWRST = record
  5391. private
  5392. function getSWRST : TBits_1; inline;
  5393. function getw : TBits_32; inline;
  5394. procedure setSWRST(thebits : TBits_1); inline;
  5395. procedure setw(thebits : TBits_32); inline;
  5396. public
  5397. procedure clearSWRST; inline;
  5398. procedure setSWRST; inline;
  5399. property SWRST : TBits_1 read getSWRST write setSWRST;
  5400. property w : TBits_32 read getw write setw;
  5401. end;
  5402. type
  5403. TRCONRegisters = record
  5404. RCONbits : TRCON_RCON;
  5405. RCON : longWord;
  5406. RCONCLR : longWord;
  5407. RCONSET : longWord;
  5408. RCONINV : longWord;
  5409. RSWRSTbits : TRCON_RSWRST;
  5410. RSWRST : longWord;
  5411. RSWRSTCLR : longWord;
  5412. RSWRSTSET : longWord;
  5413. RSWRSTINV : longWord;
  5414. INT1R : longWord;
  5415. INT2R : longWord;
  5416. INT3R : longWord;
  5417. INT4R : longWord;
  5418. T2CKR : longWord;
  5419. T3CKR : longWord;
  5420. T4CKR : longWord;
  5421. T5CKR : longWord;
  5422. IC1R : longWord;
  5423. IC2R : longWord;
  5424. IC3R : longWord;
  5425. IC4R : longWord;
  5426. IC5R : longWord;
  5427. OCFAR : longWord;
  5428. OCFBR : longWord;
  5429. U1RXR : longWord;
  5430. U1CTSR : longWord;
  5431. U2RXR : longWord;
  5432. U2CTSR : longWord;
  5433. SDI1R : longWord;
  5434. SS1R : longWord;
  5435. SDI2R : longWord;
  5436. SS2R : longWord;
  5437. REFCLKIR : longWord;
  5438. RPA0R : longWord;
  5439. RPA1R : longWord;
  5440. RPA2R : longWord;
  5441. RPA3R : longWord;
  5442. RPA4R : longWord;
  5443. RPA8R : longWord;
  5444. RPA9R : longWord;
  5445. RPB0R : longWord;
  5446. RPB1R : longWord;
  5447. RPB2R : longWord;
  5448. RPB3R : longWord;
  5449. RPB4R : longWord;
  5450. RPB5R : longWord;
  5451. RPB7R : longWord;
  5452. RPB8R : longWord;
  5453. RPB9R : longWord;
  5454. RPB10R : longWord;
  5455. RPB11R : longWord;
  5456. RPB13R : longWord;
  5457. RPB14R : longWord;
  5458. RPB15R : longWord;
  5459. RPC0R : longWord;
  5460. RPC1R : longWord;
  5461. RPC2R : longWord;
  5462. RPC3R : longWord;
  5463. RPC4R : longWord;
  5464. RPC5R : longWord;
  5465. RPC6R : longWord;
  5466. RPC7R : longWord;
  5467. RPC8R : longWord;
  5468. RPC9R : longWord;
  5469. end;
  5470. TINT_INTCON = record
  5471. private
  5472. function getINT0EP : TBits_1; inline;
  5473. function getINT1EP : TBits_1; inline;
  5474. function getINT2EP : TBits_1; inline;
  5475. function getINT3EP : TBits_1; inline;
  5476. function getINT4EP : TBits_1; inline;
  5477. function getMVEC : TBits_1; inline;
  5478. function getSS0 : TBits_1; inline;
  5479. function getTPC : TBits_3; inline;
  5480. function getw : TBits_32; inline;
  5481. procedure setINT0EP(thebits : TBits_1); inline;
  5482. procedure setINT1EP(thebits : TBits_1); inline;
  5483. procedure setINT2EP(thebits : TBits_1); inline;
  5484. procedure setINT3EP(thebits : TBits_1); inline;
  5485. procedure setINT4EP(thebits : TBits_1); inline;
  5486. procedure setMVEC(thebits : TBits_1); inline;
  5487. procedure setSS0(thebits : TBits_1); inline;
  5488. procedure setTPC(thebits : TBits_3); inline;
  5489. procedure setw(thebits : TBits_32); inline;
  5490. public
  5491. procedure clearINT0EP; inline;
  5492. procedure clearINT1EP; inline;
  5493. procedure clearINT2EP; inline;
  5494. procedure clearINT3EP; inline;
  5495. procedure clearINT4EP; inline;
  5496. procedure clearMVEC; inline;
  5497. procedure clearSS0; inline;
  5498. procedure setINT0EP; inline;
  5499. procedure setINT1EP; inline;
  5500. procedure setINT2EP; inline;
  5501. procedure setINT3EP; inline;
  5502. procedure setINT4EP; inline;
  5503. procedure setMVEC; inline;
  5504. procedure setSS0; inline;
  5505. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5506. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5507. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5508. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5509. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5510. property MVEC : TBits_1 read getMVEC write setMVEC;
  5511. property SS0 : TBits_1 read getSS0 write setSS0;
  5512. property TPC : TBits_3 read getTPC write setTPC;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. TINT_IFS0 = record
  5516. private
  5517. function getAD1IF : TBits_1; inline;
  5518. function getCS0IF : TBits_1; inline;
  5519. function getCS1IF : TBits_1; inline;
  5520. function getCTIF : TBits_1; inline;
  5521. function getFCEIF : TBits_1; inline;
  5522. function getFSCMIF : TBits_1; inline;
  5523. function getIC1EIF : TBits_1; inline;
  5524. function getIC1IF : TBits_1; inline;
  5525. function getIC2EIF : TBits_1; inline;
  5526. function getIC2IF : TBits_1; inline;
  5527. function getIC3EIF : TBits_1; inline;
  5528. function getIC3IF : TBits_1; inline;
  5529. function getIC4EIF : TBits_1; inline;
  5530. function getIC4IF : TBits_1; inline;
  5531. function getIC5EIF : TBits_1; inline;
  5532. function getIC5IF : TBits_1; inline;
  5533. function getINT0IF : TBits_1; inline;
  5534. function getINT1IF : TBits_1; inline;
  5535. function getINT2IF : TBits_1; inline;
  5536. function getINT3IF : TBits_1; inline;
  5537. function getINT4IF : TBits_1; inline;
  5538. function getOC1IF : TBits_1; inline;
  5539. function getOC2IF : TBits_1; inline;
  5540. function getOC3IF : TBits_1; inline;
  5541. function getOC4IF : TBits_1; inline;
  5542. function getOC5IF : TBits_1; inline;
  5543. function getRTCCIF : TBits_1; inline;
  5544. function getT1IF : TBits_1; inline;
  5545. function getT2IF : TBits_1; inline;
  5546. function getT3IF : TBits_1; inline;
  5547. function getT4IF : TBits_1; inline;
  5548. function getT5IF : TBits_1; inline;
  5549. function getw : TBits_32; inline;
  5550. procedure setAD1IF(thebits : TBits_1); inline;
  5551. procedure setCS0IF(thebits : TBits_1); inline;
  5552. procedure setCS1IF(thebits : TBits_1); inline;
  5553. procedure setCTIF(thebits : TBits_1); inline;
  5554. procedure setFCEIF(thebits : TBits_1); inline;
  5555. procedure setFSCMIF(thebits : TBits_1); inline;
  5556. procedure setIC1EIF(thebits : TBits_1); inline;
  5557. procedure setIC1IF(thebits : TBits_1); inline;
  5558. procedure setIC2EIF(thebits : TBits_1); inline;
  5559. procedure setIC2IF(thebits : TBits_1); inline;
  5560. procedure setIC3EIF(thebits : TBits_1); inline;
  5561. procedure setIC3IF(thebits : TBits_1); inline;
  5562. procedure setIC4EIF(thebits : TBits_1); inline;
  5563. procedure setIC4IF(thebits : TBits_1); inline;
  5564. procedure setIC5EIF(thebits : TBits_1); inline;
  5565. procedure setIC5IF(thebits : TBits_1); inline;
  5566. procedure setINT0IF(thebits : TBits_1); inline;
  5567. procedure setINT1IF(thebits : TBits_1); inline;
  5568. procedure setINT2IF(thebits : TBits_1); inline;
  5569. procedure setINT3IF(thebits : TBits_1); inline;
  5570. procedure setINT4IF(thebits : TBits_1); inline;
  5571. procedure setOC1IF(thebits : TBits_1); inline;
  5572. procedure setOC2IF(thebits : TBits_1); inline;
  5573. procedure setOC3IF(thebits : TBits_1); inline;
  5574. procedure setOC4IF(thebits : TBits_1); inline;
  5575. procedure setOC5IF(thebits : TBits_1); inline;
  5576. procedure setRTCCIF(thebits : TBits_1); inline;
  5577. procedure setT1IF(thebits : TBits_1); inline;
  5578. procedure setT2IF(thebits : TBits_1); inline;
  5579. procedure setT3IF(thebits : TBits_1); inline;
  5580. procedure setT4IF(thebits : TBits_1); inline;
  5581. procedure setT5IF(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearAD1IF; inline;
  5585. procedure clearCS0IF; inline;
  5586. procedure clearCS1IF; inline;
  5587. procedure clearCTIF; inline;
  5588. procedure clearFCEIF; inline;
  5589. procedure clearFSCMIF; inline;
  5590. procedure clearIC1EIF; inline;
  5591. procedure clearIC1IF; inline;
  5592. procedure clearIC2EIF; inline;
  5593. procedure clearIC2IF; inline;
  5594. procedure clearIC3EIF; inline;
  5595. procedure clearIC3IF; inline;
  5596. procedure clearIC4EIF; inline;
  5597. procedure clearIC4IF; inline;
  5598. procedure clearIC5EIF; inline;
  5599. procedure clearIC5IF; inline;
  5600. procedure clearINT0IF; inline;
  5601. procedure clearINT1IF; inline;
  5602. procedure clearINT2IF; inline;
  5603. procedure clearINT3IF; inline;
  5604. procedure clearINT4IF; inline;
  5605. procedure clearOC1IF; inline;
  5606. procedure clearOC2IF; inline;
  5607. procedure clearOC3IF; inline;
  5608. procedure clearOC4IF; inline;
  5609. procedure clearOC5IF; inline;
  5610. procedure clearRTCCIF; inline;
  5611. procedure clearT1IF; inline;
  5612. procedure clearT2IF; inline;
  5613. procedure clearT3IF; inline;
  5614. procedure clearT4IF; inline;
  5615. procedure clearT5IF; inline;
  5616. procedure setAD1IF; inline;
  5617. procedure setCS0IF; inline;
  5618. procedure setCS1IF; inline;
  5619. procedure setCTIF; inline;
  5620. procedure setFCEIF; inline;
  5621. procedure setFSCMIF; inline;
  5622. procedure setIC1EIF; inline;
  5623. procedure setIC1IF; inline;
  5624. procedure setIC2EIF; inline;
  5625. procedure setIC2IF; inline;
  5626. procedure setIC3EIF; inline;
  5627. procedure setIC3IF; inline;
  5628. procedure setIC4EIF; inline;
  5629. procedure setIC4IF; inline;
  5630. procedure setIC5EIF; inline;
  5631. procedure setIC5IF; inline;
  5632. procedure setINT0IF; inline;
  5633. procedure setINT1IF; inline;
  5634. procedure setINT2IF; inline;
  5635. procedure setINT3IF; inline;
  5636. procedure setINT4IF; inline;
  5637. procedure setOC1IF; inline;
  5638. procedure setOC2IF; inline;
  5639. procedure setOC3IF; inline;
  5640. procedure setOC4IF; inline;
  5641. procedure setOC5IF; inline;
  5642. procedure setRTCCIF; inline;
  5643. procedure setT1IF; inline;
  5644. procedure setT2IF; inline;
  5645. procedure setT3IF; inline;
  5646. procedure setT4IF; inline;
  5647. procedure setT5IF; inline;
  5648. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5649. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5650. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5651. property CTIF : TBits_1 read getCTIF write setCTIF;
  5652. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5653. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5654. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5655. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5656. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5657. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5658. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5659. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5660. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5661. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5662. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5663. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5664. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5665. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5666. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5667. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5668. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5669. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5670. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5671. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5672. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5673. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5674. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5675. property T1IF : TBits_1 read getT1IF write setT1IF;
  5676. property T2IF : TBits_1 read getT2IF write setT2IF;
  5677. property T3IF : TBits_1 read getT3IF write setT3IF;
  5678. property T4IF : TBits_1 read getT4IF write setT4IF;
  5679. property T5IF : TBits_1 read getT5IF write setT5IF;
  5680. property w : TBits_32 read getw write setw;
  5681. end;
  5682. TINT_IFS1 = record
  5683. private
  5684. function getCMP1IF : TBits_1; inline;
  5685. function getCMP2IF : TBits_1; inline;
  5686. function getCMP3IF : TBits_1; inline;
  5687. function getCNAIF : TBits_1; inline;
  5688. function getCNBIF : TBits_1; inline;
  5689. function getCNCIF : TBits_1; inline;
  5690. function getCTMUIF : TBits_1; inline;
  5691. function getDMA0IF : TBits_1; inline;
  5692. function getDMA1IF : TBits_1; inline;
  5693. function getDMA2IF : TBits_1; inline;
  5694. function getDMA3IF : TBits_1; inline;
  5695. function getI2C1BIF : TBits_1; inline;
  5696. function getI2C1MIF : TBits_1; inline;
  5697. function getI2C1SIF : TBits_1; inline;
  5698. function getI2C2BIF : TBits_1; inline;
  5699. function getI2C2MIF : TBits_1; inline;
  5700. function getI2C2SIF : TBits_1; inline;
  5701. function getPMPEIF : TBits_1; inline;
  5702. function getPMPIF : TBits_1; inline;
  5703. function getSPI1EIF : TBits_1; inline;
  5704. function getSPI1RXIF : TBits_1; inline;
  5705. function getSPI1TXIF : TBits_1; inline;
  5706. function getSPI2EIF : TBits_1; inline;
  5707. function getSPI2RXIF : TBits_1; inline;
  5708. function getSPI2TXIF : TBits_1; inline;
  5709. function getU1EIF : TBits_1; inline;
  5710. function getU1RXIF : TBits_1; inline;
  5711. function getU1TXIF : TBits_1; inline;
  5712. function getU2EIF : TBits_1; inline;
  5713. function getU2RXIF : TBits_1; inline;
  5714. function getU2TXIF : TBits_1; inline;
  5715. function getUSBIF : TBits_1; inline;
  5716. function getw : TBits_32; inline;
  5717. procedure setCMP1IF(thebits : TBits_1); inline;
  5718. procedure setCMP2IF(thebits : TBits_1); inline;
  5719. procedure setCMP3IF(thebits : TBits_1); inline;
  5720. procedure setCNAIF(thebits : TBits_1); inline;
  5721. procedure setCNBIF(thebits : TBits_1); inline;
  5722. procedure setCNCIF(thebits : TBits_1); inline;
  5723. procedure setCTMUIF(thebits : TBits_1); inline;
  5724. procedure setDMA0IF(thebits : TBits_1); inline;
  5725. procedure setDMA1IF(thebits : TBits_1); inline;
  5726. procedure setDMA2IF(thebits : TBits_1); inline;
  5727. procedure setDMA3IF(thebits : TBits_1); inline;
  5728. procedure setI2C1BIF(thebits : TBits_1); inline;
  5729. procedure setI2C1MIF(thebits : TBits_1); inline;
  5730. procedure setI2C1SIF(thebits : TBits_1); inline;
  5731. procedure setI2C2BIF(thebits : TBits_1); inline;
  5732. procedure setI2C2MIF(thebits : TBits_1); inline;
  5733. procedure setI2C2SIF(thebits : TBits_1); inline;
  5734. procedure setPMPEIF(thebits : TBits_1); inline;
  5735. procedure setPMPIF(thebits : TBits_1); inline;
  5736. procedure setSPI1EIF(thebits : TBits_1); inline;
  5737. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5738. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5739. procedure setSPI2EIF(thebits : TBits_1); inline;
  5740. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5741. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5742. procedure setU1EIF(thebits : TBits_1); inline;
  5743. procedure setU1RXIF(thebits : TBits_1); inline;
  5744. procedure setU1TXIF(thebits : TBits_1); inline;
  5745. procedure setU2EIF(thebits : TBits_1); inline;
  5746. procedure setU2RXIF(thebits : TBits_1); inline;
  5747. procedure setU2TXIF(thebits : TBits_1); inline;
  5748. procedure setUSBIF(thebits : TBits_1); inline;
  5749. procedure setw(thebits : TBits_32); inline;
  5750. public
  5751. procedure clearCMP1IF; inline;
  5752. procedure clearCMP2IF; inline;
  5753. procedure clearCMP3IF; inline;
  5754. procedure clearCNAIF; inline;
  5755. procedure clearCNBIF; inline;
  5756. procedure clearCNCIF; inline;
  5757. procedure clearCTMUIF; inline;
  5758. procedure clearDMA0IF; inline;
  5759. procedure clearDMA1IF; inline;
  5760. procedure clearDMA2IF; inline;
  5761. procedure clearDMA3IF; inline;
  5762. procedure clearI2C1BIF; inline;
  5763. procedure clearI2C1MIF; inline;
  5764. procedure clearI2C1SIF; inline;
  5765. procedure clearI2C2BIF; inline;
  5766. procedure clearI2C2MIF; inline;
  5767. procedure clearI2C2SIF; inline;
  5768. procedure clearPMPEIF; inline;
  5769. procedure clearPMPIF; inline;
  5770. procedure clearSPI1EIF; inline;
  5771. procedure clearSPI1RXIF; inline;
  5772. procedure clearSPI1TXIF; inline;
  5773. procedure clearSPI2EIF; inline;
  5774. procedure clearSPI2RXIF; inline;
  5775. procedure clearSPI2TXIF; inline;
  5776. procedure clearU1EIF; inline;
  5777. procedure clearU1RXIF; inline;
  5778. procedure clearU1TXIF; inline;
  5779. procedure clearU2EIF; inline;
  5780. procedure clearU2RXIF; inline;
  5781. procedure clearU2TXIF; inline;
  5782. procedure clearUSBIF; inline;
  5783. procedure setCMP1IF; inline;
  5784. procedure setCMP2IF; inline;
  5785. procedure setCMP3IF; inline;
  5786. procedure setCNAIF; inline;
  5787. procedure setCNBIF; inline;
  5788. procedure setCNCIF; inline;
  5789. procedure setCTMUIF; inline;
  5790. procedure setDMA0IF; inline;
  5791. procedure setDMA1IF; inline;
  5792. procedure setDMA2IF; inline;
  5793. procedure setDMA3IF; inline;
  5794. procedure setI2C1BIF; inline;
  5795. procedure setI2C1MIF; inline;
  5796. procedure setI2C1SIF; inline;
  5797. procedure setI2C2BIF; inline;
  5798. procedure setI2C2MIF; inline;
  5799. procedure setI2C2SIF; inline;
  5800. procedure setPMPEIF; inline;
  5801. procedure setPMPIF; inline;
  5802. procedure setSPI1EIF; inline;
  5803. procedure setSPI1RXIF; inline;
  5804. procedure setSPI1TXIF; inline;
  5805. procedure setSPI2EIF; inline;
  5806. procedure setSPI2RXIF; inline;
  5807. procedure setSPI2TXIF; inline;
  5808. procedure setU1EIF; inline;
  5809. procedure setU1RXIF; inline;
  5810. procedure setU1TXIF; inline;
  5811. procedure setU2EIF; inline;
  5812. procedure setU2RXIF; inline;
  5813. procedure setU2TXIF; inline;
  5814. procedure setUSBIF; inline;
  5815. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5816. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5817. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5818. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5819. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5820. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5821. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5822. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5823. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5824. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5825. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5826. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5827. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5828. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5829. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5830. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5831. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5832. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5833. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5834. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5835. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5836. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5837. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5838. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5839. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5840. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5841. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5842. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5843. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5844. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5845. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5846. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  5847. property w : TBits_32 read getw write setw;
  5848. end;
  5849. TINT_IEC0 = record
  5850. private
  5851. function getAD1IE : TBits_1; inline;
  5852. function getCS0IE : TBits_1; inline;
  5853. function getCS1IE : TBits_1; inline;
  5854. function getCTIE : TBits_1; inline;
  5855. function getFCEIE : TBits_1; inline;
  5856. function getFSCMIE : TBits_1; inline;
  5857. function getIC1EIE : TBits_1; inline;
  5858. function getIC1IE : TBits_1; inline;
  5859. function getIC2EIE : TBits_1; inline;
  5860. function getIC2IE : TBits_1; inline;
  5861. function getIC3EIE : TBits_1; inline;
  5862. function getIC3IE : TBits_1; inline;
  5863. function getIC4EIE : TBits_1; inline;
  5864. function getIC4IE : TBits_1; inline;
  5865. function getIC5EIE : TBits_1; inline;
  5866. function getIC5IE : TBits_1; inline;
  5867. function getINT0IE : TBits_1; inline;
  5868. function getINT1IE : TBits_1; inline;
  5869. function getINT2IE : TBits_1; inline;
  5870. function getINT3IE : TBits_1; inline;
  5871. function getINT4IE : TBits_1; inline;
  5872. function getOC1IE : TBits_1; inline;
  5873. function getOC2IE : TBits_1; inline;
  5874. function getOC3IE : TBits_1; inline;
  5875. function getOC4IE : TBits_1; inline;
  5876. function getOC5IE : TBits_1; inline;
  5877. function getRTCCIE : TBits_1; inline;
  5878. function getT1IE : TBits_1; inline;
  5879. function getT2IE : TBits_1; inline;
  5880. function getT3IE : TBits_1; inline;
  5881. function getT4IE : TBits_1; inline;
  5882. function getT5IE : TBits_1; inline;
  5883. function getw : TBits_32; inline;
  5884. procedure setAD1IE(thebits : TBits_1); inline;
  5885. procedure setCS0IE(thebits : TBits_1); inline;
  5886. procedure setCS1IE(thebits : TBits_1); inline;
  5887. procedure setCTIE(thebits : TBits_1); inline;
  5888. procedure setFCEIE(thebits : TBits_1); inline;
  5889. procedure setFSCMIE(thebits : TBits_1); inline;
  5890. procedure setIC1EIE(thebits : TBits_1); inline;
  5891. procedure setIC1IE(thebits : TBits_1); inline;
  5892. procedure setIC2EIE(thebits : TBits_1); inline;
  5893. procedure setIC2IE(thebits : TBits_1); inline;
  5894. procedure setIC3EIE(thebits : TBits_1); inline;
  5895. procedure setIC3IE(thebits : TBits_1); inline;
  5896. procedure setIC4EIE(thebits : TBits_1); inline;
  5897. procedure setIC4IE(thebits : TBits_1); inline;
  5898. procedure setIC5EIE(thebits : TBits_1); inline;
  5899. procedure setIC5IE(thebits : TBits_1); inline;
  5900. procedure setINT0IE(thebits : TBits_1); inline;
  5901. procedure setINT1IE(thebits : TBits_1); inline;
  5902. procedure setINT2IE(thebits : TBits_1); inline;
  5903. procedure setINT3IE(thebits : TBits_1); inline;
  5904. procedure setINT4IE(thebits : TBits_1); inline;
  5905. procedure setOC1IE(thebits : TBits_1); inline;
  5906. procedure setOC2IE(thebits : TBits_1); inline;
  5907. procedure setOC3IE(thebits : TBits_1); inline;
  5908. procedure setOC4IE(thebits : TBits_1); inline;
  5909. procedure setOC5IE(thebits : TBits_1); inline;
  5910. procedure setRTCCIE(thebits : TBits_1); inline;
  5911. procedure setT1IE(thebits : TBits_1); inline;
  5912. procedure setT2IE(thebits : TBits_1); inline;
  5913. procedure setT3IE(thebits : TBits_1); inline;
  5914. procedure setT4IE(thebits : TBits_1); inline;
  5915. procedure setT5IE(thebits : TBits_1); inline;
  5916. procedure setw(thebits : TBits_32); inline;
  5917. public
  5918. procedure clearAD1IE; inline;
  5919. procedure clearCS0IE; inline;
  5920. procedure clearCS1IE; inline;
  5921. procedure clearCTIE; inline;
  5922. procedure clearFCEIE; inline;
  5923. procedure clearFSCMIE; inline;
  5924. procedure clearIC1EIE; inline;
  5925. procedure clearIC1IE; inline;
  5926. procedure clearIC2EIE; inline;
  5927. procedure clearIC2IE; inline;
  5928. procedure clearIC3EIE; inline;
  5929. procedure clearIC3IE; inline;
  5930. procedure clearIC4EIE; inline;
  5931. procedure clearIC4IE; inline;
  5932. procedure clearIC5EIE; inline;
  5933. procedure clearIC5IE; inline;
  5934. procedure clearINT0IE; inline;
  5935. procedure clearINT1IE; inline;
  5936. procedure clearINT2IE; inline;
  5937. procedure clearINT3IE; inline;
  5938. procedure clearINT4IE; inline;
  5939. procedure clearOC1IE; inline;
  5940. procedure clearOC2IE; inline;
  5941. procedure clearOC3IE; inline;
  5942. procedure clearOC4IE; inline;
  5943. procedure clearOC5IE; inline;
  5944. procedure clearRTCCIE; inline;
  5945. procedure clearT1IE; inline;
  5946. procedure clearT2IE; inline;
  5947. procedure clearT3IE; inline;
  5948. procedure clearT4IE; inline;
  5949. procedure clearT5IE; inline;
  5950. procedure setAD1IE; inline;
  5951. procedure setCS0IE; inline;
  5952. procedure setCS1IE; inline;
  5953. procedure setCTIE; inline;
  5954. procedure setFCEIE; inline;
  5955. procedure setFSCMIE; inline;
  5956. procedure setIC1EIE; inline;
  5957. procedure setIC1IE; inline;
  5958. procedure setIC2EIE; inline;
  5959. procedure setIC2IE; inline;
  5960. procedure setIC3EIE; inline;
  5961. procedure setIC3IE; inline;
  5962. procedure setIC4EIE; inline;
  5963. procedure setIC4IE; inline;
  5964. procedure setIC5EIE; inline;
  5965. procedure setIC5IE; inline;
  5966. procedure setINT0IE; inline;
  5967. procedure setINT1IE; inline;
  5968. procedure setINT2IE; inline;
  5969. procedure setINT3IE; inline;
  5970. procedure setINT4IE; inline;
  5971. procedure setOC1IE; inline;
  5972. procedure setOC2IE; inline;
  5973. procedure setOC3IE; inline;
  5974. procedure setOC4IE; inline;
  5975. procedure setOC5IE; inline;
  5976. procedure setRTCCIE; inline;
  5977. procedure setT1IE; inline;
  5978. procedure setT2IE; inline;
  5979. procedure setT3IE; inline;
  5980. procedure setT4IE; inline;
  5981. procedure setT5IE; inline;
  5982. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5983. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5984. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5985. property CTIE : TBits_1 read getCTIE write setCTIE;
  5986. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5987. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5988. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5989. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5990. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5991. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5992. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5993. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5994. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5995. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5996. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5997. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5998. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5999. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6000. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6001. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6002. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6003. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6004. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6005. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6006. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6007. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6008. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6009. property T1IE : TBits_1 read getT1IE write setT1IE;
  6010. property T2IE : TBits_1 read getT2IE write setT2IE;
  6011. property T3IE : TBits_1 read getT3IE write setT3IE;
  6012. property T4IE : TBits_1 read getT4IE write setT4IE;
  6013. property T5IE : TBits_1 read getT5IE write setT5IE;
  6014. property w : TBits_32 read getw write setw;
  6015. end;
  6016. TINT_IEC1 = record
  6017. private
  6018. function getCMP1IE : TBits_1; inline;
  6019. function getCMP2IE : TBits_1; inline;
  6020. function getCMP3IE : TBits_1; inline;
  6021. function getCNAIE : TBits_1; inline;
  6022. function getCNBIE : TBits_1; inline;
  6023. function getCNCIE : TBits_1; inline;
  6024. function getCTMUIE : TBits_1; inline;
  6025. function getDMA0IE : TBits_1; inline;
  6026. function getDMA1IE : TBits_1; inline;
  6027. function getDMA2IE : TBits_1; inline;
  6028. function getDMA3IE : TBits_1; inline;
  6029. function getI2C1BIE : TBits_1; inline;
  6030. function getI2C1MIE : TBits_1; inline;
  6031. function getI2C1SIE : TBits_1; inline;
  6032. function getI2C2BIE : TBits_1; inline;
  6033. function getI2C2MIE : TBits_1; inline;
  6034. function getI2C2SIE : TBits_1; inline;
  6035. function getPMPEIE : TBits_1; inline;
  6036. function getPMPIE : TBits_1; inline;
  6037. function getSPI1EIE : TBits_1; inline;
  6038. function getSPI1RXIE : TBits_1; inline;
  6039. function getSPI1TXIE : TBits_1; inline;
  6040. function getSPI2EIE : TBits_1; inline;
  6041. function getSPI2RXIE : TBits_1; inline;
  6042. function getSPI2TXIE : TBits_1; inline;
  6043. function getU1EIE : TBits_1; inline;
  6044. function getU1RXIE : TBits_1; inline;
  6045. function getU1TXIE : TBits_1; inline;
  6046. function getU2EIE : TBits_1; inline;
  6047. function getU2RXIE : TBits_1; inline;
  6048. function getU2TXIE : TBits_1; inline;
  6049. function getUSBIE : TBits_1; inline;
  6050. function getw : TBits_32; inline;
  6051. procedure setCMP1IE(thebits : TBits_1); inline;
  6052. procedure setCMP2IE(thebits : TBits_1); inline;
  6053. procedure setCMP3IE(thebits : TBits_1); inline;
  6054. procedure setCNAIE(thebits : TBits_1); inline;
  6055. procedure setCNBIE(thebits : TBits_1); inline;
  6056. procedure setCNCIE(thebits : TBits_1); inline;
  6057. procedure setCTMUIE(thebits : TBits_1); inline;
  6058. procedure setDMA0IE(thebits : TBits_1); inline;
  6059. procedure setDMA1IE(thebits : TBits_1); inline;
  6060. procedure setDMA2IE(thebits : TBits_1); inline;
  6061. procedure setDMA3IE(thebits : TBits_1); inline;
  6062. procedure setI2C1BIE(thebits : TBits_1); inline;
  6063. procedure setI2C1MIE(thebits : TBits_1); inline;
  6064. procedure setI2C1SIE(thebits : TBits_1); inline;
  6065. procedure setI2C2BIE(thebits : TBits_1); inline;
  6066. procedure setI2C2MIE(thebits : TBits_1); inline;
  6067. procedure setI2C2SIE(thebits : TBits_1); inline;
  6068. procedure setPMPEIE(thebits : TBits_1); inline;
  6069. procedure setPMPIE(thebits : TBits_1); inline;
  6070. procedure setSPI1EIE(thebits : TBits_1); inline;
  6071. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6072. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6073. procedure setSPI2EIE(thebits : TBits_1); inline;
  6074. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6075. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6076. procedure setU1EIE(thebits : TBits_1); inline;
  6077. procedure setU1RXIE(thebits : TBits_1); inline;
  6078. procedure setU1TXIE(thebits : TBits_1); inline;
  6079. procedure setU2EIE(thebits : TBits_1); inline;
  6080. procedure setU2RXIE(thebits : TBits_1); inline;
  6081. procedure setU2TXIE(thebits : TBits_1); inline;
  6082. procedure setUSBIE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearCMP1IE; inline;
  6086. procedure clearCMP2IE; inline;
  6087. procedure clearCMP3IE; inline;
  6088. procedure clearCNAIE; inline;
  6089. procedure clearCNBIE; inline;
  6090. procedure clearCNCIE; inline;
  6091. procedure clearCTMUIE; inline;
  6092. procedure clearDMA0IE; inline;
  6093. procedure clearDMA1IE; inline;
  6094. procedure clearDMA2IE; inline;
  6095. procedure clearDMA3IE; inline;
  6096. procedure clearI2C1BIE; inline;
  6097. procedure clearI2C1MIE; inline;
  6098. procedure clearI2C1SIE; inline;
  6099. procedure clearI2C2BIE; inline;
  6100. procedure clearI2C2MIE; inline;
  6101. procedure clearI2C2SIE; inline;
  6102. procedure clearPMPEIE; inline;
  6103. procedure clearPMPIE; inline;
  6104. procedure clearSPI1EIE; inline;
  6105. procedure clearSPI1RXIE; inline;
  6106. procedure clearSPI1TXIE; inline;
  6107. procedure clearSPI2EIE; inline;
  6108. procedure clearSPI2RXIE; inline;
  6109. procedure clearSPI2TXIE; inline;
  6110. procedure clearU1EIE; inline;
  6111. procedure clearU1RXIE; inline;
  6112. procedure clearU1TXIE; inline;
  6113. procedure clearU2EIE; inline;
  6114. procedure clearU2RXIE; inline;
  6115. procedure clearU2TXIE; inline;
  6116. procedure clearUSBIE; inline;
  6117. procedure setCMP1IE; inline;
  6118. procedure setCMP2IE; inline;
  6119. procedure setCMP3IE; inline;
  6120. procedure setCNAIE; inline;
  6121. procedure setCNBIE; inline;
  6122. procedure setCNCIE; inline;
  6123. procedure setCTMUIE; inline;
  6124. procedure setDMA0IE; inline;
  6125. procedure setDMA1IE; inline;
  6126. procedure setDMA2IE; inline;
  6127. procedure setDMA3IE; inline;
  6128. procedure setI2C1BIE; inline;
  6129. procedure setI2C1MIE; inline;
  6130. procedure setI2C1SIE; inline;
  6131. procedure setI2C2BIE; inline;
  6132. procedure setI2C2MIE; inline;
  6133. procedure setI2C2SIE; inline;
  6134. procedure setPMPEIE; inline;
  6135. procedure setPMPIE; inline;
  6136. procedure setSPI1EIE; inline;
  6137. procedure setSPI1RXIE; inline;
  6138. procedure setSPI1TXIE; inline;
  6139. procedure setSPI2EIE; inline;
  6140. procedure setSPI2RXIE; inline;
  6141. procedure setSPI2TXIE; inline;
  6142. procedure setU1EIE; inline;
  6143. procedure setU1RXIE; inline;
  6144. procedure setU1TXIE; inline;
  6145. procedure setU2EIE; inline;
  6146. procedure setU2RXIE; inline;
  6147. procedure setU2TXIE; inline;
  6148. procedure setUSBIE; inline;
  6149. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6150. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6151. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6152. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6153. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6154. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6155. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6156. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6157. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6158. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6159. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6160. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6161. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6162. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6163. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6164. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6165. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6166. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6167. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6168. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6169. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6170. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6171. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6172. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6173. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6174. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6175. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6176. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6177. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6178. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6179. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6180. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  6181. property w : TBits_32 read getw write setw;
  6182. end;
  6183. TINT_IPC0 = record
  6184. private
  6185. function getCS0IP : TBits_3; inline;
  6186. function getCS0IS : TBits_2; inline;
  6187. function getCS1IP : TBits_3; inline;
  6188. function getCS1IS : TBits_2; inline;
  6189. function getCTIP : TBits_3; inline;
  6190. function getCTIS : TBits_2; inline;
  6191. function getINT0IP : TBits_3; inline;
  6192. function getINT0IS : TBits_2; inline;
  6193. function getw : TBits_32; inline;
  6194. procedure setCS0IP(thebits : TBits_3); inline;
  6195. procedure setCS0IS(thebits : TBits_2); inline;
  6196. procedure setCS1IP(thebits : TBits_3); inline;
  6197. procedure setCS1IS(thebits : TBits_2); inline;
  6198. procedure setCTIP(thebits : TBits_3); inline;
  6199. procedure setCTIS(thebits : TBits_2); inline;
  6200. procedure setINT0IP(thebits : TBits_3); inline;
  6201. procedure setINT0IS(thebits : TBits_2); inline;
  6202. procedure setw(thebits : TBits_32); inline;
  6203. public
  6204. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6205. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6206. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6207. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6208. property CTIP : TBits_3 read getCTIP write setCTIP;
  6209. property CTIS : TBits_2 read getCTIS write setCTIS;
  6210. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6211. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6212. property w : TBits_32 read getw write setw;
  6213. end;
  6214. TINT_IPC1 = record
  6215. private
  6216. function getIC1IP : TBits_3; inline;
  6217. function getIC1IS : TBits_2; inline;
  6218. function getINT1IP : TBits_3; inline;
  6219. function getINT1IS : TBits_2; inline;
  6220. function getOC1IP : TBits_3; inline;
  6221. function getOC1IS : TBits_2; inline;
  6222. function getT1IP : TBits_3; inline;
  6223. function getT1IS : TBits_2; inline;
  6224. function getw : TBits_32; inline;
  6225. procedure setIC1IP(thebits : TBits_3); inline;
  6226. procedure setIC1IS(thebits : TBits_2); inline;
  6227. procedure setINT1IP(thebits : TBits_3); inline;
  6228. procedure setINT1IS(thebits : TBits_2); inline;
  6229. procedure setOC1IP(thebits : TBits_3); inline;
  6230. procedure setOC1IS(thebits : TBits_2); inline;
  6231. procedure setT1IP(thebits : TBits_3); inline;
  6232. procedure setT1IS(thebits : TBits_2); inline;
  6233. procedure setw(thebits : TBits_32); inline;
  6234. public
  6235. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6236. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6237. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6238. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6239. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6240. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6241. property T1IP : TBits_3 read getT1IP write setT1IP;
  6242. property T1IS : TBits_2 read getT1IS write setT1IS;
  6243. property w : TBits_32 read getw write setw;
  6244. end;
  6245. TINT_IPC2 = record
  6246. private
  6247. function getIC2IP : TBits_3; inline;
  6248. function getIC2IS : TBits_2; inline;
  6249. function getINT2IP : TBits_3; inline;
  6250. function getINT2IS : TBits_2; inline;
  6251. function getOC2IP : TBits_3; inline;
  6252. function getOC2IS : TBits_2; inline;
  6253. function getT2IP : TBits_3; inline;
  6254. function getT2IS : TBits_2; inline;
  6255. function getw : TBits_32; inline;
  6256. procedure setIC2IP(thebits : TBits_3); inline;
  6257. procedure setIC2IS(thebits : TBits_2); inline;
  6258. procedure setINT2IP(thebits : TBits_3); inline;
  6259. procedure setINT2IS(thebits : TBits_2); inline;
  6260. procedure setOC2IP(thebits : TBits_3); inline;
  6261. procedure setOC2IS(thebits : TBits_2); inline;
  6262. procedure setT2IP(thebits : TBits_3); inline;
  6263. procedure setT2IS(thebits : TBits_2); inline;
  6264. procedure setw(thebits : TBits_32); inline;
  6265. public
  6266. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6267. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6268. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6269. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6270. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6271. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6272. property T2IP : TBits_3 read getT2IP write setT2IP;
  6273. property T2IS : TBits_2 read getT2IS write setT2IS;
  6274. property w : TBits_32 read getw write setw;
  6275. end;
  6276. TINT_IPC3 = record
  6277. private
  6278. function getIC3IP : TBits_3; inline;
  6279. function getIC3IS : TBits_2; inline;
  6280. function getINT3IP : TBits_3; inline;
  6281. function getINT3IS : TBits_2; inline;
  6282. function getOC3IP : TBits_3; inline;
  6283. function getOC3IS : TBits_2; inline;
  6284. function getT3IP : TBits_3; inline;
  6285. function getT3IS : TBits_2; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setIC3IP(thebits : TBits_3); inline;
  6288. procedure setIC3IS(thebits : TBits_2); inline;
  6289. procedure setINT3IP(thebits : TBits_3); inline;
  6290. procedure setINT3IS(thebits : TBits_2); inline;
  6291. procedure setOC3IP(thebits : TBits_3); inline;
  6292. procedure setOC3IS(thebits : TBits_2); inline;
  6293. procedure setT3IP(thebits : TBits_3); inline;
  6294. procedure setT3IS(thebits : TBits_2); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6298. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6299. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6300. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6301. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6302. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6303. property T3IP : TBits_3 read getT3IP write setT3IP;
  6304. property T3IS : TBits_2 read getT3IS write setT3IS;
  6305. property w : TBits_32 read getw write setw;
  6306. end;
  6307. TINT_IPC4 = record
  6308. private
  6309. function getIC4IP : TBits_3; inline;
  6310. function getIC4IS : TBits_2; inline;
  6311. function getINT4IP : TBits_3; inline;
  6312. function getINT4IS : TBits_2; inline;
  6313. function getOC4IP : TBits_3; inline;
  6314. function getOC4IS : TBits_2; inline;
  6315. function getT4IP : TBits_3; inline;
  6316. function getT4IS : TBits_2; inline;
  6317. function getw : TBits_32; inline;
  6318. procedure setIC4IP(thebits : TBits_3); inline;
  6319. procedure setIC4IS(thebits : TBits_2); inline;
  6320. procedure setINT4IP(thebits : TBits_3); inline;
  6321. procedure setINT4IS(thebits : TBits_2); inline;
  6322. procedure setOC4IP(thebits : TBits_3); inline;
  6323. procedure setOC4IS(thebits : TBits_2); inline;
  6324. procedure setT4IP(thebits : TBits_3); inline;
  6325. procedure setT4IS(thebits : TBits_2); inline;
  6326. procedure setw(thebits : TBits_32); inline;
  6327. public
  6328. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6329. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6330. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6331. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6332. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6333. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6334. property T4IP : TBits_3 read getT4IP write setT4IP;
  6335. property T4IS : TBits_2 read getT4IS write setT4IS;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. TINT_IPC5 = record
  6339. private
  6340. function getAD1IP : TBits_3; inline;
  6341. function getAD1IS : TBits_2; inline;
  6342. function getIC5IP : TBits_3; inline;
  6343. function getIC5IS : TBits_2; inline;
  6344. function getOC5IP : TBits_3; inline;
  6345. function getOC5IS : TBits_2; inline;
  6346. function getT5IP : TBits_3; inline;
  6347. function getT5IS : TBits_2; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setAD1IP(thebits : TBits_3); inline;
  6350. procedure setAD1IS(thebits : TBits_2); inline;
  6351. procedure setIC5IP(thebits : TBits_3); inline;
  6352. procedure setIC5IS(thebits : TBits_2); inline;
  6353. procedure setOC5IP(thebits : TBits_3); inline;
  6354. procedure setOC5IS(thebits : TBits_2); inline;
  6355. procedure setT5IP(thebits : TBits_3); inline;
  6356. procedure setT5IS(thebits : TBits_2); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6360. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6361. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6362. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6363. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6364. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6365. property T5IP : TBits_3 read getT5IP write setT5IP;
  6366. property T5IS : TBits_2 read getT5IS write setT5IS;
  6367. property w : TBits_32 read getw write setw;
  6368. end;
  6369. TINT_IPC6 = record
  6370. private
  6371. function getCMP1IP : TBits_3; inline;
  6372. function getCMP1IS : TBits_2; inline;
  6373. function getFCEIP : TBits_3; inline;
  6374. function getFCEIS : TBits_2; inline;
  6375. function getFSCMIP : TBits_3; inline;
  6376. function getFSCMIS : TBits_2; inline;
  6377. function getRTCCIP : TBits_3; inline;
  6378. function getRTCCIS : TBits_2; inline;
  6379. function getw : TBits_32; inline;
  6380. procedure setCMP1IP(thebits : TBits_3); inline;
  6381. procedure setCMP1IS(thebits : TBits_2); inline;
  6382. procedure setFCEIP(thebits : TBits_3); inline;
  6383. procedure setFCEIS(thebits : TBits_2); inline;
  6384. procedure setFSCMIP(thebits : TBits_3); inline;
  6385. procedure setFSCMIS(thebits : TBits_2); inline;
  6386. procedure setRTCCIP(thebits : TBits_3); inline;
  6387. procedure setRTCCIS(thebits : TBits_2); inline;
  6388. procedure setw(thebits : TBits_32); inline;
  6389. public
  6390. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6391. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6392. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6393. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6394. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6395. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6396. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6397. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6398. property w : TBits_32 read getw write setw;
  6399. end;
  6400. TINT_IPC7 = record
  6401. private
  6402. function getCMP2IP : TBits_3; inline;
  6403. function getCMP2IS : TBits_2; inline;
  6404. function getCMP3IP : TBits_3; inline;
  6405. function getCMP3IS : TBits_2; inline;
  6406. function getSPI1IP : TBits_3; inline;
  6407. function getSPI1IS : TBits_2; inline;
  6408. function getUSBIP : TBits_3; inline;
  6409. function getUSBIS : TBits_2; inline;
  6410. function getw : TBits_32; inline;
  6411. procedure setCMP2IP(thebits : TBits_3); inline;
  6412. procedure setCMP2IS(thebits : TBits_2); inline;
  6413. procedure setCMP3IP(thebits : TBits_3); inline;
  6414. procedure setCMP3IS(thebits : TBits_2); inline;
  6415. procedure setSPI1IP(thebits : TBits_3); inline;
  6416. procedure setSPI1IS(thebits : TBits_2); inline;
  6417. procedure setUSBIP(thebits : TBits_3); inline;
  6418. procedure setUSBIS(thebits : TBits_2); inline;
  6419. procedure setw(thebits : TBits_32); inline;
  6420. public
  6421. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6422. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6423. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6424. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6425. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6426. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6427. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  6428. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  6429. property w : TBits_32 read getw write setw;
  6430. end;
  6431. TINT_IPC8 = record
  6432. private
  6433. function getCNIP : TBits_3; inline;
  6434. function getCNIS : TBits_2; inline;
  6435. function getI2C1IP : TBits_3; inline;
  6436. function getI2C1IS : TBits_2; inline;
  6437. function getPMPIP : TBits_3; inline;
  6438. function getPMPIS : TBits_2; inline;
  6439. function getU1IP : TBits_3; inline;
  6440. function getU1IS : TBits_2; inline;
  6441. function getw : TBits_32; inline;
  6442. procedure setCNIP(thebits : TBits_3); inline;
  6443. procedure setCNIS(thebits : TBits_2); inline;
  6444. procedure setI2C1IP(thebits : TBits_3); inline;
  6445. procedure setI2C1IS(thebits : TBits_2); inline;
  6446. procedure setPMPIP(thebits : TBits_3); inline;
  6447. procedure setPMPIS(thebits : TBits_2); inline;
  6448. procedure setU1IP(thebits : TBits_3); inline;
  6449. procedure setU1IS(thebits : TBits_2); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. property CNIP : TBits_3 read getCNIP write setCNIP;
  6453. property CNIS : TBits_2 read getCNIS write setCNIS;
  6454. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6455. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6456. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6457. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6458. property U1IP : TBits_3 read getU1IP write setU1IP;
  6459. property U1IS : TBits_2 read getU1IS write setU1IS;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TINT_IPC9 = record
  6463. private
  6464. function getCTMUIP : TBits_3; inline;
  6465. function getCTMUIS : TBits_2; inline;
  6466. function getI2C2IP : TBits_3; inline;
  6467. function getI2C2IS : TBits_2; inline;
  6468. function getSPI2IP : TBits_3; inline;
  6469. function getSPI2IS : TBits_2; inline;
  6470. function getU2IP : TBits_3; inline;
  6471. function getU2IS : TBits_2; inline;
  6472. function getw : TBits_32; inline;
  6473. procedure setCTMUIP(thebits : TBits_3); inline;
  6474. procedure setCTMUIS(thebits : TBits_2); inline;
  6475. procedure setI2C2IP(thebits : TBits_3); inline;
  6476. procedure setI2C2IS(thebits : TBits_2); inline;
  6477. procedure setSPI2IP(thebits : TBits_3); inline;
  6478. procedure setSPI2IS(thebits : TBits_2); inline;
  6479. procedure setU2IP(thebits : TBits_3); inline;
  6480. procedure setU2IS(thebits : TBits_2); inline;
  6481. procedure setw(thebits : TBits_32); inline;
  6482. public
  6483. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6484. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6485. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6486. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6487. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6488. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6489. property U2IP : TBits_3 read getU2IP write setU2IP;
  6490. property U2IS : TBits_2 read getU2IS write setU2IS;
  6491. property w : TBits_32 read getw write setw;
  6492. end;
  6493. TINT_IPC10 = record
  6494. private
  6495. function getDMA0IP : TBits_3; inline;
  6496. function getDMA0IS : TBits_2; inline;
  6497. function getDMA1IP : TBits_3; inline;
  6498. function getDMA1IS : TBits_2; inline;
  6499. function getDMA2IP : TBits_3; inline;
  6500. function getDMA2IS : TBits_2; inline;
  6501. function getDMA3IP : TBits_3; inline;
  6502. function getDMA3IS : TBits_2; inline;
  6503. function getw : TBits_32; inline;
  6504. procedure setDMA0IP(thebits : TBits_3); inline;
  6505. procedure setDMA0IS(thebits : TBits_2); inline;
  6506. procedure setDMA1IP(thebits : TBits_3); inline;
  6507. procedure setDMA1IS(thebits : TBits_2); inline;
  6508. procedure setDMA2IP(thebits : TBits_3); inline;
  6509. procedure setDMA2IS(thebits : TBits_2); inline;
  6510. procedure setDMA3IP(thebits : TBits_3); inline;
  6511. procedure setDMA3IS(thebits : TBits_2); inline;
  6512. procedure setw(thebits : TBits_32); inline;
  6513. public
  6514. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6515. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6516. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6517. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6518. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6519. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6520. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6521. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6522. property w : TBits_32 read getw write setw;
  6523. end;
  6524. type
  6525. TINTRegisters = record
  6526. INTCONbits : TINT_INTCON;
  6527. INTCON : longWord;
  6528. INTCONCLR : longWord;
  6529. INTCONSET : longWord;
  6530. INTCONINV : longWord;
  6531. INTSTAT : longWord;
  6532. IPTMR : longWord;
  6533. IPTMRCLR : longWord;
  6534. IPTMRSET : longWord;
  6535. IPTMRINV : longWord;
  6536. IFS0bits : TINT_IFS0;
  6537. IFS0 : longWord;
  6538. IFS0CLR : longWord;
  6539. IFS0SET : longWord;
  6540. IFS0INV : longWord;
  6541. IFS1bits : TINT_IFS1;
  6542. IFS1 : longWord;
  6543. IFS1CLR : longWord;
  6544. IFS1SET : longWord;
  6545. IFS1INV : longWord;
  6546. IEC0bits : TINT_IEC0;
  6547. IEC0 : longWord;
  6548. IEC0CLR : longWord;
  6549. IEC0SET : longWord;
  6550. IEC0INV : longWord;
  6551. IEC1bits : TINT_IEC1;
  6552. IEC1 : longWord;
  6553. IEC1CLR : longWord;
  6554. IEC1SET : longWord;
  6555. IEC1INV : longWord;
  6556. IPC0bits : TINT_IPC0;
  6557. IPC0 : longWord;
  6558. IPC0CLR : longWord;
  6559. IPC0SET : longWord;
  6560. IPC0INV : longWord;
  6561. IPC1bits : TINT_IPC1;
  6562. IPC1 : longWord;
  6563. IPC1CLR : longWord;
  6564. IPC1SET : longWord;
  6565. IPC1INV : longWord;
  6566. IPC2bits : TINT_IPC2;
  6567. IPC2 : longWord;
  6568. IPC2CLR : longWord;
  6569. IPC2SET : longWord;
  6570. IPC2INV : longWord;
  6571. IPC3bits : TINT_IPC3;
  6572. IPC3 : longWord;
  6573. IPC3CLR : longWord;
  6574. IPC3SET : longWord;
  6575. IPC3INV : longWord;
  6576. IPC4bits : TINT_IPC4;
  6577. IPC4 : longWord;
  6578. IPC4CLR : longWord;
  6579. IPC4SET : longWord;
  6580. IPC4INV : longWord;
  6581. IPC5bits : TINT_IPC5;
  6582. IPC5 : longWord;
  6583. IPC5CLR : longWord;
  6584. IPC5SET : longWord;
  6585. IPC5INV : longWord;
  6586. IPC6bits : TINT_IPC6;
  6587. IPC6 : longWord;
  6588. IPC6CLR : longWord;
  6589. IPC6SET : longWord;
  6590. IPC6INV : longWord;
  6591. IPC7bits : TINT_IPC7;
  6592. IPC7 : longWord;
  6593. IPC7CLR : longWord;
  6594. IPC7SET : longWord;
  6595. IPC7INV : longWord;
  6596. IPC8bits : TINT_IPC8;
  6597. IPC8 : longWord;
  6598. IPC8CLR : longWord;
  6599. IPC8SET : longWord;
  6600. IPC8INV : longWord;
  6601. IPC9bits : TINT_IPC9;
  6602. IPC9 : longWord;
  6603. IPC9CLR : longWord;
  6604. IPC9SET : longWord;
  6605. IPC9INV : longWord;
  6606. IPC10bits : TINT_IPC10;
  6607. IPC10 : longWord;
  6608. IPC10CLR : longWord;
  6609. IPC10SET : longWord;
  6610. IPC10INV : longWord;
  6611. end;
  6612. TBMX_BMXCON = record
  6613. private
  6614. function getBMXARB : TBits_3; inline;
  6615. function getBMXCHEDMA : TBits_1; inline;
  6616. function getBMXERRDMA : TBits_1; inline;
  6617. function getBMXERRDS : TBits_1; inline;
  6618. function getBMXERRICD : TBits_1; inline;
  6619. function getBMXERRIS : TBits_1; inline;
  6620. function getBMXERRIXI : TBits_1; inline;
  6621. function getBMXWSDRM : TBits_1; inline;
  6622. function getw : TBits_32; inline;
  6623. procedure setBMXARB(thebits : TBits_3); inline;
  6624. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6625. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6626. procedure setBMXERRDS(thebits : TBits_1); inline;
  6627. procedure setBMXERRICD(thebits : TBits_1); inline;
  6628. procedure setBMXERRIS(thebits : TBits_1); inline;
  6629. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6630. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6631. procedure setw(thebits : TBits_32); inline;
  6632. public
  6633. procedure clearBMXCHEDMA; inline;
  6634. procedure clearBMXERRDMA; inline;
  6635. procedure clearBMXERRDS; inline;
  6636. procedure clearBMXERRICD; inline;
  6637. procedure clearBMXERRIS; inline;
  6638. procedure clearBMXERRIXI; inline;
  6639. procedure clearBMXWSDRM; inline;
  6640. procedure setBMXCHEDMA; inline;
  6641. procedure setBMXERRDMA; inline;
  6642. procedure setBMXERRDS; inline;
  6643. procedure setBMXERRICD; inline;
  6644. procedure setBMXERRIS; inline;
  6645. procedure setBMXERRIXI; inline;
  6646. procedure setBMXWSDRM; inline;
  6647. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6648. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6649. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6650. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6651. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6652. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6653. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6654. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6655. property w : TBits_32 read getw write setw;
  6656. end;
  6657. type
  6658. TBMXRegisters = record
  6659. BMXCONbits : TBMX_BMXCON;
  6660. BMXCON : longWord;
  6661. BMXCONCLR : longWord;
  6662. BMXCONSET : longWord;
  6663. BMXCONINV : longWord;
  6664. BMXDKPBA : longWord;
  6665. BMXDKPBACLR : longWord;
  6666. BMXDKPBASET : longWord;
  6667. BMXDKPBAINV : longWord;
  6668. BMXDUDBA : longWord;
  6669. BMXDUDBACLR : longWord;
  6670. BMXDUDBASET : longWord;
  6671. BMXDUDBAINV : longWord;
  6672. BMXDUPBA : longWord;
  6673. BMXDUPBACLR : longWord;
  6674. BMXDUPBASET : longWord;
  6675. BMXDUPBAINV : longWord;
  6676. BMXDRMSZ : longWord;
  6677. BMXPUPBA : longWord;
  6678. BMXPUPBACLR : longWord;
  6679. BMXPUPBASET : longWord;
  6680. BMXPUPBAINV : longWord;
  6681. BMXPFMSZ : longWord;
  6682. BMXBOOTSZ : longWord;
  6683. end;
  6684. TDMAC_DMACON = record
  6685. private
  6686. function getDMABUSY : TBits_1; inline;
  6687. function getON : TBits_1; inline;
  6688. function getSUSPEND : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setDMABUSY(thebits : TBits_1); inline;
  6691. procedure setON(thebits : TBits_1); inline;
  6692. procedure setSUSPEND(thebits : TBits_1); inline;
  6693. procedure setw(thebits : TBits_32); inline;
  6694. public
  6695. procedure clearDMABUSY; inline;
  6696. procedure clearON; inline;
  6697. procedure clearSUSPEND; inline;
  6698. procedure setDMABUSY; inline;
  6699. procedure setON; inline;
  6700. procedure setSUSPEND; inline;
  6701. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6702. property ON : TBits_1 read getON write setON;
  6703. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6704. property w : TBits_32 read getw write setw;
  6705. end;
  6706. TDMAC_DMASTAT = record
  6707. private
  6708. function getDMACH : TBits_3; inline;
  6709. function getRDWR : TBits_1; inline;
  6710. function getw : TBits_32; inline;
  6711. procedure setDMACH(thebits : TBits_3); inline;
  6712. procedure setRDWR(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRDWR; inline;
  6716. procedure setRDWR; inline;
  6717. property DMACH : TBits_3 read getDMACH write setDMACH;
  6718. property RDWR : TBits_1 read getRDWR write setRDWR;
  6719. property w : TBits_32 read getw write setw;
  6720. end;
  6721. TDMAC_DCRCCON = record
  6722. private
  6723. function getBITO : TBits_1; inline;
  6724. function getBYTO : TBits_2; inline;
  6725. function getCRCAPP : TBits_1; inline;
  6726. function getCRCCH : TBits_3; inline;
  6727. function getCRCEN : TBits_1; inline;
  6728. function getCRCTYP : TBits_1; inline;
  6729. function getPLEN : TBits_5; inline;
  6730. function getWBO : TBits_1; inline;
  6731. function getw : TBits_32; inline;
  6732. procedure setBITO(thebits : TBits_1); inline;
  6733. procedure setBYTO(thebits : TBits_2); inline;
  6734. procedure setCRCAPP(thebits : TBits_1); inline;
  6735. procedure setCRCCH(thebits : TBits_3); inline;
  6736. procedure setCRCEN(thebits : TBits_1); inline;
  6737. procedure setCRCTYP(thebits : TBits_1); inline;
  6738. procedure setPLEN(thebits : TBits_5); inline;
  6739. procedure setWBO(thebits : TBits_1); inline;
  6740. procedure setw(thebits : TBits_32); inline;
  6741. public
  6742. procedure clearBITO; inline;
  6743. procedure clearCRCAPP; inline;
  6744. procedure clearCRCEN; inline;
  6745. procedure clearCRCTYP; inline;
  6746. procedure clearWBO; inline;
  6747. procedure setBITO; inline;
  6748. procedure setCRCAPP; inline;
  6749. procedure setCRCEN; inline;
  6750. procedure setCRCTYP; inline;
  6751. procedure setWBO; inline;
  6752. property BITO : TBits_1 read getBITO write setBITO;
  6753. property BYTO : TBits_2 read getBYTO write setBYTO;
  6754. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6755. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6756. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6757. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6758. property PLEN : TBits_5 read getPLEN write setPLEN;
  6759. property WBO : TBits_1 read getWBO write setWBO;
  6760. property w : TBits_32 read getw write setw;
  6761. end;
  6762. type
  6763. TDMACRegisters = record
  6764. DMACONbits : TDMAC_DMACON;
  6765. DMACON : longWord;
  6766. DMACONCLR : longWord;
  6767. DMACONSET : longWord;
  6768. DMACONINV : longWord;
  6769. DMASTATbits : TDMAC_DMASTAT;
  6770. DMASTAT : longWord;
  6771. DMASTATCLR : longWord;
  6772. DMASTATSET : longWord;
  6773. DMASTATINV : longWord;
  6774. DMAADDR : longWord;
  6775. DMAADDRCLR : longWord;
  6776. DMAADDRSET : longWord;
  6777. DMAADDRINV : longWord;
  6778. DCRCCONbits : TDMAC_DCRCCON;
  6779. DCRCCON : longWord;
  6780. DCRCCONCLR : longWord;
  6781. DCRCCONSET : longWord;
  6782. DCRCCONINV : longWord;
  6783. DCRCDATA : longWord;
  6784. DCRCDATACLR : longWord;
  6785. DCRCDATASET : longWord;
  6786. DCRCDATAINV : longWord;
  6787. DCRCXOR : longWord;
  6788. DCRCXORCLR : longWord;
  6789. DCRCXORSET : longWord;
  6790. DCRCXORINV : longWord;
  6791. end;
  6792. TDMAC0_DCH0CON = record
  6793. private
  6794. function getCHAED : TBits_1; inline;
  6795. function getCHAEN : TBits_1; inline;
  6796. function getCHBUSY : TBits_1; inline;
  6797. function getCHCHN : TBits_1; inline;
  6798. function getCHCHNS : TBits_1; inline;
  6799. function getCHEDET : TBits_1; inline;
  6800. function getCHEN : TBits_1; inline;
  6801. function getCHPRI : TBits_2; inline;
  6802. function getw : TBits_32; inline;
  6803. procedure setCHAED(thebits : TBits_1); inline;
  6804. procedure setCHAEN(thebits : TBits_1); inline;
  6805. procedure setCHBUSY(thebits : TBits_1); inline;
  6806. procedure setCHCHN(thebits : TBits_1); inline;
  6807. procedure setCHCHNS(thebits : TBits_1); inline;
  6808. procedure setCHEDET(thebits : TBits_1); inline;
  6809. procedure setCHEN(thebits : TBits_1); inline;
  6810. procedure setCHPRI(thebits : TBits_2); inline;
  6811. procedure setw(thebits : TBits_32); inline;
  6812. public
  6813. procedure clearCHAED; inline;
  6814. procedure clearCHAEN; inline;
  6815. procedure clearCHBUSY; inline;
  6816. procedure clearCHCHN; inline;
  6817. procedure clearCHCHNS; inline;
  6818. procedure clearCHEDET; inline;
  6819. procedure clearCHEN; inline;
  6820. procedure setCHAED; inline;
  6821. procedure setCHAEN; inline;
  6822. procedure setCHBUSY; inline;
  6823. procedure setCHCHN; inline;
  6824. procedure setCHCHNS; inline;
  6825. procedure setCHEDET; inline;
  6826. procedure setCHEN; inline;
  6827. property CHAED : TBits_1 read getCHAED write setCHAED;
  6828. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6829. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6830. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6831. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6832. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6833. property CHEN : TBits_1 read getCHEN write setCHEN;
  6834. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6835. property w : TBits_32 read getw write setw;
  6836. end;
  6837. TDMAC0_DCH0ECON = record
  6838. private
  6839. function getAIRQEN : TBits_1; inline;
  6840. function getCABORT : TBits_1; inline;
  6841. function getCFORCE : TBits_1; inline;
  6842. function getCHAIRQ : TBits_8; inline;
  6843. function getCHSIRQ : TBits_8; inline;
  6844. function getPATEN : TBits_1; inline;
  6845. function getSIRQEN : TBits_1; inline;
  6846. function getw : TBits_32; inline;
  6847. procedure setAIRQEN(thebits : TBits_1); inline;
  6848. procedure setCABORT(thebits : TBits_1); inline;
  6849. procedure setCFORCE(thebits : TBits_1); inline;
  6850. procedure setCHAIRQ(thebits : TBits_8); inline;
  6851. procedure setCHSIRQ(thebits : TBits_8); inline;
  6852. procedure setPATEN(thebits : TBits_1); inline;
  6853. procedure setSIRQEN(thebits : TBits_1); inline;
  6854. procedure setw(thebits : TBits_32); inline;
  6855. public
  6856. procedure clearAIRQEN; inline;
  6857. procedure clearCABORT; inline;
  6858. procedure clearCFORCE; inline;
  6859. procedure clearPATEN; inline;
  6860. procedure clearSIRQEN; inline;
  6861. procedure setAIRQEN; inline;
  6862. procedure setCABORT; inline;
  6863. procedure setCFORCE; inline;
  6864. procedure setPATEN; inline;
  6865. procedure setSIRQEN; inline;
  6866. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6867. property CABORT : TBits_1 read getCABORT write setCABORT;
  6868. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6869. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6870. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6871. property PATEN : TBits_1 read getPATEN write setPATEN;
  6872. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6873. property w : TBits_32 read getw write setw;
  6874. end;
  6875. TDMAC0_DCH0INT = record
  6876. private
  6877. function getCHBCIE : TBits_1; inline;
  6878. function getCHBCIF : TBits_1; inline;
  6879. function getCHCCIE : TBits_1; inline;
  6880. function getCHCCIF : TBits_1; inline;
  6881. function getCHDDIE : TBits_1; inline;
  6882. function getCHDDIF : TBits_1; inline;
  6883. function getCHDHIE : TBits_1; inline;
  6884. function getCHDHIF : TBits_1; inline;
  6885. function getCHERIE : TBits_1; inline;
  6886. function getCHERIF : TBits_1; inline;
  6887. function getCHSDIE : TBits_1; inline;
  6888. function getCHSDIF : TBits_1; inline;
  6889. function getCHSHIE : TBits_1; inline;
  6890. function getCHSHIF : TBits_1; inline;
  6891. function getCHTAIE : TBits_1; inline;
  6892. function getCHTAIF : TBits_1; inline;
  6893. function getw : TBits_32; inline;
  6894. procedure setCHBCIE(thebits : TBits_1); inline;
  6895. procedure setCHBCIF(thebits : TBits_1); inline;
  6896. procedure setCHCCIE(thebits : TBits_1); inline;
  6897. procedure setCHCCIF(thebits : TBits_1); inline;
  6898. procedure setCHDDIE(thebits : TBits_1); inline;
  6899. procedure setCHDDIF(thebits : TBits_1); inline;
  6900. procedure setCHDHIE(thebits : TBits_1); inline;
  6901. procedure setCHDHIF(thebits : TBits_1); inline;
  6902. procedure setCHERIE(thebits : TBits_1); inline;
  6903. procedure setCHERIF(thebits : TBits_1); inline;
  6904. procedure setCHSDIE(thebits : TBits_1); inline;
  6905. procedure setCHSDIF(thebits : TBits_1); inline;
  6906. procedure setCHSHIE(thebits : TBits_1); inline;
  6907. procedure setCHSHIF(thebits : TBits_1); inline;
  6908. procedure setCHTAIE(thebits : TBits_1); inline;
  6909. procedure setCHTAIF(thebits : TBits_1); inline;
  6910. procedure setw(thebits : TBits_32); inline;
  6911. public
  6912. procedure clearCHBCIE; inline;
  6913. procedure clearCHBCIF; inline;
  6914. procedure clearCHCCIE; inline;
  6915. procedure clearCHCCIF; inline;
  6916. procedure clearCHDDIE; inline;
  6917. procedure clearCHDDIF; inline;
  6918. procedure clearCHDHIE; inline;
  6919. procedure clearCHDHIF; inline;
  6920. procedure clearCHERIE; inline;
  6921. procedure clearCHERIF; inline;
  6922. procedure clearCHSDIE; inline;
  6923. procedure clearCHSDIF; inline;
  6924. procedure clearCHSHIE; inline;
  6925. procedure clearCHSHIF; inline;
  6926. procedure clearCHTAIE; inline;
  6927. procedure clearCHTAIF; inline;
  6928. procedure setCHBCIE; inline;
  6929. procedure setCHBCIF; inline;
  6930. procedure setCHCCIE; inline;
  6931. procedure setCHCCIF; inline;
  6932. procedure setCHDDIE; inline;
  6933. procedure setCHDDIF; inline;
  6934. procedure setCHDHIE; inline;
  6935. procedure setCHDHIF; inline;
  6936. procedure setCHERIE; inline;
  6937. procedure setCHERIF; inline;
  6938. procedure setCHSDIE; inline;
  6939. procedure setCHSDIF; inline;
  6940. procedure setCHSHIE; inline;
  6941. procedure setCHSHIF; inline;
  6942. procedure setCHTAIE; inline;
  6943. procedure setCHTAIF; inline;
  6944. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6945. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6946. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6947. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6948. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6949. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6950. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6951. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6952. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6953. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6954. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6955. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6956. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6957. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6958. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6959. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6960. property w : TBits_32 read getw write setw;
  6961. end;
  6962. type
  6963. TDMAC0Registers = record
  6964. DCH0CONbits : TDMAC0_DCH0CON;
  6965. DCH0CON : longWord;
  6966. DCH0CONCLR : longWord;
  6967. DCH0CONSET : longWord;
  6968. DCH0CONINV : longWord;
  6969. DCH0ECONbits : TDMAC0_DCH0ECON;
  6970. DCH0ECON : longWord;
  6971. DCH0ECONCLR : longWord;
  6972. DCH0ECONSET : longWord;
  6973. DCH0ECONINV : longWord;
  6974. DCH0INTbits : TDMAC0_DCH0INT;
  6975. DCH0INT : longWord;
  6976. DCH0INTCLR : longWord;
  6977. DCH0INTSET : longWord;
  6978. DCH0INTINV : longWord;
  6979. DCH0SSA : longWord;
  6980. DCH0SSACLR : longWord;
  6981. DCH0SSASET : longWord;
  6982. DCH0SSAINV : longWord;
  6983. DCH0DSA : longWord;
  6984. DCH0DSACLR : longWord;
  6985. DCH0DSASET : longWord;
  6986. DCH0DSAINV : longWord;
  6987. DCH0SSIZ : longWord;
  6988. DCH0SSIZCLR : longWord;
  6989. DCH0SSIZSET : longWord;
  6990. DCH0SSIZINV : longWord;
  6991. DCH0DSIZ : longWord;
  6992. DCH0DSIZCLR : longWord;
  6993. DCH0DSIZSET : longWord;
  6994. DCH0DSIZINV : longWord;
  6995. DCH0SPTR : longWord;
  6996. DCH0SPTRCLR : longWord;
  6997. DCH0SPTRSET : longWord;
  6998. DCH0SPTRINV : longWord;
  6999. DCH0DPTR : longWord;
  7000. DCH0DPTRCLR : longWord;
  7001. DCH0DPTRSET : longWord;
  7002. DCH0DPTRINV : longWord;
  7003. DCH0CSIZ : longWord;
  7004. DCH0CSIZCLR : longWord;
  7005. DCH0CSIZSET : longWord;
  7006. DCH0CSIZINV : longWord;
  7007. DCH0CPTR : longWord;
  7008. DCH0CPTRCLR : longWord;
  7009. DCH0CPTRSET : longWord;
  7010. DCH0CPTRINV : longWord;
  7011. DCH0DAT : longWord;
  7012. DCH0DATCLR : longWord;
  7013. DCH0DATSET : longWord;
  7014. DCH0DATINV : longWord;
  7015. end;
  7016. TDMAC1_DCH1CON = record
  7017. private
  7018. function getCHAED : TBits_1; inline;
  7019. function getCHAEN : TBits_1; inline;
  7020. function getCHBUSY : TBits_1; inline;
  7021. function getCHCHN : TBits_1; inline;
  7022. function getCHCHNS : TBits_1; inline;
  7023. function getCHEDET : TBits_1; inline;
  7024. function getCHEN : TBits_1; inline;
  7025. function getCHPRI : TBits_2; inline;
  7026. function getw : TBits_32; inline;
  7027. procedure setCHAED(thebits : TBits_1); inline;
  7028. procedure setCHAEN(thebits : TBits_1); inline;
  7029. procedure setCHBUSY(thebits : TBits_1); inline;
  7030. procedure setCHCHN(thebits : TBits_1); inline;
  7031. procedure setCHCHNS(thebits : TBits_1); inline;
  7032. procedure setCHEDET(thebits : TBits_1); inline;
  7033. procedure setCHEN(thebits : TBits_1); inline;
  7034. procedure setCHPRI(thebits : TBits_2); inline;
  7035. procedure setw(thebits : TBits_32); inline;
  7036. public
  7037. procedure clearCHAED; inline;
  7038. procedure clearCHAEN; inline;
  7039. procedure clearCHBUSY; inline;
  7040. procedure clearCHCHN; inline;
  7041. procedure clearCHCHNS; inline;
  7042. procedure clearCHEDET; inline;
  7043. procedure clearCHEN; inline;
  7044. procedure setCHAED; inline;
  7045. procedure setCHAEN; inline;
  7046. procedure setCHBUSY; inline;
  7047. procedure setCHCHN; inline;
  7048. procedure setCHCHNS; inline;
  7049. procedure setCHEDET; inline;
  7050. procedure setCHEN; inline;
  7051. property CHAED : TBits_1 read getCHAED write setCHAED;
  7052. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7053. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7054. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7055. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7056. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7057. property CHEN : TBits_1 read getCHEN write setCHEN;
  7058. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7059. property w : TBits_32 read getw write setw;
  7060. end;
  7061. TDMAC1_DCH1ECON = record
  7062. private
  7063. function getAIRQEN : TBits_1; inline;
  7064. function getCABORT : TBits_1; inline;
  7065. function getCFORCE : TBits_1; inline;
  7066. function getCHAIRQ : TBits_8; inline;
  7067. function getCHSIRQ : TBits_8; inline;
  7068. function getPATEN : TBits_1; inline;
  7069. function getSIRQEN : TBits_1; inline;
  7070. function getw : TBits_32; inline;
  7071. procedure setAIRQEN(thebits : TBits_1); inline;
  7072. procedure setCABORT(thebits : TBits_1); inline;
  7073. procedure setCFORCE(thebits : TBits_1); inline;
  7074. procedure setCHAIRQ(thebits : TBits_8); inline;
  7075. procedure setCHSIRQ(thebits : TBits_8); inline;
  7076. procedure setPATEN(thebits : TBits_1); inline;
  7077. procedure setSIRQEN(thebits : TBits_1); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearAIRQEN; inline;
  7081. procedure clearCABORT; inline;
  7082. procedure clearCFORCE; inline;
  7083. procedure clearPATEN; inline;
  7084. procedure clearSIRQEN; inline;
  7085. procedure setAIRQEN; inline;
  7086. procedure setCABORT; inline;
  7087. procedure setCFORCE; inline;
  7088. procedure setPATEN; inline;
  7089. procedure setSIRQEN; inline;
  7090. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7091. property CABORT : TBits_1 read getCABORT write setCABORT;
  7092. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7093. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7094. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7095. property PATEN : TBits_1 read getPATEN write setPATEN;
  7096. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7097. property w : TBits_32 read getw write setw;
  7098. end;
  7099. TDMAC1_DCH1INT = record
  7100. private
  7101. function getCHBCIE : TBits_1; inline;
  7102. function getCHBCIF : TBits_1; inline;
  7103. function getCHCCIE : TBits_1; inline;
  7104. function getCHCCIF : TBits_1; inline;
  7105. function getCHDDIE : TBits_1; inline;
  7106. function getCHDDIF : TBits_1; inline;
  7107. function getCHDHIE : TBits_1; inline;
  7108. function getCHDHIF : TBits_1; inline;
  7109. function getCHERIE : TBits_1; inline;
  7110. function getCHERIF : TBits_1; inline;
  7111. function getCHSDIE : TBits_1; inline;
  7112. function getCHSDIF : TBits_1; inline;
  7113. function getCHSHIE : TBits_1; inline;
  7114. function getCHSHIF : TBits_1; inline;
  7115. function getCHTAIE : TBits_1; inline;
  7116. function getCHTAIF : TBits_1; inline;
  7117. function getw : TBits_32; inline;
  7118. procedure setCHBCIE(thebits : TBits_1); inline;
  7119. procedure setCHBCIF(thebits : TBits_1); inline;
  7120. procedure setCHCCIE(thebits : TBits_1); inline;
  7121. procedure setCHCCIF(thebits : TBits_1); inline;
  7122. procedure setCHDDIE(thebits : TBits_1); inline;
  7123. procedure setCHDDIF(thebits : TBits_1); inline;
  7124. procedure setCHDHIE(thebits : TBits_1); inline;
  7125. procedure setCHDHIF(thebits : TBits_1); inline;
  7126. procedure setCHERIE(thebits : TBits_1); inline;
  7127. procedure setCHERIF(thebits : TBits_1); inline;
  7128. procedure setCHSDIE(thebits : TBits_1); inline;
  7129. procedure setCHSDIF(thebits : TBits_1); inline;
  7130. procedure setCHSHIE(thebits : TBits_1); inline;
  7131. procedure setCHSHIF(thebits : TBits_1); inline;
  7132. procedure setCHTAIE(thebits : TBits_1); inline;
  7133. procedure setCHTAIF(thebits : TBits_1); inline;
  7134. procedure setw(thebits : TBits_32); inline;
  7135. public
  7136. procedure clearCHBCIE; inline;
  7137. procedure clearCHBCIF; inline;
  7138. procedure clearCHCCIE; inline;
  7139. procedure clearCHCCIF; inline;
  7140. procedure clearCHDDIE; inline;
  7141. procedure clearCHDDIF; inline;
  7142. procedure clearCHDHIE; inline;
  7143. procedure clearCHDHIF; inline;
  7144. procedure clearCHERIE; inline;
  7145. procedure clearCHERIF; inline;
  7146. procedure clearCHSDIE; inline;
  7147. procedure clearCHSDIF; inline;
  7148. procedure clearCHSHIE; inline;
  7149. procedure clearCHSHIF; inline;
  7150. procedure clearCHTAIE; inline;
  7151. procedure clearCHTAIF; inline;
  7152. procedure setCHBCIE; inline;
  7153. procedure setCHBCIF; inline;
  7154. procedure setCHCCIE; inline;
  7155. procedure setCHCCIF; inline;
  7156. procedure setCHDDIE; inline;
  7157. procedure setCHDDIF; inline;
  7158. procedure setCHDHIE; inline;
  7159. procedure setCHDHIF; inline;
  7160. procedure setCHERIE; inline;
  7161. procedure setCHERIF; inline;
  7162. procedure setCHSDIE; inline;
  7163. procedure setCHSDIF; inline;
  7164. procedure setCHSHIE; inline;
  7165. procedure setCHSHIF; inline;
  7166. procedure setCHTAIE; inline;
  7167. procedure setCHTAIF; inline;
  7168. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7169. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7170. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7171. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7172. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7173. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7174. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7175. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7176. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7177. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7178. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7179. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7180. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7181. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7182. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7183. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7184. property w : TBits_32 read getw write setw;
  7185. end;
  7186. type
  7187. TDMAC1Registers = record
  7188. DCH1CONbits : TDMAC1_DCH1CON;
  7189. DCH1CON : longWord;
  7190. DCH1CONCLR : longWord;
  7191. DCH1CONSET : longWord;
  7192. DCH1CONINV : longWord;
  7193. DCH1ECONbits : TDMAC1_DCH1ECON;
  7194. DCH1ECON : longWord;
  7195. DCH1ECONCLR : longWord;
  7196. DCH1ECONSET : longWord;
  7197. DCH1ECONINV : longWord;
  7198. DCH1INTbits : TDMAC1_DCH1INT;
  7199. DCH1INT : longWord;
  7200. DCH1INTCLR : longWord;
  7201. DCH1INTSET : longWord;
  7202. DCH1INTINV : longWord;
  7203. DCH1SSA : longWord;
  7204. DCH1SSACLR : longWord;
  7205. DCH1SSASET : longWord;
  7206. DCH1SSAINV : longWord;
  7207. DCH1DSA : longWord;
  7208. DCH1DSACLR : longWord;
  7209. DCH1DSASET : longWord;
  7210. DCH1DSAINV : longWord;
  7211. DCH1SSIZ : longWord;
  7212. DCH1SSIZCLR : longWord;
  7213. DCH1SSIZSET : longWord;
  7214. DCH1SSIZINV : longWord;
  7215. DCH1DSIZ : longWord;
  7216. DCH1DSIZCLR : longWord;
  7217. DCH1DSIZSET : longWord;
  7218. DCH1DSIZINV : longWord;
  7219. DCH1SPTR : longWord;
  7220. DCH1SPTRCLR : longWord;
  7221. DCH1SPTRSET : longWord;
  7222. DCH1SPTRINV : longWord;
  7223. DCH1DPTR : longWord;
  7224. DCH1DPTRCLR : longWord;
  7225. DCH1DPTRSET : longWord;
  7226. DCH1DPTRINV : longWord;
  7227. DCH1CSIZ : longWord;
  7228. DCH1CSIZCLR : longWord;
  7229. DCH1CSIZSET : longWord;
  7230. DCH1CSIZINV : longWord;
  7231. DCH1CPTR : longWord;
  7232. DCH1CPTRCLR : longWord;
  7233. DCH1CPTRSET : longWord;
  7234. DCH1CPTRINV : longWord;
  7235. DCH1DAT : longWord;
  7236. DCH1DATCLR : longWord;
  7237. DCH1DATSET : longWord;
  7238. DCH1DATINV : longWord;
  7239. end;
  7240. TDMAC2_DCH2CON = record
  7241. private
  7242. function getCHAED : TBits_1; inline;
  7243. function getCHAEN : TBits_1; inline;
  7244. function getCHBUSY : TBits_1; inline;
  7245. function getCHCHN : TBits_1; inline;
  7246. function getCHCHNS : TBits_1; inline;
  7247. function getCHEDET : TBits_1; inline;
  7248. function getCHEN : TBits_1; inline;
  7249. function getCHPRI : TBits_2; inline;
  7250. function getw : TBits_32; inline;
  7251. procedure setCHAED(thebits : TBits_1); inline;
  7252. procedure setCHAEN(thebits : TBits_1); inline;
  7253. procedure setCHBUSY(thebits : TBits_1); inline;
  7254. procedure setCHCHN(thebits : TBits_1); inline;
  7255. procedure setCHCHNS(thebits : TBits_1); inline;
  7256. procedure setCHEDET(thebits : TBits_1); inline;
  7257. procedure setCHEN(thebits : TBits_1); inline;
  7258. procedure setCHPRI(thebits : TBits_2); inline;
  7259. procedure setw(thebits : TBits_32); inline;
  7260. public
  7261. procedure clearCHAED; inline;
  7262. procedure clearCHAEN; inline;
  7263. procedure clearCHBUSY; inline;
  7264. procedure clearCHCHN; inline;
  7265. procedure clearCHCHNS; inline;
  7266. procedure clearCHEDET; inline;
  7267. procedure clearCHEN; inline;
  7268. procedure setCHAED; inline;
  7269. procedure setCHAEN; inline;
  7270. procedure setCHBUSY; inline;
  7271. procedure setCHCHN; inline;
  7272. procedure setCHCHNS; inline;
  7273. procedure setCHEDET; inline;
  7274. procedure setCHEN; inline;
  7275. property CHAED : TBits_1 read getCHAED write setCHAED;
  7276. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7277. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7278. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7279. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7280. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7281. property CHEN : TBits_1 read getCHEN write setCHEN;
  7282. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7283. property w : TBits_32 read getw write setw;
  7284. end;
  7285. TDMAC2_DCH2ECON = record
  7286. private
  7287. function getAIRQEN : TBits_1; inline;
  7288. function getCABORT : TBits_1; inline;
  7289. function getCFORCE : TBits_1; inline;
  7290. function getCHAIRQ : TBits_8; inline;
  7291. function getCHSIRQ : TBits_8; inline;
  7292. function getPATEN : TBits_1; inline;
  7293. function getSIRQEN : TBits_1; inline;
  7294. function getw : TBits_32; inline;
  7295. procedure setAIRQEN(thebits : TBits_1); inline;
  7296. procedure setCABORT(thebits : TBits_1); inline;
  7297. procedure setCFORCE(thebits : TBits_1); inline;
  7298. procedure setCHAIRQ(thebits : TBits_8); inline;
  7299. procedure setCHSIRQ(thebits : TBits_8); inline;
  7300. procedure setPATEN(thebits : TBits_1); inline;
  7301. procedure setSIRQEN(thebits : TBits_1); inline;
  7302. procedure setw(thebits : TBits_32); inline;
  7303. public
  7304. procedure clearAIRQEN; inline;
  7305. procedure clearCABORT; inline;
  7306. procedure clearCFORCE; inline;
  7307. procedure clearPATEN; inline;
  7308. procedure clearSIRQEN; inline;
  7309. procedure setAIRQEN; inline;
  7310. procedure setCABORT; inline;
  7311. procedure setCFORCE; inline;
  7312. procedure setPATEN; inline;
  7313. procedure setSIRQEN; inline;
  7314. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7315. property CABORT : TBits_1 read getCABORT write setCABORT;
  7316. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7317. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7318. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7319. property PATEN : TBits_1 read getPATEN write setPATEN;
  7320. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7321. property w : TBits_32 read getw write setw;
  7322. end;
  7323. TDMAC2_DCH2INT = record
  7324. private
  7325. function getCHBCIE : TBits_1; inline;
  7326. function getCHBCIF : TBits_1; inline;
  7327. function getCHCCIE : TBits_1; inline;
  7328. function getCHCCIF : TBits_1; inline;
  7329. function getCHDDIE : TBits_1; inline;
  7330. function getCHDDIF : TBits_1; inline;
  7331. function getCHDHIE : TBits_1; inline;
  7332. function getCHDHIF : TBits_1; inline;
  7333. function getCHERIE : TBits_1; inline;
  7334. function getCHERIF : TBits_1; inline;
  7335. function getCHSDIE : TBits_1; inline;
  7336. function getCHSDIF : TBits_1; inline;
  7337. function getCHSHIE : TBits_1; inline;
  7338. function getCHSHIF : TBits_1; inline;
  7339. function getCHTAIE : TBits_1; inline;
  7340. function getCHTAIF : TBits_1; inline;
  7341. function getw : TBits_32; inline;
  7342. procedure setCHBCIE(thebits : TBits_1); inline;
  7343. procedure setCHBCIF(thebits : TBits_1); inline;
  7344. procedure setCHCCIE(thebits : TBits_1); inline;
  7345. procedure setCHCCIF(thebits : TBits_1); inline;
  7346. procedure setCHDDIE(thebits : TBits_1); inline;
  7347. procedure setCHDDIF(thebits : TBits_1); inline;
  7348. procedure setCHDHIE(thebits : TBits_1); inline;
  7349. procedure setCHDHIF(thebits : TBits_1); inline;
  7350. procedure setCHERIE(thebits : TBits_1); inline;
  7351. procedure setCHERIF(thebits : TBits_1); inline;
  7352. procedure setCHSDIE(thebits : TBits_1); inline;
  7353. procedure setCHSDIF(thebits : TBits_1); inline;
  7354. procedure setCHSHIE(thebits : TBits_1); inline;
  7355. procedure setCHSHIF(thebits : TBits_1); inline;
  7356. procedure setCHTAIE(thebits : TBits_1); inline;
  7357. procedure setCHTAIF(thebits : TBits_1); inline;
  7358. procedure setw(thebits : TBits_32); inline;
  7359. public
  7360. procedure clearCHBCIE; inline;
  7361. procedure clearCHBCIF; inline;
  7362. procedure clearCHCCIE; inline;
  7363. procedure clearCHCCIF; inline;
  7364. procedure clearCHDDIE; inline;
  7365. procedure clearCHDDIF; inline;
  7366. procedure clearCHDHIE; inline;
  7367. procedure clearCHDHIF; inline;
  7368. procedure clearCHERIE; inline;
  7369. procedure clearCHERIF; inline;
  7370. procedure clearCHSDIE; inline;
  7371. procedure clearCHSDIF; inline;
  7372. procedure clearCHSHIE; inline;
  7373. procedure clearCHSHIF; inline;
  7374. procedure clearCHTAIE; inline;
  7375. procedure clearCHTAIF; inline;
  7376. procedure setCHBCIE; inline;
  7377. procedure setCHBCIF; inline;
  7378. procedure setCHCCIE; inline;
  7379. procedure setCHCCIF; inline;
  7380. procedure setCHDDIE; inline;
  7381. procedure setCHDDIF; inline;
  7382. procedure setCHDHIE; inline;
  7383. procedure setCHDHIF; inline;
  7384. procedure setCHERIE; inline;
  7385. procedure setCHERIF; inline;
  7386. procedure setCHSDIE; inline;
  7387. procedure setCHSDIF; inline;
  7388. procedure setCHSHIE; inline;
  7389. procedure setCHSHIF; inline;
  7390. procedure setCHTAIE; inline;
  7391. procedure setCHTAIF; inline;
  7392. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7393. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7394. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7395. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7396. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7397. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7398. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7399. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7400. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7401. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7402. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7403. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7404. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7405. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7406. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7407. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7408. property w : TBits_32 read getw write setw;
  7409. end;
  7410. type
  7411. TDMAC2Registers = record
  7412. DCH2CONbits : TDMAC2_DCH2CON;
  7413. DCH2CON : longWord;
  7414. DCH2CONCLR : longWord;
  7415. DCH2CONSET : longWord;
  7416. DCH2CONINV : longWord;
  7417. DCH2ECONbits : TDMAC2_DCH2ECON;
  7418. DCH2ECON : longWord;
  7419. DCH2ECONCLR : longWord;
  7420. DCH2ECONSET : longWord;
  7421. DCH2ECONINV : longWord;
  7422. DCH2INTbits : TDMAC2_DCH2INT;
  7423. DCH2INT : longWord;
  7424. DCH2INTCLR : longWord;
  7425. DCH2INTSET : longWord;
  7426. DCH2INTINV : longWord;
  7427. DCH2SSA : longWord;
  7428. DCH2SSACLR : longWord;
  7429. DCH2SSASET : longWord;
  7430. DCH2SSAINV : longWord;
  7431. DCH2DSA : longWord;
  7432. DCH2DSACLR : longWord;
  7433. DCH2DSASET : longWord;
  7434. DCH2DSAINV : longWord;
  7435. DCH2SSIZ : longWord;
  7436. DCH2SSIZCLR : longWord;
  7437. DCH2SSIZSET : longWord;
  7438. DCH2SSIZINV : longWord;
  7439. DCH2DSIZ : longWord;
  7440. DCH2DSIZCLR : longWord;
  7441. DCH2DSIZSET : longWord;
  7442. DCH2DSIZINV : longWord;
  7443. DCH2SPTR : longWord;
  7444. DCH2SPTRCLR : longWord;
  7445. DCH2SPTRSET : longWord;
  7446. DCH2SPTRINV : longWord;
  7447. DCH2DPTR : longWord;
  7448. DCH2DPTRCLR : longWord;
  7449. DCH2DPTRSET : longWord;
  7450. DCH2DPTRINV : longWord;
  7451. DCH2CSIZ : longWord;
  7452. DCH2CSIZCLR : longWord;
  7453. DCH2CSIZSET : longWord;
  7454. DCH2CSIZINV : longWord;
  7455. DCH2CPTR : longWord;
  7456. DCH2CPTRCLR : longWord;
  7457. DCH2CPTRSET : longWord;
  7458. DCH2CPTRINV : longWord;
  7459. DCH2DAT : longWord;
  7460. DCH2DATCLR : longWord;
  7461. DCH2DATSET : longWord;
  7462. DCH2DATINV : longWord;
  7463. end;
  7464. TDMAC3_DCH3CON = record
  7465. private
  7466. function getCHAED : TBits_1; inline;
  7467. function getCHAEN : TBits_1; inline;
  7468. function getCHBUSY : TBits_1; inline;
  7469. function getCHCHN : TBits_1; inline;
  7470. function getCHCHNS : TBits_1; inline;
  7471. function getCHEDET : TBits_1; inline;
  7472. function getCHEN : TBits_1; inline;
  7473. function getCHPRI : TBits_2; inline;
  7474. function getw : TBits_32; inline;
  7475. procedure setCHAED(thebits : TBits_1); inline;
  7476. procedure setCHAEN(thebits : TBits_1); inline;
  7477. procedure setCHBUSY(thebits : TBits_1); inline;
  7478. procedure setCHCHN(thebits : TBits_1); inline;
  7479. procedure setCHCHNS(thebits : TBits_1); inline;
  7480. procedure setCHEDET(thebits : TBits_1); inline;
  7481. procedure setCHEN(thebits : TBits_1); inline;
  7482. procedure setCHPRI(thebits : TBits_2); inline;
  7483. procedure setw(thebits : TBits_32); inline;
  7484. public
  7485. procedure clearCHAED; inline;
  7486. procedure clearCHAEN; inline;
  7487. procedure clearCHBUSY; inline;
  7488. procedure clearCHCHN; inline;
  7489. procedure clearCHCHNS; inline;
  7490. procedure clearCHEDET; inline;
  7491. procedure clearCHEN; inline;
  7492. procedure setCHAED; inline;
  7493. procedure setCHAEN; inline;
  7494. procedure setCHBUSY; inline;
  7495. procedure setCHCHN; inline;
  7496. procedure setCHCHNS; inline;
  7497. procedure setCHEDET; inline;
  7498. procedure setCHEN; inline;
  7499. property CHAED : TBits_1 read getCHAED write setCHAED;
  7500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7505. property CHEN : TBits_1 read getCHEN write setCHEN;
  7506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7507. property w : TBits_32 read getw write setw;
  7508. end;
  7509. TDMAC3_DCH3ECON = record
  7510. private
  7511. function getAIRQEN : TBits_1; inline;
  7512. function getCABORT : TBits_1; inline;
  7513. function getCFORCE : TBits_1; inline;
  7514. function getCHAIRQ : TBits_8; inline;
  7515. function getCHSIRQ : TBits_8; inline;
  7516. function getPATEN : TBits_1; inline;
  7517. function getSIRQEN : TBits_1; inline;
  7518. function getw : TBits_32; inline;
  7519. procedure setAIRQEN(thebits : TBits_1); inline;
  7520. procedure setCABORT(thebits : TBits_1); inline;
  7521. procedure setCFORCE(thebits : TBits_1); inline;
  7522. procedure setCHAIRQ(thebits : TBits_8); inline;
  7523. procedure setCHSIRQ(thebits : TBits_8); inline;
  7524. procedure setPATEN(thebits : TBits_1); inline;
  7525. procedure setSIRQEN(thebits : TBits_1); inline;
  7526. procedure setw(thebits : TBits_32); inline;
  7527. public
  7528. procedure clearAIRQEN; inline;
  7529. procedure clearCABORT; inline;
  7530. procedure clearCFORCE; inline;
  7531. procedure clearPATEN; inline;
  7532. procedure clearSIRQEN; inline;
  7533. procedure setAIRQEN; inline;
  7534. procedure setCABORT; inline;
  7535. procedure setCFORCE; inline;
  7536. procedure setPATEN; inline;
  7537. procedure setSIRQEN; inline;
  7538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7539. property CABORT : TBits_1 read getCABORT write setCABORT;
  7540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7543. property PATEN : TBits_1 read getPATEN write setPATEN;
  7544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7545. property w : TBits_32 read getw write setw;
  7546. end;
  7547. TDMAC3_DCH3INT = record
  7548. private
  7549. function getCHBCIE : TBits_1; inline;
  7550. function getCHBCIF : TBits_1; inline;
  7551. function getCHCCIE : TBits_1; inline;
  7552. function getCHCCIF : TBits_1; inline;
  7553. function getCHDDIE : TBits_1; inline;
  7554. function getCHDDIF : TBits_1; inline;
  7555. function getCHDHIE : TBits_1; inline;
  7556. function getCHDHIF : TBits_1; inline;
  7557. function getCHERIE : TBits_1; inline;
  7558. function getCHERIF : TBits_1; inline;
  7559. function getCHSDIE : TBits_1; inline;
  7560. function getCHSDIF : TBits_1; inline;
  7561. function getCHSHIE : TBits_1; inline;
  7562. function getCHSHIF : TBits_1; inline;
  7563. function getCHTAIE : TBits_1; inline;
  7564. function getCHTAIF : TBits_1; inline;
  7565. function getw : TBits_32; inline;
  7566. procedure setCHBCIE(thebits : TBits_1); inline;
  7567. procedure setCHBCIF(thebits : TBits_1); inline;
  7568. procedure setCHCCIE(thebits : TBits_1); inline;
  7569. procedure setCHCCIF(thebits : TBits_1); inline;
  7570. procedure setCHDDIE(thebits : TBits_1); inline;
  7571. procedure setCHDDIF(thebits : TBits_1); inline;
  7572. procedure setCHDHIE(thebits : TBits_1); inline;
  7573. procedure setCHDHIF(thebits : TBits_1); inline;
  7574. procedure setCHERIE(thebits : TBits_1); inline;
  7575. procedure setCHERIF(thebits : TBits_1); inline;
  7576. procedure setCHSDIE(thebits : TBits_1); inline;
  7577. procedure setCHSDIF(thebits : TBits_1); inline;
  7578. procedure setCHSHIE(thebits : TBits_1); inline;
  7579. procedure setCHSHIF(thebits : TBits_1); inline;
  7580. procedure setCHTAIE(thebits : TBits_1); inline;
  7581. procedure setCHTAIF(thebits : TBits_1); inline;
  7582. procedure setw(thebits : TBits_32); inline;
  7583. public
  7584. procedure clearCHBCIE; inline;
  7585. procedure clearCHBCIF; inline;
  7586. procedure clearCHCCIE; inline;
  7587. procedure clearCHCCIF; inline;
  7588. procedure clearCHDDIE; inline;
  7589. procedure clearCHDDIF; inline;
  7590. procedure clearCHDHIE; inline;
  7591. procedure clearCHDHIF; inline;
  7592. procedure clearCHERIE; inline;
  7593. procedure clearCHERIF; inline;
  7594. procedure clearCHSDIE; inline;
  7595. procedure clearCHSDIF; inline;
  7596. procedure clearCHSHIE; inline;
  7597. procedure clearCHSHIF; inline;
  7598. procedure clearCHTAIE; inline;
  7599. procedure clearCHTAIF; inline;
  7600. procedure setCHBCIE; inline;
  7601. procedure setCHBCIF; inline;
  7602. procedure setCHCCIE; inline;
  7603. procedure setCHCCIF; inline;
  7604. procedure setCHDDIE; inline;
  7605. procedure setCHDDIF; inline;
  7606. procedure setCHDHIE; inline;
  7607. procedure setCHDHIF; inline;
  7608. procedure setCHERIE; inline;
  7609. procedure setCHERIF; inline;
  7610. procedure setCHSDIE; inline;
  7611. procedure setCHSDIF; inline;
  7612. procedure setCHSHIE; inline;
  7613. procedure setCHSHIF; inline;
  7614. procedure setCHTAIE; inline;
  7615. procedure setCHTAIF; inline;
  7616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7632. property w : TBits_32 read getw write setw;
  7633. end;
  7634. type
  7635. TDMAC3Registers = record
  7636. DCH3CONbits : TDMAC3_DCH3CON;
  7637. DCH3CON : longWord;
  7638. DCH3CONCLR : longWord;
  7639. DCH3CONSET : longWord;
  7640. DCH3CONINV : longWord;
  7641. DCH3ECONbits : TDMAC3_DCH3ECON;
  7642. DCH3ECON : longWord;
  7643. DCH3ECONCLR : longWord;
  7644. DCH3ECONSET : longWord;
  7645. DCH3ECONINV : longWord;
  7646. DCH3INTbits : TDMAC3_DCH3INT;
  7647. DCH3INT : longWord;
  7648. DCH3INTCLR : longWord;
  7649. DCH3INTSET : longWord;
  7650. DCH3INTINV : longWord;
  7651. DCH3SSA : longWord;
  7652. DCH3SSACLR : longWord;
  7653. DCH3SSASET : longWord;
  7654. DCH3SSAINV : longWord;
  7655. DCH3DSA : longWord;
  7656. DCH3DSACLR : longWord;
  7657. DCH3DSASET : longWord;
  7658. DCH3DSAINV : longWord;
  7659. DCH3SSIZ : longWord;
  7660. DCH3SSIZCLR : longWord;
  7661. DCH3SSIZSET : longWord;
  7662. DCH3SSIZINV : longWord;
  7663. DCH3DSIZ : longWord;
  7664. DCH3DSIZCLR : longWord;
  7665. DCH3DSIZSET : longWord;
  7666. DCH3DSIZINV : longWord;
  7667. DCH3SPTR : longWord;
  7668. DCH3SPTRCLR : longWord;
  7669. DCH3SPTRSET : longWord;
  7670. DCH3SPTRINV : longWord;
  7671. DCH3DPTR : longWord;
  7672. DCH3DPTRCLR : longWord;
  7673. DCH3DPTRSET : longWord;
  7674. DCH3DPTRINV : longWord;
  7675. DCH3CSIZ : longWord;
  7676. DCH3CSIZCLR : longWord;
  7677. DCH3CSIZSET : longWord;
  7678. DCH3CSIZINV : longWord;
  7679. DCH3CPTR : longWord;
  7680. DCH3CPTRCLR : longWord;
  7681. DCH3CPTRSET : longWord;
  7682. DCH3CPTRINV : longWord;
  7683. DCH3DAT : longWord;
  7684. DCH3DATCLR : longWord;
  7685. DCH3DATSET : longWord;
  7686. DCH3DATINV : longWord;
  7687. end;
  7688. TUSB_U1IR = record
  7689. private
  7690. function getATTACHIF : TBits_1; inline;
  7691. function getDETACHIF : TBits_1; inline;
  7692. function getIDLEIF : TBits_1; inline;
  7693. function getRESUMEIF : TBits_1; inline;
  7694. function getSOFIF : TBits_1; inline;
  7695. function getSTALLIF : TBits_1; inline;
  7696. function getTRNIF : TBits_1; inline;
  7697. function getUERRIF : TBits_1; inline;
  7698. function getURSTIF : TBits_1; inline;
  7699. function getURSTIF_DETACHIF : TBits_1; inline;
  7700. procedure setATTACHIF(thebits : TBits_1); inline;
  7701. procedure setDETACHIF(thebits : TBits_1); inline;
  7702. procedure setIDLEIF(thebits : TBits_1); inline;
  7703. procedure setRESUMEIF(thebits : TBits_1); inline;
  7704. procedure setSOFIF(thebits : TBits_1); inline;
  7705. procedure setSTALLIF(thebits : TBits_1); inline;
  7706. procedure setTRNIF(thebits : TBits_1); inline;
  7707. procedure setUERRIF(thebits : TBits_1); inline;
  7708. procedure setURSTIF(thebits : TBits_1); inline;
  7709. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7710. public
  7711. procedure clearATTACHIF; inline;
  7712. procedure clearDETACHIF; inline;
  7713. procedure clearIDLEIF; inline;
  7714. procedure clearRESUMEIF; inline;
  7715. procedure clearSOFIF; inline;
  7716. procedure clearSTALLIF; inline;
  7717. procedure clearTRNIF; inline;
  7718. procedure clearUERRIF; inline;
  7719. procedure clearURSTIF; inline;
  7720. procedure clearURSTIF_DETACHIF; inline;
  7721. procedure setATTACHIF; inline;
  7722. procedure setDETACHIF; inline;
  7723. procedure setIDLEIF; inline;
  7724. procedure setRESUMEIF; inline;
  7725. procedure setSOFIF; inline;
  7726. procedure setSTALLIF; inline;
  7727. procedure setTRNIF; inline;
  7728. procedure setUERRIF; inline;
  7729. procedure setURSTIF; inline;
  7730. procedure setURSTIF_DETACHIF; inline;
  7731. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7732. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7733. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7734. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7735. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7736. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7737. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7738. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7739. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7740. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7741. end;
  7742. TUSB_U1IE = record
  7743. private
  7744. function getATTACHIE : TBits_1; inline;
  7745. function getDETACHIE : TBits_1; inline;
  7746. function getIDLEIE : TBits_1; inline;
  7747. function getRESUMEIE : TBits_1; inline;
  7748. function getSOFIE : TBits_1; inline;
  7749. function getSTALLIE : TBits_1; inline;
  7750. function getTRNIE : TBits_1; inline;
  7751. function getUERRIE : TBits_1; inline;
  7752. function getURSTIE : TBits_1; inline;
  7753. function getURSTIE_DETACHIE : TBits_1; inline;
  7754. procedure setATTACHIE(thebits : TBits_1); inline;
  7755. procedure setDETACHIE(thebits : TBits_1); inline;
  7756. procedure setIDLEIE(thebits : TBits_1); inline;
  7757. procedure setRESUMEIE(thebits : TBits_1); inline;
  7758. procedure setSOFIE(thebits : TBits_1); inline;
  7759. procedure setSTALLIE(thebits : TBits_1); inline;
  7760. procedure setTRNIE(thebits : TBits_1); inline;
  7761. procedure setUERRIE(thebits : TBits_1); inline;
  7762. procedure setURSTIE(thebits : TBits_1); inline;
  7763. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7764. public
  7765. procedure clearATTACHIE; inline;
  7766. procedure clearDETACHIE; inline;
  7767. procedure clearIDLEIE; inline;
  7768. procedure clearRESUMEIE; inline;
  7769. procedure clearSOFIE; inline;
  7770. procedure clearSTALLIE; inline;
  7771. procedure clearTRNIE; inline;
  7772. procedure clearUERRIE; inline;
  7773. procedure clearURSTIE; inline;
  7774. procedure clearURSTIE_DETACHIE; inline;
  7775. procedure setATTACHIE; inline;
  7776. procedure setDETACHIE; inline;
  7777. procedure setIDLEIE; inline;
  7778. procedure setRESUMEIE; inline;
  7779. procedure setSOFIE; inline;
  7780. procedure setSTALLIE; inline;
  7781. procedure setTRNIE; inline;
  7782. procedure setUERRIE; inline;
  7783. procedure setURSTIE; inline;
  7784. procedure setURSTIE_DETACHIE; inline;
  7785. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7786. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7787. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7788. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7789. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7790. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7791. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7792. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7793. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7794. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7795. end;
  7796. TUSB_U1EIR = record
  7797. private
  7798. function getBMXEF : TBits_1; inline;
  7799. function getBTOEF : TBits_1; inline;
  7800. function getBTSEF : TBits_1; inline;
  7801. function getCRC16EF : TBits_1; inline;
  7802. function getCRC5EF : TBits_1; inline;
  7803. function getCRC5EF_EOFEF : TBits_1; inline;
  7804. function getDFN8EF : TBits_1; inline;
  7805. function getDMAEF : TBits_1; inline;
  7806. function getEOFEF : TBits_1; inline;
  7807. function getPIDEF : TBits_1; inline;
  7808. procedure setBMXEF(thebits : TBits_1); inline;
  7809. procedure setBTOEF(thebits : TBits_1); inline;
  7810. procedure setBTSEF(thebits : TBits_1); inline;
  7811. procedure setCRC16EF(thebits : TBits_1); inline;
  7812. procedure setCRC5EF(thebits : TBits_1); inline;
  7813. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7814. procedure setDFN8EF(thebits : TBits_1); inline;
  7815. procedure setDMAEF(thebits : TBits_1); inline;
  7816. procedure setEOFEF(thebits : TBits_1); inline;
  7817. procedure setPIDEF(thebits : TBits_1); inline;
  7818. public
  7819. procedure clearBMXEF; inline;
  7820. procedure clearBTOEF; inline;
  7821. procedure clearBTSEF; inline;
  7822. procedure clearCRC16EF; inline;
  7823. procedure clearCRC5EF; inline;
  7824. procedure clearCRC5EF_EOFEF; inline;
  7825. procedure clearDFN8EF; inline;
  7826. procedure clearDMAEF; inline;
  7827. procedure clearEOFEF; inline;
  7828. procedure clearPIDEF; inline;
  7829. procedure setBMXEF; inline;
  7830. procedure setBTOEF; inline;
  7831. procedure setBTSEF; inline;
  7832. procedure setCRC16EF; inline;
  7833. procedure setCRC5EF; inline;
  7834. procedure setCRC5EF_EOFEF; inline;
  7835. procedure setDFN8EF; inline;
  7836. procedure setDMAEF; inline;
  7837. procedure setEOFEF; inline;
  7838. procedure setPIDEF; inline;
  7839. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7840. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7841. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7842. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7843. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7844. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7845. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7846. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7847. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7848. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7849. end;
  7850. TUSB_U1EIE = record
  7851. private
  7852. function getBMXEE : TBits_1; inline;
  7853. function getBTOEE : TBits_1; inline;
  7854. function getBTSEE : TBits_1; inline;
  7855. function getCRC16EE : TBits_1; inline;
  7856. function getCRC5EE : TBits_1; inline;
  7857. function getCRC5EE_EOFEE : TBits_1; inline;
  7858. function getDFN8EE : TBits_1; inline;
  7859. function getDMAEE : TBits_1; inline;
  7860. function getEOFEE : TBits_1; inline;
  7861. function getPIDEE : TBits_1; inline;
  7862. procedure setBMXEE(thebits : TBits_1); inline;
  7863. procedure setBTOEE(thebits : TBits_1); inline;
  7864. procedure setBTSEE(thebits : TBits_1); inline;
  7865. procedure setCRC16EE(thebits : TBits_1); inline;
  7866. procedure setCRC5EE(thebits : TBits_1); inline;
  7867. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7868. procedure setDFN8EE(thebits : TBits_1); inline;
  7869. procedure setDMAEE(thebits : TBits_1); inline;
  7870. procedure setEOFEE(thebits : TBits_1); inline;
  7871. procedure setPIDEE(thebits : TBits_1); inline;
  7872. public
  7873. procedure clearBMXEE; inline;
  7874. procedure clearBTOEE; inline;
  7875. procedure clearBTSEE; inline;
  7876. procedure clearCRC16EE; inline;
  7877. procedure clearCRC5EE; inline;
  7878. procedure clearCRC5EE_EOFEE; inline;
  7879. procedure clearDFN8EE; inline;
  7880. procedure clearDMAEE; inline;
  7881. procedure clearEOFEE; inline;
  7882. procedure clearPIDEE; inline;
  7883. procedure setBMXEE; inline;
  7884. procedure setBTOEE; inline;
  7885. procedure setBTSEE; inline;
  7886. procedure setCRC16EE; inline;
  7887. procedure setCRC5EE; inline;
  7888. procedure setCRC5EE_EOFEE; inline;
  7889. procedure setDFN8EE; inline;
  7890. procedure setDMAEE; inline;
  7891. procedure setEOFEE; inline;
  7892. procedure setPIDEE; inline;
  7893. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7894. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7895. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7896. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7897. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7898. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7899. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7900. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7901. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7902. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7903. end;
  7904. TUSB_U1STAT = record
  7905. private
  7906. function getDIR : TBits_1; inline;
  7907. function getENDPT : TBits_4; inline;
  7908. function getENDPT0 : TBits_1; inline;
  7909. function getENDPT1 : TBits_1; inline;
  7910. function getENDPT2 : TBits_1; inline;
  7911. function getENDPT3 : TBits_1; inline;
  7912. function getPPBI : TBits_1; inline;
  7913. procedure setDIR(thebits : TBits_1); inline;
  7914. procedure setENDPT(thebits : TBits_4); inline;
  7915. procedure setENDPT0(thebits : TBits_1); inline;
  7916. procedure setENDPT1(thebits : TBits_1); inline;
  7917. procedure setENDPT2(thebits : TBits_1); inline;
  7918. procedure setENDPT3(thebits : TBits_1); inline;
  7919. procedure setPPBI(thebits : TBits_1); inline;
  7920. public
  7921. procedure clearDIR; inline;
  7922. procedure clearENDPT0; inline;
  7923. procedure clearENDPT1; inline;
  7924. procedure clearENDPT2; inline;
  7925. procedure clearENDPT3; inline;
  7926. procedure clearPPBI; inline;
  7927. procedure setDIR; inline;
  7928. procedure setENDPT0; inline;
  7929. procedure setENDPT1; inline;
  7930. procedure setENDPT2; inline;
  7931. procedure setENDPT3; inline;
  7932. procedure setPPBI; inline;
  7933. property DIR : TBits_1 read getDIR write setDIR;
  7934. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7935. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7936. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7937. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7938. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7939. property PPBI : TBits_1 read getPPBI write setPPBI;
  7940. end;
  7941. TUSB_U1CON = record
  7942. private
  7943. function getHOSTEN : TBits_1; inline;
  7944. function getJSTATE : TBits_1; inline;
  7945. function getPKTDIS : TBits_1; inline;
  7946. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7947. function getPPBRST : TBits_1; inline;
  7948. function getRESUME : TBits_1; inline;
  7949. function getSE0 : TBits_1; inline;
  7950. function getSOFEN : TBits_1; inline;
  7951. function getTOKBUSY : TBits_1; inline;
  7952. function getUSBEN : TBits_1; inline;
  7953. function getUSBEN_SOFEN : TBits_1; inline;
  7954. function getUSBRST : TBits_1; inline;
  7955. procedure setHOSTEN(thebits : TBits_1); inline;
  7956. procedure setJSTATE(thebits : TBits_1); inline;
  7957. procedure setPKTDIS(thebits : TBits_1); inline;
  7958. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7959. procedure setPPBRST(thebits : TBits_1); inline;
  7960. procedure setRESUME(thebits : TBits_1); inline;
  7961. procedure setSE0(thebits : TBits_1); inline;
  7962. procedure setSOFEN(thebits : TBits_1); inline;
  7963. procedure setTOKBUSY(thebits : TBits_1); inline;
  7964. procedure setUSBEN(thebits : TBits_1); inline;
  7965. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7966. procedure setUSBRST(thebits : TBits_1); inline;
  7967. public
  7968. procedure clearHOSTEN; inline;
  7969. procedure clearJSTATE; inline;
  7970. procedure clearPKTDIS; inline;
  7971. procedure clearPKTDIS_TOKBUSY; inline;
  7972. procedure clearPPBRST; inline;
  7973. procedure clearRESUME; inline;
  7974. procedure clearSE0; inline;
  7975. procedure clearSOFEN; inline;
  7976. procedure clearTOKBUSY; inline;
  7977. procedure clearUSBEN; inline;
  7978. procedure clearUSBEN_SOFEN; inline;
  7979. procedure clearUSBRST; inline;
  7980. procedure setHOSTEN; inline;
  7981. procedure setJSTATE; inline;
  7982. procedure setPKTDIS; inline;
  7983. procedure setPKTDIS_TOKBUSY; inline;
  7984. procedure setPPBRST; inline;
  7985. procedure setRESUME; inline;
  7986. procedure setSE0; inline;
  7987. procedure setSOFEN; inline;
  7988. procedure setTOKBUSY; inline;
  7989. procedure setUSBEN; inline;
  7990. procedure setUSBEN_SOFEN; inline;
  7991. procedure setUSBRST; inline;
  7992. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7993. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7994. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7995. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7996. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7997. property RESUME : TBits_1 read getRESUME write setRESUME;
  7998. property SE0 : TBits_1 read getSE0 write setSE0;
  7999. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8000. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8001. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8002. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8003. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8004. end;
  8005. TUSB_U1ADDR = record
  8006. private
  8007. function getDEVADDR : TBits_7; inline;
  8008. function getDEVADDR0 : TBits_1; inline;
  8009. function getDEVADDR1 : TBits_1; inline;
  8010. function getDEVADDR2 : TBits_1; inline;
  8011. function getDEVADDR3 : TBits_1; inline;
  8012. function getDEVADDR4 : TBits_1; inline;
  8013. function getDEVADDR5 : TBits_1; inline;
  8014. function getDEVADDR6 : TBits_1; inline;
  8015. function getLSPDEN : TBits_1; inline;
  8016. procedure setDEVADDR(thebits : TBits_7); inline;
  8017. procedure setDEVADDR0(thebits : TBits_1); inline;
  8018. procedure setDEVADDR1(thebits : TBits_1); inline;
  8019. procedure setDEVADDR2(thebits : TBits_1); inline;
  8020. procedure setDEVADDR3(thebits : TBits_1); inline;
  8021. procedure setDEVADDR4(thebits : TBits_1); inline;
  8022. procedure setDEVADDR5(thebits : TBits_1); inline;
  8023. procedure setDEVADDR6(thebits : TBits_1); inline;
  8024. procedure setLSPDEN(thebits : TBits_1); inline;
  8025. public
  8026. procedure clearDEVADDR0; inline;
  8027. procedure clearDEVADDR1; inline;
  8028. procedure clearDEVADDR2; inline;
  8029. procedure clearDEVADDR3; inline;
  8030. procedure clearDEVADDR4; inline;
  8031. procedure clearDEVADDR5; inline;
  8032. procedure clearDEVADDR6; inline;
  8033. procedure clearLSPDEN; inline;
  8034. procedure setDEVADDR0; inline;
  8035. procedure setDEVADDR1; inline;
  8036. procedure setDEVADDR2; inline;
  8037. procedure setDEVADDR3; inline;
  8038. procedure setDEVADDR4; inline;
  8039. procedure setDEVADDR5; inline;
  8040. procedure setDEVADDR6; inline;
  8041. procedure setLSPDEN; inline;
  8042. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  8043. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  8044. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  8045. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  8046. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  8047. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  8048. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  8049. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  8050. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  8051. end;
  8052. TUSB_U1FRML = record
  8053. private
  8054. function getFRM0 : TBits_1; inline;
  8055. function getFRM1 : TBits_1; inline;
  8056. function getFRM2 : TBits_1; inline;
  8057. function getFRM3 : TBits_1; inline;
  8058. function getFRM4 : TBits_1; inline;
  8059. function getFRM5 : TBits_1; inline;
  8060. function getFRM6 : TBits_1; inline;
  8061. function getFRM7 : TBits_1; inline;
  8062. function getFRML : TBits_8; inline;
  8063. procedure setFRM0(thebits : TBits_1); inline;
  8064. procedure setFRM1(thebits : TBits_1); inline;
  8065. procedure setFRM2(thebits : TBits_1); inline;
  8066. procedure setFRM3(thebits : TBits_1); inline;
  8067. procedure setFRM4(thebits : TBits_1); inline;
  8068. procedure setFRM5(thebits : TBits_1); inline;
  8069. procedure setFRM6(thebits : TBits_1); inline;
  8070. procedure setFRM7(thebits : TBits_1); inline;
  8071. procedure setFRML(thebits : TBits_8); inline;
  8072. public
  8073. procedure clearFRM0; inline;
  8074. procedure clearFRM1; inline;
  8075. procedure clearFRM2; inline;
  8076. procedure clearFRM3; inline;
  8077. procedure clearFRM4; inline;
  8078. procedure clearFRM5; inline;
  8079. procedure clearFRM6; inline;
  8080. procedure clearFRM7; inline;
  8081. procedure setFRM0; inline;
  8082. procedure setFRM1; inline;
  8083. procedure setFRM2; inline;
  8084. procedure setFRM3; inline;
  8085. procedure setFRM4; inline;
  8086. procedure setFRM5; inline;
  8087. procedure setFRM6; inline;
  8088. procedure setFRM7; inline;
  8089. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  8090. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  8091. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  8092. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  8093. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  8094. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  8095. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  8096. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  8097. property FRML : TBits_8 read getFRML write setFRML;
  8098. end;
  8099. TUSB_U1FRMH = record
  8100. private
  8101. function getFRM10 : TBits_1; inline;
  8102. function getFRM8 : TBits_1; inline;
  8103. function getFRM9 : TBits_1; inline;
  8104. function getFRMH : TBits_3; inline;
  8105. procedure setFRM10(thebits : TBits_1); inline;
  8106. procedure setFRM8(thebits : TBits_1); inline;
  8107. procedure setFRM9(thebits : TBits_1); inline;
  8108. procedure setFRMH(thebits : TBits_3); inline;
  8109. public
  8110. procedure clearFRM10; inline;
  8111. procedure clearFRM8; inline;
  8112. procedure clearFRM9; inline;
  8113. procedure setFRM10; inline;
  8114. procedure setFRM8; inline;
  8115. procedure setFRM9; inline;
  8116. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8117. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8118. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8119. property FRMH : TBits_3 read getFRMH write setFRMH;
  8120. end;
  8121. TUSB_U1TOK = record
  8122. private
  8123. function getEP : TBits_4; inline;
  8124. function getEP0 : TBits_1; inline;
  8125. function getEP1 : TBits_1; inline;
  8126. function getEP2 : TBits_1; inline;
  8127. function getEP3 : TBits_1; inline;
  8128. function getPID : TBits_4; inline;
  8129. function getPID0 : TBits_1; inline;
  8130. function getPID1 : TBits_1; inline;
  8131. function getPID2 : TBits_1; inline;
  8132. function getPID3 : TBits_1; inline;
  8133. procedure setEP(thebits : TBits_4); inline;
  8134. procedure setEP0(thebits : TBits_1); inline;
  8135. procedure setEP1(thebits : TBits_1); inline;
  8136. procedure setEP2(thebits : TBits_1); inline;
  8137. procedure setEP3(thebits : TBits_1); inline;
  8138. procedure setPID(thebits : TBits_4); inline;
  8139. procedure setPID0(thebits : TBits_1); inline;
  8140. procedure setPID1(thebits : TBits_1); inline;
  8141. procedure setPID2(thebits : TBits_1); inline;
  8142. procedure setPID3(thebits : TBits_1); inline;
  8143. public
  8144. procedure clearEP0; inline;
  8145. procedure clearEP1; inline;
  8146. procedure clearEP2; inline;
  8147. procedure clearEP3; inline;
  8148. procedure clearPID0; inline;
  8149. procedure clearPID1; inline;
  8150. procedure clearPID2; inline;
  8151. procedure clearPID3; inline;
  8152. procedure setEP0; inline;
  8153. procedure setEP1; inline;
  8154. procedure setEP2; inline;
  8155. procedure setEP3; inline;
  8156. procedure setPID0; inline;
  8157. procedure setPID1; inline;
  8158. procedure setPID2; inline;
  8159. procedure setPID3; inline;
  8160. property EP : TBits_4 read getEP write setEP;
  8161. property EP0 : TBits_1 read getEP0 write setEP0;
  8162. property EP1 : TBits_1 read getEP1 write setEP1;
  8163. property EP2 : TBits_1 read getEP2 write setEP2;
  8164. property EP3 : TBits_1 read getEP3 write setEP3;
  8165. property PID : TBits_4 read getPID write setPID;
  8166. property PID0 : TBits_1 read getPID0 write setPID0;
  8167. property PID1 : TBits_1 read getPID1 write setPID1;
  8168. property PID2 : TBits_1 read getPID2 write setPID2;
  8169. property PID3 : TBits_1 read getPID3 write setPID3;
  8170. end;
  8171. type
  8172. TUSBRegisters = record
  8173. U1OTGIR : longWord;
  8174. U1OTGIRCLR : longWord;
  8175. U1OTGIE : longWord;
  8176. U1OTGIECLR : longWord;
  8177. U1OTGIESET : longWord;
  8178. U1OTGIEINV : longWord;
  8179. U1OTGSTAT : longWord;
  8180. U1OTGCON : longWord;
  8181. U1OTGCONCLR : longWord;
  8182. U1OTGCONSET : longWord;
  8183. U1OTGCONINV : longWord;
  8184. U1PWRC : longWord;
  8185. U1PWRCCLR : longWord;
  8186. U1PWRCSET : longWord;
  8187. U1PWRCINV : longWord;
  8188. U1IRbits : TUSB_U1IR;
  8189. U1IR : longWord;
  8190. U1IRCLR : longWord;
  8191. U1IEbits : TUSB_U1IE;
  8192. U1IE : longWord;
  8193. U1IECLR : longWord;
  8194. U1IESET : longWord;
  8195. U1IEINV : longWord;
  8196. U1EIRbits : TUSB_U1EIR;
  8197. U1EIR : longWord;
  8198. U1EIRCLR : longWord;
  8199. U1EIEbits : TUSB_U1EIE;
  8200. U1EIE : longWord;
  8201. U1EIECLR : longWord;
  8202. U1EIESET : longWord;
  8203. U1EIEINV : longWord;
  8204. U1STATbits : TUSB_U1STAT;
  8205. U1STAT : longWord;
  8206. U1CONbits : TUSB_U1CON;
  8207. U1CON : longWord;
  8208. U1CONCLR : longWord;
  8209. U1CONSET : longWord;
  8210. U1CONINV : longWord;
  8211. U1ADDRbits : TUSB_U1ADDR;
  8212. U1ADDR : longWord;
  8213. U1ADDRCLR : longWord;
  8214. U1ADDRSET : longWord;
  8215. U1ADDRINV : longWord;
  8216. U1BDTP1 : longWord;
  8217. U1BDTP1CLR : longWord;
  8218. U1BDTP1SET : longWord;
  8219. U1BDTP1INV : longWord;
  8220. U1FRMLbits : TUSB_U1FRML;
  8221. U1FRML : longWord;
  8222. U1FRMHbits : TUSB_U1FRMH;
  8223. U1FRMH : longWord;
  8224. U1TOKbits : TUSB_U1TOK;
  8225. U1TOK : longWord;
  8226. U1TOKCLR : longWord;
  8227. U1TOKSET : longWord;
  8228. U1TOKINV : longWord;
  8229. U1SOF : longWord;
  8230. U1SOFCLR : longWord;
  8231. U1SOFSET : longWord;
  8232. U1SOFINV : longWord;
  8233. U1BDTP2 : longWord;
  8234. U1BDTP2CLR : longWord;
  8235. U1BDTP2SET : longWord;
  8236. U1BDTP2INV : longWord;
  8237. U1BDTP3 : longWord;
  8238. U1BDTP3CLR : longWord;
  8239. U1BDTP3SET : longWord;
  8240. U1BDTP3INV : longWord;
  8241. U1CNFG1 : longWord;
  8242. U1CNFG1CLR : longWord;
  8243. U1CNFG1SET : longWord;
  8244. U1CNFG1INV : longWord;
  8245. U1EP0 : longWord;
  8246. U1EP0CLR : longWord;
  8247. U1EP0SET : longWord;
  8248. U1EP0INV : longWord;
  8249. U1EP1 : longWord;
  8250. U1EP1CLR : longWord;
  8251. U1EP1SET : longWord;
  8252. U1EP1INV : longWord;
  8253. U1EP2 : longWord;
  8254. U1EP2CLR : longWord;
  8255. U1EP2SET : longWord;
  8256. U1EP2INV : longWord;
  8257. U1EP3 : longWord;
  8258. U1EP3CLR : longWord;
  8259. U1EP3SET : longWord;
  8260. U1EP3INV : longWord;
  8261. U1EP4 : longWord;
  8262. U1EP4CLR : longWord;
  8263. U1EP4SET : longWord;
  8264. U1EP4INV : longWord;
  8265. U1EP5 : longWord;
  8266. U1EP5CLR : longWord;
  8267. U1EP5SET : longWord;
  8268. U1EP5INV : longWord;
  8269. U1EP6 : longWord;
  8270. U1EP6CLR : longWord;
  8271. U1EP6SET : longWord;
  8272. U1EP6INV : longWord;
  8273. U1EP7 : longWord;
  8274. U1EP7CLR : longWord;
  8275. U1EP7SET : longWord;
  8276. U1EP7INV : longWord;
  8277. U1EP8 : longWord;
  8278. U1EP8CLR : longWord;
  8279. U1EP8SET : longWord;
  8280. U1EP8INV : longWord;
  8281. U1EP9 : longWord;
  8282. U1EP9CLR : longWord;
  8283. U1EP9SET : longWord;
  8284. U1EP9INV : longWord;
  8285. U1EP10 : longWord;
  8286. U1EP10CLR : longWord;
  8287. U1EP10SET : longWord;
  8288. U1EP10INV : longWord;
  8289. U1EP11 : longWord;
  8290. U1EP11CLR : longWord;
  8291. U1EP11SET : longWord;
  8292. U1EP11INV : longWord;
  8293. U1EP12 : longWord;
  8294. U1EP12CLR : longWord;
  8295. U1EP12SET : longWord;
  8296. U1EP12INV : longWord;
  8297. U1EP13 : longWord;
  8298. U1EP13CLR : longWord;
  8299. U1EP13SET : longWord;
  8300. U1EP13INV : longWord;
  8301. U1EP14 : longWord;
  8302. U1EP14CLR : longWord;
  8303. U1EP14SET : longWord;
  8304. U1EP14INV : longWord;
  8305. U1EP15 : longWord;
  8306. U1EP15CLR : longWord;
  8307. U1EP15SET : longWord;
  8308. U1EP15INV : longWord;
  8309. end;
  8310. TPORTA_ANSELA = record
  8311. private
  8312. function getANSA0 : TBits_1; inline;
  8313. function getANSA1 : TBits_1; inline;
  8314. function getw : TBits_32; inline;
  8315. procedure setANSA0(thebits : TBits_1); inline;
  8316. procedure setANSA1(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearANSA0; inline;
  8320. procedure clearANSA1; inline;
  8321. procedure setANSA0; inline;
  8322. procedure setANSA1; inline;
  8323. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8324. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8325. property w : TBits_32 read getw write setw;
  8326. end;
  8327. TPORTA_TRISA = record
  8328. private
  8329. function getTRISA0 : TBits_1; inline;
  8330. function getTRISA1 : TBits_1; inline;
  8331. function getTRISA10 : TBits_1; inline;
  8332. function getTRISA2 : TBits_1; inline;
  8333. function getTRISA3 : TBits_1; inline;
  8334. function getTRISA4 : TBits_1; inline;
  8335. function getTRISA7 : TBits_1; inline;
  8336. function getTRISA8 : TBits_1; inline;
  8337. function getTRISA9 : TBits_1; inline;
  8338. function getw : TBits_32; inline;
  8339. procedure setTRISA0(thebits : TBits_1); inline;
  8340. procedure setTRISA1(thebits : TBits_1); inline;
  8341. procedure setTRISA10(thebits : TBits_1); inline;
  8342. procedure setTRISA2(thebits : TBits_1); inline;
  8343. procedure setTRISA3(thebits : TBits_1); inline;
  8344. procedure setTRISA4(thebits : TBits_1); inline;
  8345. procedure setTRISA7(thebits : TBits_1); inline;
  8346. procedure setTRISA8(thebits : TBits_1); inline;
  8347. procedure setTRISA9(thebits : TBits_1); inline;
  8348. procedure setw(thebits : TBits_32); inline;
  8349. public
  8350. procedure clearTRISA0; inline;
  8351. procedure clearTRISA10; inline;
  8352. procedure clearTRISA1; inline;
  8353. procedure clearTRISA2; inline;
  8354. procedure clearTRISA3; inline;
  8355. procedure clearTRISA4; inline;
  8356. procedure clearTRISA7; inline;
  8357. procedure clearTRISA8; inline;
  8358. procedure clearTRISA9; inline;
  8359. procedure setTRISA0; inline;
  8360. procedure setTRISA10; inline;
  8361. procedure setTRISA1; inline;
  8362. procedure setTRISA2; inline;
  8363. procedure setTRISA3; inline;
  8364. procedure setTRISA4; inline;
  8365. procedure setTRISA7; inline;
  8366. procedure setTRISA8; inline;
  8367. procedure setTRISA9; inline;
  8368. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8369. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8370. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  8371. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8372. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8373. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8374. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  8375. property TRISA8 : TBits_1 read getTRISA8 write setTRISA8;
  8376. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  8377. property w : TBits_32 read getw write setw;
  8378. end;
  8379. TPORTA_PORTA = record
  8380. private
  8381. function getRA0 : TBits_1; inline;
  8382. function getRA1 : TBits_1; inline;
  8383. function getRA10 : TBits_1; inline;
  8384. function getRA2 : TBits_1; inline;
  8385. function getRA3 : TBits_1; inline;
  8386. function getRA4 : TBits_1; inline;
  8387. function getRA7 : TBits_1; inline;
  8388. function getRA8 : TBits_1; inline;
  8389. function getRA9 : TBits_1; inline;
  8390. function getw : TBits_32; inline;
  8391. procedure setRA0(thebits : TBits_1); inline;
  8392. procedure setRA1(thebits : TBits_1); inline;
  8393. procedure setRA10(thebits : TBits_1); inline;
  8394. procedure setRA2(thebits : TBits_1); inline;
  8395. procedure setRA3(thebits : TBits_1); inline;
  8396. procedure setRA4(thebits : TBits_1); inline;
  8397. procedure setRA7(thebits : TBits_1); inline;
  8398. procedure setRA8(thebits : TBits_1); inline;
  8399. procedure setRA9(thebits : TBits_1); inline;
  8400. procedure setw(thebits : TBits_32); inline;
  8401. public
  8402. procedure clearRA0; inline;
  8403. procedure clearRA10; inline;
  8404. procedure clearRA1; inline;
  8405. procedure clearRA2; inline;
  8406. procedure clearRA3; inline;
  8407. procedure clearRA4; inline;
  8408. procedure clearRA7; inline;
  8409. procedure clearRA8; inline;
  8410. procedure clearRA9; inline;
  8411. procedure setRA0; inline;
  8412. procedure setRA10; inline;
  8413. procedure setRA1; inline;
  8414. procedure setRA2; inline;
  8415. procedure setRA3; inline;
  8416. procedure setRA4; inline;
  8417. procedure setRA7; inline;
  8418. procedure setRA8; inline;
  8419. procedure setRA9; inline;
  8420. property RA0 : TBits_1 read getRA0 write setRA0;
  8421. property RA1 : TBits_1 read getRA1 write setRA1;
  8422. property RA10 : TBits_1 read getRA10 write setRA10;
  8423. property RA2 : TBits_1 read getRA2 write setRA2;
  8424. property RA3 : TBits_1 read getRA3 write setRA3;
  8425. property RA4 : TBits_1 read getRA4 write setRA4;
  8426. property RA7 : TBits_1 read getRA7 write setRA7;
  8427. property RA8 : TBits_1 read getRA8 write setRA8;
  8428. property RA9 : TBits_1 read getRA9 write setRA9;
  8429. property w : TBits_32 read getw write setw;
  8430. end;
  8431. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA7=7,RA8=8,RA9=9,RA10=10);
  8432. TPortA_bitset = set of TPortA_bits;
  8433. TPORTA_LATA = record
  8434. private
  8435. function getLATA0 : TBits_1; inline;
  8436. function getLATA1 : TBits_1; inline;
  8437. function getLATA10 : TBits_1; inline;
  8438. function getLATA2 : TBits_1; inline;
  8439. function getLATA3 : TBits_1; inline;
  8440. function getLATA4 : TBits_1; inline;
  8441. function getLATA7 : TBits_1; inline;
  8442. function getLATA8 : TBits_1; inline;
  8443. function getLATA9 : TBits_1; inline;
  8444. function getw : TBits_32; inline;
  8445. procedure setLATA0(thebits : TBits_1); inline;
  8446. procedure setLATA1(thebits : TBits_1); inline;
  8447. procedure setLATA10(thebits : TBits_1); inline;
  8448. procedure setLATA2(thebits : TBits_1); inline;
  8449. procedure setLATA3(thebits : TBits_1); inline;
  8450. procedure setLATA4(thebits : TBits_1); inline;
  8451. procedure setLATA7(thebits : TBits_1); inline;
  8452. procedure setLATA8(thebits : TBits_1); inline;
  8453. procedure setLATA9(thebits : TBits_1); inline;
  8454. procedure setw(thebits : TBits_32); inline;
  8455. public
  8456. procedure clearLATA0; inline;
  8457. procedure clearLATA10; inline;
  8458. procedure clearLATA1; inline;
  8459. procedure clearLATA2; inline;
  8460. procedure clearLATA3; inline;
  8461. procedure clearLATA4; inline;
  8462. procedure clearLATA7; inline;
  8463. procedure clearLATA8; inline;
  8464. procedure clearLATA9; inline;
  8465. procedure setLATA0; inline;
  8466. procedure setLATA10; inline;
  8467. procedure setLATA1; inline;
  8468. procedure setLATA2; inline;
  8469. procedure setLATA3; inline;
  8470. procedure setLATA4; inline;
  8471. procedure setLATA7; inline;
  8472. procedure setLATA8; inline;
  8473. procedure setLATA9; inline;
  8474. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8475. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8476. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  8477. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8478. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8479. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8480. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  8481. property LATA8 : TBits_1 read getLATA8 write setLATA8;
  8482. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  8483. property w : TBits_32 read getw write setw;
  8484. end;
  8485. TPORTA_ODCA = record
  8486. private
  8487. function getODCA10 : TBits_1; inline;
  8488. function getODCA7 : TBits_1; inline;
  8489. function getODCA8 : TBits_1; inline;
  8490. function getODCA9 : TBits_1; inline;
  8491. function getw : TBits_32; inline;
  8492. procedure setODCA10(thebits : TBits_1); inline;
  8493. procedure setODCA7(thebits : TBits_1); inline;
  8494. procedure setODCA8(thebits : TBits_1); inline;
  8495. procedure setODCA9(thebits : TBits_1); inline;
  8496. procedure setw(thebits : TBits_32); inline;
  8497. public
  8498. procedure clearODCA10; inline;
  8499. procedure clearODCA7; inline;
  8500. procedure clearODCA8; inline;
  8501. procedure clearODCA9; inline;
  8502. procedure setODCA10; inline;
  8503. procedure setODCA7; inline;
  8504. procedure setODCA8; inline;
  8505. procedure setODCA9; inline;
  8506. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  8507. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  8508. property ODCA8 : TBits_1 read getODCA8 write setODCA8;
  8509. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  8510. property w : TBits_32 read getw write setw;
  8511. end;
  8512. TPORTA_CNPUA = record
  8513. private
  8514. function getCNPUA0 : TBits_1; inline;
  8515. function getCNPUA1 : TBits_1; inline;
  8516. function getCNPUA10 : TBits_1; inline;
  8517. function getCNPUA2 : TBits_1; inline;
  8518. function getCNPUA3 : TBits_1; inline;
  8519. function getCNPUA4 : TBits_1; inline;
  8520. function getCNPUA7 : TBits_1; inline;
  8521. function getCNPUA8 : TBits_1; inline;
  8522. function getCNPUA9 : TBits_1; inline;
  8523. function getw : TBits_32; inline;
  8524. procedure setCNPUA0(thebits : TBits_1); inline;
  8525. procedure setCNPUA1(thebits : TBits_1); inline;
  8526. procedure setCNPUA10(thebits : TBits_1); inline;
  8527. procedure setCNPUA2(thebits : TBits_1); inline;
  8528. procedure setCNPUA3(thebits : TBits_1); inline;
  8529. procedure setCNPUA4(thebits : TBits_1); inline;
  8530. procedure setCNPUA7(thebits : TBits_1); inline;
  8531. procedure setCNPUA8(thebits : TBits_1); inline;
  8532. procedure setCNPUA9(thebits : TBits_1); inline;
  8533. procedure setw(thebits : TBits_32); inline;
  8534. public
  8535. procedure clearCNPUA0; inline;
  8536. procedure clearCNPUA10; inline;
  8537. procedure clearCNPUA1; inline;
  8538. procedure clearCNPUA2; inline;
  8539. procedure clearCNPUA3; inline;
  8540. procedure clearCNPUA4; inline;
  8541. procedure clearCNPUA7; inline;
  8542. procedure clearCNPUA8; inline;
  8543. procedure clearCNPUA9; inline;
  8544. procedure setCNPUA0; inline;
  8545. procedure setCNPUA10; inline;
  8546. procedure setCNPUA1; inline;
  8547. procedure setCNPUA2; inline;
  8548. procedure setCNPUA3; inline;
  8549. procedure setCNPUA4; inline;
  8550. procedure setCNPUA7; inline;
  8551. procedure setCNPUA8; inline;
  8552. procedure setCNPUA9; inline;
  8553. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8554. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8555. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  8556. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8557. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8558. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8559. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  8560. property CNPUA8 : TBits_1 read getCNPUA8 write setCNPUA8;
  8561. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  8562. property w : TBits_32 read getw write setw;
  8563. end;
  8564. TPORTA_CNPDA = record
  8565. private
  8566. function getCNPDA0 : TBits_1; inline;
  8567. function getCNPDA1 : TBits_1; inline;
  8568. function getCNPDA10 : TBits_1; inline;
  8569. function getCNPDA2 : TBits_1; inline;
  8570. function getCNPDA3 : TBits_1; inline;
  8571. function getCNPDA4 : TBits_1; inline;
  8572. function getCNPDA7 : TBits_1; inline;
  8573. function getCNPDA8 : TBits_1; inline;
  8574. function getCNPDA9 : TBits_1; inline;
  8575. function getw : TBits_32; inline;
  8576. procedure setCNPDA0(thebits : TBits_1); inline;
  8577. procedure setCNPDA1(thebits : TBits_1); inline;
  8578. procedure setCNPDA10(thebits : TBits_1); inline;
  8579. procedure setCNPDA2(thebits : TBits_1); inline;
  8580. procedure setCNPDA3(thebits : TBits_1); inline;
  8581. procedure setCNPDA4(thebits : TBits_1); inline;
  8582. procedure setCNPDA7(thebits : TBits_1); inline;
  8583. procedure setCNPDA8(thebits : TBits_1); inline;
  8584. procedure setCNPDA9(thebits : TBits_1); inline;
  8585. procedure setw(thebits : TBits_32); inline;
  8586. public
  8587. procedure clearCNPDA0; inline;
  8588. procedure clearCNPDA10; inline;
  8589. procedure clearCNPDA1; inline;
  8590. procedure clearCNPDA2; inline;
  8591. procedure clearCNPDA3; inline;
  8592. procedure clearCNPDA4; inline;
  8593. procedure clearCNPDA7; inline;
  8594. procedure clearCNPDA8; inline;
  8595. procedure clearCNPDA9; inline;
  8596. procedure setCNPDA0; inline;
  8597. procedure setCNPDA10; inline;
  8598. procedure setCNPDA1; inline;
  8599. procedure setCNPDA2; inline;
  8600. procedure setCNPDA3; inline;
  8601. procedure setCNPDA4; inline;
  8602. procedure setCNPDA7; inline;
  8603. procedure setCNPDA8; inline;
  8604. procedure setCNPDA9; inline;
  8605. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8606. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8607. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  8608. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8609. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8610. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8611. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  8612. property CNPDA8 : TBits_1 read getCNPDA8 write setCNPDA8;
  8613. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  8614. property w : TBits_32 read getw write setw;
  8615. end;
  8616. TPORTA_CNCONA = record
  8617. private
  8618. function getON : TBits_1; inline;
  8619. function getSIDL : TBits_1; inline;
  8620. function getw : TBits_32; inline;
  8621. procedure setON(thebits : TBits_1); inline;
  8622. procedure setSIDL(thebits : TBits_1); inline;
  8623. procedure setw(thebits : TBits_32); inline;
  8624. public
  8625. procedure clearON; inline;
  8626. procedure clearSIDL; inline;
  8627. procedure setON; inline;
  8628. procedure setSIDL; inline;
  8629. property ON : TBits_1 read getON write setON;
  8630. property SIDL : TBits_1 read getSIDL write setSIDL;
  8631. property w : TBits_32 read getw write setw;
  8632. end;
  8633. TPORTA_CNENA = record
  8634. private
  8635. function getCNIEA0 : TBits_1; inline;
  8636. function getCNIEA1 : TBits_1; inline;
  8637. function getCNIEA10 : TBits_1; inline;
  8638. function getCNIEA2 : TBits_1; inline;
  8639. function getCNIEA3 : TBits_1; inline;
  8640. function getCNIEA4 : TBits_1; inline;
  8641. function getCNIEA7 : TBits_1; inline;
  8642. function getCNIEA8 : TBits_1; inline;
  8643. function getCNIEA9 : TBits_1; inline;
  8644. function getw : TBits_32; inline;
  8645. procedure setCNIEA0(thebits : TBits_1); inline;
  8646. procedure setCNIEA1(thebits : TBits_1); inline;
  8647. procedure setCNIEA10(thebits : TBits_1); inline;
  8648. procedure setCNIEA2(thebits : TBits_1); inline;
  8649. procedure setCNIEA3(thebits : TBits_1); inline;
  8650. procedure setCNIEA4(thebits : TBits_1); inline;
  8651. procedure setCNIEA7(thebits : TBits_1); inline;
  8652. procedure setCNIEA8(thebits : TBits_1); inline;
  8653. procedure setCNIEA9(thebits : TBits_1); inline;
  8654. procedure setw(thebits : TBits_32); inline;
  8655. public
  8656. procedure clearCNIEA0; inline;
  8657. procedure clearCNIEA10; inline;
  8658. procedure clearCNIEA1; inline;
  8659. procedure clearCNIEA2; inline;
  8660. procedure clearCNIEA3; inline;
  8661. procedure clearCNIEA4; inline;
  8662. procedure clearCNIEA7; inline;
  8663. procedure clearCNIEA8; inline;
  8664. procedure clearCNIEA9; inline;
  8665. procedure setCNIEA0; inline;
  8666. procedure setCNIEA10; inline;
  8667. procedure setCNIEA1; inline;
  8668. procedure setCNIEA2; inline;
  8669. procedure setCNIEA3; inline;
  8670. procedure setCNIEA4; inline;
  8671. procedure setCNIEA7; inline;
  8672. procedure setCNIEA8; inline;
  8673. procedure setCNIEA9; inline;
  8674. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8675. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8676. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  8677. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8678. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8679. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8680. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  8681. property CNIEA8 : TBits_1 read getCNIEA8 write setCNIEA8;
  8682. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  8683. property w : TBits_32 read getw write setw;
  8684. end;
  8685. TPORTA_CNSTATA = record
  8686. private
  8687. function getCNSTATA0 : TBits_1; inline;
  8688. function getCNSTATA1 : TBits_1; inline;
  8689. function getCNSTATA10 : TBits_1; inline;
  8690. function getCNSTATA2 : TBits_1; inline;
  8691. function getCNSTATA3 : TBits_1; inline;
  8692. function getCNSTATA4 : TBits_1; inline;
  8693. function getCNSTATA7 : TBits_1; inline;
  8694. function getCNSTATA8 : TBits_1; inline;
  8695. function getCNSTATA9 : TBits_1; inline;
  8696. function getw : TBits_32; inline;
  8697. procedure setCNSTATA0(thebits : TBits_1); inline;
  8698. procedure setCNSTATA1(thebits : TBits_1); inline;
  8699. procedure setCNSTATA10(thebits : TBits_1); inline;
  8700. procedure setCNSTATA2(thebits : TBits_1); inline;
  8701. procedure setCNSTATA3(thebits : TBits_1); inline;
  8702. procedure setCNSTATA4(thebits : TBits_1); inline;
  8703. procedure setCNSTATA7(thebits : TBits_1); inline;
  8704. procedure setCNSTATA8(thebits : TBits_1); inline;
  8705. procedure setCNSTATA9(thebits : TBits_1); inline;
  8706. procedure setw(thebits : TBits_32); inline;
  8707. public
  8708. procedure clearCNSTATA0; inline;
  8709. procedure clearCNSTATA10; inline;
  8710. procedure clearCNSTATA1; inline;
  8711. procedure clearCNSTATA2; inline;
  8712. procedure clearCNSTATA3; inline;
  8713. procedure clearCNSTATA4; inline;
  8714. procedure clearCNSTATA7; inline;
  8715. procedure clearCNSTATA8; inline;
  8716. procedure clearCNSTATA9; inline;
  8717. procedure setCNSTATA0; inline;
  8718. procedure setCNSTATA10; inline;
  8719. procedure setCNSTATA1; inline;
  8720. procedure setCNSTATA2; inline;
  8721. procedure setCNSTATA3; inline;
  8722. procedure setCNSTATA4; inline;
  8723. procedure setCNSTATA7; inline;
  8724. procedure setCNSTATA8; inline;
  8725. procedure setCNSTATA9; inline;
  8726. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8727. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8728. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  8729. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8730. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8731. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8732. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  8733. property CNSTATA8 : TBits_1 read getCNSTATA8 write setCNSTATA8;
  8734. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  8735. property w : TBits_32 read getw write setw;
  8736. end;
  8737. type
  8738. TPORTARegisters = record
  8739. ANSELAbits : TPORTA_ANSELA;
  8740. ANSELA : longWord;
  8741. ANSELACLR : longWord;
  8742. ANSELASET : longWord;
  8743. ANSELAINV : longWord;
  8744. TRISAbits : TPORTA_TRISA;
  8745. TRISA : longWord;
  8746. TRISACLR : longWord;
  8747. TRISASET : longWord;
  8748. TRISAINV : longWord;
  8749. PORTAbits : TPORTA_PORTA;
  8750. PORTA : longWord;
  8751. PORTACLR : longWord;
  8752. PORTASET : longWord;
  8753. PORTAINV : longWord;
  8754. LATAbits : TPORTA_LATA;
  8755. LATA : longWord;
  8756. LATACLR : longWord;
  8757. LATASET : longWord;
  8758. LATAINV : longWord;
  8759. ODCAbits : TPORTA_ODCA;
  8760. ODCA : longWord;
  8761. ODCACLR : longWord;
  8762. ODCASET : longWord;
  8763. ODCAINV : longWord;
  8764. CNPUAbits : TPORTA_CNPUA;
  8765. CNPUA : longWord;
  8766. CNPUACLR : longWord;
  8767. CNPUASET : longWord;
  8768. CNPUAINV : longWord;
  8769. CNPDAbits : TPORTA_CNPDA;
  8770. CNPDA : longWord;
  8771. CNPDACLR : longWord;
  8772. CNPDASET : longWord;
  8773. CNPDAINV : longWord;
  8774. CNCONAbits : TPORTA_CNCONA;
  8775. CNCONA : longWord;
  8776. CNCONACLR : longWord;
  8777. CNCONASET : longWord;
  8778. CNCONAINV : longWord;
  8779. CNENAbits : TPORTA_CNENA;
  8780. CNENA : longWord;
  8781. CNENACLR : longWord;
  8782. CNENASET : longWord;
  8783. CNENAINV : longWord;
  8784. CNSTATAbits : TPORTA_CNSTATA;
  8785. CNSTATA : longWord;
  8786. CNSTATACLR : longWord;
  8787. CNSTATASET : longWord;
  8788. CNSTATAINV : longWord;
  8789. end;
  8790. TPORTB_ANSELB = record
  8791. private
  8792. function getANSB0 : TBits_1; inline;
  8793. function getANSB1 : TBits_1; inline;
  8794. function getANSB13 : TBits_1; inline;
  8795. function getANSB14 : TBits_1; inline;
  8796. function getANSB15 : TBits_1; inline;
  8797. function getANSB2 : TBits_1; inline;
  8798. function getANSB3 : TBits_1; inline;
  8799. function getw : TBits_32; inline;
  8800. procedure setANSB0(thebits : TBits_1); inline;
  8801. procedure setANSB1(thebits : TBits_1); inline;
  8802. procedure setANSB13(thebits : TBits_1); inline;
  8803. procedure setANSB14(thebits : TBits_1); inline;
  8804. procedure setANSB15(thebits : TBits_1); inline;
  8805. procedure setANSB2(thebits : TBits_1); inline;
  8806. procedure setANSB3(thebits : TBits_1); inline;
  8807. procedure setw(thebits : TBits_32); inline;
  8808. public
  8809. procedure clearANSB0; inline;
  8810. procedure clearANSB13; inline;
  8811. procedure clearANSB14; inline;
  8812. procedure clearANSB15; inline;
  8813. procedure clearANSB1; inline;
  8814. procedure clearANSB2; inline;
  8815. procedure clearANSB3; inline;
  8816. procedure setANSB0; inline;
  8817. procedure setANSB13; inline;
  8818. procedure setANSB14; inline;
  8819. procedure setANSB15; inline;
  8820. procedure setANSB1; inline;
  8821. procedure setANSB2; inline;
  8822. procedure setANSB3; inline;
  8823. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8824. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8825. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8826. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8827. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8828. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8829. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8830. property w : TBits_32 read getw write setw;
  8831. end;
  8832. TPORTB_TRISB = record
  8833. private
  8834. function getTRISB0 : TBits_1; inline;
  8835. function getTRISB1 : TBits_1; inline;
  8836. function getTRISB10 : TBits_1; inline;
  8837. function getTRISB11 : TBits_1; inline;
  8838. function getTRISB13 : TBits_1; inline;
  8839. function getTRISB14 : TBits_1; inline;
  8840. function getTRISB15 : TBits_1; inline;
  8841. function getTRISB2 : TBits_1; inline;
  8842. function getTRISB3 : TBits_1; inline;
  8843. function getTRISB4 : TBits_1; inline;
  8844. function getTRISB5 : TBits_1; inline;
  8845. function getTRISB7 : TBits_1; inline;
  8846. function getTRISB8 : TBits_1; inline;
  8847. function getTRISB9 : TBits_1; inline;
  8848. function getw : TBits_32; inline;
  8849. procedure setTRISB0(thebits : TBits_1); inline;
  8850. procedure setTRISB1(thebits : TBits_1); inline;
  8851. procedure setTRISB10(thebits : TBits_1); inline;
  8852. procedure setTRISB11(thebits : TBits_1); inline;
  8853. procedure setTRISB13(thebits : TBits_1); inline;
  8854. procedure setTRISB14(thebits : TBits_1); inline;
  8855. procedure setTRISB15(thebits : TBits_1); inline;
  8856. procedure setTRISB2(thebits : TBits_1); inline;
  8857. procedure setTRISB3(thebits : TBits_1); inline;
  8858. procedure setTRISB4(thebits : TBits_1); inline;
  8859. procedure setTRISB5(thebits : TBits_1); inline;
  8860. procedure setTRISB7(thebits : TBits_1); inline;
  8861. procedure setTRISB8(thebits : TBits_1); inline;
  8862. procedure setTRISB9(thebits : TBits_1); inline;
  8863. procedure setw(thebits : TBits_32); inline;
  8864. public
  8865. procedure clearTRISB0; inline;
  8866. procedure clearTRISB10; inline;
  8867. procedure clearTRISB11; inline;
  8868. procedure clearTRISB13; inline;
  8869. procedure clearTRISB14; inline;
  8870. procedure clearTRISB15; inline;
  8871. procedure clearTRISB1; inline;
  8872. procedure clearTRISB2; inline;
  8873. procedure clearTRISB3; inline;
  8874. procedure clearTRISB4; inline;
  8875. procedure clearTRISB5; inline;
  8876. procedure clearTRISB7; inline;
  8877. procedure clearTRISB8; inline;
  8878. procedure clearTRISB9; inline;
  8879. procedure setTRISB0; inline;
  8880. procedure setTRISB10; inline;
  8881. procedure setTRISB11; inline;
  8882. procedure setTRISB13; inline;
  8883. procedure setTRISB14; inline;
  8884. procedure setTRISB15; inline;
  8885. procedure setTRISB1; inline;
  8886. procedure setTRISB2; inline;
  8887. procedure setTRISB3; inline;
  8888. procedure setTRISB4; inline;
  8889. procedure setTRISB5; inline;
  8890. procedure setTRISB7; inline;
  8891. procedure setTRISB8; inline;
  8892. procedure setTRISB9; inline;
  8893. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8894. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8895. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8896. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8897. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8898. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8899. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8900. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8901. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8902. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8903. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8904. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8905. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8906. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8907. property w : TBits_32 read getw write setw;
  8908. end;
  8909. TPORTB_PORTB = record
  8910. private
  8911. function getRB0 : TBits_1; inline;
  8912. function getRB1 : TBits_1; inline;
  8913. function getRB10 : TBits_1; inline;
  8914. function getRB11 : TBits_1; inline;
  8915. function getRB13 : TBits_1; inline;
  8916. function getRB14 : TBits_1; inline;
  8917. function getRB15 : TBits_1; inline;
  8918. function getRB2 : TBits_1; inline;
  8919. function getRB3 : TBits_1; inline;
  8920. function getRB4 : TBits_1; inline;
  8921. function getRB5 : TBits_1; inline;
  8922. function getRB7 : TBits_1; inline;
  8923. function getRB8 : TBits_1; inline;
  8924. function getRB9 : TBits_1; inline;
  8925. function getw : TBits_32; inline;
  8926. procedure setRB0(thebits : TBits_1); inline;
  8927. procedure setRB1(thebits : TBits_1); inline;
  8928. procedure setRB10(thebits : TBits_1); inline;
  8929. procedure setRB11(thebits : TBits_1); inline;
  8930. procedure setRB13(thebits : TBits_1); inline;
  8931. procedure setRB14(thebits : TBits_1); inline;
  8932. procedure setRB15(thebits : TBits_1); inline;
  8933. procedure setRB2(thebits : TBits_1); inline;
  8934. procedure setRB3(thebits : TBits_1); inline;
  8935. procedure setRB4(thebits : TBits_1); inline;
  8936. procedure setRB5(thebits : TBits_1); inline;
  8937. procedure setRB7(thebits : TBits_1); inline;
  8938. procedure setRB8(thebits : TBits_1); inline;
  8939. procedure setRB9(thebits : TBits_1); inline;
  8940. procedure setw(thebits : TBits_32); inline;
  8941. public
  8942. procedure clearRB0; inline;
  8943. procedure clearRB10; inline;
  8944. procedure clearRB11; inline;
  8945. procedure clearRB13; inline;
  8946. procedure clearRB14; inline;
  8947. procedure clearRB15; inline;
  8948. procedure clearRB1; inline;
  8949. procedure clearRB2; inline;
  8950. procedure clearRB3; inline;
  8951. procedure clearRB4; inline;
  8952. procedure clearRB5; inline;
  8953. procedure clearRB7; inline;
  8954. procedure clearRB8; inline;
  8955. procedure clearRB9; inline;
  8956. procedure setRB0; inline;
  8957. procedure setRB10; inline;
  8958. procedure setRB11; inline;
  8959. procedure setRB13; inline;
  8960. procedure setRB14; inline;
  8961. procedure setRB15; inline;
  8962. procedure setRB1; inline;
  8963. procedure setRB2; inline;
  8964. procedure setRB3; inline;
  8965. procedure setRB4; inline;
  8966. procedure setRB5; inline;
  8967. procedure setRB7; inline;
  8968. procedure setRB8; inline;
  8969. procedure setRB9; inline;
  8970. property RB0 : TBits_1 read getRB0 write setRB0;
  8971. property RB1 : TBits_1 read getRB1 write setRB1;
  8972. property RB10 : TBits_1 read getRB10 write setRB10;
  8973. property RB11 : TBits_1 read getRB11 write setRB11;
  8974. property RB13 : TBits_1 read getRB13 write setRB13;
  8975. property RB14 : TBits_1 read getRB14 write setRB14;
  8976. property RB15 : TBits_1 read getRB15 write setRB15;
  8977. property RB2 : TBits_1 read getRB2 write setRB2;
  8978. property RB3 : TBits_1 read getRB3 write setRB3;
  8979. property RB4 : TBits_1 read getRB4 write setRB4;
  8980. property RB5 : TBits_1 read getRB5 write setRB5;
  8981. property RB7 : TBits_1 read getRB7 write setRB7;
  8982. property RB8 : TBits_1 read getRB8 write setRB8;
  8983. property RB9 : TBits_1 read getRB9 write setRB9;
  8984. property w : TBits_32 read getw write setw;
  8985. end;
  8986. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB13=13,RB14=14,RB15=15);
  8987. TPortB_bitset = set of TPortB_bits;
  8988. TPORTB_LATB = record
  8989. private
  8990. function getLATB0 : TBits_1; inline;
  8991. function getLATB1 : TBits_1; inline;
  8992. function getLATB10 : TBits_1; inline;
  8993. function getLATB11 : TBits_1; inline;
  8994. function getLATB13 : TBits_1; inline;
  8995. function getLATB14 : TBits_1; inline;
  8996. function getLATB15 : TBits_1; inline;
  8997. function getLATB2 : TBits_1; inline;
  8998. function getLATB3 : TBits_1; inline;
  8999. function getLATB4 : TBits_1; inline;
  9000. function getLATB5 : TBits_1; inline;
  9001. function getLATB7 : TBits_1; inline;
  9002. function getLATB8 : TBits_1; inline;
  9003. function getLATB9 : TBits_1; inline;
  9004. function getw : TBits_32; inline;
  9005. procedure setLATB0(thebits : TBits_1); inline;
  9006. procedure setLATB1(thebits : TBits_1); inline;
  9007. procedure setLATB10(thebits : TBits_1); inline;
  9008. procedure setLATB11(thebits : TBits_1); inline;
  9009. procedure setLATB13(thebits : TBits_1); inline;
  9010. procedure setLATB14(thebits : TBits_1); inline;
  9011. procedure setLATB15(thebits : TBits_1); inline;
  9012. procedure setLATB2(thebits : TBits_1); inline;
  9013. procedure setLATB3(thebits : TBits_1); inline;
  9014. procedure setLATB4(thebits : TBits_1); inline;
  9015. procedure setLATB5(thebits : TBits_1); inline;
  9016. procedure setLATB7(thebits : TBits_1); inline;
  9017. procedure setLATB8(thebits : TBits_1); inline;
  9018. procedure setLATB9(thebits : TBits_1); inline;
  9019. procedure setw(thebits : TBits_32); inline;
  9020. public
  9021. procedure clearLATB0; inline;
  9022. procedure clearLATB10; inline;
  9023. procedure clearLATB11; inline;
  9024. procedure clearLATB13; inline;
  9025. procedure clearLATB14; inline;
  9026. procedure clearLATB15; inline;
  9027. procedure clearLATB1; inline;
  9028. procedure clearLATB2; inline;
  9029. procedure clearLATB3; inline;
  9030. procedure clearLATB4; inline;
  9031. procedure clearLATB5; inline;
  9032. procedure clearLATB7; inline;
  9033. procedure clearLATB8; inline;
  9034. procedure clearLATB9; inline;
  9035. procedure setLATB0; inline;
  9036. procedure setLATB10; inline;
  9037. procedure setLATB11; inline;
  9038. procedure setLATB13; inline;
  9039. procedure setLATB14; inline;
  9040. procedure setLATB15; inline;
  9041. procedure setLATB1; inline;
  9042. procedure setLATB2; inline;
  9043. procedure setLATB3; inline;
  9044. procedure setLATB4; inline;
  9045. procedure setLATB5; inline;
  9046. procedure setLATB7; inline;
  9047. procedure setLATB8; inline;
  9048. procedure setLATB9; inline;
  9049. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  9050. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  9051. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  9052. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  9053. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  9054. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  9055. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9056. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9057. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9058. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9059. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9060. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9061. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9062. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9063. property w : TBits_32 read getw write setw;
  9064. end;
  9065. TPORTB_ODCB = record
  9066. private
  9067. function getODCB10 : TBits_1; inline;
  9068. function getODCB11 : TBits_1; inline;
  9069. function getODCB4 : TBits_1; inline;
  9070. function getODCB5 : TBits_1; inline;
  9071. function getODCB7 : TBits_1; inline;
  9072. function getODCB8 : TBits_1; inline;
  9073. function getODCB9 : TBits_1; inline;
  9074. function getw : TBits_32; inline;
  9075. procedure setODCB10(thebits : TBits_1); inline;
  9076. procedure setODCB11(thebits : TBits_1); inline;
  9077. procedure setODCB4(thebits : TBits_1); inline;
  9078. procedure setODCB5(thebits : TBits_1); inline;
  9079. procedure setODCB7(thebits : TBits_1); inline;
  9080. procedure setODCB8(thebits : TBits_1); inline;
  9081. procedure setODCB9(thebits : TBits_1); inline;
  9082. procedure setw(thebits : TBits_32); inline;
  9083. public
  9084. procedure clearODCB10; inline;
  9085. procedure clearODCB11; inline;
  9086. procedure clearODCB4; inline;
  9087. procedure clearODCB5; inline;
  9088. procedure clearODCB7; inline;
  9089. procedure clearODCB8; inline;
  9090. procedure clearODCB9; inline;
  9091. procedure setODCB10; inline;
  9092. procedure setODCB11; inline;
  9093. procedure setODCB4; inline;
  9094. procedure setODCB5; inline;
  9095. procedure setODCB7; inline;
  9096. procedure setODCB8; inline;
  9097. procedure setODCB9; inline;
  9098. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9099. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9100. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9101. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9102. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9103. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9104. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9105. property w : TBits_32 read getw write setw;
  9106. end;
  9107. TPORTB_CNPUB = record
  9108. private
  9109. function getCNPUB0 : TBits_1; inline;
  9110. function getCNPUB1 : TBits_1; inline;
  9111. function getCNPUB10 : TBits_1; inline;
  9112. function getCNPUB11 : TBits_1; inline;
  9113. function getCNPUB13 : TBits_1; inline;
  9114. function getCNPUB14 : TBits_1; inline;
  9115. function getCNPUB15 : TBits_1; inline;
  9116. function getCNPUB2 : TBits_1; inline;
  9117. function getCNPUB3 : TBits_1; inline;
  9118. function getCNPUB4 : TBits_1; inline;
  9119. function getCNPUB5 : TBits_1; inline;
  9120. function getCNPUB7 : TBits_1; inline;
  9121. function getCNPUB8 : TBits_1; inline;
  9122. function getCNPUB9 : TBits_1; inline;
  9123. function getw : TBits_32; inline;
  9124. procedure setCNPUB0(thebits : TBits_1); inline;
  9125. procedure setCNPUB1(thebits : TBits_1); inline;
  9126. procedure setCNPUB10(thebits : TBits_1); inline;
  9127. procedure setCNPUB11(thebits : TBits_1); inline;
  9128. procedure setCNPUB13(thebits : TBits_1); inline;
  9129. procedure setCNPUB14(thebits : TBits_1); inline;
  9130. procedure setCNPUB15(thebits : TBits_1); inline;
  9131. procedure setCNPUB2(thebits : TBits_1); inline;
  9132. procedure setCNPUB3(thebits : TBits_1); inline;
  9133. procedure setCNPUB4(thebits : TBits_1); inline;
  9134. procedure setCNPUB5(thebits : TBits_1); inline;
  9135. procedure setCNPUB7(thebits : TBits_1); inline;
  9136. procedure setCNPUB8(thebits : TBits_1); inline;
  9137. procedure setCNPUB9(thebits : TBits_1); inline;
  9138. procedure setw(thebits : TBits_32); inline;
  9139. public
  9140. procedure clearCNPUB0; inline;
  9141. procedure clearCNPUB10; inline;
  9142. procedure clearCNPUB11; inline;
  9143. procedure clearCNPUB13; inline;
  9144. procedure clearCNPUB14; inline;
  9145. procedure clearCNPUB15; inline;
  9146. procedure clearCNPUB1; inline;
  9147. procedure clearCNPUB2; inline;
  9148. procedure clearCNPUB3; inline;
  9149. procedure clearCNPUB4; inline;
  9150. procedure clearCNPUB5; inline;
  9151. procedure clearCNPUB7; inline;
  9152. procedure clearCNPUB8; inline;
  9153. procedure clearCNPUB9; inline;
  9154. procedure setCNPUB0; inline;
  9155. procedure setCNPUB10; inline;
  9156. procedure setCNPUB11; inline;
  9157. procedure setCNPUB13; inline;
  9158. procedure setCNPUB14; inline;
  9159. procedure setCNPUB15; inline;
  9160. procedure setCNPUB1; inline;
  9161. procedure setCNPUB2; inline;
  9162. procedure setCNPUB3; inline;
  9163. procedure setCNPUB4; inline;
  9164. procedure setCNPUB5; inline;
  9165. procedure setCNPUB7; inline;
  9166. procedure setCNPUB8; inline;
  9167. procedure setCNPUB9; inline;
  9168. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9169. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9170. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9171. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9172. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9173. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9174. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9175. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9176. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9177. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9178. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9179. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9180. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9181. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9182. property w : TBits_32 read getw write setw;
  9183. end;
  9184. TPORTB_CNPDB = record
  9185. private
  9186. function getCNPDB0 : TBits_1; inline;
  9187. function getCNPDB1 : TBits_1; inline;
  9188. function getCNPDB10 : TBits_1; inline;
  9189. function getCNPDB11 : TBits_1; inline;
  9190. function getCNPDB13 : TBits_1; inline;
  9191. function getCNPDB14 : TBits_1; inline;
  9192. function getCNPDB15 : TBits_1; inline;
  9193. function getCNPDB2 : TBits_1; inline;
  9194. function getCNPDB3 : TBits_1; inline;
  9195. function getCNPDB4 : TBits_1; inline;
  9196. function getCNPDB5 : TBits_1; inline;
  9197. function getCNPDB7 : TBits_1; inline;
  9198. function getCNPDB8 : TBits_1; inline;
  9199. function getCNPDB9 : TBits_1; inline;
  9200. function getw : TBits_32; inline;
  9201. procedure setCNPDB0(thebits : TBits_1); inline;
  9202. procedure setCNPDB1(thebits : TBits_1); inline;
  9203. procedure setCNPDB10(thebits : TBits_1); inline;
  9204. procedure setCNPDB11(thebits : TBits_1); inline;
  9205. procedure setCNPDB13(thebits : TBits_1); inline;
  9206. procedure setCNPDB14(thebits : TBits_1); inline;
  9207. procedure setCNPDB15(thebits : TBits_1); inline;
  9208. procedure setCNPDB2(thebits : TBits_1); inline;
  9209. procedure setCNPDB3(thebits : TBits_1); inline;
  9210. procedure setCNPDB4(thebits : TBits_1); inline;
  9211. procedure setCNPDB5(thebits : TBits_1); inline;
  9212. procedure setCNPDB7(thebits : TBits_1); inline;
  9213. procedure setCNPDB8(thebits : TBits_1); inline;
  9214. procedure setCNPDB9(thebits : TBits_1); inline;
  9215. procedure setw(thebits : TBits_32); inline;
  9216. public
  9217. procedure clearCNPDB0; inline;
  9218. procedure clearCNPDB10; inline;
  9219. procedure clearCNPDB11; inline;
  9220. procedure clearCNPDB13; inline;
  9221. procedure clearCNPDB14; inline;
  9222. procedure clearCNPDB15; inline;
  9223. procedure clearCNPDB1; inline;
  9224. procedure clearCNPDB2; inline;
  9225. procedure clearCNPDB3; inline;
  9226. procedure clearCNPDB4; inline;
  9227. procedure clearCNPDB5; inline;
  9228. procedure clearCNPDB7; inline;
  9229. procedure clearCNPDB8; inline;
  9230. procedure clearCNPDB9; inline;
  9231. procedure setCNPDB0; inline;
  9232. procedure setCNPDB10; inline;
  9233. procedure setCNPDB11; inline;
  9234. procedure setCNPDB13; inline;
  9235. procedure setCNPDB14; inline;
  9236. procedure setCNPDB15; inline;
  9237. procedure setCNPDB1; inline;
  9238. procedure setCNPDB2; inline;
  9239. procedure setCNPDB3; inline;
  9240. procedure setCNPDB4; inline;
  9241. procedure setCNPDB5; inline;
  9242. procedure setCNPDB7; inline;
  9243. procedure setCNPDB8; inline;
  9244. procedure setCNPDB9; inline;
  9245. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9246. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9247. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9248. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9249. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9250. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9251. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9252. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9253. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9254. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9255. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9256. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9257. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9258. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9259. property w : TBits_32 read getw write setw;
  9260. end;
  9261. TPORTB_CNCONB = record
  9262. private
  9263. function getON : TBits_1; inline;
  9264. function getSIDL : TBits_1; inline;
  9265. function getw : TBits_32; inline;
  9266. procedure setON(thebits : TBits_1); inline;
  9267. procedure setSIDL(thebits : TBits_1); inline;
  9268. procedure setw(thebits : TBits_32); inline;
  9269. public
  9270. procedure clearON; inline;
  9271. procedure clearSIDL; inline;
  9272. procedure setON; inline;
  9273. procedure setSIDL; inline;
  9274. property ON : TBits_1 read getON write setON;
  9275. property SIDL : TBits_1 read getSIDL write setSIDL;
  9276. property w : TBits_32 read getw write setw;
  9277. end;
  9278. TPORTB_CNENB = record
  9279. private
  9280. function getCNIEB0 : TBits_1; inline;
  9281. function getCNIEB1 : TBits_1; inline;
  9282. function getCNIEB10 : TBits_1; inline;
  9283. function getCNIEB11 : TBits_1; inline;
  9284. function getCNIEB13 : TBits_1; inline;
  9285. function getCNIEB14 : TBits_1; inline;
  9286. function getCNIEB15 : TBits_1; inline;
  9287. function getCNIEB2 : TBits_1; inline;
  9288. function getCNIEB3 : TBits_1; inline;
  9289. function getCNIEB4 : TBits_1; inline;
  9290. function getCNIEB5 : TBits_1; inline;
  9291. function getCNIEB7 : TBits_1; inline;
  9292. function getCNIEB8 : TBits_1; inline;
  9293. function getCNIEB9 : TBits_1; inline;
  9294. function getw : TBits_32; inline;
  9295. procedure setCNIEB0(thebits : TBits_1); inline;
  9296. procedure setCNIEB1(thebits : TBits_1); inline;
  9297. procedure setCNIEB10(thebits : TBits_1); inline;
  9298. procedure setCNIEB11(thebits : TBits_1); inline;
  9299. procedure setCNIEB13(thebits : TBits_1); inline;
  9300. procedure setCNIEB14(thebits : TBits_1); inline;
  9301. procedure setCNIEB15(thebits : TBits_1); inline;
  9302. procedure setCNIEB2(thebits : TBits_1); inline;
  9303. procedure setCNIEB3(thebits : TBits_1); inline;
  9304. procedure setCNIEB4(thebits : TBits_1); inline;
  9305. procedure setCNIEB5(thebits : TBits_1); inline;
  9306. procedure setCNIEB7(thebits : TBits_1); inline;
  9307. procedure setCNIEB8(thebits : TBits_1); inline;
  9308. procedure setCNIEB9(thebits : TBits_1); inline;
  9309. procedure setw(thebits : TBits_32); inline;
  9310. public
  9311. procedure clearCNIEB0; inline;
  9312. procedure clearCNIEB10; inline;
  9313. procedure clearCNIEB11; inline;
  9314. procedure clearCNIEB13; inline;
  9315. procedure clearCNIEB14; inline;
  9316. procedure clearCNIEB15; inline;
  9317. procedure clearCNIEB1; inline;
  9318. procedure clearCNIEB2; inline;
  9319. procedure clearCNIEB3; inline;
  9320. procedure clearCNIEB4; inline;
  9321. procedure clearCNIEB5; inline;
  9322. procedure clearCNIEB7; inline;
  9323. procedure clearCNIEB8; inline;
  9324. procedure clearCNIEB9; inline;
  9325. procedure setCNIEB0; inline;
  9326. procedure setCNIEB10; inline;
  9327. procedure setCNIEB11; inline;
  9328. procedure setCNIEB13; inline;
  9329. procedure setCNIEB14; inline;
  9330. procedure setCNIEB15; inline;
  9331. procedure setCNIEB1; inline;
  9332. procedure setCNIEB2; inline;
  9333. procedure setCNIEB3; inline;
  9334. procedure setCNIEB4; inline;
  9335. procedure setCNIEB5; inline;
  9336. procedure setCNIEB7; inline;
  9337. procedure setCNIEB8; inline;
  9338. procedure setCNIEB9; inline;
  9339. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9340. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9341. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9342. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9343. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9344. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9345. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9346. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9347. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9348. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9349. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9350. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9351. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9352. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9353. property w : TBits_32 read getw write setw;
  9354. end;
  9355. TPORTB_CNSTATB = record
  9356. private
  9357. function getCNSTATB0 : TBits_1; inline;
  9358. function getCNSTATB1 : TBits_1; inline;
  9359. function getCNSTATB10 : TBits_1; inline;
  9360. function getCNSTATB11 : TBits_1; inline;
  9361. function getCNSTATB13 : TBits_1; inline;
  9362. function getCNSTATB14 : TBits_1; inline;
  9363. function getCNSTATB15 : TBits_1; inline;
  9364. function getCNSTATB2 : TBits_1; inline;
  9365. function getCNSTATB3 : TBits_1; inline;
  9366. function getCNSTATB4 : TBits_1; inline;
  9367. function getCNSTATB5 : TBits_1; inline;
  9368. function getCNSTATB7 : TBits_1; inline;
  9369. function getCNSTATB8 : TBits_1; inline;
  9370. function getCNSTATB9 : TBits_1; inline;
  9371. function getw : TBits_32; inline;
  9372. procedure setCNSTATB0(thebits : TBits_1); inline;
  9373. procedure setCNSTATB1(thebits : TBits_1); inline;
  9374. procedure setCNSTATB10(thebits : TBits_1); inline;
  9375. procedure setCNSTATB11(thebits : TBits_1); inline;
  9376. procedure setCNSTATB13(thebits : TBits_1); inline;
  9377. procedure setCNSTATB14(thebits : TBits_1); inline;
  9378. procedure setCNSTATB15(thebits : TBits_1); inline;
  9379. procedure setCNSTATB2(thebits : TBits_1); inline;
  9380. procedure setCNSTATB3(thebits : TBits_1); inline;
  9381. procedure setCNSTATB4(thebits : TBits_1); inline;
  9382. procedure setCNSTATB5(thebits : TBits_1); inline;
  9383. procedure setCNSTATB7(thebits : TBits_1); inline;
  9384. procedure setCNSTATB8(thebits : TBits_1); inline;
  9385. procedure setCNSTATB9(thebits : TBits_1); inline;
  9386. procedure setw(thebits : TBits_32); inline;
  9387. public
  9388. procedure clearCNSTATB0; inline;
  9389. procedure clearCNSTATB10; inline;
  9390. procedure clearCNSTATB11; inline;
  9391. procedure clearCNSTATB13; inline;
  9392. procedure clearCNSTATB14; inline;
  9393. procedure clearCNSTATB15; inline;
  9394. procedure clearCNSTATB1; inline;
  9395. procedure clearCNSTATB2; inline;
  9396. procedure clearCNSTATB3; inline;
  9397. procedure clearCNSTATB4; inline;
  9398. procedure clearCNSTATB5; inline;
  9399. procedure clearCNSTATB7; inline;
  9400. procedure clearCNSTATB8; inline;
  9401. procedure clearCNSTATB9; inline;
  9402. procedure setCNSTATB0; inline;
  9403. procedure setCNSTATB10; inline;
  9404. procedure setCNSTATB11; inline;
  9405. procedure setCNSTATB13; inline;
  9406. procedure setCNSTATB14; inline;
  9407. procedure setCNSTATB15; inline;
  9408. procedure setCNSTATB1; inline;
  9409. procedure setCNSTATB2; inline;
  9410. procedure setCNSTATB3; inline;
  9411. procedure setCNSTATB4; inline;
  9412. procedure setCNSTATB5; inline;
  9413. procedure setCNSTATB7; inline;
  9414. procedure setCNSTATB8; inline;
  9415. procedure setCNSTATB9; inline;
  9416. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9417. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9418. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9419. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9420. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9421. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9422. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9423. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9424. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9425. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9426. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9427. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9428. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9429. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9430. property w : TBits_32 read getw write setw;
  9431. end;
  9432. type
  9433. TPORTBRegisters = record
  9434. ANSELBbits : TPORTB_ANSELB;
  9435. ANSELB : longWord;
  9436. ANSELBCLR : longWord;
  9437. ANSELBSET : longWord;
  9438. ANSELBINV : longWord;
  9439. TRISBbits : TPORTB_TRISB;
  9440. TRISB : longWord;
  9441. TRISBCLR : longWord;
  9442. TRISBSET : longWord;
  9443. TRISBINV : longWord;
  9444. PORTBbits : TPORTB_PORTB;
  9445. PORTB : longWord;
  9446. PORTBCLR : longWord;
  9447. PORTBSET : longWord;
  9448. PORTBINV : longWord;
  9449. LATBbits : TPORTB_LATB;
  9450. LATB : longWord;
  9451. LATBCLR : longWord;
  9452. LATBSET : longWord;
  9453. LATBINV : longWord;
  9454. ODCBbits : TPORTB_ODCB;
  9455. ODCB : longWord;
  9456. ODCBCLR : longWord;
  9457. ODCBSET : longWord;
  9458. ODCBINV : longWord;
  9459. CNPUBbits : TPORTB_CNPUB;
  9460. CNPUB : longWord;
  9461. CNPUBCLR : longWord;
  9462. CNPUBSET : longWord;
  9463. CNPUBINV : longWord;
  9464. CNPDBbits : TPORTB_CNPDB;
  9465. CNPDB : longWord;
  9466. CNPDBCLR : longWord;
  9467. CNPDBSET : longWord;
  9468. CNPDBINV : longWord;
  9469. CNCONBbits : TPORTB_CNCONB;
  9470. CNCONB : longWord;
  9471. CNCONBCLR : longWord;
  9472. CNCONBSET : longWord;
  9473. CNCONBINV : longWord;
  9474. CNENBbits : TPORTB_CNENB;
  9475. CNENB : longWord;
  9476. CNENBCLR : longWord;
  9477. CNENBSET : longWord;
  9478. CNENBINV : longWord;
  9479. CNSTATBbits : TPORTB_CNSTATB;
  9480. CNSTATB : longWord;
  9481. CNSTATBCLR : longWord;
  9482. CNSTATBSET : longWord;
  9483. CNSTATBINV : longWord;
  9484. end;
  9485. TPORTC_ANSELC = record
  9486. private
  9487. function getANSC0 : TBits_1; inline;
  9488. function getANSC1 : TBits_1; inline;
  9489. function getANSC2 : TBits_1; inline;
  9490. function getANSC3 : TBits_1; inline;
  9491. function getw : TBits_32; inline;
  9492. procedure setANSC0(thebits : TBits_1); inline;
  9493. procedure setANSC1(thebits : TBits_1); inline;
  9494. procedure setANSC2(thebits : TBits_1); inline;
  9495. procedure setANSC3(thebits : TBits_1); inline;
  9496. procedure setw(thebits : TBits_32); inline;
  9497. public
  9498. procedure clearANSC0; inline;
  9499. procedure clearANSC1; inline;
  9500. procedure clearANSC2; inline;
  9501. procedure clearANSC3; inline;
  9502. procedure setANSC0; inline;
  9503. procedure setANSC1; inline;
  9504. procedure setANSC2; inline;
  9505. procedure setANSC3; inline;
  9506. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9507. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9508. property ANSC2 : TBits_1 read getANSC2 write setANSC2;
  9509. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9510. property w : TBits_32 read getw write setw;
  9511. end;
  9512. TPORTC_TRISC = record
  9513. private
  9514. function getTRISC0 : TBits_1; inline;
  9515. function getTRISC1 : TBits_1; inline;
  9516. function getTRISC2 : TBits_1; inline;
  9517. function getTRISC3 : TBits_1; inline;
  9518. function getTRISC4 : TBits_1; inline;
  9519. function getTRISC5 : TBits_1; inline;
  9520. function getTRISC6 : TBits_1; inline;
  9521. function getTRISC7 : TBits_1; inline;
  9522. function getTRISC8 : TBits_1; inline;
  9523. function getTRISC9 : TBits_1; inline;
  9524. function getw : TBits_32; inline;
  9525. procedure setTRISC0(thebits : TBits_1); inline;
  9526. procedure setTRISC1(thebits : TBits_1); inline;
  9527. procedure setTRISC2(thebits : TBits_1); inline;
  9528. procedure setTRISC3(thebits : TBits_1); inline;
  9529. procedure setTRISC4(thebits : TBits_1); inline;
  9530. procedure setTRISC5(thebits : TBits_1); inline;
  9531. procedure setTRISC6(thebits : TBits_1); inline;
  9532. procedure setTRISC7(thebits : TBits_1); inline;
  9533. procedure setTRISC8(thebits : TBits_1); inline;
  9534. procedure setTRISC9(thebits : TBits_1); inline;
  9535. procedure setw(thebits : TBits_32); inline;
  9536. public
  9537. procedure clearTRISC0; inline;
  9538. procedure clearTRISC1; inline;
  9539. procedure clearTRISC2; inline;
  9540. procedure clearTRISC3; inline;
  9541. procedure clearTRISC4; inline;
  9542. procedure clearTRISC5; inline;
  9543. procedure clearTRISC6; inline;
  9544. procedure clearTRISC7; inline;
  9545. procedure clearTRISC8; inline;
  9546. procedure clearTRISC9; inline;
  9547. procedure setTRISC0; inline;
  9548. procedure setTRISC1; inline;
  9549. procedure setTRISC2; inline;
  9550. procedure setTRISC3; inline;
  9551. procedure setTRISC4; inline;
  9552. procedure setTRISC5; inline;
  9553. procedure setTRISC6; inline;
  9554. procedure setTRISC7; inline;
  9555. procedure setTRISC8; inline;
  9556. procedure setTRISC9; inline;
  9557. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9558. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9559. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  9560. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9561. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  9562. property TRISC5 : TBits_1 read getTRISC5 write setTRISC5;
  9563. property TRISC6 : TBits_1 read getTRISC6 write setTRISC6;
  9564. property TRISC7 : TBits_1 read getTRISC7 write setTRISC7;
  9565. property TRISC8 : TBits_1 read getTRISC8 write setTRISC8;
  9566. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9567. property w : TBits_32 read getw write setw;
  9568. end;
  9569. TPORTC_PORTC = record
  9570. private
  9571. function getRC0 : TBits_1; inline;
  9572. function getRC1 : TBits_1; inline;
  9573. function getRC2 : TBits_1; inline;
  9574. function getRC3 : TBits_1; inline;
  9575. function getRC4 : TBits_1; inline;
  9576. function getRC5 : TBits_1; inline;
  9577. function getRC6 : TBits_1; inline;
  9578. function getRC7 : TBits_1; inline;
  9579. function getRC8 : TBits_1; inline;
  9580. function getRC9 : TBits_1; inline;
  9581. function getw : TBits_32; inline;
  9582. procedure setRC0(thebits : TBits_1); inline;
  9583. procedure setRC1(thebits : TBits_1); inline;
  9584. procedure setRC2(thebits : TBits_1); inline;
  9585. procedure setRC3(thebits : TBits_1); inline;
  9586. procedure setRC4(thebits : TBits_1); inline;
  9587. procedure setRC5(thebits : TBits_1); inline;
  9588. procedure setRC6(thebits : TBits_1); inline;
  9589. procedure setRC7(thebits : TBits_1); inline;
  9590. procedure setRC8(thebits : TBits_1); inline;
  9591. procedure setRC9(thebits : TBits_1); inline;
  9592. procedure setw(thebits : TBits_32); inline;
  9593. public
  9594. procedure clearRC0; inline;
  9595. procedure clearRC1; inline;
  9596. procedure clearRC2; inline;
  9597. procedure clearRC3; inline;
  9598. procedure clearRC4; inline;
  9599. procedure clearRC5; inline;
  9600. procedure clearRC6; inline;
  9601. procedure clearRC7; inline;
  9602. procedure clearRC8; inline;
  9603. procedure clearRC9; inline;
  9604. procedure setRC0; inline;
  9605. procedure setRC1; inline;
  9606. procedure setRC2; inline;
  9607. procedure setRC3; inline;
  9608. procedure setRC4; inline;
  9609. procedure setRC5; inline;
  9610. procedure setRC6; inline;
  9611. procedure setRC7; inline;
  9612. procedure setRC8; inline;
  9613. procedure setRC9; inline;
  9614. property RC0 : TBits_1 read getRC0 write setRC0;
  9615. property RC1 : TBits_1 read getRC1 write setRC1;
  9616. property RC2 : TBits_1 read getRC2 write setRC2;
  9617. property RC3 : TBits_1 read getRC3 write setRC3;
  9618. property RC4 : TBits_1 read getRC4 write setRC4;
  9619. property RC5 : TBits_1 read getRC5 write setRC5;
  9620. property RC6 : TBits_1 read getRC6 write setRC6;
  9621. property RC7 : TBits_1 read getRC7 write setRC7;
  9622. property RC8 : TBits_1 read getRC8 write setRC8;
  9623. property RC9 : TBits_1 read getRC9 write setRC9;
  9624. property w : TBits_32 read getw write setw;
  9625. end;
  9626. TPortC_bits=(RC0=0,RC1=1,RC2=2,RC3=3,RC4=4,RC5=5,RC6=6,RC7=7,RC8=8,RC9=9);
  9627. TPortC_bitset = set of TPortC_bits;
  9628. TPORTC_LATC = record
  9629. private
  9630. function getLATC0 : TBits_1; inline;
  9631. function getLATC1 : TBits_1; inline;
  9632. function getLATC2 : TBits_1; inline;
  9633. function getLATC3 : TBits_1; inline;
  9634. function getLATC4 : TBits_1; inline;
  9635. function getLATC5 : TBits_1; inline;
  9636. function getLATC6 : TBits_1; inline;
  9637. function getLATC7 : TBits_1; inline;
  9638. function getLATC8 : TBits_1; inline;
  9639. function getLATC9 : TBits_1; inline;
  9640. function getw : TBits_32; inline;
  9641. procedure setLATC0(thebits : TBits_1); inline;
  9642. procedure setLATC1(thebits : TBits_1); inline;
  9643. procedure setLATC2(thebits : TBits_1); inline;
  9644. procedure setLATC3(thebits : TBits_1); inline;
  9645. procedure setLATC4(thebits : TBits_1); inline;
  9646. procedure setLATC5(thebits : TBits_1); inline;
  9647. procedure setLATC6(thebits : TBits_1); inline;
  9648. procedure setLATC7(thebits : TBits_1); inline;
  9649. procedure setLATC8(thebits : TBits_1); inline;
  9650. procedure setLATC9(thebits : TBits_1); inline;
  9651. procedure setw(thebits : TBits_32); inline;
  9652. public
  9653. procedure clearLATC0; inline;
  9654. procedure clearLATC1; inline;
  9655. procedure clearLATC2; inline;
  9656. procedure clearLATC3; inline;
  9657. procedure clearLATC4; inline;
  9658. procedure clearLATC5; inline;
  9659. procedure clearLATC6; inline;
  9660. procedure clearLATC7; inline;
  9661. procedure clearLATC8; inline;
  9662. procedure clearLATC9; inline;
  9663. procedure setLATC0; inline;
  9664. procedure setLATC1; inline;
  9665. procedure setLATC2; inline;
  9666. procedure setLATC3; inline;
  9667. procedure setLATC4; inline;
  9668. procedure setLATC5; inline;
  9669. procedure setLATC6; inline;
  9670. procedure setLATC7; inline;
  9671. procedure setLATC8; inline;
  9672. procedure setLATC9; inline;
  9673. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9674. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9675. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  9676. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9677. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  9678. property LATC5 : TBits_1 read getLATC5 write setLATC5;
  9679. property LATC6 : TBits_1 read getLATC6 write setLATC6;
  9680. property LATC7 : TBits_1 read getLATC7 write setLATC7;
  9681. property LATC8 : TBits_1 read getLATC8 write setLATC8;
  9682. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9683. property w : TBits_32 read getw write setw;
  9684. end;
  9685. TPORTC_ODCC = record
  9686. private
  9687. function getODCC4 : TBits_1; inline;
  9688. function getODCC5 : TBits_1; inline;
  9689. function getODCC6 : TBits_1; inline;
  9690. function getODCC7 : TBits_1; inline;
  9691. function getODCC8 : TBits_1; inline;
  9692. function getODCC9 : TBits_1; inline;
  9693. function getw : TBits_32; inline;
  9694. procedure setODCC4(thebits : TBits_1); inline;
  9695. procedure setODCC5(thebits : TBits_1); inline;
  9696. procedure setODCC6(thebits : TBits_1); inline;
  9697. procedure setODCC7(thebits : TBits_1); inline;
  9698. procedure setODCC8(thebits : TBits_1); inline;
  9699. procedure setODCC9(thebits : TBits_1); inline;
  9700. procedure setw(thebits : TBits_32); inline;
  9701. public
  9702. procedure clearODCC4; inline;
  9703. procedure clearODCC5; inline;
  9704. procedure clearODCC6; inline;
  9705. procedure clearODCC7; inline;
  9706. procedure clearODCC8; inline;
  9707. procedure clearODCC9; inline;
  9708. procedure setODCC4; inline;
  9709. procedure setODCC5; inline;
  9710. procedure setODCC6; inline;
  9711. procedure setODCC7; inline;
  9712. procedure setODCC8; inline;
  9713. procedure setODCC9; inline;
  9714. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  9715. property ODCC5 : TBits_1 read getODCC5 write setODCC5;
  9716. property ODCC6 : TBits_1 read getODCC6 write setODCC6;
  9717. property ODCC7 : TBits_1 read getODCC7 write setODCC7;
  9718. property ODCC8 : TBits_1 read getODCC8 write setODCC8;
  9719. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9720. property w : TBits_32 read getw write setw;
  9721. end;
  9722. TPORTC_CNPUC = record
  9723. private
  9724. function getCNPUC0 : TBits_1; inline;
  9725. function getCNPUC1 : TBits_1; inline;
  9726. function getCNPUC2 : TBits_1; inline;
  9727. function getCNPUC3 : TBits_1; inline;
  9728. function getCNPUC4 : TBits_1; inline;
  9729. function getCNPUC5 : TBits_1; inline;
  9730. function getCNPUC6 : TBits_1; inline;
  9731. function getCNPUC7 : TBits_1; inline;
  9732. function getCNPUC8 : TBits_1; inline;
  9733. function getCNPUC9 : TBits_1; inline;
  9734. function getw : TBits_32; inline;
  9735. procedure setCNPUC0(thebits : TBits_1); inline;
  9736. procedure setCNPUC1(thebits : TBits_1); inline;
  9737. procedure setCNPUC2(thebits : TBits_1); inline;
  9738. procedure setCNPUC3(thebits : TBits_1); inline;
  9739. procedure setCNPUC4(thebits : TBits_1); inline;
  9740. procedure setCNPUC5(thebits : TBits_1); inline;
  9741. procedure setCNPUC6(thebits : TBits_1); inline;
  9742. procedure setCNPUC7(thebits : TBits_1); inline;
  9743. procedure setCNPUC8(thebits : TBits_1); inline;
  9744. procedure setCNPUC9(thebits : TBits_1); inline;
  9745. procedure setw(thebits : TBits_32); inline;
  9746. public
  9747. procedure clearCNPUC0; inline;
  9748. procedure clearCNPUC1; inline;
  9749. procedure clearCNPUC2; inline;
  9750. procedure clearCNPUC3; inline;
  9751. procedure clearCNPUC4; inline;
  9752. procedure clearCNPUC5; inline;
  9753. procedure clearCNPUC6; inline;
  9754. procedure clearCNPUC7; inline;
  9755. procedure clearCNPUC8; inline;
  9756. procedure clearCNPUC9; inline;
  9757. procedure setCNPUC0; inline;
  9758. procedure setCNPUC1; inline;
  9759. procedure setCNPUC2; inline;
  9760. procedure setCNPUC3; inline;
  9761. procedure setCNPUC4; inline;
  9762. procedure setCNPUC5; inline;
  9763. procedure setCNPUC6; inline;
  9764. procedure setCNPUC7; inline;
  9765. procedure setCNPUC8; inline;
  9766. procedure setCNPUC9; inline;
  9767. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9768. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9769. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  9770. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9771. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  9772. property CNPUC5 : TBits_1 read getCNPUC5 write setCNPUC5;
  9773. property CNPUC6 : TBits_1 read getCNPUC6 write setCNPUC6;
  9774. property CNPUC7 : TBits_1 read getCNPUC7 write setCNPUC7;
  9775. property CNPUC8 : TBits_1 read getCNPUC8 write setCNPUC8;
  9776. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9777. property w : TBits_32 read getw write setw;
  9778. end;
  9779. TPORTC_CNPDC = record
  9780. private
  9781. function getCNPDC0 : TBits_1; inline;
  9782. function getCNPDC1 : TBits_1; inline;
  9783. function getCNPDC2 : TBits_1; inline;
  9784. function getCNPDC3 : TBits_1; inline;
  9785. function getCNPDC4 : TBits_1; inline;
  9786. function getCNPDC5 : TBits_1; inline;
  9787. function getCNPDC6 : TBits_1; inline;
  9788. function getCNPDC7 : TBits_1; inline;
  9789. function getCNPDC8 : TBits_1; inline;
  9790. function getCNPDC9 : TBits_1; inline;
  9791. function getw : TBits_32; inline;
  9792. procedure setCNPDC0(thebits : TBits_1); inline;
  9793. procedure setCNPDC1(thebits : TBits_1); inline;
  9794. procedure setCNPDC2(thebits : TBits_1); inline;
  9795. procedure setCNPDC3(thebits : TBits_1); inline;
  9796. procedure setCNPDC4(thebits : TBits_1); inline;
  9797. procedure setCNPDC5(thebits : TBits_1); inline;
  9798. procedure setCNPDC6(thebits : TBits_1); inline;
  9799. procedure setCNPDC7(thebits : TBits_1); inline;
  9800. procedure setCNPDC8(thebits : TBits_1); inline;
  9801. procedure setCNPDC9(thebits : TBits_1); inline;
  9802. procedure setw(thebits : TBits_32); inline;
  9803. public
  9804. procedure clearCNPDC0; inline;
  9805. procedure clearCNPDC1; inline;
  9806. procedure clearCNPDC2; inline;
  9807. procedure clearCNPDC3; inline;
  9808. procedure clearCNPDC4; inline;
  9809. procedure clearCNPDC5; inline;
  9810. procedure clearCNPDC6; inline;
  9811. procedure clearCNPDC7; inline;
  9812. procedure clearCNPDC8; inline;
  9813. procedure clearCNPDC9; inline;
  9814. procedure setCNPDC0; inline;
  9815. procedure setCNPDC1; inline;
  9816. procedure setCNPDC2; inline;
  9817. procedure setCNPDC3; inline;
  9818. procedure setCNPDC4; inline;
  9819. procedure setCNPDC5; inline;
  9820. procedure setCNPDC6; inline;
  9821. procedure setCNPDC7; inline;
  9822. procedure setCNPDC8; inline;
  9823. procedure setCNPDC9; inline;
  9824. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9825. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9826. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  9827. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9828. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  9829. property CNPDC5 : TBits_1 read getCNPDC5 write setCNPDC5;
  9830. property CNPDC6 : TBits_1 read getCNPDC6 write setCNPDC6;
  9831. property CNPDC7 : TBits_1 read getCNPDC7 write setCNPDC7;
  9832. property CNPDC8 : TBits_1 read getCNPDC8 write setCNPDC8;
  9833. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9834. property w : TBits_32 read getw write setw;
  9835. end;
  9836. TPORTC_CNCONC = record
  9837. private
  9838. function getON : TBits_1; inline;
  9839. function getSIDL : TBits_1; inline;
  9840. function getw : TBits_32; inline;
  9841. procedure setON(thebits : TBits_1); inline;
  9842. procedure setSIDL(thebits : TBits_1); inline;
  9843. procedure setw(thebits : TBits_32); inline;
  9844. public
  9845. procedure clearON; inline;
  9846. procedure clearSIDL; inline;
  9847. procedure setON; inline;
  9848. procedure setSIDL; inline;
  9849. property ON : TBits_1 read getON write setON;
  9850. property SIDL : TBits_1 read getSIDL write setSIDL;
  9851. property w : TBits_32 read getw write setw;
  9852. end;
  9853. TPORTC_CNENC = record
  9854. private
  9855. function getCNIEC0 : TBits_1; inline;
  9856. function getCNIEC1 : TBits_1; inline;
  9857. function getCNIEC2 : TBits_1; inline;
  9858. function getCNIEC3 : TBits_1; inline;
  9859. function getCNIEC4 : TBits_1; inline;
  9860. function getCNIEC5 : TBits_1; inline;
  9861. function getCNIEC6 : TBits_1; inline;
  9862. function getCNIEC7 : TBits_1; inline;
  9863. function getCNIEC8 : TBits_1; inline;
  9864. function getCNIEC9 : TBits_1; inline;
  9865. function getw : TBits_32; inline;
  9866. procedure setCNIEC0(thebits : TBits_1); inline;
  9867. procedure setCNIEC1(thebits : TBits_1); inline;
  9868. procedure setCNIEC2(thebits : TBits_1); inline;
  9869. procedure setCNIEC3(thebits : TBits_1); inline;
  9870. procedure setCNIEC4(thebits : TBits_1); inline;
  9871. procedure setCNIEC5(thebits : TBits_1); inline;
  9872. procedure setCNIEC6(thebits : TBits_1); inline;
  9873. procedure setCNIEC7(thebits : TBits_1); inline;
  9874. procedure setCNIEC8(thebits : TBits_1); inline;
  9875. procedure setCNIEC9(thebits : TBits_1); inline;
  9876. procedure setw(thebits : TBits_32); inline;
  9877. public
  9878. procedure clearCNIEC0; inline;
  9879. procedure clearCNIEC1; inline;
  9880. procedure clearCNIEC2; inline;
  9881. procedure clearCNIEC3; inline;
  9882. procedure clearCNIEC4; inline;
  9883. procedure clearCNIEC5; inline;
  9884. procedure clearCNIEC6; inline;
  9885. procedure clearCNIEC7; inline;
  9886. procedure clearCNIEC8; inline;
  9887. procedure clearCNIEC9; inline;
  9888. procedure setCNIEC0; inline;
  9889. procedure setCNIEC1; inline;
  9890. procedure setCNIEC2; inline;
  9891. procedure setCNIEC3; inline;
  9892. procedure setCNIEC4; inline;
  9893. procedure setCNIEC5; inline;
  9894. procedure setCNIEC6; inline;
  9895. procedure setCNIEC7; inline;
  9896. procedure setCNIEC8; inline;
  9897. procedure setCNIEC9; inline;
  9898. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  9899. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  9900. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  9901. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  9902. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  9903. property CNIEC5 : TBits_1 read getCNIEC5 write setCNIEC5;
  9904. property CNIEC6 : TBits_1 read getCNIEC6 write setCNIEC6;
  9905. property CNIEC7 : TBits_1 read getCNIEC7 write setCNIEC7;
  9906. property CNIEC8 : TBits_1 read getCNIEC8 write setCNIEC8;
  9907. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  9908. property w : TBits_32 read getw write setw;
  9909. end;
  9910. TPORTC_CNSTATC = record
  9911. private
  9912. function getCNSTATC0 : TBits_1; inline;
  9913. function getCNSTATC1 : TBits_1; inline;
  9914. function getCNSTATC2 : TBits_1; inline;
  9915. function getCNSTATC3 : TBits_1; inline;
  9916. function getCNSTATC4 : TBits_1; inline;
  9917. function getCNSTATC5 : TBits_1; inline;
  9918. function getCNSTATC6 : TBits_1; inline;
  9919. function getCNSTATC7 : TBits_1; inline;
  9920. function getCNSTATC8 : TBits_1; inline;
  9921. function getCNSTATC9 : TBits_1; inline;
  9922. function getw : TBits_32; inline;
  9923. procedure setCNSTATC0(thebits : TBits_1); inline;
  9924. procedure setCNSTATC1(thebits : TBits_1); inline;
  9925. procedure setCNSTATC2(thebits : TBits_1); inline;
  9926. procedure setCNSTATC3(thebits : TBits_1); inline;
  9927. procedure setCNSTATC4(thebits : TBits_1); inline;
  9928. procedure setCNSTATC5(thebits : TBits_1); inline;
  9929. procedure setCNSTATC6(thebits : TBits_1); inline;
  9930. procedure setCNSTATC7(thebits : TBits_1); inline;
  9931. procedure setCNSTATC8(thebits : TBits_1); inline;
  9932. procedure setCNSTATC9(thebits : TBits_1); inline;
  9933. procedure setw(thebits : TBits_32); inline;
  9934. public
  9935. procedure clearCNSTATC0; inline;
  9936. procedure clearCNSTATC1; inline;
  9937. procedure clearCNSTATC2; inline;
  9938. procedure clearCNSTATC3; inline;
  9939. procedure clearCNSTATC4; inline;
  9940. procedure clearCNSTATC5; inline;
  9941. procedure clearCNSTATC6; inline;
  9942. procedure clearCNSTATC7; inline;
  9943. procedure clearCNSTATC8; inline;
  9944. procedure clearCNSTATC9; inline;
  9945. procedure setCNSTATC0; inline;
  9946. procedure setCNSTATC1; inline;
  9947. procedure setCNSTATC2; inline;
  9948. procedure setCNSTATC3; inline;
  9949. procedure setCNSTATC4; inline;
  9950. procedure setCNSTATC5; inline;
  9951. procedure setCNSTATC6; inline;
  9952. procedure setCNSTATC7; inline;
  9953. procedure setCNSTATC8; inline;
  9954. procedure setCNSTATC9; inline;
  9955. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  9956. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  9957. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  9958. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  9959. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  9960. property CNSTATC5 : TBits_1 read getCNSTATC5 write setCNSTATC5;
  9961. property CNSTATC6 : TBits_1 read getCNSTATC6 write setCNSTATC6;
  9962. property CNSTATC7 : TBits_1 read getCNSTATC7 write setCNSTATC7;
  9963. property CNSTATC8 : TBits_1 read getCNSTATC8 write setCNSTATC8;
  9964. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  9965. property w : TBits_32 read getw write setw;
  9966. end;
  9967. type
  9968. TPORTCRegisters = record
  9969. ANSELCbits : TPORTC_ANSELC;
  9970. ANSELC : longWord;
  9971. ANSELCCLR : longWord;
  9972. ANSELCSET : longWord;
  9973. ANSELCINV : longWord;
  9974. TRISCbits : TPORTC_TRISC;
  9975. TRISC : longWord;
  9976. TRISCCLR : longWord;
  9977. TRISCSET : longWord;
  9978. TRISCINV : longWord;
  9979. PORTCbits : TPORTC_PORTC;
  9980. PORTC : longWord;
  9981. PORTCCLR : longWord;
  9982. PORTCSET : longWord;
  9983. PORTCINV : longWord;
  9984. LATCbits : TPORTC_LATC;
  9985. LATC : longWord;
  9986. LATCCLR : longWord;
  9987. LATCSET : longWord;
  9988. LATCINV : longWord;
  9989. ODCCbits : TPORTC_ODCC;
  9990. ODCC : longWord;
  9991. ODCCCLR : longWord;
  9992. ODCCSET : longWord;
  9993. ODCCINV : longWord;
  9994. CNPUCbits : TPORTC_CNPUC;
  9995. CNPUC : longWord;
  9996. CNPUCCLR : longWord;
  9997. CNPUCSET : longWord;
  9998. CNPUCINV : longWord;
  9999. CNPDCbits : TPORTC_CNPDC;
  10000. CNPDC : longWord;
  10001. CNPDCCLR : longWord;
  10002. CNPDCSET : longWord;
  10003. CNPDCINV : longWord;
  10004. CNCONCbits : TPORTC_CNCONC;
  10005. CNCONC : longWord;
  10006. CNCONCCLR : longWord;
  10007. CNCONCSET : longWord;
  10008. CNCONCINV : longWord;
  10009. CNENCbits : TPORTC_CNENC;
  10010. CNENC : longWord;
  10011. CNENCCLR : longWord;
  10012. CNENCSET : longWord;
  10013. CNENCINV : longWord;
  10014. CNSTATCbits : TPORTC_CNSTATC;
  10015. CNSTATC : longWord;
  10016. CNSTATCCLR : longWord;
  10017. CNSTATCSET : longWord;
  10018. CNSTATCINV : longWord;
  10019. end;
  10020. TDEVCFG_DEVCFG3 = record
  10021. private
  10022. function getFUSBIDIO : TBits_1; inline;
  10023. function getFVBUSONIO : TBits_1; inline;
  10024. function getIOL1WAY : TBits_1; inline;
  10025. function getPMDL1WAY : TBits_1; inline;
  10026. function getUSERID : TBits_16; inline;
  10027. function getw : TBits_32; inline;
  10028. procedure setFUSBIDIO(thebits : TBits_1); inline;
  10029. procedure setFVBUSONIO(thebits : TBits_1); inline;
  10030. procedure setIOL1WAY(thebits : TBits_1); inline;
  10031. procedure setPMDL1WAY(thebits : TBits_1); inline;
  10032. procedure setUSERID(thebits : TBits_16); inline;
  10033. procedure setw(thebits : TBits_32); inline;
  10034. public
  10035. procedure clearFUSBIDIO; inline;
  10036. procedure clearFVBUSONIO; inline;
  10037. procedure clearIOL1WAY; inline;
  10038. procedure clearPMDL1WAY; inline;
  10039. procedure setFUSBIDIO; inline;
  10040. procedure setFVBUSONIO; inline;
  10041. procedure setIOL1WAY; inline;
  10042. procedure setPMDL1WAY; inline;
  10043. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  10044. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  10045. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  10046. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  10047. property USERID : TBits_16 read getUSERID write setUSERID;
  10048. property w : TBits_32 read getw write setw;
  10049. end;
  10050. TDEVCFG_DEVCFG2 = record
  10051. private
  10052. function getFPLLIDIV : TBits_3; inline;
  10053. function getFPLLMUL : TBits_3; inline;
  10054. function getFPLLODIV : TBits_3; inline;
  10055. function getUPLLEN : TBits_1; inline;
  10056. function getUPLLIDIV : TBits_3; inline;
  10057. function getw : TBits_32; inline;
  10058. procedure setFPLLIDIV(thebits : TBits_3); inline;
  10059. procedure setFPLLMUL(thebits : TBits_3); inline;
  10060. procedure setFPLLODIV(thebits : TBits_3); inline;
  10061. procedure setUPLLEN(thebits : TBits_1); inline;
  10062. procedure setUPLLIDIV(thebits : TBits_3); inline;
  10063. procedure setw(thebits : TBits_32); inline;
  10064. public
  10065. procedure clearUPLLEN; inline;
  10066. procedure setUPLLEN; inline;
  10067. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  10068. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  10069. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  10070. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  10071. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  10072. property w : TBits_32 read getw write setw;
  10073. end;
  10074. TDEVCFG_DEVCFG1 = record
  10075. private
  10076. function getFCKSM : TBits_2; inline;
  10077. function getFNOSC : TBits_3; inline;
  10078. function getFPBDIV : TBits_2; inline;
  10079. function getFSOSCEN : TBits_1; inline;
  10080. function getFWDTEN : TBits_1; inline;
  10081. function getFWDTWINSZ : TBits_2; inline;
  10082. function getIESO : TBits_1; inline;
  10083. function getOSCIOFNC : TBits_1; inline;
  10084. function getPOSCMOD : TBits_2; inline;
  10085. function getWDTPS : TBits_5; inline;
  10086. function getWINDIS : TBits_1; inline;
  10087. function getw : TBits_32; inline;
  10088. procedure setFCKSM(thebits : TBits_2); inline;
  10089. procedure setFNOSC(thebits : TBits_3); inline;
  10090. procedure setFPBDIV(thebits : TBits_2); inline;
  10091. procedure setFSOSCEN(thebits : TBits_1); inline;
  10092. procedure setFWDTEN(thebits : TBits_1); inline;
  10093. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  10094. procedure setIESO(thebits : TBits_1); inline;
  10095. procedure setOSCIOFNC(thebits : TBits_1); inline;
  10096. procedure setPOSCMOD(thebits : TBits_2); inline;
  10097. procedure setWDTPS(thebits : TBits_5); inline;
  10098. procedure setWINDIS(thebits : TBits_1); inline;
  10099. procedure setw(thebits : TBits_32); inline;
  10100. public
  10101. procedure clearFSOSCEN; inline;
  10102. procedure clearFWDTEN; inline;
  10103. procedure clearIESO; inline;
  10104. procedure clearOSCIOFNC; inline;
  10105. procedure clearWINDIS; inline;
  10106. procedure setFSOSCEN; inline;
  10107. procedure setFWDTEN; inline;
  10108. procedure setIESO; inline;
  10109. procedure setOSCIOFNC; inline;
  10110. procedure setWINDIS; inline;
  10111. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  10112. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  10113. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  10114. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  10115. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  10116. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  10117. property IESO : TBits_1 read getIESO write setIESO;
  10118. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  10119. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  10120. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  10121. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  10122. property w : TBits_32 read getw write setw;
  10123. end;
  10124. TDEVCFG_DEVCFG0 = record
  10125. private
  10126. function getBWP : TBits_1; inline;
  10127. function getCP : TBits_1; inline;
  10128. function getDEBUG : TBits_2; inline;
  10129. function getFDEBUG : TBits_2; inline;
  10130. function getICESEL : TBits_2; inline;
  10131. function getJTAGEN : TBits_1; inline;
  10132. function getPWP : TBits_6; inline;
  10133. function getw : TBits_32; inline;
  10134. procedure setBWP(thebits : TBits_1); inline;
  10135. procedure setCP(thebits : TBits_1); inline;
  10136. procedure setDEBUG(thebits : TBits_2); inline;
  10137. procedure setFDEBUG(thebits : TBits_2); inline;
  10138. procedure setICESEL(thebits : TBits_2); inline;
  10139. procedure setJTAGEN(thebits : TBits_1); inline;
  10140. procedure setPWP(thebits : TBits_6); inline;
  10141. procedure setw(thebits : TBits_32); inline;
  10142. public
  10143. procedure clearBWP; inline;
  10144. procedure clearCP; inline;
  10145. procedure clearJTAGEN; inline;
  10146. procedure setBWP; inline;
  10147. procedure setCP; inline;
  10148. procedure setJTAGEN; inline;
  10149. property BWP : TBits_1 read getBWP write setBWP;
  10150. property CP : TBits_1 read getCP write setCP;
  10151. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  10152. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  10153. property ICESEL : TBits_2 read getICESEL write setICESEL;
  10154. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  10155. property PWP : TBits_6 read getPWP write setPWP;
  10156. property w : TBits_32 read getw write setw;
  10157. end;
  10158. const
  10159. _CORE_TIMER_IRQ = 0;
  10160. _CORE_SOFTWARE_0_IRQ = 1;
  10161. _CORE_SOFTWARE_1_IRQ = 2;
  10162. _EXTERNAL_0_IRQ = 3;
  10163. _TIMER_1_IRQ = 4;
  10164. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  10165. _INPUT_CAPTURE_1_IRQ = 6;
  10166. _OUTPUT_COMPARE_1_IRQ = 7;
  10167. _EXTERNAL_1_IRQ = 8;
  10168. _TIMER_2_IRQ = 9;
  10169. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  10170. _INPUT_CAPTURE_2_IRQ = 11;
  10171. _OUTPUT_COMPARE_2_IRQ = 12;
  10172. _EXTERNAL_2_IRQ = 13;
  10173. _TIMER_3_IRQ = 14;
  10174. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  10175. _INPUT_CAPTURE_3_IRQ = 16;
  10176. _OUTPUT_COMPARE_3_IRQ = 17;
  10177. _EXTERNAL_3_IRQ = 18;
  10178. _TIMER_4_IRQ = 19;
  10179. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  10180. _INPUT_CAPTURE_4_IRQ = 21;
  10181. _OUTPUT_COMPARE_4_IRQ = 22;
  10182. _EXTERNAL_4_IRQ = 23;
  10183. _TIMER_5_IRQ = 24;
  10184. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  10185. _INPUT_CAPTURE_5_IRQ = 26;
  10186. _OUTPUT_COMPARE_5_IRQ = 27;
  10187. _ADC_IRQ = 28;
  10188. _FAIL_SAFE_MONITOR_IRQ = 29;
  10189. _RTCC_IRQ = 30;
  10190. _FLASH_CONTROL_IRQ = 31;
  10191. _COMPARATOR_1_IRQ = 32;
  10192. _COMPARATOR_2_IRQ = 33;
  10193. _COMPARATOR_3_IRQ = 34;
  10194. _USB_IRQ = 35;
  10195. _SPI1_ERR_IRQ = 36;
  10196. _SPI1_RX_IRQ = 37;
  10197. _SPI1_TX_IRQ = 38;
  10198. _UART1_ERR_IRQ = 39;
  10199. _UART1_RX_IRQ = 40;
  10200. _UART1_TX_IRQ = 41;
  10201. _I2C1_BUS_IRQ = 42;
  10202. _I2C1_SLAVE_IRQ = 43;
  10203. _I2C1_MASTER_IRQ = 44;
  10204. _CHANGE_NOTICE_A_IRQ = 45;
  10205. _CHANGE_NOTICE_B_IRQ = 46;
  10206. _CHANGE_NOTICE_C_IRQ = 47;
  10207. _PMP_IRQ = 48;
  10208. _PMP_ERROR_IRQ = 49;
  10209. _SPI2_ERR_IRQ = 50;
  10210. _SPI2_RX_IRQ = 51;
  10211. _SPI2_TX_IRQ = 52;
  10212. _UART2_ERR_IRQ = 53;
  10213. _UART2_RX_IRQ = 54;
  10214. _UART2_TX_IRQ = 55;
  10215. _I2C2_BUS_IRQ = 56;
  10216. _I2C2_SLAVE_IRQ = 57;
  10217. _I2C2_MASTER_IRQ = 58;
  10218. _CTMU_IRQ = 59;
  10219. _DMA0_IRQ = 60;
  10220. _DMA1_IRQ = 61;
  10221. _DMA2_IRQ = 62;
  10222. _DMA3_IRQ = 63;
  10223. const
  10224. ADC10_BASE_ADDRESS = $BF809000;
  10225. var
  10226. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  10227. const
  10228. BMX_BASE_ADDRESS = $BF882000;
  10229. var
  10230. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  10231. const
  10232. CFG_BASE_ADDRESS = $BF80F200;
  10233. var
  10234. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  10235. const
  10236. CMP_BASE_ADDRESS = $BF80A000;
  10237. var
  10238. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  10239. const
  10240. CVR_BASE_ADDRESS = $BF809800;
  10241. var
  10242. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  10243. const
  10244. DMAC_BASE_ADDRESS = $BF883000;
  10245. var
  10246. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  10247. const
  10248. DMAC0_BASE_ADDRESS = $BF883060;
  10249. var
  10250. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  10251. const
  10252. DMAC1_BASE_ADDRESS = $BF883120;
  10253. var
  10254. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  10255. const
  10256. DMAC2_BASE_ADDRESS = $BF8831E0;
  10257. var
  10258. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  10259. const
  10260. DMAC3_BASE_ADDRESS = $BF8832A0;
  10261. var
  10262. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  10263. const
  10264. I2C1_BASE_ADDRESS = $BF805000;
  10265. var
  10266. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  10267. const
  10268. I2C2_BASE_ADDRESS = $BF805100;
  10269. var
  10270. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  10271. const
  10272. ICAP1_BASE_ADDRESS = $BF802000;
  10273. var
  10274. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  10275. const
  10276. ICAP2_BASE_ADDRESS = $BF802200;
  10277. var
  10278. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  10279. const
  10280. ICAP3_BASE_ADDRESS = $BF802400;
  10281. var
  10282. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  10283. const
  10284. ICAP4_BASE_ADDRESS = $BF802600;
  10285. var
  10286. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  10287. const
  10288. ICAP5_BASE_ADDRESS = $BF802800;
  10289. var
  10290. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  10291. const
  10292. INT_BASE_ADDRESS = $BF881000;
  10293. var
  10294. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  10295. const
  10296. NVM_BASE_ADDRESS = $BF80F400;
  10297. var
  10298. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  10299. const
  10300. OCMP1_BASE_ADDRESS = $BF803000;
  10301. var
  10302. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  10303. const
  10304. OCMP2_BASE_ADDRESS = $BF803200;
  10305. var
  10306. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  10307. const
  10308. OCMP3_BASE_ADDRESS = $BF803400;
  10309. var
  10310. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  10311. const
  10312. OCMP4_BASE_ADDRESS = $BF803600;
  10313. var
  10314. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  10315. const
  10316. OCMP5_BASE_ADDRESS = $BF803800;
  10317. var
  10318. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  10319. const
  10320. OSC_BASE_ADDRESS = $BF80F000;
  10321. var
  10322. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  10323. const
  10324. PMP_BASE_ADDRESS = $BF807000;
  10325. var
  10326. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  10327. const
  10328. PORTA_BASE_ADDRESS = $BF886000;
  10329. var
  10330. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  10331. const
  10332. PORTB_BASE_ADDRESS = $BF886100;
  10333. var
  10334. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  10335. const
  10336. PORTC_BASE_ADDRESS = $BF886200;
  10337. var
  10338. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  10339. const
  10340. RCON_BASE_ADDRESS = $BF80F600;
  10341. var
  10342. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  10343. const
  10344. RTCC_BASE_ADDRESS = $BF800200;
  10345. var
  10346. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  10347. const
  10348. SPI1_BASE_ADDRESS = $BF805800;
  10349. var
  10350. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  10351. const
  10352. SPI2_BASE_ADDRESS = $BF805A00;
  10353. var
  10354. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  10355. const
  10356. TMR1_BASE_ADDRESS = $BF800600;
  10357. var
  10358. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  10359. const
  10360. TMR2_BASE_ADDRESS = $BF800800;
  10361. var
  10362. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  10363. const
  10364. TMR3_BASE_ADDRESS = $BF800A00;
  10365. var
  10366. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  10367. const
  10368. TMR4_BASE_ADDRESS = $BF800C00;
  10369. var
  10370. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  10371. const
  10372. TMR5_BASE_ADDRESS = $BF800E00;
  10373. var
  10374. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  10375. const
  10376. UART1_BASE_ADDRESS = $BF806000;
  10377. var
  10378. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  10379. const
  10380. UART2_BASE_ADDRESS = $BF806200;
  10381. var
  10382. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  10383. const
  10384. USB_BASE_ADDRESS = $BF885040;
  10385. var
  10386. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  10387. const
  10388. WDT_BASE_ADDRESS = $BF800000;
  10389. var
  10390. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  10391. implementation
  10392. type
  10393. TDefRegMap = record
  10394. val : longWord;
  10395. clr : longWord;
  10396. &set : longWord;
  10397. inv : longWord;
  10398. end;
  10399. pTDefRegMap = ^TDefRegMap;
  10400. procedure TWDT_WDTCON.setWDTCLR; inline;
  10401. begin
  10402. pTDefRegMap(@Self)^.&set := $00000001;
  10403. end;
  10404. procedure TWDT_WDTCON.clearWDTCLR; inline;
  10405. begin
  10406. pTDefRegMap(@Self)^.clr := $00000001;
  10407. end;
  10408. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10409. begin
  10410. if thebits = 0 then
  10411. pTDefRegMap(@Self)^.clr := $00000001
  10412. else
  10413. pTDefRegMap(@Self)^.&set := $00000001;
  10414. end;
  10415. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10416. begin
  10417. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10418. end;
  10419. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10420. begin
  10421. pTDefRegMap(@Self)^.&set := $00000002;
  10422. end;
  10423. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10424. begin
  10425. pTDefRegMap(@Self)^.clr := $00000002;
  10426. end;
  10427. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10428. begin
  10429. if thebits = 0 then
  10430. pTDefRegMap(@Self)^.clr := $00000002
  10431. else
  10432. pTDefRegMap(@Self)^.&set := $00000002;
  10433. end;
  10434. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10435. begin
  10436. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10437. end;
  10438. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10439. begin
  10440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10441. end;
  10442. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10443. begin
  10444. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10445. end;
  10446. procedure TWDT_WDTCON.setON; inline;
  10447. begin
  10448. pTDefRegMap(@Self)^.&set := $00008000;
  10449. end;
  10450. procedure TWDT_WDTCON.clearON; inline;
  10451. begin
  10452. pTDefRegMap(@Self)^.clr := $00008000;
  10453. end;
  10454. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10455. begin
  10456. if thebits = 0 then
  10457. pTDefRegMap(@Self)^.clr := $00008000
  10458. else
  10459. pTDefRegMap(@Self)^.&set := $00008000;
  10460. end;
  10461. function TWDT_WDTCON.getON : TBits_1; inline;
  10462. begin
  10463. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10464. end;
  10465. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10466. begin
  10467. pTDefRegMap(@Self)^.&set := $00000004;
  10468. end;
  10469. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10470. begin
  10471. pTDefRegMap(@Self)^.clr := $00000004;
  10472. end;
  10473. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10474. begin
  10475. if thebits = 0 then
  10476. pTDefRegMap(@Self)^.clr := $00000004
  10477. else
  10478. pTDefRegMap(@Self)^.&set := $00000004;
  10479. end;
  10480. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10481. begin
  10482. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10483. end;
  10484. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10485. begin
  10486. pTDefRegMap(@Self)^.&set := $00000008;
  10487. end;
  10488. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10489. begin
  10490. pTDefRegMap(@Self)^.clr := $00000008;
  10491. end;
  10492. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10493. begin
  10494. if thebits = 0 then
  10495. pTDefRegMap(@Self)^.clr := $00000008
  10496. else
  10497. pTDefRegMap(@Self)^.&set := $00000008;
  10498. end;
  10499. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10500. begin
  10501. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10502. end;
  10503. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10504. begin
  10505. pTDefRegMap(@Self)^.&set := $00000010;
  10506. end;
  10507. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10508. begin
  10509. pTDefRegMap(@Self)^.clr := $00000010;
  10510. end;
  10511. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10512. begin
  10513. if thebits = 0 then
  10514. pTDefRegMap(@Self)^.clr := $00000010
  10515. else
  10516. pTDefRegMap(@Self)^.&set := $00000010;
  10517. end;
  10518. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10519. begin
  10520. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10521. end;
  10522. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10523. begin
  10524. pTDefRegMap(@Self)^.&set := $00000020;
  10525. end;
  10526. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10527. begin
  10528. pTDefRegMap(@Self)^.clr := $00000020;
  10529. end;
  10530. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10531. begin
  10532. if thebits = 0 then
  10533. pTDefRegMap(@Self)^.clr := $00000020
  10534. else
  10535. pTDefRegMap(@Self)^.&set := $00000020;
  10536. end;
  10537. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10538. begin
  10539. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10540. end;
  10541. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10542. begin
  10543. pTDefRegMap(@Self)^.&set := $00000040;
  10544. end;
  10545. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10546. begin
  10547. pTDefRegMap(@Self)^.clr := $00000040;
  10548. end;
  10549. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10550. begin
  10551. if thebits = 0 then
  10552. pTDefRegMap(@Self)^.clr := $00000040
  10553. else
  10554. pTDefRegMap(@Self)^.&set := $00000040;
  10555. end;
  10556. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10557. begin
  10558. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10559. end;
  10560. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10561. begin
  10562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10563. end;
  10564. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10565. begin
  10566. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10567. end;
  10568. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10569. begin
  10570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10571. end;
  10572. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10573. begin
  10574. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10575. end;
  10576. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10577. begin
  10578. pTDefRegMap(@Self)^.val := thebits;
  10579. end;
  10580. function TWDT_WDTCON.getw : TBits_32; inline;
  10581. begin
  10582. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10583. end;
  10584. procedure TRTCC_RTCCON.setRTCOE; inline;
  10585. begin
  10586. pTDefRegMap(@Self)^.&set := $00000001;
  10587. end;
  10588. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10589. begin
  10590. pTDefRegMap(@Self)^.clr := $00000001;
  10591. end;
  10592. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10593. begin
  10594. if thebits = 0 then
  10595. pTDefRegMap(@Self)^.clr := $00000001
  10596. else
  10597. pTDefRegMap(@Self)^.&set := $00000001;
  10598. end;
  10599. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10600. begin
  10601. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10602. end;
  10603. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10604. begin
  10605. pTDefRegMap(@Self)^.&set := $00000002;
  10606. end;
  10607. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10608. begin
  10609. pTDefRegMap(@Self)^.clr := $00000002;
  10610. end;
  10611. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10612. begin
  10613. if thebits = 0 then
  10614. pTDefRegMap(@Self)^.clr := $00000002
  10615. else
  10616. pTDefRegMap(@Self)^.&set := $00000002;
  10617. end;
  10618. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10619. begin
  10620. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10621. end;
  10622. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10623. begin
  10624. pTDefRegMap(@Self)^.&set := $00000004;
  10625. end;
  10626. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10627. begin
  10628. pTDefRegMap(@Self)^.clr := $00000004;
  10629. end;
  10630. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10631. begin
  10632. if thebits = 0 then
  10633. pTDefRegMap(@Self)^.clr := $00000004
  10634. else
  10635. pTDefRegMap(@Self)^.&set := $00000004;
  10636. end;
  10637. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10638. begin
  10639. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10640. end;
  10641. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10642. begin
  10643. pTDefRegMap(@Self)^.&set := $00000008;
  10644. end;
  10645. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10646. begin
  10647. pTDefRegMap(@Self)^.clr := $00000008;
  10648. end;
  10649. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10650. begin
  10651. if thebits = 0 then
  10652. pTDefRegMap(@Self)^.clr := $00000008
  10653. else
  10654. pTDefRegMap(@Self)^.&set := $00000008;
  10655. end;
  10656. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10657. begin
  10658. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10659. end;
  10660. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10661. begin
  10662. pTDefRegMap(@Self)^.&set := $00000040;
  10663. end;
  10664. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10665. begin
  10666. pTDefRegMap(@Self)^.clr := $00000040;
  10667. end;
  10668. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10669. begin
  10670. if thebits = 0 then
  10671. pTDefRegMap(@Self)^.clr := $00000040
  10672. else
  10673. pTDefRegMap(@Self)^.&set := $00000040;
  10674. end;
  10675. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10676. begin
  10677. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10678. end;
  10679. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10680. begin
  10681. pTDefRegMap(@Self)^.&set := $00000080;
  10682. end;
  10683. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10684. begin
  10685. pTDefRegMap(@Self)^.clr := $00000080;
  10686. end;
  10687. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10688. begin
  10689. if thebits = 0 then
  10690. pTDefRegMap(@Self)^.clr := $00000080
  10691. else
  10692. pTDefRegMap(@Self)^.&set := $00000080;
  10693. end;
  10694. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10695. begin
  10696. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10697. end;
  10698. procedure TRTCC_RTCCON.setSIDL; inline;
  10699. begin
  10700. pTDefRegMap(@Self)^.&set := $00002000;
  10701. end;
  10702. procedure TRTCC_RTCCON.clearSIDL; inline;
  10703. begin
  10704. pTDefRegMap(@Self)^.clr := $00002000;
  10705. end;
  10706. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10707. begin
  10708. if thebits = 0 then
  10709. pTDefRegMap(@Self)^.clr := $00002000
  10710. else
  10711. pTDefRegMap(@Self)^.&set := $00002000;
  10712. end;
  10713. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10714. begin
  10715. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10716. end;
  10717. procedure TRTCC_RTCCON.setON; inline;
  10718. begin
  10719. pTDefRegMap(@Self)^.&set := $00008000;
  10720. end;
  10721. procedure TRTCC_RTCCON.clearON; inline;
  10722. begin
  10723. pTDefRegMap(@Self)^.clr := $00008000;
  10724. end;
  10725. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10726. begin
  10727. if thebits = 0 then
  10728. pTDefRegMap(@Self)^.clr := $00008000
  10729. else
  10730. pTDefRegMap(@Self)^.&set := $00008000;
  10731. end;
  10732. function TRTCC_RTCCON.getON : TBits_1; inline;
  10733. begin
  10734. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10735. end;
  10736. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10737. begin
  10738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10739. end;
  10740. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10741. begin
  10742. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10743. end;
  10744. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10745. begin
  10746. pTDefRegMap(@Self)^.val := thebits;
  10747. end;
  10748. function TRTCC_RTCCON.getw : TBits_32; inline;
  10749. begin
  10750. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10751. end;
  10752. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10753. begin
  10754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10755. end;
  10756. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10757. begin
  10758. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10759. end;
  10760. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10761. begin
  10762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10763. end;
  10764. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10765. begin
  10766. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10767. end;
  10768. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10769. begin
  10770. pTDefRegMap(@Self)^.&set := $00001000;
  10771. end;
  10772. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10773. begin
  10774. pTDefRegMap(@Self)^.clr := $00001000;
  10775. end;
  10776. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10777. begin
  10778. if thebits = 0 then
  10779. pTDefRegMap(@Self)^.clr := $00001000
  10780. else
  10781. pTDefRegMap(@Self)^.&set := $00001000;
  10782. end;
  10783. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10784. begin
  10785. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10786. end;
  10787. procedure TRTCC_RTCALRM.setPIV; inline;
  10788. begin
  10789. pTDefRegMap(@Self)^.&set := $00002000;
  10790. end;
  10791. procedure TRTCC_RTCALRM.clearPIV; inline;
  10792. begin
  10793. pTDefRegMap(@Self)^.clr := $00002000;
  10794. end;
  10795. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10796. begin
  10797. if thebits = 0 then
  10798. pTDefRegMap(@Self)^.clr := $00002000
  10799. else
  10800. pTDefRegMap(@Self)^.&set := $00002000;
  10801. end;
  10802. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10803. begin
  10804. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10805. end;
  10806. procedure TRTCC_RTCALRM.setCHIME; inline;
  10807. begin
  10808. pTDefRegMap(@Self)^.&set := $00004000;
  10809. end;
  10810. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10811. begin
  10812. pTDefRegMap(@Self)^.clr := $00004000;
  10813. end;
  10814. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10815. begin
  10816. if thebits = 0 then
  10817. pTDefRegMap(@Self)^.clr := $00004000
  10818. else
  10819. pTDefRegMap(@Self)^.&set := $00004000;
  10820. end;
  10821. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10822. begin
  10823. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10824. end;
  10825. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10826. begin
  10827. pTDefRegMap(@Self)^.&set := $00008000;
  10828. end;
  10829. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10830. begin
  10831. pTDefRegMap(@Self)^.clr := $00008000;
  10832. end;
  10833. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10834. begin
  10835. if thebits = 0 then
  10836. pTDefRegMap(@Self)^.clr := $00008000
  10837. else
  10838. pTDefRegMap(@Self)^.&set := $00008000;
  10839. end;
  10840. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10841. begin
  10842. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10843. end;
  10844. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10845. begin
  10846. pTDefRegMap(@Self)^.val := thebits;
  10847. end;
  10848. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10849. begin
  10850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10851. end;
  10852. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10853. begin
  10854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10855. end;
  10856. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10857. begin
  10858. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10859. end;
  10860. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10861. begin
  10862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10863. end;
  10864. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10865. begin
  10866. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10867. end;
  10868. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10869. begin
  10870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10871. end;
  10872. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10873. begin
  10874. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10875. end;
  10876. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10877. begin
  10878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10879. end;
  10880. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10881. begin
  10882. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10883. end;
  10884. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10885. begin
  10886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10887. end;
  10888. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10889. begin
  10890. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10891. end;
  10892. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10893. begin
  10894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10895. end;
  10896. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10897. begin
  10898. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10899. end;
  10900. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10901. begin
  10902. pTDefRegMap(@Self)^.val := thebits;
  10903. end;
  10904. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10905. begin
  10906. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10907. end;
  10908. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10909. begin
  10910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10911. end;
  10912. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10913. begin
  10914. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10915. end;
  10916. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10917. begin
  10918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10919. end;
  10920. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10921. begin
  10922. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10923. end;
  10924. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10925. begin
  10926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10927. end;
  10928. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10929. begin
  10930. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10931. end;
  10932. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10933. begin
  10934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10935. end;
  10936. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10937. begin
  10938. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10939. end;
  10940. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10941. begin
  10942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10943. end;
  10944. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10945. begin
  10946. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10947. end;
  10948. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10949. begin
  10950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10951. end;
  10952. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10953. begin
  10954. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10955. end;
  10956. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10957. begin
  10958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10959. end;
  10960. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10961. begin
  10962. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10963. end;
  10964. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10965. begin
  10966. pTDefRegMap(@Self)^.val := thebits;
  10967. end;
  10968. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10969. begin
  10970. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10971. end;
  10972. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10973. begin
  10974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10975. end;
  10976. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10977. begin
  10978. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10979. end;
  10980. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10981. begin
  10982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10983. end;
  10984. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10985. begin
  10986. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10987. end;
  10988. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10989. begin
  10990. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10991. end;
  10992. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10993. begin
  10994. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10995. end;
  10996. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10997. begin
  10998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10999. end;
  11000. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  11001. begin
  11002. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11003. end;
  11004. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  11005. begin
  11006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11007. end;
  11008. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  11009. begin
  11010. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11011. end;
  11012. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  11013. begin
  11014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11015. end;
  11016. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  11017. begin
  11018. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11019. end;
  11020. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  11021. begin
  11022. pTDefRegMap(@Self)^.val := thebits;
  11023. end;
  11024. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  11025. begin
  11026. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11027. end;
  11028. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  11029. begin
  11030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  11031. end;
  11032. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  11033. begin
  11034. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  11035. end;
  11036. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  11037. begin
  11038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11039. end;
  11040. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  11041. begin
  11042. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11043. end;
  11044. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  11045. begin
  11046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11047. end;
  11048. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  11049. begin
  11050. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11051. end;
  11052. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  11053. begin
  11054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11055. end;
  11056. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  11057. begin
  11058. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11059. end;
  11060. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  11061. begin
  11062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11063. end;
  11064. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  11065. begin
  11066. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11067. end;
  11068. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  11069. begin
  11070. pTDefRegMap(@Self)^.val := thebits;
  11071. end;
  11072. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  11073. begin
  11074. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11075. end;
  11076. procedure TTMR1_T1CON.setTCS; inline;
  11077. begin
  11078. pTDefRegMap(@Self)^.&set := $00000002;
  11079. end;
  11080. procedure TTMR1_T1CON.clearTCS; inline;
  11081. begin
  11082. pTDefRegMap(@Self)^.clr := $00000002;
  11083. end;
  11084. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  11085. begin
  11086. if thebits = 0 then
  11087. pTDefRegMap(@Self)^.clr := $00000002
  11088. else
  11089. pTDefRegMap(@Self)^.&set := $00000002;
  11090. end;
  11091. function TTMR1_T1CON.getTCS : TBits_1; inline;
  11092. begin
  11093. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11094. end;
  11095. procedure TTMR1_T1CON.setTSYNC; inline;
  11096. begin
  11097. pTDefRegMap(@Self)^.&set := $00000004;
  11098. end;
  11099. procedure TTMR1_T1CON.clearTSYNC; inline;
  11100. begin
  11101. pTDefRegMap(@Self)^.clr := $00000004;
  11102. end;
  11103. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  11104. begin
  11105. if thebits = 0 then
  11106. pTDefRegMap(@Self)^.clr := $00000004
  11107. else
  11108. pTDefRegMap(@Self)^.&set := $00000004;
  11109. end;
  11110. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  11111. begin
  11112. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11113. end;
  11114. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  11115. begin
  11116. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  11117. end;
  11118. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  11119. begin
  11120. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  11121. end;
  11122. procedure TTMR1_T1CON.setTGATE; inline;
  11123. begin
  11124. pTDefRegMap(@Self)^.&set := $00000080;
  11125. end;
  11126. procedure TTMR1_T1CON.clearTGATE; inline;
  11127. begin
  11128. pTDefRegMap(@Self)^.clr := $00000080;
  11129. end;
  11130. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  11131. begin
  11132. if thebits = 0 then
  11133. pTDefRegMap(@Self)^.clr := $00000080
  11134. else
  11135. pTDefRegMap(@Self)^.&set := $00000080;
  11136. end;
  11137. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  11138. begin
  11139. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11140. end;
  11141. procedure TTMR1_T1CON.setTWIP; inline;
  11142. begin
  11143. pTDefRegMap(@Self)^.&set := $00000800;
  11144. end;
  11145. procedure TTMR1_T1CON.clearTWIP; inline;
  11146. begin
  11147. pTDefRegMap(@Self)^.clr := $00000800;
  11148. end;
  11149. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  11150. begin
  11151. if thebits = 0 then
  11152. pTDefRegMap(@Self)^.clr := $00000800
  11153. else
  11154. pTDefRegMap(@Self)^.&set := $00000800;
  11155. end;
  11156. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  11157. begin
  11158. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11159. end;
  11160. procedure TTMR1_T1CON.setTWDIS; inline;
  11161. begin
  11162. pTDefRegMap(@Self)^.&set := $00001000;
  11163. end;
  11164. procedure TTMR1_T1CON.clearTWDIS; inline;
  11165. begin
  11166. pTDefRegMap(@Self)^.clr := $00001000;
  11167. end;
  11168. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  11169. begin
  11170. if thebits = 0 then
  11171. pTDefRegMap(@Self)^.clr := $00001000
  11172. else
  11173. pTDefRegMap(@Self)^.&set := $00001000;
  11174. end;
  11175. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  11176. begin
  11177. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11178. end;
  11179. procedure TTMR1_T1CON.setSIDL; inline;
  11180. begin
  11181. pTDefRegMap(@Self)^.&set := $00002000;
  11182. end;
  11183. procedure TTMR1_T1CON.clearSIDL; inline;
  11184. begin
  11185. pTDefRegMap(@Self)^.clr := $00002000;
  11186. end;
  11187. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  11188. begin
  11189. if thebits = 0 then
  11190. pTDefRegMap(@Self)^.clr := $00002000
  11191. else
  11192. pTDefRegMap(@Self)^.&set := $00002000;
  11193. end;
  11194. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  11195. begin
  11196. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11197. end;
  11198. procedure TTMR1_T1CON.setON; inline;
  11199. begin
  11200. pTDefRegMap(@Self)^.&set := $00008000;
  11201. end;
  11202. procedure TTMR1_T1CON.clearON; inline;
  11203. begin
  11204. pTDefRegMap(@Self)^.clr := $00008000;
  11205. end;
  11206. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  11207. begin
  11208. if thebits = 0 then
  11209. pTDefRegMap(@Self)^.clr := $00008000
  11210. else
  11211. pTDefRegMap(@Self)^.&set := $00008000;
  11212. end;
  11213. function TTMR1_T1CON.getON : TBits_1; inline;
  11214. begin
  11215. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11216. end;
  11217. procedure TTMR1_T1CON.setTCKPS0; inline;
  11218. begin
  11219. pTDefRegMap(@Self)^.&set := $00000010;
  11220. end;
  11221. procedure TTMR1_T1CON.clearTCKPS0; inline;
  11222. begin
  11223. pTDefRegMap(@Self)^.clr := $00000010;
  11224. end;
  11225. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  11226. begin
  11227. if thebits = 0 then
  11228. pTDefRegMap(@Self)^.clr := $00000010
  11229. else
  11230. pTDefRegMap(@Self)^.&set := $00000010;
  11231. end;
  11232. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  11233. begin
  11234. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11235. end;
  11236. procedure TTMR1_T1CON.setTCKPS1; inline;
  11237. begin
  11238. pTDefRegMap(@Self)^.&set := $00000020;
  11239. end;
  11240. procedure TTMR1_T1CON.clearTCKPS1; inline;
  11241. begin
  11242. pTDefRegMap(@Self)^.clr := $00000020;
  11243. end;
  11244. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  11245. begin
  11246. if thebits = 0 then
  11247. pTDefRegMap(@Self)^.clr := $00000020
  11248. else
  11249. pTDefRegMap(@Self)^.&set := $00000020;
  11250. end;
  11251. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  11252. begin
  11253. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11254. end;
  11255. procedure TTMR1_T1CON.setTSIDL; inline;
  11256. begin
  11257. pTDefRegMap(@Self)^.&set := $00002000;
  11258. end;
  11259. procedure TTMR1_T1CON.clearTSIDL; inline;
  11260. begin
  11261. pTDefRegMap(@Self)^.clr := $00002000;
  11262. end;
  11263. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  11264. begin
  11265. if thebits = 0 then
  11266. pTDefRegMap(@Self)^.clr := $00002000
  11267. else
  11268. pTDefRegMap(@Self)^.&set := $00002000;
  11269. end;
  11270. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  11271. begin
  11272. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11273. end;
  11274. procedure TTMR1_T1CON.setTON; inline;
  11275. begin
  11276. pTDefRegMap(@Self)^.&set := $00008000;
  11277. end;
  11278. procedure TTMR1_T1CON.clearTON; inline;
  11279. begin
  11280. pTDefRegMap(@Self)^.clr := $00008000;
  11281. end;
  11282. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  11283. begin
  11284. if thebits = 0 then
  11285. pTDefRegMap(@Self)^.clr := $00008000
  11286. else
  11287. pTDefRegMap(@Self)^.&set := $00008000;
  11288. end;
  11289. function TTMR1_T1CON.getTON : TBits_1; inline;
  11290. begin
  11291. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11292. end;
  11293. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  11294. begin
  11295. pTDefRegMap(@Self)^.val := thebits;
  11296. end;
  11297. function TTMR1_T1CON.getw : TBits_32; inline;
  11298. begin
  11299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11300. end;
  11301. procedure TTMR2_T2CON.setTCS; inline;
  11302. begin
  11303. pTDefRegMap(@Self)^.&set := $00000002;
  11304. end;
  11305. procedure TTMR2_T2CON.clearTCS; inline;
  11306. begin
  11307. pTDefRegMap(@Self)^.clr := $00000002;
  11308. end;
  11309. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  11310. begin
  11311. if thebits = 0 then
  11312. pTDefRegMap(@Self)^.clr := $00000002
  11313. else
  11314. pTDefRegMap(@Self)^.&set := $00000002;
  11315. end;
  11316. function TTMR2_T2CON.getTCS : TBits_1; inline;
  11317. begin
  11318. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11319. end;
  11320. procedure TTMR2_T2CON.setT32; inline;
  11321. begin
  11322. pTDefRegMap(@Self)^.&set := $00000008;
  11323. end;
  11324. procedure TTMR2_T2CON.clearT32; inline;
  11325. begin
  11326. pTDefRegMap(@Self)^.clr := $00000008;
  11327. end;
  11328. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  11329. begin
  11330. if thebits = 0 then
  11331. pTDefRegMap(@Self)^.clr := $00000008
  11332. else
  11333. pTDefRegMap(@Self)^.&set := $00000008;
  11334. end;
  11335. function TTMR2_T2CON.getT32 : TBits_1; inline;
  11336. begin
  11337. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11338. end;
  11339. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  11340. begin
  11341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11342. end;
  11343. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  11344. begin
  11345. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11346. end;
  11347. procedure TTMR2_T2CON.setTGATE; inline;
  11348. begin
  11349. pTDefRegMap(@Self)^.&set := $00000080;
  11350. end;
  11351. procedure TTMR2_T2CON.clearTGATE; inline;
  11352. begin
  11353. pTDefRegMap(@Self)^.clr := $00000080;
  11354. end;
  11355. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  11356. begin
  11357. if thebits = 0 then
  11358. pTDefRegMap(@Self)^.clr := $00000080
  11359. else
  11360. pTDefRegMap(@Self)^.&set := $00000080;
  11361. end;
  11362. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  11363. begin
  11364. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11365. end;
  11366. procedure TTMR2_T2CON.setSIDL; inline;
  11367. begin
  11368. pTDefRegMap(@Self)^.&set := $00002000;
  11369. end;
  11370. procedure TTMR2_T2CON.clearSIDL; inline;
  11371. begin
  11372. pTDefRegMap(@Self)^.clr := $00002000;
  11373. end;
  11374. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  11375. begin
  11376. if thebits = 0 then
  11377. pTDefRegMap(@Self)^.clr := $00002000
  11378. else
  11379. pTDefRegMap(@Self)^.&set := $00002000;
  11380. end;
  11381. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  11382. begin
  11383. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11384. end;
  11385. procedure TTMR2_T2CON.setON; inline;
  11386. begin
  11387. pTDefRegMap(@Self)^.&set := $00008000;
  11388. end;
  11389. procedure TTMR2_T2CON.clearON; inline;
  11390. begin
  11391. pTDefRegMap(@Self)^.clr := $00008000;
  11392. end;
  11393. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  11394. begin
  11395. if thebits = 0 then
  11396. pTDefRegMap(@Self)^.clr := $00008000
  11397. else
  11398. pTDefRegMap(@Self)^.&set := $00008000;
  11399. end;
  11400. function TTMR2_T2CON.getON : TBits_1; inline;
  11401. begin
  11402. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11403. end;
  11404. procedure TTMR2_T2CON.setTCKPS0; inline;
  11405. begin
  11406. pTDefRegMap(@Self)^.&set := $00000010;
  11407. end;
  11408. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11409. begin
  11410. pTDefRegMap(@Self)^.clr := $00000010;
  11411. end;
  11412. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11413. begin
  11414. if thebits = 0 then
  11415. pTDefRegMap(@Self)^.clr := $00000010
  11416. else
  11417. pTDefRegMap(@Self)^.&set := $00000010;
  11418. end;
  11419. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11420. begin
  11421. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11422. end;
  11423. procedure TTMR2_T2CON.setTCKPS1; inline;
  11424. begin
  11425. pTDefRegMap(@Self)^.&set := $00000020;
  11426. end;
  11427. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11428. begin
  11429. pTDefRegMap(@Self)^.clr := $00000020;
  11430. end;
  11431. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11432. begin
  11433. if thebits = 0 then
  11434. pTDefRegMap(@Self)^.clr := $00000020
  11435. else
  11436. pTDefRegMap(@Self)^.&set := $00000020;
  11437. end;
  11438. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11439. begin
  11440. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11441. end;
  11442. procedure TTMR2_T2CON.setTCKPS2; inline;
  11443. begin
  11444. pTDefRegMap(@Self)^.&set := $00000040;
  11445. end;
  11446. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11447. begin
  11448. pTDefRegMap(@Self)^.clr := $00000040;
  11449. end;
  11450. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11451. begin
  11452. if thebits = 0 then
  11453. pTDefRegMap(@Self)^.clr := $00000040
  11454. else
  11455. pTDefRegMap(@Self)^.&set := $00000040;
  11456. end;
  11457. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11458. begin
  11459. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11460. end;
  11461. procedure TTMR2_T2CON.setTSIDL; inline;
  11462. begin
  11463. pTDefRegMap(@Self)^.&set := $00002000;
  11464. end;
  11465. procedure TTMR2_T2CON.clearTSIDL; inline;
  11466. begin
  11467. pTDefRegMap(@Self)^.clr := $00002000;
  11468. end;
  11469. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11470. begin
  11471. if thebits = 0 then
  11472. pTDefRegMap(@Self)^.clr := $00002000
  11473. else
  11474. pTDefRegMap(@Self)^.&set := $00002000;
  11475. end;
  11476. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11477. begin
  11478. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11479. end;
  11480. procedure TTMR2_T2CON.setTON; inline;
  11481. begin
  11482. pTDefRegMap(@Self)^.&set := $00008000;
  11483. end;
  11484. procedure TTMR2_T2CON.clearTON; inline;
  11485. begin
  11486. pTDefRegMap(@Self)^.clr := $00008000;
  11487. end;
  11488. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11489. begin
  11490. if thebits = 0 then
  11491. pTDefRegMap(@Self)^.clr := $00008000
  11492. else
  11493. pTDefRegMap(@Self)^.&set := $00008000;
  11494. end;
  11495. function TTMR2_T2CON.getTON : TBits_1; inline;
  11496. begin
  11497. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11498. end;
  11499. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11500. begin
  11501. pTDefRegMap(@Self)^.val := thebits;
  11502. end;
  11503. function TTMR2_T2CON.getw : TBits_32; inline;
  11504. begin
  11505. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11506. end;
  11507. procedure TTMR3_T3CON.setTCS; inline;
  11508. begin
  11509. pTDefRegMap(@Self)^.&set := $00000002;
  11510. end;
  11511. procedure TTMR3_T3CON.clearTCS; inline;
  11512. begin
  11513. pTDefRegMap(@Self)^.clr := $00000002;
  11514. end;
  11515. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11516. begin
  11517. if thebits = 0 then
  11518. pTDefRegMap(@Self)^.clr := $00000002
  11519. else
  11520. pTDefRegMap(@Self)^.&set := $00000002;
  11521. end;
  11522. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11523. begin
  11524. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11525. end;
  11526. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11527. begin
  11528. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11529. end;
  11530. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11531. begin
  11532. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11533. end;
  11534. procedure TTMR3_T3CON.setTGATE; inline;
  11535. begin
  11536. pTDefRegMap(@Self)^.&set := $00000080;
  11537. end;
  11538. procedure TTMR3_T3CON.clearTGATE; inline;
  11539. begin
  11540. pTDefRegMap(@Self)^.clr := $00000080;
  11541. end;
  11542. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11543. begin
  11544. if thebits = 0 then
  11545. pTDefRegMap(@Self)^.clr := $00000080
  11546. else
  11547. pTDefRegMap(@Self)^.&set := $00000080;
  11548. end;
  11549. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11550. begin
  11551. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11552. end;
  11553. procedure TTMR3_T3CON.setSIDL; inline;
  11554. begin
  11555. pTDefRegMap(@Self)^.&set := $00002000;
  11556. end;
  11557. procedure TTMR3_T3CON.clearSIDL; inline;
  11558. begin
  11559. pTDefRegMap(@Self)^.clr := $00002000;
  11560. end;
  11561. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11562. begin
  11563. if thebits = 0 then
  11564. pTDefRegMap(@Self)^.clr := $00002000
  11565. else
  11566. pTDefRegMap(@Self)^.&set := $00002000;
  11567. end;
  11568. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11569. begin
  11570. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11571. end;
  11572. procedure TTMR3_T3CON.setON; inline;
  11573. begin
  11574. pTDefRegMap(@Self)^.&set := $00008000;
  11575. end;
  11576. procedure TTMR3_T3CON.clearON; inline;
  11577. begin
  11578. pTDefRegMap(@Self)^.clr := $00008000;
  11579. end;
  11580. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11581. begin
  11582. if thebits = 0 then
  11583. pTDefRegMap(@Self)^.clr := $00008000
  11584. else
  11585. pTDefRegMap(@Self)^.&set := $00008000;
  11586. end;
  11587. function TTMR3_T3CON.getON : TBits_1; inline;
  11588. begin
  11589. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11590. end;
  11591. procedure TTMR3_T3CON.setTCKPS0; inline;
  11592. begin
  11593. pTDefRegMap(@Self)^.&set := $00000010;
  11594. end;
  11595. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11596. begin
  11597. pTDefRegMap(@Self)^.clr := $00000010;
  11598. end;
  11599. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11600. begin
  11601. if thebits = 0 then
  11602. pTDefRegMap(@Self)^.clr := $00000010
  11603. else
  11604. pTDefRegMap(@Self)^.&set := $00000010;
  11605. end;
  11606. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11607. begin
  11608. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11609. end;
  11610. procedure TTMR3_T3CON.setTCKPS1; inline;
  11611. begin
  11612. pTDefRegMap(@Self)^.&set := $00000020;
  11613. end;
  11614. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11615. begin
  11616. pTDefRegMap(@Self)^.clr := $00000020;
  11617. end;
  11618. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11619. begin
  11620. if thebits = 0 then
  11621. pTDefRegMap(@Self)^.clr := $00000020
  11622. else
  11623. pTDefRegMap(@Self)^.&set := $00000020;
  11624. end;
  11625. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11626. begin
  11627. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11628. end;
  11629. procedure TTMR3_T3CON.setTCKPS2; inline;
  11630. begin
  11631. pTDefRegMap(@Self)^.&set := $00000040;
  11632. end;
  11633. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11634. begin
  11635. pTDefRegMap(@Self)^.clr := $00000040;
  11636. end;
  11637. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11638. begin
  11639. if thebits = 0 then
  11640. pTDefRegMap(@Self)^.clr := $00000040
  11641. else
  11642. pTDefRegMap(@Self)^.&set := $00000040;
  11643. end;
  11644. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11645. begin
  11646. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11647. end;
  11648. procedure TTMR3_T3CON.setTSIDL; inline;
  11649. begin
  11650. pTDefRegMap(@Self)^.&set := $00002000;
  11651. end;
  11652. procedure TTMR3_T3CON.clearTSIDL; inline;
  11653. begin
  11654. pTDefRegMap(@Self)^.clr := $00002000;
  11655. end;
  11656. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11657. begin
  11658. if thebits = 0 then
  11659. pTDefRegMap(@Self)^.clr := $00002000
  11660. else
  11661. pTDefRegMap(@Self)^.&set := $00002000;
  11662. end;
  11663. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11664. begin
  11665. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11666. end;
  11667. procedure TTMR3_T3CON.setTON; inline;
  11668. begin
  11669. pTDefRegMap(@Self)^.&set := $00008000;
  11670. end;
  11671. procedure TTMR3_T3CON.clearTON; inline;
  11672. begin
  11673. pTDefRegMap(@Self)^.clr := $00008000;
  11674. end;
  11675. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11676. begin
  11677. if thebits = 0 then
  11678. pTDefRegMap(@Self)^.clr := $00008000
  11679. else
  11680. pTDefRegMap(@Self)^.&set := $00008000;
  11681. end;
  11682. function TTMR3_T3CON.getTON : TBits_1; inline;
  11683. begin
  11684. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11685. end;
  11686. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11687. begin
  11688. pTDefRegMap(@Self)^.val := thebits;
  11689. end;
  11690. function TTMR3_T3CON.getw : TBits_32; inline;
  11691. begin
  11692. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11693. end;
  11694. procedure TTMR4_T4CON.setTCS; inline;
  11695. begin
  11696. pTDefRegMap(@Self)^.&set := $00000002;
  11697. end;
  11698. procedure TTMR4_T4CON.clearTCS; inline;
  11699. begin
  11700. pTDefRegMap(@Self)^.clr := $00000002;
  11701. end;
  11702. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11703. begin
  11704. if thebits = 0 then
  11705. pTDefRegMap(@Self)^.clr := $00000002
  11706. else
  11707. pTDefRegMap(@Self)^.&set := $00000002;
  11708. end;
  11709. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11710. begin
  11711. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11712. end;
  11713. procedure TTMR4_T4CON.setT32; inline;
  11714. begin
  11715. pTDefRegMap(@Self)^.&set := $00000008;
  11716. end;
  11717. procedure TTMR4_T4CON.clearT32; inline;
  11718. begin
  11719. pTDefRegMap(@Self)^.clr := $00000008;
  11720. end;
  11721. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11722. begin
  11723. if thebits = 0 then
  11724. pTDefRegMap(@Self)^.clr := $00000008
  11725. else
  11726. pTDefRegMap(@Self)^.&set := $00000008;
  11727. end;
  11728. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11729. begin
  11730. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11731. end;
  11732. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11733. begin
  11734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11735. end;
  11736. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11737. begin
  11738. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11739. end;
  11740. procedure TTMR4_T4CON.setTGATE; inline;
  11741. begin
  11742. pTDefRegMap(@Self)^.&set := $00000080;
  11743. end;
  11744. procedure TTMR4_T4CON.clearTGATE; inline;
  11745. begin
  11746. pTDefRegMap(@Self)^.clr := $00000080;
  11747. end;
  11748. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11749. begin
  11750. if thebits = 0 then
  11751. pTDefRegMap(@Self)^.clr := $00000080
  11752. else
  11753. pTDefRegMap(@Self)^.&set := $00000080;
  11754. end;
  11755. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11756. begin
  11757. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11758. end;
  11759. procedure TTMR4_T4CON.setSIDL; inline;
  11760. begin
  11761. pTDefRegMap(@Self)^.&set := $00002000;
  11762. end;
  11763. procedure TTMR4_T4CON.clearSIDL; inline;
  11764. begin
  11765. pTDefRegMap(@Self)^.clr := $00002000;
  11766. end;
  11767. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11768. begin
  11769. if thebits = 0 then
  11770. pTDefRegMap(@Self)^.clr := $00002000
  11771. else
  11772. pTDefRegMap(@Self)^.&set := $00002000;
  11773. end;
  11774. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11775. begin
  11776. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11777. end;
  11778. procedure TTMR4_T4CON.setON; inline;
  11779. begin
  11780. pTDefRegMap(@Self)^.&set := $00008000;
  11781. end;
  11782. procedure TTMR4_T4CON.clearON; inline;
  11783. begin
  11784. pTDefRegMap(@Self)^.clr := $00008000;
  11785. end;
  11786. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11787. begin
  11788. if thebits = 0 then
  11789. pTDefRegMap(@Self)^.clr := $00008000
  11790. else
  11791. pTDefRegMap(@Self)^.&set := $00008000;
  11792. end;
  11793. function TTMR4_T4CON.getON : TBits_1; inline;
  11794. begin
  11795. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11796. end;
  11797. procedure TTMR4_T4CON.setTCKPS0; inline;
  11798. begin
  11799. pTDefRegMap(@Self)^.&set := $00000010;
  11800. end;
  11801. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11802. begin
  11803. pTDefRegMap(@Self)^.clr := $00000010;
  11804. end;
  11805. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11806. begin
  11807. if thebits = 0 then
  11808. pTDefRegMap(@Self)^.clr := $00000010
  11809. else
  11810. pTDefRegMap(@Self)^.&set := $00000010;
  11811. end;
  11812. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11813. begin
  11814. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11815. end;
  11816. procedure TTMR4_T4CON.setTCKPS1; inline;
  11817. begin
  11818. pTDefRegMap(@Self)^.&set := $00000020;
  11819. end;
  11820. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11821. begin
  11822. pTDefRegMap(@Self)^.clr := $00000020;
  11823. end;
  11824. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11825. begin
  11826. if thebits = 0 then
  11827. pTDefRegMap(@Self)^.clr := $00000020
  11828. else
  11829. pTDefRegMap(@Self)^.&set := $00000020;
  11830. end;
  11831. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11832. begin
  11833. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11834. end;
  11835. procedure TTMR4_T4CON.setTCKPS2; inline;
  11836. begin
  11837. pTDefRegMap(@Self)^.&set := $00000040;
  11838. end;
  11839. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11840. begin
  11841. pTDefRegMap(@Self)^.clr := $00000040;
  11842. end;
  11843. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11844. begin
  11845. if thebits = 0 then
  11846. pTDefRegMap(@Self)^.clr := $00000040
  11847. else
  11848. pTDefRegMap(@Self)^.&set := $00000040;
  11849. end;
  11850. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11851. begin
  11852. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11853. end;
  11854. procedure TTMR4_T4CON.setTSIDL; inline;
  11855. begin
  11856. pTDefRegMap(@Self)^.&set := $00002000;
  11857. end;
  11858. procedure TTMR4_T4CON.clearTSIDL; inline;
  11859. begin
  11860. pTDefRegMap(@Self)^.clr := $00002000;
  11861. end;
  11862. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11863. begin
  11864. if thebits = 0 then
  11865. pTDefRegMap(@Self)^.clr := $00002000
  11866. else
  11867. pTDefRegMap(@Self)^.&set := $00002000;
  11868. end;
  11869. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11870. begin
  11871. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11872. end;
  11873. procedure TTMR4_T4CON.setTON; inline;
  11874. begin
  11875. pTDefRegMap(@Self)^.&set := $00008000;
  11876. end;
  11877. procedure TTMR4_T4CON.clearTON; inline;
  11878. begin
  11879. pTDefRegMap(@Self)^.clr := $00008000;
  11880. end;
  11881. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11882. begin
  11883. if thebits = 0 then
  11884. pTDefRegMap(@Self)^.clr := $00008000
  11885. else
  11886. pTDefRegMap(@Self)^.&set := $00008000;
  11887. end;
  11888. function TTMR4_T4CON.getTON : TBits_1; inline;
  11889. begin
  11890. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11891. end;
  11892. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11893. begin
  11894. pTDefRegMap(@Self)^.val := thebits;
  11895. end;
  11896. function TTMR4_T4CON.getw : TBits_32; inline;
  11897. begin
  11898. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11899. end;
  11900. procedure TTMR5_T5CON.setTCS; inline;
  11901. begin
  11902. pTDefRegMap(@Self)^.&set := $00000002;
  11903. end;
  11904. procedure TTMR5_T5CON.clearTCS; inline;
  11905. begin
  11906. pTDefRegMap(@Self)^.clr := $00000002;
  11907. end;
  11908. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11909. begin
  11910. if thebits = 0 then
  11911. pTDefRegMap(@Self)^.clr := $00000002
  11912. else
  11913. pTDefRegMap(@Self)^.&set := $00000002;
  11914. end;
  11915. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11916. begin
  11917. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11918. end;
  11919. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11920. begin
  11921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11922. end;
  11923. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11924. begin
  11925. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11926. end;
  11927. procedure TTMR5_T5CON.setTGATE; inline;
  11928. begin
  11929. pTDefRegMap(@Self)^.&set := $00000080;
  11930. end;
  11931. procedure TTMR5_T5CON.clearTGATE; inline;
  11932. begin
  11933. pTDefRegMap(@Self)^.clr := $00000080;
  11934. end;
  11935. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11936. begin
  11937. if thebits = 0 then
  11938. pTDefRegMap(@Self)^.clr := $00000080
  11939. else
  11940. pTDefRegMap(@Self)^.&set := $00000080;
  11941. end;
  11942. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11943. begin
  11944. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11945. end;
  11946. procedure TTMR5_T5CON.setSIDL; inline;
  11947. begin
  11948. pTDefRegMap(@Self)^.&set := $00002000;
  11949. end;
  11950. procedure TTMR5_T5CON.clearSIDL; inline;
  11951. begin
  11952. pTDefRegMap(@Self)^.clr := $00002000;
  11953. end;
  11954. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11955. begin
  11956. if thebits = 0 then
  11957. pTDefRegMap(@Self)^.clr := $00002000
  11958. else
  11959. pTDefRegMap(@Self)^.&set := $00002000;
  11960. end;
  11961. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11962. begin
  11963. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11964. end;
  11965. procedure TTMR5_T5CON.setON; inline;
  11966. begin
  11967. pTDefRegMap(@Self)^.&set := $00008000;
  11968. end;
  11969. procedure TTMR5_T5CON.clearON; inline;
  11970. begin
  11971. pTDefRegMap(@Self)^.clr := $00008000;
  11972. end;
  11973. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11974. begin
  11975. if thebits = 0 then
  11976. pTDefRegMap(@Self)^.clr := $00008000
  11977. else
  11978. pTDefRegMap(@Self)^.&set := $00008000;
  11979. end;
  11980. function TTMR5_T5CON.getON : TBits_1; inline;
  11981. begin
  11982. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11983. end;
  11984. procedure TTMR5_T5CON.setTCKPS0; inline;
  11985. begin
  11986. pTDefRegMap(@Self)^.&set := $00000010;
  11987. end;
  11988. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11989. begin
  11990. pTDefRegMap(@Self)^.clr := $00000010;
  11991. end;
  11992. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11993. begin
  11994. if thebits = 0 then
  11995. pTDefRegMap(@Self)^.clr := $00000010
  11996. else
  11997. pTDefRegMap(@Self)^.&set := $00000010;
  11998. end;
  11999. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  12000. begin
  12001. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12002. end;
  12003. procedure TTMR5_T5CON.setTCKPS1; inline;
  12004. begin
  12005. pTDefRegMap(@Self)^.&set := $00000020;
  12006. end;
  12007. procedure TTMR5_T5CON.clearTCKPS1; inline;
  12008. begin
  12009. pTDefRegMap(@Self)^.clr := $00000020;
  12010. end;
  12011. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  12012. begin
  12013. if thebits = 0 then
  12014. pTDefRegMap(@Self)^.clr := $00000020
  12015. else
  12016. pTDefRegMap(@Self)^.&set := $00000020;
  12017. end;
  12018. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  12019. begin
  12020. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12021. end;
  12022. procedure TTMR5_T5CON.setTCKPS2; inline;
  12023. begin
  12024. pTDefRegMap(@Self)^.&set := $00000040;
  12025. end;
  12026. procedure TTMR5_T5CON.clearTCKPS2; inline;
  12027. begin
  12028. pTDefRegMap(@Self)^.clr := $00000040;
  12029. end;
  12030. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  12031. begin
  12032. if thebits = 0 then
  12033. pTDefRegMap(@Self)^.clr := $00000040
  12034. else
  12035. pTDefRegMap(@Self)^.&set := $00000040;
  12036. end;
  12037. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  12038. begin
  12039. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12040. end;
  12041. procedure TTMR5_T5CON.setTSIDL; inline;
  12042. begin
  12043. pTDefRegMap(@Self)^.&set := $00002000;
  12044. end;
  12045. procedure TTMR5_T5CON.clearTSIDL; inline;
  12046. begin
  12047. pTDefRegMap(@Self)^.clr := $00002000;
  12048. end;
  12049. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  12050. begin
  12051. if thebits = 0 then
  12052. pTDefRegMap(@Self)^.clr := $00002000
  12053. else
  12054. pTDefRegMap(@Self)^.&set := $00002000;
  12055. end;
  12056. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  12057. begin
  12058. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12059. end;
  12060. procedure TTMR5_T5CON.setTON; inline;
  12061. begin
  12062. pTDefRegMap(@Self)^.&set := $00008000;
  12063. end;
  12064. procedure TTMR5_T5CON.clearTON; inline;
  12065. begin
  12066. pTDefRegMap(@Self)^.clr := $00008000;
  12067. end;
  12068. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  12069. begin
  12070. if thebits = 0 then
  12071. pTDefRegMap(@Self)^.clr := $00008000
  12072. else
  12073. pTDefRegMap(@Self)^.&set := $00008000;
  12074. end;
  12075. function TTMR5_T5CON.getTON : TBits_1; inline;
  12076. begin
  12077. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12078. end;
  12079. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  12080. begin
  12081. pTDefRegMap(@Self)^.val := thebits;
  12082. end;
  12083. function TTMR5_T5CON.getw : TBits_32; inline;
  12084. begin
  12085. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12086. end;
  12087. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  12088. begin
  12089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12090. end;
  12091. function TICAP1_IC1CON.getICM : TBits_3; inline;
  12092. begin
  12093. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12094. end;
  12095. procedure TICAP1_IC1CON.setICBNE; inline;
  12096. begin
  12097. pTDefRegMap(@Self)^.&set := $00000008;
  12098. end;
  12099. procedure TICAP1_IC1CON.clearICBNE; inline;
  12100. begin
  12101. pTDefRegMap(@Self)^.clr := $00000008;
  12102. end;
  12103. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  12104. begin
  12105. if thebits = 0 then
  12106. pTDefRegMap(@Self)^.clr := $00000008
  12107. else
  12108. pTDefRegMap(@Self)^.&set := $00000008;
  12109. end;
  12110. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  12111. begin
  12112. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12113. end;
  12114. procedure TICAP1_IC1CON.setICOV; inline;
  12115. begin
  12116. pTDefRegMap(@Self)^.&set := $00000010;
  12117. end;
  12118. procedure TICAP1_IC1CON.clearICOV; inline;
  12119. begin
  12120. pTDefRegMap(@Self)^.clr := $00000010;
  12121. end;
  12122. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  12123. begin
  12124. if thebits = 0 then
  12125. pTDefRegMap(@Self)^.clr := $00000010
  12126. else
  12127. pTDefRegMap(@Self)^.&set := $00000010;
  12128. end;
  12129. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  12130. begin
  12131. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12132. end;
  12133. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  12134. begin
  12135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12136. end;
  12137. function TICAP1_IC1CON.getICI : TBits_2; inline;
  12138. begin
  12139. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12140. end;
  12141. procedure TICAP1_IC1CON.setICTMR; inline;
  12142. begin
  12143. pTDefRegMap(@Self)^.&set := $00000080;
  12144. end;
  12145. procedure TICAP1_IC1CON.clearICTMR; inline;
  12146. begin
  12147. pTDefRegMap(@Self)^.clr := $00000080;
  12148. end;
  12149. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  12150. begin
  12151. if thebits = 0 then
  12152. pTDefRegMap(@Self)^.clr := $00000080
  12153. else
  12154. pTDefRegMap(@Self)^.&set := $00000080;
  12155. end;
  12156. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  12157. begin
  12158. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12159. end;
  12160. procedure TICAP1_IC1CON.setC32; inline;
  12161. begin
  12162. pTDefRegMap(@Self)^.&set := $00000100;
  12163. end;
  12164. procedure TICAP1_IC1CON.clearC32; inline;
  12165. begin
  12166. pTDefRegMap(@Self)^.clr := $00000100;
  12167. end;
  12168. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  12169. begin
  12170. if thebits = 0 then
  12171. pTDefRegMap(@Self)^.clr := $00000100
  12172. else
  12173. pTDefRegMap(@Self)^.&set := $00000100;
  12174. end;
  12175. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  12176. begin
  12177. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12178. end;
  12179. procedure TICAP1_IC1CON.setFEDGE; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.&set := $00000200;
  12182. end;
  12183. procedure TICAP1_IC1CON.clearFEDGE; inline;
  12184. begin
  12185. pTDefRegMap(@Self)^.clr := $00000200;
  12186. end;
  12187. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  12188. begin
  12189. if thebits = 0 then
  12190. pTDefRegMap(@Self)^.clr := $00000200
  12191. else
  12192. pTDefRegMap(@Self)^.&set := $00000200;
  12193. end;
  12194. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  12195. begin
  12196. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12197. end;
  12198. procedure TICAP1_IC1CON.setSIDL; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.&set := $00002000;
  12201. end;
  12202. procedure TICAP1_IC1CON.clearSIDL; inline;
  12203. begin
  12204. pTDefRegMap(@Self)^.clr := $00002000;
  12205. end;
  12206. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  12207. begin
  12208. if thebits = 0 then
  12209. pTDefRegMap(@Self)^.clr := $00002000
  12210. else
  12211. pTDefRegMap(@Self)^.&set := $00002000;
  12212. end;
  12213. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  12214. begin
  12215. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12216. end;
  12217. procedure TICAP1_IC1CON.setON; inline;
  12218. begin
  12219. pTDefRegMap(@Self)^.&set := $00008000;
  12220. end;
  12221. procedure TICAP1_IC1CON.clearON; inline;
  12222. begin
  12223. pTDefRegMap(@Self)^.clr := $00008000;
  12224. end;
  12225. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  12226. begin
  12227. if thebits = 0 then
  12228. pTDefRegMap(@Self)^.clr := $00008000
  12229. else
  12230. pTDefRegMap(@Self)^.&set := $00008000;
  12231. end;
  12232. function TICAP1_IC1CON.getON : TBits_1; inline;
  12233. begin
  12234. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12235. end;
  12236. procedure TICAP1_IC1CON.setICM0; inline;
  12237. begin
  12238. pTDefRegMap(@Self)^.&set := $00000001;
  12239. end;
  12240. procedure TICAP1_IC1CON.clearICM0; inline;
  12241. begin
  12242. pTDefRegMap(@Self)^.clr := $00000001;
  12243. end;
  12244. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  12245. begin
  12246. if thebits = 0 then
  12247. pTDefRegMap(@Self)^.clr := $00000001
  12248. else
  12249. pTDefRegMap(@Self)^.&set := $00000001;
  12250. end;
  12251. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  12252. begin
  12253. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12254. end;
  12255. procedure TICAP1_IC1CON.setICM1; inline;
  12256. begin
  12257. pTDefRegMap(@Self)^.&set := $00000002;
  12258. end;
  12259. procedure TICAP1_IC1CON.clearICM1; inline;
  12260. begin
  12261. pTDefRegMap(@Self)^.clr := $00000002;
  12262. end;
  12263. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  12264. begin
  12265. if thebits = 0 then
  12266. pTDefRegMap(@Self)^.clr := $00000002
  12267. else
  12268. pTDefRegMap(@Self)^.&set := $00000002;
  12269. end;
  12270. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  12271. begin
  12272. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12273. end;
  12274. procedure TICAP1_IC1CON.setICM2; inline;
  12275. begin
  12276. pTDefRegMap(@Self)^.&set := $00000004;
  12277. end;
  12278. procedure TICAP1_IC1CON.clearICM2; inline;
  12279. begin
  12280. pTDefRegMap(@Self)^.clr := $00000004;
  12281. end;
  12282. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  12283. begin
  12284. if thebits = 0 then
  12285. pTDefRegMap(@Self)^.clr := $00000004
  12286. else
  12287. pTDefRegMap(@Self)^.&set := $00000004;
  12288. end;
  12289. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  12290. begin
  12291. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12292. end;
  12293. procedure TICAP1_IC1CON.setICI0; inline;
  12294. begin
  12295. pTDefRegMap(@Self)^.&set := $00000020;
  12296. end;
  12297. procedure TICAP1_IC1CON.clearICI0; inline;
  12298. begin
  12299. pTDefRegMap(@Self)^.clr := $00000020;
  12300. end;
  12301. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  12302. begin
  12303. if thebits = 0 then
  12304. pTDefRegMap(@Self)^.clr := $00000020
  12305. else
  12306. pTDefRegMap(@Self)^.&set := $00000020;
  12307. end;
  12308. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  12309. begin
  12310. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12311. end;
  12312. procedure TICAP1_IC1CON.setICI1; inline;
  12313. begin
  12314. pTDefRegMap(@Self)^.&set := $00000040;
  12315. end;
  12316. procedure TICAP1_IC1CON.clearICI1; inline;
  12317. begin
  12318. pTDefRegMap(@Self)^.clr := $00000040;
  12319. end;
  12320. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  12321. begin
  12322. if thebits = 0 then
  12323. pTDefRegMap(@Self)^.clr := $00000040
  12324. else
  12325. pTDefRegMap(@Self)^.&set := $00000040;
  12326. end;
  12327. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  12328. begin
  12329. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12330. end;
  12331. procedure TICAP1_IC1CON.setICSIDL; inline;
  12332. begin
  12333. pTDefRegMap(@Self)^.&set := $00002000;
  12334. end;
  12335. procedure TICAP1_IC1CON.clearICSIDL; inline;
  12336. begin
  12337. pTDefRegMap(@Self)^.clr := $00002000;
  12338. end;
  12339. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  12340. begin
  12341. if thebits = 0 then
  12342. pTDefRegMap(@Self)^.clr := $00002000
  12343. else
  12344. pTDefRegMap(@Self)^.&set := $00002000;
  12345. end;
  12346. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  12347. begin
  12348. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12349. end;
  12350. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  12351. begin
  12352. pTDefRegMap(@Self)^.val := thebits;
  12353. end;
  12354. function TICAP1_IC1CON.getw : TBits_32; inline;
  12355. begin
  12356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12357. end;
  12358. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  12359. begin
  12360. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12361. end;
  12362. function TICAP2_IC2CON.getICM : TBits_3; inline;
  12363. begin
  12364. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12365. end;
  12366. procedure TICAP2_IC2CON.setICBNE; inline;
  12367. begin
  12368. pTDefRegMap(@Self)^.&set := $00000008;
  12369. end;
  12370. procedure TICAP2_IC2CON.clearICBNE; inline;
  12371. begin
  12372. pTDefRegMap(@Self)^.clr := $00000008;
  12373. end;
  12374. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  12375. begin
  12376. if thebits = 0 then
  12377. pTDefRegMap(@Self)^.clr := $00000008
  12378. else
  12379. pTDefRegMap(@Self)^.&set := $00000008;
  12380. end;
  12381. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  12382. begin
  12383. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12384. end;
  12385. procedure TICAP2_IC2CON.setICOV; inline;
  12386. begin
  12387. pTDefRegMap(@Self)^.&set := $00000010;
  12388. end;
  12389. procedure TICAP2_IC2CON.clearICOV; inline;
  12390. begin
  12391. pTDefRegMap(@Self)^.clr := $00000010;
  12392. end;
  12393. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  12394. begin
  12395. if thebits = 0 then
  12396. pTDefRegMap(@Self)^.clr := $00000010
  12397. else
  12398. pTDefRegMap(@Self)^.&set := $00000010;
  12399. end;
  12400. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  12401. begin
  12402. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12403. end;
  12404. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  12405. begin
  12406. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12407. end;
  12408. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12409. begin
  12410. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12411. end;
  12412. procedure TICAP2_IC2CON.setICTMR; inline;
  12413. begin
  12414. pTDefRegMap(@Self)^.&set := $00000080;
  12415. end;
  12416. procedure TICAP2_IC2CON.clearICTMR; inline;
  12417. begin
  12418. pTDefRegMap(@Self)^.clr := $00000080;
  12419. end;
  12420. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12421. begin
  12422. if thebits = 0 then
  12423. pTDefRegMap(@Self)^.clr := $00000080
  12424. else
  12425. pTDefRegMap(@Self)^.&set := $00000080;
  12426. end;
  12427. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12428. begin
  12429. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12430. end;
  12431. procedure TICAP2_IC2CON.setC32; inline;
  12432. begin
  12433. pTDefRegMap(@Self)^.&set := $00000100;
  12434. end;
  12435. procedure TICAP2_IC2CON.clearC32; inline;
  12436. begin
  12437. pTDefRegMap(@Self)^.clr := $00000100;
  12438. end;
  12439. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12440. begin
  12441. if thebits = 0 then
  12442. pTDefRegMap(@Self)^.clr := $00000100
  12443. else
  12444. pTDefRegMap(@Self)^.&set := $00000100;
  12445. end;
  12446. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12447. begin
  12448. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12449. end;
  12450. procedure TICAP2_IC2CON.setFEDGE; inline;
  12451. begin
  12452. pTDefRegMap(@Self)^.&set := $00000200;
  12453. end;
  12454. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12455. begin
  12456. pTDefRegMap(@Self)^.clr := $00000200;
  12457. end;
  12458. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12459. begin
  12460. if thebits = 0 then
  12461. pTDefRegMap(@Self)^.clr := $00000200
  12462. else
  12463. pTDefRegMap(@Self)^.&set := $00000200;
  12464. end;
  12465. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12466. begin
  12467. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12468. end;
  12469. procedure TICAP2_IC2CON.setSIDL; inline;
  12470. begin
  12471. pTDefRegMap(@Self)^.&set := $00002000;
  12472. end;
  12473. procedure TICAP2_IC2CON.clearSIDL; inline;
  12474. begin
  12475. pTDefRegMap(@Self)^.clr := $00002000;
  12476. end;
  12477. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12478. begin
  12479. if thebits = 0 then
  12480. pTDefRegMap(@Self)^.clr := $00002000
  12481. else
  12482. pTDefRegMap(@Self)^.&set := $00002000;
  12483. end;
  12484. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12485. begin
  12486. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12487. end;
  12488. procedure TICAP2_IC2CON.setON; inline;
  12489. begin
  12490. pTDefRegMap(@Self)^.&set := $00008000;
  12491. end;
  12492. procedure TICAP2_IC2CON.clearON; inline;
  12493. begin
  12494. pTDefRegMap(@Self)^.clr := $00008000;
  12495. end;
  12496. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12497. begin
  12498. if thebits = 0 then
  12499. pTDefRegMap(@Self)^.clr := $00008000
  12500. else
  12501. pTDefRegMap(@Self)^.&set := $00008000;
  12502. end;
  12503. function TICAP2_IC2CON.getON : TBits_1; inline;
  12504. begin
  12505. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12506. end;
  12507. procedure TICAP2_IC2CON.setICM0; inline;
  12508. begin
  12509. pTDefRegMap(@Self)^.&set := $00000001;
  12510. end;
  12511. procedure TICAP2_IC2CON.clearICM0; inline;
  12512. begin
  12513. pTDefRegMap(@Self)^.clr := $00000001;
  12514. end;
  12515. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12516. begin
  12517. if thebits = 0 then
  12518. pTDefRegMap(@Self)^.clr := $00000001
  12519. else
  12520. pTDefRegMap(@Self)^.&set := $00000001;
  12521. end;
  12522. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12523. begin
  12524. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12525. end;
  12526. procedure TICAP2_IC2CON.setICM1; inline;
  12527. begin
  12528. pTDefRegMap(@Self)^.&set := $00000002;
  12529. end;
  12530. procedure TICAP2_IC2CON.clearICM1; inline;
  12531. begin
  12532. pTDefRegMap(@Self)^.clr := $00000002;
  12533. end;
  12534. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12535. begin
  12536. if thebits = 0 then
  12537. pTDefRegMap(@Self)^.clr := $00000002
  12538. else
  12539. pTDefRegMap(@Self)^.&set := $00000002;
  12540. end;
  12541. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12542. begin
  12543. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12544. end;
  12545. procedure TICAP2_IC2CON.setICM2; inline;
  12546. begin
  12547. pTDefRegMap(@Self)^.&set := $00000004;
  12548. end;
  12549. procedure TICAP2_IC2CON.clearICM2; inline;
  12550. begin
  12551. pTDefRegMap(@Self)^.clr := $00000004;
  12552. end;
  12553. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12554. begin
  12555. if thebits = 0 then
  12556. pTDefRegMap(@Self)^.clr := $00000004
  12557. else
  12558. pTDefRegMap(@Self)^.&set := $00000004;
  12559. end;
  12560. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12561. begin
  12562. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12563. end;
  12564. procedure TICAP2_IC2CON.setICI0; inline;
  12565. begin
  12566. pTDefRegMap(@Self)^.&set := $00000020;
  12567. end;
  12568. procedure TICAP2_IC2CON.clearICI0; inline;
  12569. begin
  12570. pTDefRegMap(@Self)^.clr := $00000020;
  12571. end;
  12572. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12573. begin
  12574. if thebits = 0 then
  12575. pTDefRegMap(@Self)^.clr := $00000020
  12576. else
  12577. pTDefRegMap(@Self)^.&set := $00000020;
  12578. end;
  12579. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12580. begin
  12581. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12582. end;
  12583. procedure TICAP2_IC2CON.setICI1; inline;
  12584. begin
  12585. pTDefRegMap(@Self)^.&set := $00000040;
  12586. end;
  12587. procedure TICAP2_IC2CON.clearICI1; inline;
  12588. begin
  12589. pTDefRegMap(@Self)^.clr := $00000040;
  12590. end;
  12591. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12592. begin
  12593. if thebits = 0 then
  12594. pTDefRegMap(@Self)^.clr := $00000040
  12595. else
  12596. pTDefRegMap(@Self)^.&set := $00000040;
  12597. end;
  12598. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12599. begin
  12600. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12601. end;
  12602. procedure TICAP2_IC2CON.setICSIDL; inline;
  12603. begin
  12604. pTDefRegMap(@Self)^.&set := $00002000;
  12605. end;
  12606. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12607. begin
  12608. pTDefRegMap(@Self)^.clr := $00002000;
  12609. end;
  12610. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12611. begin
  12612. if thebits = 0 then
  12613. pTDefRegMap(@Self)^.clr := $00002000
  12614. else
  12615. pTDefRegMap(@Self)^.&set := $00002000;
  12616. end;
  12617. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12618. begin
  12619. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12620. end;
  12621. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12622. begin
  12623. pTDefRegMap(@Self)^.val := thebits;
  12624. end;
  12625. function TICAP2_IC2CON.getw : TBits_32; inline;
  12626. begin
  12627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12628. end;
  12629. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12630. begin
  12631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12632. end;
  12633. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12634. begin
  12635. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12636. end;
  12637. procedure TICAP3_IC3CON.setICBNE; inline;
  12638. begin
  12639. pTDefRegMap(@Self)^.&set := $00000008;
  12640. end;
  12641. procedure TICAP3_IC3CON.clearICBNE; inline;
  12642. begin
  12643. pTDefRegMap(@Self)^.clr := $00000008;
  12644. end;
  12645. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12646. begin
  12647. if thebits = 0 then
  12648. pTDefRegMap(@Self)^.clr := $00000008
  12649. else
  12650. pTDefRegMap(@Self)^.&set := $00000008;
  12651. end;
  12652. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12653. begin
  12654. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12655. end;
  12656. procedure TICAP3_IC3CON.setICOV; inline;
  12657. begin
  12658. pTDefRegMap(@Self)^.&set := $00000010;
  12659. end;
  12660. procedure TICAP3_IC3CON.clearICOV; inline;
  12661. begin
  12662. pTDefRegMap(@Self)^.clr := $00000010;
  12663. end;
  12664. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12665. begin
  12666. if thebits = 0 then
  12667. pTDefRegMap(@Self)^.clr := $00000010
  12668. else
  12669. pTDefRegMap(@Self)^.&set := $00000010;
  12670. end;
  12671. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12672. begin
  12673. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12674. end;
  12675. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12676. begin
  12677. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12678. end;
  12679. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12680. begin
  12681. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12682. end;
  12683. procedure TICAP3_IC3CON.setICTMR; inline;
  12684. begin
  12685. pTDefRegMap(@Self)^.&set := $00000080;
  12686. end;
  12687. procedure TICAP3_IC3CON.clearICTMR; inline;
  12688. begin
  12689. pTDefRegMap(@Self)^.clr := $00000080;
  12690. end;
  12691. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12692. begin
  12693. if thebits = 0 then
  12694. pTDefRegMap(@Self)^.clr := $00000080
  12695. else
  12696. pTDefRegMap(@Self)^.&set := $00000080;
  12697. end;
  12698. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12699. begin
  12700. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12701. end;
  12702. procedure TICAP3_IC3CON.setC32; inline;
  12703. begin
  12704. pTDefRegMap(@Self)^.&set := $00000100;
  12705. end;
  12706. procedure TICAP3_IC3CON.clearC32; inline;
  12707. begin
  12708. pTDefRegMap(@Self)^.clr := $00000100;
  12709. end;
  12710. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12711. begin
  12712. if thebits = 0 then
  12713. pTDefRegMap(@Self)^.clr := $00000100
  12714. else
  12715. pTDefRegMap(@Self)^.&set := $00000100;
  12716. end;
  12717. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12718. begin
  12719. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12720. end;
  12721. procedure TICAP3_IC3CON.setFEDGE; inline;
  12722. begin
  12723. pTDefRegMap(@Self)^.&set := $00000200;
  12724. end;
  12725. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12726. begin
  12727. pTDefRegMap(@Self)^.clr := $00000200;
  12728. end;
  12729. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12730. begin
  12731. if thebits = 0 then
  12732. pTDefRegMap(@Self)^.clr := $00000200
  12733. else
  12734. pTDefRegMap(@Self)^.&set := $00000200;
  12735. end;
  12736. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12737. begin
  12738. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12739. end;
  12740. procedure TICAP3_IC3CON.setSIDL; inline;
  12741. begin
  12742. pTDefRegMap(@Self)^.&set := $00002000;
  12743. end;
  12744. procedure TICAP3_IC3CON.clearSIDL; inline;
  12745. begin
  12746. pTDefRegMap(@Self)^.clr := $00002000;
  12747. end;
  12748. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12749. begin
  12750. if thebits = 0 then
  12751. pTDefRegMap(@Self)^.clr := $00002000
  12752. else
  12753. pTDefRegMap(@Self)^.&set := $00002000;
  12754. end;
  12755. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12756. begin
  12757. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12758. end;
  12759. procedure TICAP3_IC3CON.setON; inline;
  12760. begin
  12761. pTDefRegMap(@Self)^.&set := $00008000;
  12762. end;
  12763. procedure TICAP3_IC3CON.clearON; inline;
  12764. begin
  12765. pTDefRegMap(@Self)^.clr := $00008000;
  12766. end;
  12767. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12768. begin
  12769. if thebits = 0 then
  12770. pTDefRegMap(@Self)^.clr := $00008000
  12771. else
  12772. pTDefRegMap(@Self)^.&set := $00008000;
  12773. end;
  12774. function TICAP3_IC3CON.getON : TBits_1; inline;
  12775. begin
  12776. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12777. end;
  12778. procedure TICAP3_IC3CON.setICM0; inline;
  12779. begin
  12780. pTDefRegMap(@Self)^.&set := $00000001;
  12781. end;
  12782. procedure TICAP3_IC3CON.clearICM0; inline;
  12783. begin
  12784. pTDefRegMap(@Self)^.clr := $00000001;
  12785. end;
  12786. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12787. begin
  12788. if thebits = 0 then
  12789. pTDefRegMap(@Self)^.clr := $00000001
  12790. else
  12791. pTDefRegMap(@Self)^.&set := $00000001;
  12792. end;
  12793. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12794. begin
  12795. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12796. end;
  12797. procedure TICAP3_IC3CON.setICM1; inline;
  12798. begin
  12799. pTDefRegMap(@Self)^.&set := $00000002;
  12800. end;
  12801. procedure TICAP3_IC3CON.clearICM1; inline;
  12802. begin
  12803. pTDefRegMap(@Self)^.clr := $00000002;
  12804. end;
  12805. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12806. begin
  12807. if thebits = 0 then
  12808. pTDefRegMap(@Self)^.clr := $00000002
  12809. else
  12810. pTDefRegMap(@Self)^.&set := $00000002;
  12811. end;
  12812. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12813. begin
  12814. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12815. end;
  12816. procedure TICAP3_IC3CON.setICM2; inline;
  12817. begin
  12818. pTDefRegMap(@Self)^.&set := $00000004;
  12819. end;
  12820. procedure TICAP3_IC3CON.clearICM2; inline;
  12821. begin
  12822. pTDefRegMap(@Self)^.clr := $00000004;
  12823. end;
  12824. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12825. begin
  12826. if thebits = 0 then
  12827. pTDefRegMap(@Self)^.clr := $00000004
  12828. else
  12829. pTDefRegMap(@Self)^.&set := $00000004;
  12830. end;
  12831. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12832. begin
  12833. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12834. end;
  12835. procedure TICAP3_IC3CON.setICI0; inline;
  12836. begin
  12837. pTDefRegMap(@Self)^.&set := $00000020;
  12838. end;
  12839. procedure TICAP3_IC3CON.clearICI0; inline;
  12840. begin
  12841. pTDefRegMap(@Self)^.clr := $00000020;
  12842. end;
  12843. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12844. begin
  12845. if thebits = 0 then
  12846. pTDefRegMap(@Self)^.clr := $00000020
  12847. else
  12848. pTDefRegMap(@Self)^.&set := $00000020;
  12849. end;
  12850. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12851. begin
  12852. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12853. end;
  12854. procedure TICAP3_IC3CON.setICI1; inline;
  12855. begin
  12856. pTDefRegMap(@Self)^.&set := $00000040;
  12857. end;
  12858. procedure TICAP3_IC3CON.clearICI1; inline;
  12859. begin
  12860. pTDefRegMap(@Self)^.clr := $00000040;
  12861. end;
  12862. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12863. begin
  12864. if thebits = 0 then
  12865. pTDefRegMap(@Self)^.clr := $00000040
  12866. else
  12867. pTDefRegMap(@Self)^.&set := $00000040;
  12868. end;
  12869. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12870. begin
  12871. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12872. end;
  12873. procedure TICAP3_IC3CON.setICSIDL; inline;
  12874. begin
  12875. pTDefRegMap(@Self)^.&set := $00002000;
  12876. end;
  12877. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12878. begin
  12879. pTDefRegMap(@Self)^.clr := $00002000;
  12880. end;
  12881. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12882. begin
  12883. if thebits = 0 then
  12884. pTDefRegMap(@Self)^.clr := $00002000
  12885. else
  12886. pTDefRegMap(@Self)^.&set := $00002000;
  12887. end;
  12888. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12889. begin
  12890. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12891. end;
  12892. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12893. begin
  12894. pTDefRegMap(@Self)^.val := thebits;
  12895. end;
  12896. function TICAP3_IC3CON.getw : TBits_32; inline;
  12897. begin
  12898. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12899. end;
  12900. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12901. begin
  12902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12903. end;
  12904. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12905. begin
  12906. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12907. end;
  12908. procedure TICAP4_IC4CON.setICBNE; inline;
  12909. begin
  12910. pTDefRegMap(@Self)^.&set := $00000008;
  12911. end;
  12912. procedure TICAP4_IC4CON.clearICBNE; inline;
  12913. begin
  12914. pTDefRegMap(@Self)^.clr := $00000008;
  12915. end;
  12916. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12917. begin
  12918. if thebits = 0 then
  12919. pTDefRegMap(@Self)^.clr := $00000008
  12920. else
  12921. pTDefRegMap(@Self)^.&set := $00000008;
  12922. end;
  12923. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12924. begin
  12925. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12926. end;
  12927. procedure TICAP4_IC4CON.setICOV; inline;
  12928. begin
  12929. pTDefRegMap(@Self)^.&set := $00000010;
  12930. end;
  12931. procedure TICAP4_IC4CON.clearICOV; inline;
  12932. begin
  12933. pTDefRegMap(@Self)^.clr := $00000010;
  12934. end;
  12935. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12936. begin
  12937. if thebits = 0 then
  12938. pTDefRegMap(@Self)^.clr := $00000010
  12939. else
  12940. pTDefRegMap(@Self)^.&set := $00000010;
  12941. end;
  12942. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12943. begin
  12944. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12945. end;
  12946. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12947. begin
  12948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12949. end;
  12950. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12951. begin
  12952. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12953. end;
  12954. procedure TICAP4_IC4CON.setICTMR; inline;
  12955. begin
  12956. pTDefRegMap(@Self)^.&set := $00000080;
  12957. end;
  12958. procedure TICAP4_IC4CON.clearICTMR; inline;
  12959. begin
  12960. pTDefRegMap(@Self)^.clr := $00000080;
  12961. end;
  12962. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12963. begin
  12964. if thebits = 0 then
  12965. pTDefRegMap(@Self)^.clr := $00000080
  12966. else
  12967. pTDefRegMap(@Self)^.&set := $00000080;
  12968. end;
  12969. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12970. begin
  12971. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12972. end;
  12973. procedure TICAP4_IC4CON.setC32; inline;
  12974. begin
  12975. pTDefRegMap(@Self)^.&set := $00000100;
  12976. end;
  12977. procedure TICAP4_IC4CON.clearC32; inline;
  12978. begin
  12979. pTDefRegMap(@Self)^.clr := $00000100;
  12980. end;
  12981. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12982. begin
  12983. if thebits = 0 then
  12984. pTDefRegMap(@Self)^.clr := $00000100
  12985. else
  12986. pTDefRegMap(@Self)^.&set := $00000100;
  12987. end;
  12988. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12989. begin
  12990. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12991. end;
  12992. procedure TICAP4_IC4CON.setFEDGE; inline;
  12993. begin
  12994. pTDefRegMap(@Self)^.&set := $00000200;
  12995. end;
  12996. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12997. begin
  12998. pTDefRegMap(@Self)^.clr := $00000200;
  12999. end;
  13000. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  13001. begin
  13002. if thebits = 0 then
  13003. pTDefRegMap(@Self)^.clr := $00000200
  13004. else
  13005. pTDefRegMap(@Self)^.&set := $00000200;
  13006. end;
  13007. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  13008. begin
  13009. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13010. end;
  13011. procedure TICAP4_IC4CON.setSIDL; inline;
  13012. begin
  13013. pTDefRegMap(@Self)^.&set := $00002000;
  13014. end;
  13015. procedure TICAP4_IC4CON.clearSIDL; inline;
  13016. begin
  13017. pTDefRegMap(@Self)^.clr := $00002000;
  13018. end;
  13019. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  13020. begin
  13021. if thebits = 0 then
  13022. pTDefRegMap(@Self)^.clr := $00002000
  13023. else
  13024. pTDefRegMap(@Self)^.&set := $00002000;
  13025. end;
  13026. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  13027. begin
  13028. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13029. end;
  13030. procedure TICAP4_IC4CON.setON; inline;
  13031. begin
  13032. pTDefRegMap(@Self)^.&set := $00008000;
  13033. end;
  13034. procedure TICAP4_IC4CON.clearON; inline;
  13035. begin
  13036. pTDefRegMap(@Self)^.clr := $00008000;
  13037. end;
  13038. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  13039. begin
  13040. if thebits = 0 then
  13041. pTDefRegMap(@Self)^.clr := $00008000
  13042. else
  13043. pTDefRegMap(@Self)^.&set := $00008000;
  13044. end;
  13045. function TICAP4_IC4CON.getON : TBits_1; inline;
  13046. begin
  13047. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13048. end;
  13049. procedure TICAP4_IC4CON.setICM0; inline;
  13050. begin
  13051. pTDefRegMap(@Self)^.&set := $00000001;
  13052. end;
  13053. procedure TICAP4_IC4CON.clearICM0; inline;
  13054. begin
  13055. pTDefRegMap(@Self)^.clr := $00000001;
  13056. end;
  13057. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  13058. begin
  13059. if thebits = 0 then
  13060. pTDefRegMap(@Self)^.clr := $00000001
  13061. else
  13062. pTDefRegMap(@Self)^.&set := $00000001;
  13063. end;
  13064. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  13065. begin
  13066. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13067. end;
  13068. procedure TICAP4_IC4CON.setICM1; inline;
  13069. begin
  13070. pTDefRegMap(@Self)^.&set := $00000002;
  13071. end;
  13072. procedure TICAP4_IC4CON.clearICM1; inline;
  13073. begin
  13074. pTDefRegMap(@Self)^.clr := $00000002;
  13075. end;
  13076. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  13077. begin
  13078. if thebits = 0 then
  13079. pTDefRegMap(@Self)^.clr := $00000002
  13080. else
  13081. pTDefRegMap(@Self)^.&set := $00000002;
  13082. end;
  13083. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  13084. begin
  13085. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13086. end;
  13087. procedure TICAP4_IC4CON.setICM2; inline;
  13088. begin
  13089. pTDefRegMap(@Self)^.&set := $00000004;
  13090. end;
  13091. procedure TICAP4_IC4CON.clearICM2; inline;
  13092. begin
  13093. pTDefRegMap(@Self)^.clr := $00000004;
  13094. end;
  13095. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  13096. begin
  13097. if thebits = 0 then
  13098. pTDefRegMap(@Self)^.clr := $00000004
  13099. else
  13100. pTDefRegMap(@Self)^.&set := $00000004;
  13101. end;
  13102. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  13103. begin
  13104. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13105. end;
  13106. procedure TICAP4_IC4CON.setICI0; inline;
  13107. begin
  13108. pTDefRegMap(@Self)^.&set := $00000020;
  13109. end;
  13110. procedure TICAP4_IC4CON.clearICI0; inline;
  13111. begin
  13112. pTDefRegMap(@Self)^.clr := $00000020;
  13113. end;
  13114. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  13115. begin
  13116. if thebits = 0 then
  13117. pTDefRegMap(@Self)^.clr := $00000020
  13118. else
  13119. pTDefRegMap(@Self)^.&set := $00000020;
  13120. end;
  13121. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  13122. begin
  13123. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13124. end;
  13125. procedure TICAP4_IC4CON.setICI1; inline;
  13126. begin
  13127. pTDefRegMap(@Self)^.&set := $00000040;
  13128. end;
  13129. procedure TICAP4_IC4CON.clearICI1; inline;
  13130. begin
  13131. pTDefRegMap(@Self)^.clr := $00000040;
  13132. end;
  13133. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  13134. begin
  13135. if thebits = 0 then
  13136. pTDefRegMap(@Self)^.clr := $00000040
  13137. else
  13138. pTDefRegMap(@Self)^.&set := $00000040;
  13139. end;
  13140. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  13141. begin
  13142. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13143. end;
  13144. procedure TICAP4_IC4CON.setICSIDL; inline;
  13145. begin
  13146. pTDefRegMap(@Self)^.&set := $00002000;
  13147. end;
  13148. procedure TICAP4_IC4CON.clearICSIDL; inline;
  13149. begin
  13150. pTDefRegMap(@Self)^.clr := $00002000;
  13151. end;
  13152. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  13153. begin
  13154. if thebits = 0 then
  13155. pTDefRegMap(@Self)^.clr := $00002000
  13156. else
  13157. pTDefRegMap(@Self)^.&set := $00002000;
  13158. end;
  13159. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  13160. begin
  13161. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13162. end;
  13163. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  13164. begin
  13165. pTDefRegMap(@Self)^.val := thebits;
  13166. end;
  13167. function TICAP4_IC4CON.getw : TBits_32; inline;
  13168. begin
  13169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13170. end;
  13171. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  13172. begin
  13173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13174. end;
  13175. function TICAP5_IC5CON.getICM : TBits_3; inline;
  13176. begin
  13177. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13178. end;
  13179. procedure TICAP5_IC5CON.setICBNE; inline;
  13180. begin
  13181. pTDefRegMap(@Self)^.&set := $00000008;
  13182. end;
  13183. procedure TICAP5_IC5CON.clearICBNE; inline;
  13184. begin
  13185. pTDefRegMap(@Self)^.clr := $00000008;
  13186. end;
  13187. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  13188. begin
  13189. if thebits = 0 then
  13190. pTDefRegMap(@Self)^.clr := $00000008
  13191. else
  13192. pTDefRegMap(@Self)^.&set := $00000008;
  13193. end;
  13194. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  13195. begin
  13196. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13197. end;
  13198. procedure TICAP5_IC5CON.setICOV; inline;
  13199. begin
  13200. pTDefRegMap(@Self)^.&set := $00000010;
  13201. end;
  13202. procedure TICAP5_IC5CON.clearICOV; inline;
  13203. begin
  13204. pTDefRegMap(@Self)^.clr := $00000010;
  13205. end;
  13206. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  13207. begin
  13208. if thebits = 0 then
  13209. pTDefRegMap(@Self)^.clr := $00000010
  13210. else
  13211. pTDefRegMap(@Self)^.&set := $00000010;
  13212. end;
  13213. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  13214. begin
  13215. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13216. end;
  13217. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  13218. begin
  13219. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13220. end;
  13221. function TICAP5_IC5CON.getICI : TBits_2; inline;
  13222. begin
  13223. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13224. end;
  13225. procedure TICAP5_IC5CON.setICTMR; inline;
  13226. begin
  13227. pTDefRegMap(@Self)^.&set := $00000080;
  13228. end;
  13229. procedure TICAP5_IC5CON.clearICTMR; inline;
  13230. begin
  13231. pTDefRegMap(@Self)^.clr := $00000080;
  13232. end;
  13233. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  13234. begin
  13235. if thebits = 0 then
  13236. pTDefRegMap(@Self)^.clr := $00000080
  13237. else
  13238. pTDefRegMap(@Self)^.&set := $00000080;
  13239. end;
  13240. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  13241. begin
  13242. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13243. end;
  13244. procedure TICAP5_IC5CON.setC32; inline;
  13245. begin
  13246. pTDefRegMap(@Self)^.&set := $00000100;
  13247. end;
  13248. procedure TICAP5_IC5CON.clearC32; inline;
  13249. begin
  13250. pTDefRegMap(@Self)^.clr := $00000100;
  13251. end;
  13252. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  13253. begin
  13254. if thebits = 0 then
  13255. pTDefRegMap(@Self)^.clr := $00000100
  13256. else
  13257. pTDefRegMap(@Self)^.&set := $00000100;
  13258. end;
  13259. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  13260. begin
  13261. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13262. end;
  13263. procedure TICAP5_IC5CON.setFEDGE; inline;
  13264. begin
  13265. pTDefRegMap(@Self)^.&set := $00000200;
  13266. end;
  13267. procedure TICAP5_IC5CON.clearFEDGE; inline;
  13268. begin
  13269. pTDefRegMap(@Self)^.clr := $00000200;
  13270. end;
  13271. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  13272. begin
  13273. if thebits = 0 then
  13274. pTDefRegMap(@Self)^.clr := $00000200
  13275. else
  13276. pTDefRegMap(@Self)^.&set := $00000200;
  13277. end;
  13278. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  13279. begin
  13280. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13281. end;
  13282. procedure TICAP5_IC5CON.setSIDL; inline;
  13283. begin
  13284. pTDefRegMap(@Self)^.&set := $00002000;
  13285. end;
  13286. procedure TICAP5_IC5CON.clearSIDL; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.clr := $00002000;
  13289. end;
  13290. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  13291. begin
  13292. if thebits = 0 then
  13293. pTDefRegMap(@Self)^.clr := $00002000
  13294. else
  13295. pTDefRegMap(@Self)^.&set := $00002000;
  13296. end;
  13297. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  13298. begin
  13299. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13300. end;
  13301. procedure TICAP5_IC5CON.setON; inline;
  13302. begin
  13303. pTDefRegMap(@Self)^.&set := $00008000;
  13304. end;
  13305. procedure TICAP5_IC5CON.clearON; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.clr := $00008000;
  13308. end;
  13309. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  13310. begin
  13311. if thebits = 0 then
  13312. pTDefRegMap(@Self)^.clr := $00008000
  13313. else
  13314. pTDefRegMap(@Self)^.&set := $00008000;
  13315. end;
  13316. function TICAP5_IC5CON.getON : TBits_1; inline;
  13317. begin
  13318. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13319. end;
  13320. procedure TICAP5_IC5CON.setICM0; inline;
  13321. begin
  13322. pTDefRegMap(@Self)^.&set := $00000001;
  13323. end;
  13324. procedure TICAP5_IC5CON.clearICM0; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.clr := $00000001;
  13327. end;
  13328. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  13329. begin
  13330. if thebits = 0 then
  13331. pTDefRegMap(@Self)^.clr := $00000001
  13332. else
  13333. pTDefRegMap(@Self)^.&set := $00000001;
  13334. end;
  13335. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  13336. begin
  13337. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13338. end;
  13339. procedure TICAP5_IC5CON.setICM1; inline;
  13340. begin
  13341. pTDefRegMap(@Self)^.&set := $00000002;
  13342. end;
  13343. procedure TICAP5_IC5CON.clearICM1; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.clr := $00000002;
  13346. end;
  13347. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  13348. begin
  13349. if thebits = 0 then
  13350. pTDefRegMap(@Self)^.clr := $00000002
  13351. else
  13352. pTDefRegMap(@Self)^.&set := $00000002;
  13353. end;
  13354. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  13355. begin
  13356. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13357. end;
  13358. procedure TICAP5_IC5CON.setICM2; inline;
  13359. begin
  13360. pTDefRegMap(@Self)^.&set := $00000004;
  13361. end;
  13362. procedure TICAP5_IC5CON.clearICM2; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.clr := $00000004;
  13365. end;
  13366. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  13367. begin
  13368. if thebits = 0 then
  13369. pTDefRegMap(@Self)^.clr := $00000004
  13370. else
  13371. pTDefRegMap(@Self)^.&set := $00000004;
  13372. end;
  13373. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  13374. begin
  13375. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13376. end;
  13377. procedure TICAP5_IC5CON.setICI0; inline;
  13378. begin
  13379. pTDefRegMap(@Self)^.&set := $00000020;
  13380. end;
  13381. procedure TICAP5_IC5CON.clearICI0; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.clr := $00000020;
  13384. end;
  13385. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  13386. begin
  13387. if thebits = 0 then
  13388. pTDefRegMap(@Self)^.clr := $00000020
  13389. else
  13390. pTDefRegMap(@Self)^.&set := $00000020;
  13391. end;
  13392. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  13393. begin
  13394. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13395. end;
  13396. procedure TICAP5_IC5CON.setICI1; inline;
  13397. begin
  13398. pTDefRegMap(@Self)^.&set := $00000040;
  13399. end;
  13400. procedure TICAP5_IC5CON.clearICI1; inline;
  13401. begin
  13402. pTDefRegMap(@Self)^.clr := $00000040;
  13403. end;
  13404. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  13405. begin
  13406. if thebits = 0 then
  13407. pTDefRegMap(@Self)^.clr := $00000040
  13408. else
  13409. pTDefRegMap(@Self)^.&set := $00000040;
  13410. end;
  13411. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13412. begin
  13413. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13414. end;
  13415. procedure TICAP5_IC5CON.setICSIDL; inline;
  13416. begin
  13417. pTDefRegMap(@Self)^.&set := $00002000;
  13418. end;
  13419. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13420. begin
  13421. pTDefRegMap(@Self)^.clr := $00002000;
  13422. end;
  13423. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13424. begin
  13425. if thebits = 0 then
  13426. pTDefRegMap(@Self)^.clr := $00002000
  13427. else
  13428. pTDefRegMap(@Self)^.&set := $00002000;
  13429. end;
  13430. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13431. begin
  13432. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13433. end;
  13434. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13435. begin
  13436. pTDefRegMap(@Self)^.val := thebits;
  13437. end;
  13438. function TICAP5_IC5CON.getw : TBits_32; inline;
  13439. begin
  13440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13441. end;
  13442. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13443. begin
  13444. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13445. end;
  13446. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13447. begin
  13448. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13449. end;
  13450. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13451. begin
  13452. pTDefRegMap(@Self)^.&set := $00000008;
  13453. end;
  13454. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13455. begin
  13456. pTDefRegMap(@Self)^.clr := $00000008;
  13457. end;
  13458. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13459. begin
  13460. if thebits = 0 then
  13461. pTDefRegMap(@Self)^.clr := $00000008
  13462. else
  13463. pTDefRegMap(@Self)^.&set := $00000008;
  13464. end;
  13465. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13466. begin
  13467. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13468. end;
  13469. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13470. begin
  13471. pTDefRegMap(@Self)^.&set := $00000010;
  13472. end;
  13473. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13474. begin
  13475. pTDefRegMap(@Self)^.clr := $00000010;
  13476. end;
  13477. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13478. begin
  13479. if thebits = 0 then
  13480. pTDefRegMap(@Self)^.clr := $00000010
  13481. else
  13482. pTDefRegMap(@Self)^.&set := $00000010;
  13483. end;
  13484. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13485. begin
  13486. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13487. end;
  13488. procedure TOCMP1_OC1CON.setOC32; inline;
  13489. begin
  13490. pTDefRegMap(@Self)^.&set := $00000020;
  13491. end;
  13492. procedure TOCMP1_OC1CON.clearOC32; inline;
  13493. begin
  13494. pTDefRegMap(@Self)^.clr := $00000020;
  13495. end;
  13496. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13497. begin
  13498. if thebits = 0 then
  13499. pTDefRegMap(@Self)^.clr := $00000020
  13500. else
  13501. pTDefRegMap(@Self)^.&set := $00000020;
  13502. end;
  13503. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13504. begin
  13505. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13506. end;
  13507. procedure TOCMP1_OC1CON.setSIDL; inline;
  13508. begin
  13509. pTDefRegMap(@Self)^.&set := $00002000;
  13510. end;
  13511. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13512. begin
  13513. pTDefRegMap(@Self)^.clr := $00002000;
  13514. end;
  13515. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13516. begin
  13517. if thebits = 0 then
  13518. pTDefRegMap(@Self)^.clr := $00002000
  13519. else
  13520. pTDefRegMap(@Self)^.&set := $00002000;
  13521. end;
  13522. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13523. begin
  13524. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13525. end;
  13526. procedure TOCMP1_OC1CON.setON; inline;
  13527. begin
  13528. pTDefRegMap(@Self)^.&set := $00008000;
  13529. end;
  13530. procedure TOCMP1_OC1CON.clearON; inline;
  13531. begin
  13532. pTDefRegMap(@Self)^.clr := $00008000;
  13533. end;
  13534. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13535. begin
  13536. if thebits = 0 then
  13537. pTDefRegMap(@Self)^.clr := $00008000
  13538. else
  13539. pTDefRegMap(@Self)^.&set := $00008000;
  13540. end;
  13541. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13542. begin
  13543. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13544. end;
  13545. procedure TOCMP1_OC1CON.setOCM0; inline;
  13546. begin
  13547. pTDefRegMap(@Self)^.&set := $00000001;
  13548. end;
  13549. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13550. begin
  13551. pTDefRegMap(@Self)^.clr := $00000001;
  13552. end;
  13553. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13554. begin
  13555. if thebits = 0 then
  13556. pTDefRegMap(@Self)^.clr := $00000001
  13557. else
  13558. pTDefRegMap(@Self)^.&set := $00000001;
  13559. end;
  13560. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13561. begin
  13562. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13563. end;
  13564. procedure TOCMP1_OC1CON.setOCM1; inline;
  13565. begin
  13566. pTDefRegMap(@Self)^.&set := $00000002;
  13567. end;
  13568. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13569. begin
  13570. pTDefRegMap(@Self)^.clr := $00000002;
  13571. end;
  13572. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13573. begin
  13574. if thebits = 0 then
  13575. pTDefRegMap(@Self)^.clr := $00000002
  13576. else
  13577. pTDefRegMap(@Self)^.&set := $00000002;
  13578. end;
  13579. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13580. begin
  13581. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13582. end;
  13583. procedure TOCMP1_OC1CON.setOCM2; inline;
  13584. begin
  13585. pTDefRegMap(@Self)^.&set := $00000004;
  13586. end;
  13587. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13588. begin
  13589. pTDefRegMap(@Self)^.clr := $00000004;
  13590. end;
  13591. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13592. begin
  13593. if thebits = 0 then
  13594. pTDefRegMap(@Self)^.clr := $00000004
  13595. else
  13596. pTDefRegMap(@Self)^.&set := $00000004;
  13597. end;
  13598. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13599. begin
  13600. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13601. end;
  13602. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13603. begin
  13604. pTDefRegMap(@Self)^.&set := $00002000;
  13605. end;
  13606. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13607. begin
  13608. pTDefRegMap(@Self)^.clr := $00002000;
  13609. end;
  13610. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13611. begin
  13612. if thebits = 0 then
  13613. pTDefRegMap(@Self)^.clr := $00002000
  13614. else
  13615. pTDefRegMap(@Self)^.&set := $00002000;
  13616. end;
  13617. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13618. begin
  13619. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13620. end;
  13621. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13622. begin
  13623. pTDefRegMap(@Self)^.val := thebits;
  13624. end;
  13625. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13626. begin
  13627. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13628. end;
  13629. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13630. begin
  13631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13632. end;
  13633. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13634. begin
  13635. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13636. end;
  13637. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13638. begin
  13639. pTDefRegMap(@Self)^.&set := $00000008;
  13640. end;
  13641. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13642. begin
  13643. pTDefRegMap(@Self)^.clr := $00000008;
  13644. end;
  13645. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13646. begin
  13647. if thebits = 0 then
  13648. pTDefRegMap(@Self)^.clr := $00000008
  13649. else
  13650. pTDefRegMap(@Self)^.&set := $00000008;
  13651. end;
  13652. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13653. begin
  13654. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13655. end;
  13656. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13657. begin
  13658. pTDefRegMap(@Self)^.&set := $00000010;
  13659. end;
  13660. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13661. begin
  13662. pTDefRegMap(@Self)^.clr := $00000010;
  13663. end;
  13664. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13665. begin
  13666. if thebits = 0 then
  13667. pTDefRegMap(@Self)^.clr := $00000010
  13668. else
  13669. pTDefRegMap(@Self)^.&set := $00000010;
  13670. end;
  13671. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13672. begin
  13673. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13674. end;
  13675. procedure TOCMP2_OC2CON.setOC32; inline;
  13676. begin
  13677. pTDefRegMap(@Self)^.&set := $00000020;
  13678. end;
  13679. procedure TOCMP2_OC2CON.clearOC32; inline;
  13680. begin
  13681. pTDefRegMap(@Self)^.clr := $00000020;
  13682. end;
  13683. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13684. begin
  13685. if thebits = 0 then
  13686. pTDefRegMap(@Self)^.clr := $00000020
  13687. else
  13688. pTDefRegMap(@Self)^.&set := $00000020;
  13689. end;
  13690. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13691. begin
  13692. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13693. end;
  13694. procedure TOCMP2_OC2CON.setSIDL; inline;
  13695. begin
  13696. pTDefRegMap(@Self)^.&set := $00002000;
  13697. end;
  13698. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13699. begin
  13700. pTDefRegMap(@Self)^.clr := $00002000;
  13701. end;
  13702. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13703. begin
  13704. if thebits = 0 then
  13705. pTDefRegMap(@Self)^.clr := $00002000
  13706. else
  13707. pTDefRegMap(@Self)^.&set := $00002000;
  13708. end;
  13709. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13710. begin
  13711. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13712. end;
  13713. procedure TOCMP2_OC2CON.setON; inline;
  13714. begin
  13715. pTDefRegMap(@Self)^.&set := $00008000;
  13716. end;
  13717. procedure TOCMP2_OC2CON.clearON; inline;
  13718. begin
  13719. pTDefRegMap(@Self)^.clr := $00008000;
  13720. end;
  13721. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13722. begin
  13723. if thebits = 0 then
  13724. pTDefRegMap(@Self)^.clr := $00008000
  13725. else
  13726. pTDefRegMap(@Self)^.&set := $00008000;
  13727. end;
  13728. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13729. begin
  13730. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13731. end;
  13732. procedure TOCMP2_OC2CON.setOCM0; inline;
  13733. begin
  13734. pTDefRegMap(@Self)^.&set := $00000001;
  13735. end;
  13736. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13737. begin
  13738. pTDefRegMap(@Self)^.clr := $00000001;
  13739. end;
  13740. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13741. begin
  13742. if thebits = 0 then
  13743. pTDefRegMap(@Self)^.clr := $00000001
  13744. else
  13745. pTDefRegMap(@Self)^.&set := $00000001;
  13746. end;
  13747. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13748. begin
  13749. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13750. end;
  13751. procedure TOCMP2_OC2CON.setOCM1; inline;
  13752. begin
  13753. pTDefRegMap(@Self)^.&set := $00000002;
  13754. end;
  13755. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13756. begin
  13757. pTDefRegMap(@Self)^.clr := $00000002;
  13758. end;
  13759. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13760. begin
  13761. if thebits = 0 then
  13762. pTDefRegMap(@Self)^.clr := $00000002
  13763. else
  13764. pTDefRegMap(@Self)^.&set := $00000002;
  13765. end;
  13766. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13767. begin
  13768. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13769. end;
  13770. procedure TOCMP2_OC2CON.setOCM2; inline;
  13771. begin
  13772. pTDefRegMap(@Self)^.&set := $00000004;
  13773. end;
  13774. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13775. begin
  13776. pTDefRegMap(@Self)^.clr := $00000004;
  13777. end;
  13778. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13779. begin
  13780. if thebits = 0 then
  13781. pTDefRegMap(@Self)^.clr := $00000004
  13782. else
  13783. pTDefRegMap(@Self)^.&set := $00000004;
  13784. end;
  13785. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13786. begin
  13787. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13788. end;
  13789. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13790. begin
  13791. pTDefRegMap(@Self)^.&set := $00002000;
  13792. end;
  13793. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13794. begin
  13795. pTDefRegMap(@Self)^.clr := $00002000;
  13796. end;
  13797. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13798. begin
  13799. if thebits = 0 then
  13800. pTDefRegMap(@Self)^.clr := $00002000
  13801. else
  13802. pTDefRegMap(@Self)^.&set := $00002000;
  13803. end;
  13804. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13805. begin
  13806. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13807. end;
  13808. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13809. begin
  13810. pTDefRegMap(@Self)^.val := thebits;
  13811. end;
  13812. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13813. begin
  13814. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13815. end;
  13816. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13817. begin
  13818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13819. end;
  13820. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13821. begin
  13822. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13823. end;
  13824. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13825. begin
  13826. pTDefRegMap(@Self)^.&set := $00000008;
  13827. end;
  13828. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13829. begin
  13830. pTDefRegMap(@Self)^.clr := $00000008;
  13831. end;
  13832. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13833. begin
  13834. if thebits = 0 then
  13835. pTDefRegMap(@Self)^.clr := $00000008
  13836. else
  13837. pTDefRegMap(@Self)^.&set := $00000008;
  13838. end;
  13839. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13840. begin
  13841. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13842. end;
  13843. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13844. begin
  13845. pTDefRegMap(@Self)^.&set := $00000010;
  13846. end;
  13847. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13848. begin
  13849. pTDefRegMap(@Self)^.clr := $00000010;
  13850. end;
  13851. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13852. begin
  13853. if thebits = 0 then
  13854. pTDefRegMap(@Self)^.clr := $00000010
  13855. else
  13856. pTDefRegMap(@Self)^.&set := $00000010;
  13857. end;
  13858. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13859. begin
  13860. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13861. end;
  13862. procedure TOCMP3_OC3CON.setOC32; inline;
  13863. begin
  13864. pTDefRegMap(@Self)^.&set := $00000020;
  13865. end;
  13866. procedure TOCMP3_OC3CON.clearOC32; inline;
  13867. begin
  13868. pTDefRegMap(@Self)^.clr := $00000020;
  13869. end;
  13870. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13871. begin
  13872. if thebits = 0 then
  13873. pTDefRegMap(@Self)^.clr := $00000020
  13874. else
  13875. pTDefRegMap(@Self)^.&set := $00000020;
  13876. end;
  13877. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13878. begin
  13879. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13880. end;
  13881. procedure TOCMP3_OC3CON.setSIDL; inline;
  13882. begin
  13883. pTDefRegMap(@Self)^.&set := $00002000;
  13884. end;
  13885. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13886. begin
  13887. pTDefRegMap(@Self)^.clr := $00002000;
  13888. end;
  13889. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13890. begin
  13891. if thebits = 0 then
  13892. pTDefRegMap(@Self)^.clr := $00002000
  13893. else
  13894. pTDefRegMap(@Self)^.&set := $00002000;
  13895. end;
  13896. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13897. begin
  13898. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13899. end;
  13900. procedure TOCMP3_OC3CON.setON; inline;
  13901. begin
  13902. pTDefRegMap(@Self)^.&set := $00008000;
  13903. end;
  13904. procedure TOCMP3_OC3CON.clearON; inline;
  13905. begin
  13906. pTDefRegMap(@Self)^.clr := $00008000;
  13907. end;
  13908. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13909. begin
  13910. if thebits = 0 then
  13911. pTDefRegMap(@Self)^.clr := $00008000
  13912. else
  13913. pTDefRegMap(@Self)^.&set := $00008000;
  13914. end;
  13915. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13916. begin
  13917. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13918. end;
  13919. procedure TOCMP3_OC3CON.setOCM0; inline;
  13920. begin
  13921. pTDefRegMap(@Self)^.&set := $00000001;
  13922. end;
  13923. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13924. begin
  13925. pTDefRegMap(@Self)^.clr := $00000001;
  13926. end;
  13927. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13928. begin
  13929. if thebits = 0 then
  13930. pTDefRegMap(@Self)^.clr := $00000001
  13931. else
  13932. pTDefRegMap(@Self)^.&set := $00000001;
  13933. end;
  13934. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13935. begin
  13936. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13937. end;
  13938. procedure TOCMP3_OC3CON.setOCM1; inline;
  13939. begin
  13940. pTDefRegMap(@Self)^.&set := $00000002;
  13941. end;
  13942. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13943. begin
  13944. pTDefRegMap(@Self)^.clr := $00000002;
  13945. end;
  13946. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13947. begin
  13948. if thebits = 0 then
  13949. pTDefRegMap(@Self)^.clr := $00000002
  13950. else
  13951. pTDefRegMap(@Self)^.&set := $00000002;
  13952. end;
  13953. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13954. begin
  13955. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13956. end;
  13957. procedure TOCMP3_OC3CON.setOCM2; inline;
  13958. begin
  13959. pTDefRegMap(@Self)^.&set := $00000004;
  13960. end;
  13961. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13962. begin
  13963. pTDefRegMap(@Self)^.clr := $00000004;
  13964. end;
  13965. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13966. begin
  13967. if thebits = 0 then
  13968. pTDefRegMap(@Self)^.clr := $00000004
  13969. else
  13970. pTDefRegMap(@Self)^.&set := $00000004;
  13971. end;
  13972. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13973. begin
  13974. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13975. end;
  13976. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13977. begin
  13978. pTDefRegMap(@Self)^.&set := $00002000;
  13979. end;
  13980. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13981. begin
  13982. pTDefRegMap(@Self)^.clr := $00002000;
  13983. end;
  13984. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13985. begin
  13986. if thebits = 0 then
  13987. pTDefRegMap(@Self)^.clr := $00002000
  13988. else
  13989. pTDefRegMap(@Self)^.&set := $00002000;
  13990. end;
  13991. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13992. begin
  13993. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13994. end;
  13995. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13996. begin
  13997. pTDefRegMap(@Self)^.val := thebits;
  13998. end;
  13999. function TOCMP3_OC3CON.getw : TBits_32; inline;
  14000. begin
  14001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14002. end;
  14003. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  14004. begin
  14005. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14006. end;
  14007. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  14008. begin
  14009. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14010. end;
  14011. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  14012. begin
  14013. pTDefRegMap(@Self)^.&set := $00000008;
  14014. end;
  14015. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  14016. begin
  14017. pTDefRegMap(@Self)^.clr := $00000008;
  14018. end;
  14019. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  14020. begin
  14021. if thebits = 0 then
  14022. pTDefRegMap(@Self)^.clr := $00000008
  14023. else
  14024. pTDefRegMap(@Self)^.&set := $00000008;
  14025. end;
  14026. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  14027. begin
  14028. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14029. end;
  14030. procedure TOCMP4_OC4CON.setOCFLT; inline;
  14031. begin
  14032. pTDefRegMap(@Self)^.&set := $00000010;
  14033. end;
  14034. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  14035. begin
  14036. pTDefRegMap(@Self)^.clr := $00000010;
  14037. end;
  14038. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  14039. begin
  14040. if thebits = 0 then
  14041. pTDefRegMap(@Self)^.clr := $00000010
  14042. else
  14043. pTDefRegMap(@Self)^.&set := $00000010;
  14044. end;
  14045. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  14046. begin
  14047. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14048. end;
  14049. procedure TOCMP4_OC4CON.setOC32; inline;
  14050. begin
  14051. pTDefRegMap(@Self)^.&set := $00000020;
  14052. end;
  14053. procedure TOCMP4_OC4CON.clearOC32; inline;
  14054. begin
  14055. pTDefRegMap(@Self)^.clr := $00000020;
  14056. end;
  14057. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  14058. begin
  14059. if thebits = 0 then
  14060. pTDefRegMap(@Self)^.clr := $00000020
  14061. else
  14062. pTDefRegMap(@Self)^.&set := $00000020;
  14063. end;
  14064. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  14065. begin
  14066. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14067. end;
  14068. procedure TOCMP4_OC4CON.setSIDL; inline;
  14069. begin
  14070. pTDefRegMap(@Self)^.&set := $00002000;
  14071. end;
  14072. procedure TOCMP4_OC4CON.clearSIDL; inline;
  14073. begin
  14074. pTDefRegMap(@Self)^.clr := $00002000;
  14075. end;
  14076. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  14077. begin
  14078. if thebits = 0 then
  14079. pTDefRegMap(@Self)^.clr := $00002000
  14080. else
  14081. pTDefRegMap(@Self)^.&set := $00002000;
  14082. end;
  14083. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  14084. begin
  14085. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14086. end;
  14087. procedure TOCMP4_OC4CON.setON; inline;
  14088. begin
  14089. pTDefRegMap(@Self)^.&set := $00008000;
  14090. end;
  14091. procedure TOCMP4_OC4CON.clearON; inline;
  14092. begin
  14093. pTDefRegMap(@Self)^.clr := $00008000;
  14094. end;
  14095. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  14096. begin
  14097. if thebits = 0 then
  14098. pTDefRegMap(@Self)^.clr := $00008000
  14099. else
  14100. pTDefRegMap(@Self)^.&set := $00008000;
  14101. end;
  14102. function TOCMP4_OC4CON.getON : TBits_1; inline;
  14103. begin
  14104. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14105. end;
  14106. procedure TOCMP4_OC4CON.setOCM0; inline;
  14107. begin
  14108. pTDefRegMap(@Self)^.&set := $00000001;
  14109. end;
  14110. procedure TOCMP4_OC4CON.clearOCM0; inline;
  14111. begin
  14112. pTDefRegMap(@Self)^.clr := $00000001;
  14113. end;
  14114. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  14115. begin
  14116. if thebits = 0 then
  14117. pTDefRegMap(@Self)^.clr := $00000001
  14118. else
  14119. pTDefRegMap(@Self)^.&set := $00000001;
  14120. end;
  14121. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  14122. begin
  14123. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14124. end;
  14125. procedure TOCMP4_OC4CON.setOCM1; inline;
  14126. begin
  14127. pTDefRegMap(@Self)^.&set := $00000002;
  14128. end;
  14129. procedure TOCMP4_OC4CON.clearOCM1; inline;
  14130. begin
  14131. pTDefRegMap(@Self)^.clr := $00000002;
  14132. end;
  14133. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  14134. begin
  14135. if thebits = 0 then
  14136. pTDefRegMap(@Self)^.clr := $00000002
  14137. else
  14138. pTDefRegMap(@Self)^.&set := $00000002;
  14139. end;
  14140. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  14141. begin
  14142. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14143. end;
  14144. procedure TOCMP4_OC4CON.setOCM2; inline;
  14145. begin
  14146. pTDefRegMap(@Self)^.&set := $00000004;
  14147. end;
  14148. procedure TOCMP4_OC4CON.clearOCM2; inline;
  14149. begin
  14150. pTDefRegMap(@Self)^.clr := $00000004;
  14151. end;
  14152. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  14153. begin
  14154. if thebits = 0 then
  14155. pTDefRegMap(@Self)^.clr := $00000004
  14156. else
  14157. pTDefRegMap(@Self)^.&set := $00000004;
  14158. end;
  14159. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  14160. begin
  14161. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14162. end;
  14163. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  14164. begin
  14165. pTDefRegMap(@Self)^.&set := $00002000;
  14166. end;
  14167. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  14168. begin
  14169. pTDefRegMap(@Self)^.clr := $00002000;
  14170. end;
  14171. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  14172. begin
  14173. if thebits = 0 then
  14174. pTDefRegMap(@Self)^.clr := $00002000
  14175. else
  14176. pTDefRegMap(@Self)^.&set := $00002000;
  14177. end;
  14178. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  14179. begin
  14180. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14181. end;
  14182. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  14183. begin
  14184. pTDefRegMap(@Self)^.val := thebits;
  14185. end;
  14186. function TOCMP4_OC4CON.getw : TBits_32; inline;
  14187. begin
  14188. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14189. end;
  14190. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  14191. begin
  14192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14193. end;
  14194. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  14195. begin
  14196. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14197. end;
  14198. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  14199. begin
  14200. pTDefRegMap(@Self)^.&set := $00000008;
  14201. end;
  14202. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  14203. begin
  14204. pTDefRegMap(@Self)^.clr := $00000008;
  14205. end;
  14206. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  14207. begin
  14208. if thebits = 0 then
  14209. pTDefRegMap(@Self)^.clr := $00000008
  14210. else
  14211. pTDefRegMap(@Self)^.&set := $00000008;
  14212. end;
  14213. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  14214. begin
  14215. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14216. end;
  14217. procedure TOCMP5_OC5CON.setOCFLT; inline;
  14218. begin
  14219. pTDefRegMap(@Self)^.&set := $00000010;
  14220. end;
  14221. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  14222. begin
  14223. pTDefRegMap(@Self)^.clr := $00000010;
  14224. end;
  14225. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  14226. begin
  14227. if thebits = 0 then
  14228. pTDefRegMap(@Self)^.clr := $00000010
  14229. else
  14230. pTDefRegMap(@Self)^.&set := $00000010;
  14231. end;
  14232. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  14233. begin
  14234. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14235. end;
  14236. procedure TOCMP5_OC5CON.setOC32; inline;
  14237. begin
  14238. pTDefRegMap(@Self)^.&set := $00000020;
  14239. end;
  14240. procedure TOCMP5_OC5CON.clearOC32; inline;
  14241. begin
  14242. pTDefRegMap(@Self)^.clr := $00000020;
  14243. end;
  14244. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  14245. begin
  14246. if thebits = 0 then
  14247. pTDefRegMap(@Self)^.clr := $00000020
  14248. else
  14249. pTDefRegMap(@Self)^.&set := $00000020;
  14250. end;
  14251. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  14252. begin
  14253. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14254. end;
  14255. procedure TOCMP5_OC5CON.setSIDL; inline;
  14256. begin
  14257. pTDefRegMap(@Self)^.&set := $00002000;
  14258. end;
  14259. procedure TOCMP5_OC5CON.clearSIDL; inline;
  14260. begin
  14261. pTDefRegMap(@Self)^.clr := $00002000;
  14262. end;
  14263. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  14264. begin
  14265. if thebits = 0 then
  14266. pTDefRegMap(@Self)^.clr := $00002000
  14267. else
  14268. pTDefRegMap(@Self)^.&set := $00002000;
  14269. end;
  14270. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  14271. begin
  14272. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14273. end;
  14274. procedure TOCMP5_OC5CON.setON; inline;
  14275. begin
  14276. pTDefRegMap(@Self)^.&set := $00008000;
  14277. end;
  14278. procedure TOCMP5_OC5CON.clearON; inline;
  14279. begin
  14280. pTDefRegMap(@Self)^.clr := $00008000;
  14281. end;
  14282. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  14283. begin
  14284. if thebits = 0 then
  14285. pTDefRegMap(@Self)^.clr := $00008000
  14286. else
  14287. pTDefRegMap(@Self)^.&set := $00008000;
  14288. end;
  14289. function TOCMP5_OC5CON.getON : TBits_1; inline;
  14290. begin
  14291. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14292. end;
  14293. procedure TOCMP5_OC5CON.setOCM0; inline;
  14294. begin
  14295. pTDefRegMap(@Self)^.&set := $00000001;
  14296. end;
  14297. procedure TOCMP5_OC5CON.clearOCM0; inline;
  14298. begin
  14299. pTDefRegMap(@Self)^.clr := $00000001;
  14300. end;
  14301. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  14302. begin
  14303. if thebits = 0 then
  14304. pTDefRegMap(@Self)^.clr := $00000001
  14305. else
  14306. pTDefRegMap(@Self)^.&set := $00000001;
  14307. end;
  14308. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  14309. begin
  14310. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14311. end;
  14312. procedure TOCMP5_OC5CON.setOCM1; inline;
  14313. begin
  14314. pTDefRegMap(@Self)^.&set := $00000002;
  14315. end;
  14316. procedure TOCMP5_OC5CON.clearOCM1; inline;
  14317. begin
  14318. pTDefRegMap(@Self)^.clr := $00000002;
  14319. end;
  14320. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  14321. begin
  14322. if thebits = 0 then
  14323. pTDefRegMap(@Self)^.clr := $00000002
  14324. else
  14325. pTDefRegMap(@Self)^.&set := $00000002;
  14326. end;
  14327. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  14328. begin
  14329. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14330. end;
  14331. procedure TOCMP5_OC5CON.setOCM2; inline;
  14332. begin
  14333. pTDefRegMap(@Self)^.&set := $00000004;
  14334. end;
  14335. procedure TOCMP5_OC5CON.clearOCM2; inline;
  14336. begin
  14337. pTDefRegMap(@Self)^.clr := $00000004;
  14338. end;
  14339. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  14340. begin
  14341. if thebits = 0 then
  14342. pTDefRegMap(@Self)^.clr := $00000004
  14343. else
  14344. pTDefRegMap(@Self)^.&set := $00000004;
  14345. end;
  14346. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  14347. begin
  14348. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14349. end;
  14350. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  14351. begin
  14352. pTDefRegMap(@Self)^.&set := $00002000;
  14353. end;
  14354. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  14355. begin
  14356. pTDefRegMap(@Self)^.clr := $00002000;
  14357. end;
  14358. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  14359. begin
  14360. if thebits = 0 then
  14361. pTDefRegMap(@Self)^.clr := $00002000
  14362. else
  14363. pTDefRegMap(@Self)^.&set := $00002000;
  14364. end;
  14365. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  14366. begin
  14367. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14368. end;
  14369. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  14370. begin
  14371. pTDefRegMap(@Self)^.val := thebits;
  14372. end;
  14373. function TOCMP5_OC5CON.getw : TBits_32; inline;
  14374. begin
  14375. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14376. end;
  14377. procedure TI2C1_I2C1ACON.setSEN; inline;
  14378. begin
  14379. pTDefRegMap(@Self)^.&set := $00000001;
  14380. end;
  14381. procedure TI2C1_I2C1ACON.clearSEN; inline;
  14382. begin
  14383. pTDefRegMap(@Self)^.clr := $00000001;
  14384. end;
  14385. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  14386. begin
  14387. if thebits = 0 then
  14388. pTDefRegMap(@Self)^.clr := $00000001
  14389. else
  14390. pTDefRegMap(@Self)^.&set := $00000001;
  14391. end;
  14392. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  14393. begin
  14394. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14395. end;
  14396. procedure TI2C1_I2C1ACON.setRSEN; inline;
  14397. begin
  14398. pTDefRegMap(@Self)^.&set := $00000002;
  14399. end;
  14400. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  14401. begin
  14402. pTDefRegMap(@Self)^.clr := $00000002;
  14403. end;
  14404. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  14405. begin
  14406. if thebits = 0 then
  14407. pTDefRegMap(@Self)^.clr := $00000002
  14408. else
  14409. pTDefRegMap(@Self)^.&set := $00000002;
  14410. end;
  14411. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14412. begin
  14413. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14414. end;
  14415. procedure TI2C1_I2C1ACON.setPEN; inline;
  14416. begin
  14417. pTDefRegMap(@Self)^.&set := $00000004;
  14418. end;
  14419. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14420. begin
  14421. pTDefRegMap(@Self)^.clr := $00000004;
  14422. end;
  14423. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14424. begin
  14425. if thebits = 0 then
  14426. pTDefRegMap(@Self)^.clr := $00000004
  14427. else
  14428. pTDefRegMap(@Self)^.&set := $00000004;
  14429. end;
  14430. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14431. begin
  14432. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14433. end;
  14434. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14435. begin
  14436. pTDefRegMap(@Self)^.&set := $00000008;
  14437. end;
  14438. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14439. begin
  14440. pTDefRegMap(@Self)^.clr := $00000008;
  14441. end;
  14442. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14443. begin
  14444. if thebits = 0 then
  14445. pTDefRegMap(@Self)^.clr := $00000008
  14446. else
  14447. pTDefRegMap(@Self)^.&set := $00000008;
  14448. end;
  14449. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14450. begin
  14451. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14452. end;
  14453. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14454. begin
  14455. pTDefRegMap(@Self)^.&set := $00000010;
  14456. end;
  14457. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14458. begin
  14459. pTDefRegMap(@Self)^.clr := $00000010;
  14460. end;
  14461. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14462. begin
  14463. if thebits = 0 then
  14464. pTDefRegMap(@Self)^.clr := $00000010
  14465. else
  14466. pTDefRegMap(@Self)^.&set := $00000010;
  14467. end;
  14468. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14469. begin
  14470. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14471. end;
  14472. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14473. begin
  14474. pTDefRegMap(@Self)^.&set := $00000020;
  14475. end;
  14476. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14477. begin
  14478. pTDefRegMap(@Self)^.clr := $00000020;
  14479. end;
  14480. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14481. begin
  14482. if thebits = 0 then
  14483. pTDefRegMap(@Self)^.clr := $00000020
  14484. else
  14485. pTDefRegMap(@Self)^.&set := $00000020;
  14486. end;
  14487. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14488. begin
  14489. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14490. end;
  14491. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14492. begin
  14493. pTDefRegMap(@Self)^.&set := $00000040;
  14494. end;
  14495. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14496. begin
  14497. pTDefRegMap(@Self)^.clr := $00000040;
  14498. end;
  14499. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14500. begin
  14501. if thebits = 0 then
  14502. pTDefRegMap(@Self)^.clr := $00000040
  14503. else
  14504. pTDefRegMap(@Self)^.&set := $00000040;
  14505. end;
  14506. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14507. begin
  14508. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14509. end;
  14510. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14511. begin
  14512. pTDefRegMap(@Self)^.&set := $00000080;
  14513. end;
  14514. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14515. begin
  14516. pTDefRegMap(@Self)^.clr := $00000080;
  14517. end;
  14518. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14519. begin
  14520. if thebits = 0 then
  14521. pTDefRegMap(@Self)^.clr := $00000080
  14522. else
  14523. pTDefRegMap(@Self)^.&set := $00000080;
  14524. end;
  14525. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14526. begin
  14527. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14528. end;
  14529. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14530. begin
  14531. pTDefRegMap(@Self)^.&set := $00000100;
  14532. end;
  14533. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14534. begin
  14535. pTDefRegMap(@Self)^.clr := $00000100;
  14536. end;
  14537. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14538. begin
  14539. if thebits = 0 then
  14540. pTDefRegMap(@Self)^.clr := $00000100
  14541. else
  14542. pTDefRegMap(@Self)^.&set := $00000100;
  14543. end;
  14544. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14545. begin
  14546. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14547. end;
  14548. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14549. begin
  14550. pTDefRegMap(@Self)^.&set := $00000200;
  14551. end;
  14552. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14553. begin
  14554. pTDefRegMap(@Self)^.clr := $00000200;
  14555. end;
  14556. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14557. begin
  14558. if thebits = 0 then
  14559. pTDefRegMap(@Self)^.clr := $00000200
  14560. else
  14561. pTDefRegMap(@Self)^.&set := $00000200;
  14562. end;
  14563. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14564. begin
  14565. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14566. end;
  14567. procedure TI2C1_I2C1ACON.setA10M; inline;
  14568. begin
  14569. pTDefRegMap(@Self)^.&set := $00000400;
  14570. end;
  14571. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14572. begin
  14573. pTDefRegMap(@Self)^.clr := $00000400;
  14574. end;
  14575. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14576. begin
  14577. if thebits = 0 then
  14578. pTDefRegMap(@Self)^.clr := $00000400
  14579. else
  14580. pTDefRegMap(@Self)^.&set := $00000400;
  14581. end;
  14582. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14583. begin
  14584. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14585. end;
  14586. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.&set := $00000800;
  14589. end;
  14590. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14591. begin
  14592. pTDefRegMap(@Self)^.clr := $00000800;
  14593. end;
  14594. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14595. begin
  14596. if thebits = 0 then
  14597. pTDefRegMap(@Self)^.clr := $00000800
  14598. else
  14599. pTDefRegMap(@Self)^.&set := $00000800;
  14600. end;
  14601. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14602. begin
  14603. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14604. end;
  14605. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.&set := $00001000;
  14608. end;
  14609. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14610. begin
  14611. pTDefRegMap(@Self)^.clr := $00001000;
  14612. end;
  14613. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14614. begin
  14615. if thebits = 0 then
  14616. pTDefRegMap(@Self)^.clr := $00001000
  14617. else
  14618. pTDefRegMap(@Self)^.&set := $00001000;
  14619. end;
  14620. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14621. begin
  14622. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14623. end;
  14624. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.&set := $00002000;
  14627. end;
  14628. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.clr := $00002000;
  14631. end;
  14632. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14633. begin
  14634. if thebits = 0 then
  14635. pTDefRegMap(@Self)^.clr := $00002000
  14636. else
  14637. pTDefRegMap(@Self)^.&set := $00002000;
  14638. end;
  14639. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14640. begin
  14641. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14642. end;
  14643. procedure TI2C1_I2C1ACON.setON; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.&set := $00008000;
  14646. end;
  14647. procedure TI2C1_I2C1ACON.clearON; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.clr := $00008000;
  14650. end;
  14651. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14652. begin
  14653. if thebits = 0 then
  14654. pTDefRegMap(@Self)^.clr := $00008000
  14655. else
  14656. pTDefRegMap(@Self)^.&set := $00008000;
  14657. end;
  14658. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14659. begin
  14660. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14661. end;
  14662. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.&set := $00000800;
  14665. end;
  14666. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.clr := $00000800;
  14669. end;
  14670. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14671. begin
  14672. if thebits = 0 then
  14673. pTDefRegMap(@Self)^.clr := $00000800
  14674. else
  14675. pTDefRegMap(@Self)^.&set := $00000800;
  14676. end;
  14677. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14678. begin
  14679. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14680. end;
  14681. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.&set := $00002000;
  14684. end;
  14685. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.clr := $00002000;
  14688. end;
  14689. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14690. begin
  14691. if thebits = 0 then
  14692. pTDefRegMap(@Self)^.clr := $00002000
  14693. else
  14694. pTDefRegMap(@Self)^.&set := $00002000;
  14695. end;
  14696. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14697. begin
  14698. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14699. end;
  14700. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14701. begin
  14702. pTDefRegMap(@Self)^.&set := $00008000;
  14703. end;
  14704. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.clr := $00008000;
  14707. end;
  14708. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14709. begin
  14710. if thebits = 0 then
  14711. pTDefRegMap(@Self)^.clr := $00008000
  14712. else
  14713. pTDefRegMap(@Self)^.&set := $00008000;
  14714. end;
  14715. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14716. begin
  14717. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14718. end;
  14719. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14720. begin
  14721. pTDefRegMap(@Self)^.val := thebits;
  14722. end;
  14723. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14724. begin
  14725. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14726. end;
  14727. procedure TI2C1_I2C1CON.setSEN; inline;
  14728. begin
  14729. pTDefRegMap(@Self)^.&set := $00000001;
  14730. end;
  14731. procedure TI2C1_I2C1CON.clearSEN; inline;
  14732. begin
  14733. pTDefRegMap(@Self)^.clr := $00000001;
  14734. end;
  14735. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14736. begin
  14737. if thebits = 0 then
  14738. pTDefRegMap(@Self)^.clr := $00000001
  14739. else
  14740. pTDefRegMap(@Self)^.&set := $00000001;
  14741. end;
  14742. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14743. begin
  14744. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14745. end;
  14746. procedure TI2C1_I2C1CON.setRSEN; inline;
  14747. begin
  14748. pTDefRegMap(@Self)^.&set := $00000002;
  14749. end;
  14750. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14751. begin
  14752. pTDefRegMap(@Self)^.clr := $00000002;
  14753. end;
  14754. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14755. begin
  14756. if thebits = 0 then
  14757. pTDefRegMap(@Self)^.clr := $00000002
  14758. else
  14759. pTDefRegMap(@Self)^.&set := $00000002;
  14760. end;
  14761. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14762. begin
  14763. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14764. end;
  14765. procedure TI2C1_I2C1CON.setPEN; inline;
  14766. begin
  14767. pTDefRegMap(@Self)^.&set := $00000004;
  14768. end;
  14769. procedure TI2C1_I2C1CON.clearPEN; inline;
  14770. begin
  14771. pTDefRegMap(@Self)^.clr := $00000004;
  14772. end;
  14773. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14774. begin
  14775. if thebits = 0 then
  14776. pTDefRegMap(@Self)^.clr := $00000004
  14777. else
  14778. pTDefRegMap(@Self)^.&set := $00000004;
  14779. end;
  14780. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14781. begin
  14782. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14783. end;
  14784. procedure TI2C1_I2C1CON.setRCEN; inline;
  14785. begin
  14786. pTDefRegMap(@Self)^.&set := $00000008;
  14787. end;
  14788. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14789. begin
  14790. pTDefRegMap(@Self)^.clr := $00000008;
  14791. end;
  14792. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14793. begin
  14794. if thebits = 0 then
  14795. pTDefRegMap(@Self)^.clr := $00000008
  14796. else
  14797. pTDefRegMap(@Self)^.&set := $00000008;
  14798. end;
  14799. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14800. begin
  14801. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14802. end;
  14803. procedure TI2C1_I2C1CON.setACKEN; inline;
  14804. begin
  14805. pTDefRegMap(@Self)^.&set := $00000010;
  14806. end;
  14807. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14808. begin
  14809. pTDefRegMap(@Self)^.clr := $00000010;
  14810. end;
  14811. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14812. begin
  14813. if thebits = 0 then
  14814. pTDefRegMap(@Self)^.clr := $00000010
  14815. else
  14816. pTDefRegMap(@Self)^.&set := $00000010;
  14817. end;
  14818. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14819. begin
  14820. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14821. end;
  14822. procedure TI2C1_I2C1CON.setACKDT; inline;
  14823. begin
  14824. pTDefRegMap(@Self)^.&set := $00000020;
  14825. end;
  14826. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14827. begin
  14828. pTDefRegMap(@Self)^.clr := $00000020;
  14829. end;
  14830. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14831. begin
  14832. if thebits = 0 then
  14833. pTDefRegMap(@Self)^.clr := $00000020
  14834. else
  14835. pTDefRegMap(@Self)^.&set := $00000020;
  14836. end;
  14837. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14838. begin
  14839. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14840. end;
  14841. procedure TI2C1_I2C1CON.setSTREN; inline;
  14842. begin
  14843. pTDefRegMap(@Self)^.&set := $00000040;
  14844. end;
  14845. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14846. begin
  14847. pTDefRegMap(@Self)^.clr := $00000040;
  14848. end;
  14849. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14850. begin
  14851. if thebits = 0 then
  14852. pTDefRegMap(@Self)^.clr := $00000040
  14853. else
  14854. pTDefRegMap(@Self)^.&set := $00000040;
  14855. end;
  14856. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14857. begin
  14858. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14859. end;
  14860. procedure TI2C1_I2C1CON.setGCEN; inline;
  14861. begin
  14862. pTDefRegMap(@Self)^.&set := $00000080;
  14863. end;
  14864. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14865. begin
  14866. pTDefRegMap(@Self)^.clr := $00000080;
  14867. end;
  14868. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14869. begin
  14870. if thebits = 0 then
  14871. pTDefRegMap(@Self)^.clr := $00000080
  14872. else
  14873. pTDefRegMap(@Self)^.&set := $00000080;
  14874. end;
  14875. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14876. begin
  14877. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14878. end;
  14879. procedure TI2C1_I2C1CON.setSMEN; inline;
  14880. begin
  14881. pTDefRegMap(@Self)^.&set := $00000100;
  14882. end;
  14883. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14884. begin
  14885. pTDefRegMap(@Self)^.clr := $00000100;
  14886. end;
  14887. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14888. begin
  14889. if thebits = 0 then
  14890. pTDefRegMap(@Self)^.clr := $00000100
  14891. else
  14892. pTDefRegMap(@Self)^.&set := $00000100;
  14893. end;
  14894. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14895. begin
  14896. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14897. end;
  14898. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14899. begin
  14900. pTDefRegMap(@Self)^.&set := $00000200;
  14901. end;
  14902. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14903. begin
  14904. pTDefRegMap(@Self)^.clr := $00000200;
  14905. end;
  14906. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14907. begin
  14908. if thebits = 0 then
  14909. pTDefRegMap(@Self)^.clr := $00000200
  14910. else
  14911. pTDefRegMap(@Self)^.&set := $00000200;
  14912. end;
  14913. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14914. begin
  14915. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14916. end;
  14917. procedure TI2C1_I2C1CON.setA10M; inline;
  14918. begin
  14919. pTDefRegMap(@Self)^.&set := $00000400;
  14920. end;
  14921. procedure TI2C1_I2C1CON.clearA10M; inline;
  14922. begin
  14923. pTDefRegMap(@Self)^.clr := $00000400;
  14924. end;
  14925. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14926. begin
  14927. if thebits = 0 then
  14928. pTDefRegMap(@Self)^.clr := $00000400
  14929. else
  14930. pTDefRegMap(@Self)^.&set := $00000400;
  14931. end;
  14932. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14933. begin
  14934. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14935. end;
  14936. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14937. begin
  14938. pTDefRegMap(@Self)^.&set := $00000800;
  14939. end;
  14940. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14941. begin
  14942. pTDefRegMap(@Self)^.clr := $00000800;
  14943. end;
  14944. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14945. begin
  14946. if thebits = 0 then
  14947. pTDefRegMap(@Self)^.clr := $00000800
  14948. else
  14949. pTDefRegMap(@Self)^.&set := $00000800;
  14950. end;
  14951. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14952. begin
  14953. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14954. end;
  14955. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14956. begin
  14957. pTDefRegMap(@Self)^.&set := $00001000;
  14958. end;
  14959. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14960. begin
  14961. pTDefRegMap(@Self)^.clr := $00001000;
  14962. end;
  14963. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14964. begin
  14965. if thebits = 0 then
  14966. pTDefRegMap(@Self)^.clr := $00001000
  14967. else
  14968. pTDefRegMap(@Self)^.&set := $00001000;
  14969. end;
  14970. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14971. begin
  14972. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14973. end;
  14974. procedure TI2C1_I2C1CON.setSIDL; inline;
  14975. begin
  14976. pTDefRegMap(@Self)^.&set := $00002000;
  14977. end;
  14978. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14979. begin
  14980. pTDefRegMap(@Self)^.clr := $00002000;
  14981. end;
  14982. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14983. begin
  14984. if thebits = 0 then
  14985. pTDefRegMap(@Self)^.clr := $00002000
  14986. else
  14987. pTDefRegMap(@Self)^.&set := $00002000;
  14988. end;
  14989. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14990. begin
  14991. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14992. end;
  14993. procedure TI2C1_I2C1CON.setON; inline;
  14994. begin
  14995. pTDefRegMap(@Self)^.&set := $00008000;
  14996. end;
  14997. procedure TI2C1_I2C1CON.clearON; inline;
  14998. begin
  14999. pTDefRegMap(@Self)^.clr := $00008000;
  15000. end;
  15001. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  15002. begin
  15003. if thebits = 0 then
  15004. pTDefRegMap(@Self)^.clr := $00008000
  15005. else
  15006. pTDefRegMap(@Self)^.&set := $00008000;
  15007. end;
  15008. function TI2C1_I2C1CON.getON : TBits_1; inline;
  15009. begin
  15010. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15011. end;
  15012. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  15013. begin
  15014. pTDefRegMap(@Self)^.&set := $00000800;
  15015. end;
  15016. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  15017. begin
  15018. pTDefRegMap(@Self)^.clr := $00000800;
  15019. end;
  15020. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  15021. begin
  15022. if thebits = 0 then
  15023. pTDefRegMap(@Self)^.clr := $00000800
  15024. else
  15025. pTDefRegMap(@Self)^.&set := $00000800;
  15026. end;
  15027. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  15028. begin
  15029. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15030. end;
  15031. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  15032. begin
  15033. pTDefRegMap(@Self)^.&set := $00002000;
  15034. end;
  15035. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  15036. begin
  15037. pTDefRegMap(@Self)^.clr := $00002000;
  15038. end;
  15039. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  15040. begin
  15041. if thebits = 0 then
  15042. pTDefRegMap(@Self)^.clr := $00002000
  15043. else
  15044. pTDefRegMap(@Self)^.&set := $00002000;
  15045. end;
  15046. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  15047. begin
  15048. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15049. end;
  15050. procedure TI2C1_I2C1CON.setI2CEN; inline;
  15051. begin
  15052. pTDefRegMap(@Self)^.&set := $00008000;
  15053. end;
  15054. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  15055. begin
  15056. pTDefRegMap(@Self)^.clr := $00008000;
  15057. end;
  15058. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  15059. begin
  15060. if thebits = 0 then
  15061. pTDefRegMap(@Self)^.clr := $00008000
  15062. else
  15063. pTDefRegMap(@Self)^.&set := $00008000;
  15064. end;
  15065. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  15066. begin
  15067. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15068. end;
  15069. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  15070. begin
  15071. pTDefRegMap(@Self)^.val := thebits;
  15072. end;
  15073. function TI2C1_I2C1CON.getw : TBits_32; inline;
  15074. begin
  15075. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15076. end;
  15077. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  15078. begin
  15079. pTDefRegMap(@Self)^.&set := $00000001;
  15080. end;
  15081. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  15082. begin
  15083. pTDefRegMap(@Self)^.clr := $00000001;
  15084. end;
  15085. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  15086. begin
  15087. if thebits = 0 then
  15088. pTDefRegMap(@Self)^.clr := $00000001
  15089. else
  15090. pTDefRegMap(@Self)^.&set := $00000001;
  15091. end;
  15092. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  15093. begin
  15094. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15095. end;
  15096. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  15097. begin
  15098. pTDefRegMap(@Self)^.&set := $00000002;
  15099. end;
  15100. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  15101. begin
  15102. pTDefRegMap(@Self)^.clr := $00000002;
  15103. end;
  15104. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  15105. begin
  15106. if thebits = 0 then
  15107. pTDefRegMap(@Self)^.clr := $00000002
  15108. else
  15109. pTDefRegMap(@Self)^.&set := $00000002;
  15110. end;
  15111. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  15112. begin
  15113. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15114. end;
  15115. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  15116. begin
  15117. pTDefRegMap(@Self)^.&set := $00000004;
  15118. end;
  15119. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  15120. begin
  15121. pTDefRegMap(@Self)^.clr := $00000004;
  15122. end;
  15123. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  15124. begin
  15125. if thebits = 0 then
  15126. pTDefRegMap(@Self)^.clr := $00000004
  15127. else
  15128. pTDefRegMap(@Self)^.&set := $00000004;
  15129. end;
  15130. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  15131. begin
  15132. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15133. end;
  15134. procedure TI2C1_I2C1ASTAT.setS; inline;
  15135. begin
  15136. pTDefRegMap(@Self)^.&set := $00000008;
  15137. end;
  15138. procedure TI2C1_I2C1ASTAT.clearS; inline;
  15139. begin
  15140. pTDefRegMap(@Self)^.clr := $00000008;
  15141. end;
  15142. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  15143. begin
  15144. if thebits = 0 then
  15145. pTDefRegMap(@Self)^.clr := $00000008
  15146. else
  15147. pTDefRegMap(@Self)^.&set := $00000008;
  15148. end;
  15149. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  15150. begin
  15151. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15152. end;
  15153. procedure TI2C1_I2C1ASTAT.setP; inline;
  15154. begin
  15155. pTDefRegMap(@Self)^.&set := $00000010;
  15156. end;
  15157. procedure TI2C1_I2C1ASTAT.clearP; inline;
  15158. begin
  15159. pTDefRegMap(@Self)^.clr := $00000010;
  15160. end;
  15161. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  15162. begin
  15163. if thebits = 0 then
  15164. pTDefRegMap(@Self)^.clr := $00000010
  15165. else
  15166. pTDefRegMap(@Self)^.&set := $00000010;
  15167. end;
  15168. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  15169. begin
  15170. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15171. end;
  15172. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  15173. begin
  15174. pTDefRegMap(@Self)^.&set := $00000020;
  15175. end;
  15176. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  15177. begin
  15178. pTDefRegMap(@Self)^.clr := $00000020;
  15179. end;
  15180. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  15181. begin
  15182. if thebits = 0 then
  15183. pTDefRegMap(@Self)^.clr := $00000020
  15184. else
  15185. pTDefRegMap(@Self)^.&set := $00000020;
  15186. end;
  15187. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  15188. begin
  15189. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15190. end;
  15191. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  15192. begin
  15193. pTDefRegMap(@Self)^.&set := $00000040;
  15194. end;
  15195. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  15196. begin
  15197. pTDefRegMap(@Self)^.clr := $00000040;
  15198. end;
  15199. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  15200. begin
  15201. if thebits = 0 then
  15202. pTDefRegMap(@Self)^.clr := $00000040
  15203. else
  15204. pTDefRegMap(@Self)^.&set := $00000040;
  15205. end;
  15206. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  15207. begin
  15208. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15209. end;
  15210. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  15211. begin
  15212. pTDefRegMap(@Self)^.&set := $00000080;
  15213. end;
  15214. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  15215. begin
  15216. pTDefRegMap(@Self)^.clr := $00000080;
  15217. end;
  15218. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  15219. begin
  15220. if thebits = 0 then
  15221. pTDefRegMap(@Self)^.clr := $00000080
  15222. else
  15223. pTDefRegMap(@Self)^.&set := $00000080;
  15224. end;
  15225. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  15226. begin
  15227. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15228. end;
  15229. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  15230. begin
  15231. pTDefRegMap(@Self)^.&set := $00000100;
  15232. end;
  15233. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  15234. begin
  15235. pTDefRegMap(@Self)^.clr := $00000100;
  15236. end;
  15237. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  15238. begin
  15239. if thebits = 0 then
  15240. pTDefRegMap(@Self)^.clr := $00000100
  15241. else
  15242. pTDefRegMap(@Self)^.&set := $00000100;
  15243. end;
  15244. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  15245. begin
  15246. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15247. end;
  15248. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  15249. begin
  15250. pTDefRegMap(@Self)^.&set := $00000200;
  15251. end;
  15252. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  15253. begin
  15254. pTDefRegMap(@Self)^.clr := $00000200;
  15255. end;
  15256. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15257. begin
  15258. if thebits = 0 then
  15259. pTDefRegMap(@Self)^.clr := $00000200
  15260. else
  15261. pTDefRegMap(@Self)^.&set := $00000200;
  15262. end;
  15263. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  15264. begin
  15265. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15266. end;
  15267. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  15268. begin
  15269. pTDefRegMap(@Self)^.&set := $00000400;
  15270. end;
  15271. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  15272. begin
  15273. pTDefRegMap(@Self)^.clr := $00000400;
  15274. end;
  15275. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  15276. begin
  15277. if thebits = 0 then
  15278. pTDefRegMap(@Self)^.clr := $00000400
  15279. else
  15280. pTDefRegMap(@Self)^.&set := $00000400;
  15281. end;
  15282. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  15283. begin
  15284. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15285. end;
  15286. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  15287. begin
  15288. pTDefRegMap(@Self)^.&set := $00004000;
  15289. end;
  15290. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  15291. begin
  15292. pTDefRegMap(@Self)^.clr := $00004000;
  15293. end;
  15294. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15295. begin
  15296. if thebits = 0 then
  15297. pTDefRegMap(@Self)^.clr := $00004000
  15298. else
  15299. pTDefRegMap(@Self)^.&set := $00004000;
  15300. end;
  15301. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  15302. begin
  15303. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15304. end;
  15305. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  15306. begin
  15307. pTDefRegMap(@Self)^.&set := $00008000;
  15308. end;
  15309. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  15310. begin
  15311. pTDefRegMap(@Self)^.clr := $00008000;
  15312. end;
  15313. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15314. begin
  15315. if thebits = 0 then
  15316. pTDefRegMap(@Self)^.clr := $00008000
  15317. else
  15318. pTDefRegMap(@Self)^.&set := $00008000;
  15319. end;
  15320. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  15321. begin
  15322. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15323. end;
  15324. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  15325. begin
  15326. pTDefRegMap(@Self)^.&set := $00000040;
  15327. end;
  15328. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  15329. begin
  15330. pTDefRegMap(@Self)^.clr := $00000040;
  15331. end;
  15332. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15333. begin
  15334. if thebits = 0 then
  15335. pTDefRegMap(@Self)^.clr := $00000040
  15336. else
  15337. pTDefRegMap(@Self)^.&set := $00000040;
  15338. end;
  15339. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  15340. begin
  15341. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15342. end;
  15343. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  15344. begin
  15345. pTDefRegMap(@Self)^.val := thebits;
  15346. end;
  15347. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  15348. begin
  15349. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15350. end;
  15351. procedure TI2C1_I2C1STAT.setTBF; inline;
  15352. begin
  15353. pTDefRegMap(@Self)^.&set := $00000001;
  15354. end;
  15355. procedure TI2C1_I2C1STAT.clearTBF; inline;
  15356. begin
  15357. pTDefRegMap(@Self)^.clr := $00000001;
  15358. end;
  15359. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  15360. begin
  15361. if thebits = 0 then
  15362. pTDefRegMap(@Self)^.clr := $00000001
  15363. else
  15364. pTDefRegMap(@Self)^.&set := $00000001;
  15365. end;
  15366. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  15367. begin
  15368. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15369. end;
  15370. procedure TI2C1_I2C1STAT.setRBF; inline;
  15371. begin
  15372. pTDefRegMap(@Self)^.&set := $00000002;
  15373. end;
  15374. procedure TI2C1_I2C1STAT.clearRBF; inline;
  15375. begin
  15376. pTDefRegMap(@Self)^.clr := $00000002;
  15377. end;
  15378. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  15379. begin
  15380. if thebits = 0 then
  15381. pTDefRegMap(@Self)^.clr := $00000002
  15382. else
  15383. pTDefRegMap(@Self)^.&set := $00000002;
  15384. end;
  15385. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  15386. begin
  15387. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15388. end;
  15389. procedure TI2C1_I2C1STAT.setR_W; inline;
  15390. begin
  15391. pTDefRegMap(@Self)^.&set := $00000004;
  15392. end;
  15393. procedure TI2C1_I2C1STAT.clearR_W; inline;
  15394. begin
  15395. pTDefRegMap(@Self)^.clr := $00000004;
  15396. end;
  15397. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  15398. begin
  15399. if thebits = 0 then
  15400. pTDefRegMap(@Self)^.clr := $00000004
  15401. else
  15402. pTDefRegMap(@Self)^.&set := $00000004;
  15403. end;
  15404. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  15405. begin
  15406. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15407. end;
  15408. procedure TI2C1_I2C1STAT.setS; inline;
  15409. begin
  15410. pTDefRegMap(@Self)^.&set := $00000008;
  15411. end;
  15412. procedure TI2C1_I2C1STAT.clearS; inline;
  15413. begin
  15414. pTDefRegMap(@Self)^.clr := $00000008;
  15415. end;
  15416. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15417. begin
  15418. if thebits = 0 then
  15419. pTDefRegMap(@Self)^.clr := $00000008
  15420. else
  15421. pTDefRegMap(@Self)^.&set := $00000008;
  15422. end;
  15423. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15424. begin
  15425. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15426. end;
  15427. procedure TI2C1_I2C1STAT.setP; inline;
  15428. begin
  15429. pTDefRegMap(@Self)^.&set := $00000010;
  15430. end;
  15431. procedure TI2C1_I2C1STAT.clearP; inline;
  15432. begin
  15433. pTDefRegMap(@Self)^.clr := $00000010;
  15434. end;
  15435. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15436. begin
  15437. if thebits = 0 then
  15438. pTDefRegMap(@Self)^.clr := $00000010
  15439. else
  15440. pTDefRegMap(@Self)^.&set := $00000010;
  15441. end;
  15442. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15443. begin
  15444. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15445. end;
  15446. procedure TI2C1_I2C1STAT.setD_A; inline;
  15447. begin
  15448. pTDefRegMap(@Self)^.&set := $00000020;
  15449. end;
  15450. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15451. begin
  15452. pTDefRegMap(@Self)^.clr := $00000020;
  15453. end;
  15454. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15455. begin
  15456. if thebits = 0 then
  15457. pTDefRegMap(@Self)^.clr := $00000020
  15458. else
  15459. pTDefRegMap(@Self)^.&set := $00000020;
  15460. end;
  15461. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15462. begin
  15463. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15464. end;
  15465. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15466. begin
  15467. pTDefRegMap(@Self)^.&set := $00000040;
  15468. end;
  15469. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15470. begin
  15471. pTDefRegMap(@Self)^.clr := $00000040;
  15472. end;
  15473. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15474. begin
  15475. if thebits = 0 then
  15476. pTDefRegMap(@Self)^.clr := $00000040
  15477. else
  15478. pTDefRegMap(@Self)^.&set := $00000040;
  15479. end;
  15480. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15481. begin
  15482. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15483. end;
  15484. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15485. begin
  15486. pTDefRegMap(@Self)^.&set := $00000080;
  15487. end;
  15488. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15489. begin
  15490. pTDefRegMap(@Self)^.clr := $00000080;
  15491. end;
  15492. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15493. begin
  15494. if thebits = 0 then
  15495. pTDefRegMap(@Self)^.clr := $00000080
  15496. else
  15497. pTDefRegMap(@Self)^.&set := $00000080;
  15498. end;
  15499. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15500. begin
  15501. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15502. end;
  15503. procedure TI2C1_I2C1STAT.setADD10; inline;
  15504. begin
  15505. pTDefRegMap(@Self)^.&set := $00000100;
  15506. end;
  15507. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15508. begin
  15509. pTDefRegMap(@Self)^.clr := $00000100;
  15510. end;
  15511. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15512. begin
  15513. if thebits = 0 then
  15514. pTDefRegMap(@Self)^.clr := $00000100
  15515. else
  15516. pTDefRegMap(@Self)^.&set := $00000100;
  15517. end;
  15518. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15519. begin
  15520. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15521. end;
  15522. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15523. begin
  15524. pTDefRegMap(@Self)^.&set := $00000200;
  15525. end;
  15526. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15527. begin
  15528. pTDefRegMap(@Self)^.clr := $00000200;
  15529. end;
  15530. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15531. begin
  15532. if thebits = 0 then
  15533. pTDefRegMap(@Self)^.clr := $00000200
  15534. else
  15535. pTDefRegMap(@Self)^.&set := $00000200;
  15536. end;
  15537. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15538. begin
  15539. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15540. end;
  15541. procedure TI2C1_I2C1STAT.setBCL; inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.&set := $00000400;
  15544. end;
  15545. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15546. begin
  15547. pTDefRegMap(@Self)^.clr := $00000400;
  15548. end;
  15549. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15550. begin
  15551. if thebits = 0 then
  15552. pTDefRegMap(@Self)^.clr := $00000400
  15553. else
  15554. pTDefRegMap(@Self)^.&set := $00000400;
  15555. end;
  15556. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15557. begin
  15558. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15559. end;
  15560. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15561. begin
  15562. pTDefRegMap(@Self)^.&set := $00004000;
  15563. end;
  15564. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15565. begin
  15566. pTDefRegMap(@Self)^.clr := $00004000;
  15567. end;
  15568. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15569. begin
  15570. if thebits = 0 then
  15571. pTDefRegMap(@Self)^.clr := $00004000
  15572. else
  15573. pTDefRegMap(@Self)^.&set := $00004000;
  15574. end;
  15575. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15576. begin
  15577. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15578. end;
  15579. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15580. begin
  15581. pTDefRegMap(@Self)^.&set := $00008000;
  15582. end;
  15583. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15584. begin
  15585. pTDefRegMap(@Self)^.clr := $00008000;
  15586. end;
  15587. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15588. begin
  15589. if thebits = 0 then
  15590. pTDefRegMap(@Self)^.clr := $00008000
  15591. else
  15592. pTDefRegMap(@Self)^.&set := $00008000;
  15593. end;
  15594. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15595. begin
  15596. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15597. end;
  15598. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15599. begin
  15600. pTDefRegMap(@Self)^.&set := $00000040;
  15601. end;
  15602. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15603. begin
  15604. pTDefRegMap(@Self)^.clr := $00000040;
  15605. end;
  15606. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15607. begin
  15608. if thebits = 0 then
  15609. pTDefRegMap(@Self)^.clr := $00000040
  15610. else
  15611. pTDefRegMap(@Self)^.&set := $00000040;
  15612. end;
  15613. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15614. begin
  15615. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15616. end;
  15617. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15618. begin
  15619. pTDefRegMap(@Self)^.val := thebits;
  15620. end;
  15621. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15622. begin
  15623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15624. end;
  15625. procedure TI2C2_I2C2ACON.setSEN; inline;
  15626. begin
  15627. pTDefRegMap(@Self)^.&set := $00000001;
  15628. end;
  15629. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15630. begin
  15631. pTDefRegMap(@Self)^.clr := $00000001;
  15632. end;
  15633. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15634. begin
  15635. if thebits = 0 then
  15636. pTDefRegMap(@Self)^.clr := $00000001
  15637. else
  15638. pTDefRegMap(@Self)^.&set := $00000001;
  15639. end;
  15640. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15641. begin
  15642. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15643. end;
  15644. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15645. begin
  15646. pTDefRegMap(@Self)^.&set := $00000002;
  15647. end;
  15648. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15649. begin
  15650. pTDefRegMap(@Self)^.clr := $00000002;
  15651. end;
  15652. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15653. begin
  15654. if thebits = 0 then
  15655. pTDefRegMap(@Self)^.clr := $00000002
  15656. else
  15657. pTDefRegMap(@Self)^.&set := $00000002;
  15658. end;
  15659. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15660. begin
  15661. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15662. end;
  15663. procedure TI2C2_I2C2ACON.setPEN; inline;
  15664. begin
  15665. pTDefRegMap(@Self)^.&set := $00000004;
  15666. end;
  15667. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15668. begin
  15669. pTDefRegMap(@Self)^.clr := $00000004;
  15670. end;
  15671. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15672. begin
  15673. if thebits = 0 then
  15674. pTDefRegMap(@Self)^.clr := $00000004
  15675. else
  15676. pTDefRegMap(@Self)^.&set := $00000004;
  15677. end;
  15678. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15679. begin
  15680. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15681. end;
  15682. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15683. begin
  15684. pTDefRegMap(@Self)^.&set := $00000008;
  15685. end;
  15686. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15687. begin
  15688. pTDefRegMap(@Self)^.clr := $00000008;
  15689. end;
  15690. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15691. begin
  15692. if thebits = 0 then
  15693. pTDefRegMap(@Self)^.clr := $00000008
  15694. else
  15695. pTDefRegMap(@Self)^.&set := $00000008;
  15696. end;
  15697. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15698. begin
  15699. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15700. end;
  15701. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15702. begin
  15703. pTDefRegMap(@Self)^.&set := $00000010;
  15704. end;
  15705. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15706. begin
  15707. pTDefRegMap(@Self)^.clr := $00000010;
  15708. end;
  15709. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15710. begin
  15711. if thebits = 0 then
  15712. pTDefRegMap(@Self)^.clr := $00000010
  15713. else
  15714. pTDefRegMap(@Self)^.&set := $00000010;
  15715. end;
  15716. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15717. begin
  15718. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15719. end;
  15720. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.&set := $00000020;
  15723. end;
  15724. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15725. begin
  15726. pTDefRegMap(@Self)^.clr := $00000020;
  15727. end;
  15728. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15729. begin
  15730. if thebits = 0 then
  15731. pTDefRegMap(@Self)^.clr := $00000020
  15732. else
  15733. pTDefRegMap(@Self)^.&set := $00000020;
  15734. end;
  15735. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15736. begin
  15737. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15738. end;
  15739. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15740. begin
  15741. pTDefRegMap(@Self)^.&set := $00000040;
  15742. end;
  15743. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15744. begin
  15745. pTDefRegMap(@Self)^.clr := $00000040;
  15746. end;
  15747. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15748. begin
  15749. if thebits = 0 then
  15750. pTDefRegMap(@Self)^.clr := $00000040
  15751. else
  15752. pTDefRegMap(@Self)^.&set := $00000040;
  15753. end;
  15754. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15755. begin
  15756. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15757. end;
  15758. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15759. begin
  15760. pTDefRegMap(@Self)^.&set := $00000080;
  15761. end;
  15762. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15763. begin
  15764. pTDefRegMap(@Self)^.clr := $00000080;
  15765. end;
  15766. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15767. begin
  15768. if thebits = 0 then
  15769. pTDefRegMap(@Self)^.clr := $00000080
  15770. else
  15771. pTDefRegMap(@Self)^.&set := $00000080;
  15772. end;
  15773. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15774. begin
  15775. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15776. end;
  15777. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15778. begin
  15779. pTDefRegMap(@Self)^.&set := $00000100;
  15780. end;
  15781. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15782. begin
  15783. pTDefRegMap(@Self)^.clr := $00000100;
  15784. end;
  15785. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15786. begin
  15787. if thebits = 0 then
  15788. pTDefRegMap(@Self)^.clr := $00000100
  15789. else
  15790. pTDefRegMap(@Self)^.&set := $00000100;
  15791. end;
  15792. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15793. begin
  15794. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15795. end;
  15796. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15797. begin
  15798. pTDefRegMap(@Self)^.&set := $00000200;
  15799. end;
  15800. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15801. begin
  15802. pTDefRegMap(@Self)^.clr := $00000200;
  15803. end;
  15804. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15805. begin
  15806. if thebits = 0 then
  15807. pTDefRegMap(@Self)^.clr := $00000200
  15808. else
  15809. pTDefRegMap(@Self)^.&set := $00000200;
  15810. end;
  15811. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15812. begin
  15813. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15814. end;
  15815. procedure TI2C2_I2C2ACON.setA10M; inline;
  15816. begin
  15817. pTDefRegMap(@Self)^.&set := $00000400;
  15818. end;
  15819. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15820. begin
  15821. pTDefRegMap(@Self)^.clr := $00000400;
  15822. end;
  15823. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15824. begin
  15825. if thebits = 0 then
  15826. pTDefRegMap(@Self)^.clr := $00000400
  15827. else
  15828. pTDefRegMap(@Self)^.&set := $00000400;
  15829. end;
  15830. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15831. begin
  15832. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15833. end;
  15834. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15835. begin
  15836. pTDefRegMap(@Self)^.&set := $00000800;
  15837. end;
  15838. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15839. begin
  15840. pTDefRegMap(@Self)^.clr := $00000800;
  15841. end;
  15842. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15843. begin
  15844. if thebits = 0 then
  15845. pTDefRegMap(@Self)^.clr := $00000800
  15846. else
  15847. pTDefRegMap(@Self)^.&set := $00000800;
  15848. end;
  15849. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15850. begin
  15851. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15852. end;
  15853. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15854. begin
  15855. pTDefRegMap(@Self)^.&set := $00001000;
  15856. end;
  15857. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15858. begin
  15859. pTDefRegMap(@Self)^.clr := $00001000;
  15860. end;
  15861. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15862. begin
  15863. if thebits = 0 then
  15864. pTDefRegMap(@Self)^.clr := $00001000
  15865. else
  15866. pTDefRegMap(@Self)^.&set := $00001000;
  15867. end;
  15868. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15869. begin
  15870. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15871. end;
  15872. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15873. begin
  15874. pTDefRegMap(@Self)^.&set := $00002000;
  15875. end;
  15876. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15877. begin
  15878. pTDefRegMap(@Self)^.clr := $00002000;
  15879. end;
  15880. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15881. begin
  15882. if thebits = 0 then
  15883. pTDefRegMap(@Self)^.clr := $00002000
  15884. else
  15885. pTDefRegMap(@Self)^.&set := $00002000;
  15886. end;
  15887. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15888. begin
  15889. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15890. end;
  15891. procedure TI2C2_I2C2ACON.setON; inline;
  15892. begin
  15893. pTDefRegMap(@Self)^.&set := $00008000;
  15894. end;
  15895. procedure TI2C2_I2C2ACON.clearON; inline;
  15896. begin
  15897. pTDefRegMap(@Self)^.clr := $00008000;
  15898. end;
  15899. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15900. begin
  15901. if thebits = 0 then
  15902. pTDefRegMap(@Self)^.clr := $00008000
  15903. else
  15904. pTDefRegMap(@Self)^.&set := $00008000;
  15905. end;
  15906. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15907. begin
  15908. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15909. end;
  15910. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15911. begin
  15912. pTDefRegMap(@Self)^.&set := $00000800;
  15913. end;
  15914. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15915. begin
  15916. pTDefRegMap(@Self)^.clr := $00000800;
  15917. end;
  15918. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15919. begin
  15920. if thebits = 0 then
  15921. pTDefRegMap(@Self)^.clr := $00000800
  15922. else
  15923. pTDefRegMap(@Self)^.&set := $00000800;
  15924. end;
  15925. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15926. begin
  15927. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15928. end;
  15929. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15930. begin
  15931. pTDefRegMap(@Self)^.&set := $00002000;
  15932. end;
  15933. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15934. begin
  15935. pTDefRegMap(@Self)^.clr := $00002000;
  15936. end;
  15937. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15938. begin
  15939. if thebits = 0 then
  15940. pTDefRegMap(@Self)^.clr := $00002000
  15941. else
  15942. pTDefRegMap(@Self)^.&set := $00002000;
  15943. end;
  15944. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15945. begin
  15946. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15947. end;
  15948. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15949. begin
  15950. pTDefRegMap(@Self)^.&set := $00008000;
  15951. end;
  15952. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15953. begin
  15954. pTDefRegMap(@Self)^.clr := $00008000;
  15955. end;
  15956. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15957. begin
  15958. if thebits = 0 then
  15959. pTDefRegMap(@Self)^.clr := $00008000
  15960. else
  15961. pTDefRegMap(@Self)^.&set := $00008000;
  15962. end;
  15963. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15964. begin
  15965. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15966. end;
  15967. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15968. begin
  15969. pTDefRegMap(@Self)^.val := thebits;
  15970. end;
  15971. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15972. begin
  15973. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15974. end;
  15975. procedure TI2C2_I2C2CON.setSEN; inline;
  15976. begin
  15977. pTDefRegMap(@Self)^.&set := $00000001;
  15978. end;
  15979. procedure TI2C2_I2C2CON.clearSEN; inline;
  15980. begin
  15981. pTDefRegMap(@Self)^.clr := $00000001;
  15982. end;
  15983. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15984. begin
  15985. if thebits = 0 then
  15986. pTDefRegMap(@Self)^.clr := $00000001
  15987. else
  15988. pTDefRegMap(@Self)^.&set := $00000001;
  15989. end;
  15990. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15991. begin
  15992. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15993. end;
  15994. procedure TI2C2_I2C2CON.setRSEN; inline;
  15995. begin
  15996. pTDefRegMap(@Self)^.&set := $00000002;
  15997. end;
  15998. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15999. begin
  16000. pTDefRegMap(@Self)^.clr := $00000002;
  16001. end;
  16002. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  16003. begin
  16004. if thebits = 0 then
  16005. pTDefRegMap(@Self)^.clr := $00000002
  16006. else
  16007. pTDefRegMap(@Self)^.&set := $00000002;
  16008. end;
  16009. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  16010. begin
  16011. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16012. end;
  16013. procedure TI2C2_I2C2CON.setPEN; inline;
  16014. begin
  16015. pTDefRegMap(@Self)^.&set := $00000004;
  16016. end;
  16017. procedure TI2C2_I2C2CON.clearPEN; inline;
  16018. begin
  16019. pTDefRegMap(@Self)^.clr := $00000004;
  16020. end;
  16021. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  16022. begin
  16023. if thebits = 0 then
  16024. pTDefRegMap(@Self)^.clr := $00000004
  16025. else
  16026. pTDefRegMap(@Self)^.&set := $00000004;
  16027. end;
  16028. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  16029. begin
  16030. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16031. end;
  16032. procedure TI2C2_I2C2CON.setRCEN; inline;
  16033. begin
  16034. pTDefRegMap(@Self)^.&set := $00000008;
  16035. end;
  16036. procedure TI2C2_I2C2CON.clearRCEN; inline;
  16037. begin
  16038. pTDefRegMap(@Self)^.clr := $00000008;
  16039. end;
  16040. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  16041. begin
  16042. if thebits = 0 then
  16043. pTDefRegMap(@Self)^.clr := $00000008
  16044. else
  16045. pTDefRegMap(@Self)^.&set := $00000008;
  16046. end;
  16047. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  16048. begin
  16049. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16050. end;
  16051. procedure TI2C2_I2C2CON.setACKEN; inline;
  16052. begin
  16053. pTDefRegMap(@Self)^.&set := $00000010;
  16054. end;
  16055. procedure TI2C2_I2C2CON.clearACKEN; inline;
  16056. begin
  16057. pTDefRegMap(@Self)^.clr := $00000010;
  16058. end;
  16059. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  16060. begin
  16061. if thebits = 0 then
  16062. pTDefRegMap(@Self)^.clr := $00000010
  16063. else
  16064. pTDefRegMap(@Self)^.&set := $00000010;
  16065. end;
  16066. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  16067. begin
  16068. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16069. end;
  16070. procedure TI2C2_I2C2CON.setACKDT; inline;
  16071. begin
  16072. pTDefRegMap(@Self)^.&set := $00000020;
  16073. end;
  16074. procedure TI2C2_I2C2CON.clearACKDT; inline;
  16075. begin
  16076. pTDefRegMap(@Self)^.clr := $00000020;
  16077. end;
  16078. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  16079. begin
  16080. if thebits = 0 then
  16081. pTDefRegMap(@Self)^.clr := $00000020
  16082. else
  16083. pTDefRegMap(@Self)^.&set := $00000020;
  16084. end;
  16085. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  16086. begin
  16087. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16088. end;
  16089. procedure TI2C2_I2C2CON.setSTREN; inline;
  16090. begin
  16091. pTDefRegMap(@Self)^.&set := $00000040;
  16092. end;
  16093. procedure TI2C2_I2C2CON.clearSTREN; inline;
  16094. begin
  16095. pTDefRegMap(@Self)^.clr := $00000040;
  16096. end;
  16097. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  16098. begin
  16099. if thebits = 0 then
  16100. pTDefRegMap(@Self)^.clr := $00000040
  16101. else
  16102. pTDefRegMap(@Self)^.&set := $00000040;
  16103. end;
  16104. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  16105. begin
  16106. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16107. end;
  16108. procedure TI2C2_I2C2CON.setGCEN; inline;
  16109. begin
  16110. pTDefRegMap(@Self)^.&set := $00000080;
  16111. end;
  16112. procedure TI2C2_I2C2CON.clearGCEN; inline;
  16113. begin
  16114. pTDefRegMap(@Self)^.clr := $00000080;
  16115. end;
  16116. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  16117. begin
  16118. if thebits = 0 then
  16119. pTDefRegMap(@Self)^.clr := $00000080
  16120. else
  16121. pTDefRegMap(@Self)^.&set := $00000080;
  16122. end;
  16123. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  16124. begin
  16125. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16126. end;
  16127. procedure TI2C2_I2C2CON.setSMEN; inline;
  16128. begin
  16129. pTDefRegMap(@Self)^.&set := $00000100;
  16130. end;
  16131. procedure TI2C2_I2C2CON.clearSMEN; inline;
  16132. begin
  16133. pTDefRegMap(@Self)^.clr := $00000100;
  16134. end;
  16135. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  16136. begin
  16137. if thebits = 0 then
  16138. pTDefRegMap(@Self)^.clr := $00000100
  16139. else
  16140. pTDefRegMap(@Self)^.&set := $00000100;
  16141. end;
  16142. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  16143. begin
  16144. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16145. end;
  16146. procedure TI2C2_I2C2CON.setDISSLW; inline;
  16147. begin
  16148. pTDefRegMap(@Self)^.&set := $00000200;
  16149. end;
  16150. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  16151. begin
  16152. pTDefRegMap(@Self)^.clr := $00000200;
  16153. end;
  16154. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  16155. begin
  16156. if thebits = 0 then
  16157. pTDefRegMap(@Self)^.clr := $00000200
  16158. else
  16159. pTDefRegMap(@Self)^.&set := $00000200;
  16160. end;
  16161. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  16162. begin
  16163. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16164. end;
  16165. procedure TI2C2_I2C2CON.setA10M; inline;
  16166. begin
  16167. pTDefRegMap(@Self)^.&set := $00000400;
  16168. end;
  16169. procedure TI2C2_I2C2CON.clearA10M; inline;
  16170. begin
  16171. pTDefRegMap(@Self)^.clr := $00000400;
  16172. end;
  16173. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  16174. begin
  16175. if thebits = 0 then
  16176. pTDefRegMap(@Self)^.clr := $00000400
  16177. else
  16178. pTDefRegMap(@Self)^.&set := $00000400;
  16179. end;
  16180. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  16181. begin
  16182. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16183. end;
  16184. procedure TI2C2_I2C2CON.setSTRICT; inline;
  16185. begin
  16186. pTDefRegMap(@Self)^.&set := $00000800;
  16187. end;
  16188. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  16189. begin
  16190. pTDefRegMap(@Self)^.clr := $00000800;
  16191. end;
  16192. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  16193. begin
  16194. if thebits = 0 then
  16195. pTDefRegMap(@Self)^.clr := $00000800
  16196. else
  16197. pTDefRegMap(@Self)^.&set := $00000800;
  16198. end;
  16199. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  16200. begin
  16201. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16202. end;
  16203. procedure TI2C2_I2C2CON.setSCLREL; inline;
  16204. begin
  16205. pTDefRegMap(@Self)^.&set := $00001000;
  16206. end;
  16207. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  16208. begin
  16209. pTDefRegMap(@Self)^.clr := $00001000;
  16210. end;
  16211. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  16212. begin
  16213. if thebits = 0 then
  16214. pTDefRegMap(@Self)^.clr := $00001000
  16215. else
  16216. pTDefRegMap(@Self)^.&set := $00001000;
  16217. end;
  16218. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  16219. begin
  16220. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16221. end;
  16222. procedure TI2C2_I2C2CON.setSIDL; inline;
  16223. begin
  16224. pTDefRegMap(@Self)^.&set := $00002000;
  16225. end;
  16226. procedure TI2C2_I2C2CON.clearSIDL; inline;
  16227. begin
  16228. pTDefRegMap(@Self)^.clr := $00002000;
  16229. end;
  16230. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  16231. begin
  16232. if thebits = 0 then
  16233. pTDefRegMap(@Self)^.clr := $00002000
  16234. else
  16235. pTDefRegMap(@Self)^.&set := $00002000;
  16236. end;
  16237. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  16238. begin
  16239. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16240. end;
  16241. procedure TI2C2_I2C2CON.setON; inline;
  16242. begin
  16243. pTDefRegMap(@Self)^.&set := $00008000;
  16244. end;
  16245. procedure TI2C2_I2C2CON.clearON; inline;
  16246. begin
  16247. pTDefRegMap(@Self)^.clr := $00008000;
  16248. end;
  16249. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  16250. begin
  16251. if thebits = 0 then
  16252. pTDefRegMap(@Self)^.clr := $00008000
  16253. else
  16254. pTDefRegMap(@Self)^.&set := $00008000;
  16255. end;
  16256. function TI2C2_I2C2CON.getON : TBits_1; inline;
  16257. begin
  16258. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16259. end;
  16260. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  16261. begin
  16262. pTDefRegMap(@Self)^.&set := $00000800;
  16263. end;
  16264. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  16265. begin
  16266. pTDefRegMap(@Self)^.clr := $00000800;
  16267. end;
  16268. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  16269. begin
  16270. if thebits = 0 then
  16271. pTDefRegMap(@Self)^.clr := $00000800
  16272. else
  16273. pTDefRegMap(@Self)^.&set := $00000800;
  16274. end;
  16275. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  16276. begin
  16277. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16278. end;
  16279. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  16280. begin
  16281. pTDefRegMap(@Self)^.&set := $00002000;
  16282. end;
  16283. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  16284. begin
  16285. pTDefRegMap(@Self)^.clr := $00002000;
  16286. end;
  16287. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  16288. begin
  16289. if thebits = 0 then
  16290. pTDefRegMap(@Self)^.clr := $00002000
  16291. else
  16292. pTDefRegMap(@Self)^.&set := $00002000;
  16293. end;
  16294. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  16295. begin
  16296. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16297. end;
  16298. procedure TI2C2_I2C2CON.setI2CEN; inline;
  16299. begin
  16300. pTDefRegMap(@Self)^.&set := $00008000;
  16301. end;
  16302. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  16303. begin
  16304. pTDefRegMap(@Self)^.clr := $00008000;
  16305. end;
  16306. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  16307. begin
  16308. if thebits = 0 then
  16309. pTDefRegMap(@Self)^.clr := $00008000
  16310. else
  16311. pTDefRegMap(@Self)^.&set := $00008000;
  16312. end;
  16313. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  16314. begin
  16315. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16316. end;
  16317. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  16318. begin
  16319. pTDefRegMap(@Self)^.val := thebits;
  16320. end;
  16321. function TI2C2_I2C2CON.getw : TBits_32; inline;
  16322. begin
  16323. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16324. end;
  16325. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  16326. begin
  16327. pTDefRegMap(@Self)^.&set := $00000001;
  16328. end;
  16329. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  16330. begin
  16331. pTDefRegMap(@Self)^.clr := $00000001;
  16332. end;
  16333. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  16334. begin
  16335. if thebits = 0 then
  16336. pTDefRegMap(@Self)^.clr := $00000001
  16337. else
  16338. pTDefRegMap(@Self)^.&set := $00000001;
  16339. end;
  16340. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  16341. begin
  16342. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16343. end;
  16344. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  16345. begin
  16346. pTDefRegMap(@Self)^.&set := $00000002;
  16347. end;
  16348. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  16349. begin
  16350. pTDefRegMap(@Self)^.clr := $00000002;
  16351. end;
  16352. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  16353. begin
  16354. if thebits = 0 then
  16355. pTDefRegMap(@Self)^.clr := $00000002
  16356. else
  16357. pTDefRegMap(@Self)^.&set := $00000002;
  16358. end;
  16359. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  16360. begin
  16361. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16362. end;
  16363. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  16364. begin
  16365. pTDefRegMap(@Self)^.&set := $00000004;
  16366. end;
  16367. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  16368. begin
  16369. pTDefRegMap(@Self)^.clr := $00000004;
  16370. end;
  16371. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  16372. begin
  16373. if thebits = 0 then
  16374. pTDefRegMap(@Self)^.clr := $00000004
  16375. else
  16376. pTDefRegMap(@Self)^.&set := $00000004;
  16377. end;
  16378. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  16379. begin
  16380. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16381. end;
  16382. procedure TI2C2_I2C2ASTAT.setS; inline;
  16383. begin
  16384. pTDefRegMap(@Self)^.&set := $00000008;
  16385. end;
  16386. procedure TI2C2_I2C2ASTAT.clearS; inline;
  16387. begin
  16388. pTDefRegMap(@Self)^.clr := $00000008;
  16389. end;
  16390. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  16391. begin
  16392. if thebits = 0 then
  16393. pTDefRegMap(@Self)^.clr := $00000008
  16394. else
  16395. pTDefRegMap(@Self)^.&set := $00000008;
  16396. end;
  16397. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  16398. begin
  16399. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16400. end;
  16401. procedure TI2C2_I2C2ASTAT.setP; inline;
  16402. begin
  16403. pTDefRegMap(@Self)^.&set := $00000010;
  16404. end;
  16405. procedure TI2C2_I2C2ASTAT.clearP; inline;
  16406. begin
  16407. pTDefRegMap(@Self)^.clr := $00000010;
  16408. end;
  16409. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16410. begin
  16411. if thebits = 0 then
  16412. pTDefRegMap(@Self)^.clr := $00000010
  16413. else
  16414. pTDefRegMap(@Self)^.&set := $00000010;
  16415. end;
  16416. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16417. begin
  16418. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16419. end;
  16420. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16421. begin
  16422. pTDefRegMap(@Self)^.&set := $00000020;
  16423. end;
  16424. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16425. begin
  16426. pTDefRegMap(@Self)^.clr := $00000020;
  16427. end;
  16428. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16429. begin
  16430. if thebits = 0 then
  16431. pTDefRegMap(@Self)^.clr := $00000020
  16432. else
  16433. pTDefRegMap(@Self)^.&set := $00000020;
  16434. end;
  16435. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16436. begin
  16437. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16438. end;
  16439. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16440. begin
  16441. pTDefRegMap(@Self)^.&set := $00000040;
  16442. end;
  16443. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16444. begin
  16445. pTDefRegMap(@Self)^.clr := $00000040;
  16446. end;
  16447. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16448. begin
  16449. if thebits = 0 then
  16450. pTDefRegMap(@Self)^.clr := $00000040
  16451. else
  16452. pTDefRegMap(@Self)^.&set := $00000040;
  16453. end;
  16454. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16455. begin
  16456. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16457. end;
  16458. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16459. begin
  16460. pTDefRegMap(@Self)^.&set := $00000080;
  16461. end;
  16462. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16463. begin
  16464. pTDefRegMap(@Self)^.clr := $00000080;
  16465. end;
  16466. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16467. begin
  16468. if thebits = 0 then
  16469. pTDefRegMap(@Self)^.clr := $00000080
  16470. else
  16471. pTDefRegMap(@Self)^.&set := $00000080;
  16472. end;
  16473. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16474. begin
  16475. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16476. end;
  16477. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16478. begin
  16479. pTDefRegMap(@Self)^.&set := $00000100;
  16480. end;
  16481. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16482. begin
  16483. pTDefRegMap(@Self)^.clr := $00000100;
  16484. end;
  16485. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16486. begin
  16487. if thebits = 0 then
  16488. pTDefRegMap(@Self)^.clr := $00000100
  16489. else
  16490. pTDefRegMap(@Self)^.&set := $00000100;
  16491. end;
  16492. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16493. begin
  16494. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16495. end;
  16496. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16497. begin
  16498. pTDefRegMap(@Self)^.&set := $00000200;
  16499. end;
  16500. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16501. begin
  16502. pTDefRegMap(@Self)^.clr := $00000200;
  16503. end;
  16504. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16505. begin
  16506. if thebits = 0 then
  16507. pTDefRegMap(@Self)^.clr := $00000200
  16508. else
  16509. pTDefRegMap(@Self)^.&set := $00000200;
  16510. end;
  16511. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16512. begin
  16513. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16514. end;
  16515. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16516. begin
  16517. pTDefRegMap(@Self)^.&set := $00000400;
  16518. end;
  16519. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16520. begin
  16521. pTDefRegMap(@Self)^.clr := $00000400;
  16522. end;
  16523. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16524. begin
  16525. if thebits = 0 then
  16526. pTDefRegMap(@Self)^.clr := $00000400
  16527. else
  16528. pTDefRegMap(@Self)^.&set := $00000400;
  16529. end;
  16530. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16531. begin
  16532. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16533. end;
  16534. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16535. begin
  16536. pTDefRegMap(@Self)^.&set := $00004000;
  16537. end;
  16538. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16539. begin
  16540. pTDefRegMap(@Self)^.clr := $00004000;
  16541. end;
  16542. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16543. begin
  16544. if thebits = 0 then
  16545. pTDefRegMap(@Self)^.clr := $00004000
  16546. else
  16547. pTDefRegMap(@Self)^.&set := $00004000;
  16548. end;
  16549. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16550. begin
  16551. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16552. end;
  16553. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16554. begin
  16555. pTDefRegMap(@Self)^.&set := $00008000;
  16556. end;
  16557. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.clr := $00008000;
  16560. end;
  16561. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16562. begin
  16563. if thebits = 0 then
  16564. pTDefRegMap(@Self)^.clr := $00008000
  16565. else
  16566. pTDefRegMap(@Self)^.&set := $00008000;
  16567. end;
  16568. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16569. begin
  16570. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16571. end;
  16572. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16573. begin
  16574. pTDefRegMap(@Self)^.&set := $00000040;
  16575. end;
  16576. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16577. begin
  16578. pTDefRegMap(@Self)^.clr := $00000040;
  16579. end;
  16580. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16581. begin
  16582. if thebits = 0 then
  16583. pTDefRegMap(@Self)^.clr := $00000040
  16584. else
  16585. pTDefRegMap(@Self)^.&set := $00000040;
  16586. end;
  16587. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16588. begin
  16589. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16590. end;
  16591. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16592. begin
  16593. pTDefRegMap(@Self)^.val := thebits;
  16594. end;
  16595. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16596. begin
  16597. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16598. end;
  16599. procedure TI2C2_I2C2STAT.setTBF; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.&set := $00000001;
  16602. end;
  16603. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16604. begin
  16605. pTDefRegMap(@Self)^.clr := $00000001;
  16606. end;
  16607. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16608. begin
  16609. if thebits = 0 then
  16610. pTDefRegMap(@Self)^.clr := $00000001
  16611. else
  16612. pTDefRegMap(@Self)^.&set := $00000001;
  16613. end;
  16614. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16615. begin
  16616. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16617. end;
  16618. procedure TI2C2_I2C2STAT.setRBF; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.&set := $00000002;
  16621. end;
  16622. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16623. begin
  16624. pTDefRegMap(@Self)^.clr := $00000002;
  16625. end;
  16626. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16627. begin
  16628. if thebits = 0 then
  16629. pTDefRegMap(@Self)^.clr := $00000002
  16630. else
  16631. pTDefRegMap(@Self)^.&set := $00000002;
  16632. end;
  16633. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16634. begin
  16635. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16636. end;
  16637. procedure TI2C2_I2C2STAT.setR_W; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.&set := $00000004;
  16640. end;
  16641. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16642. begin
  16643. pTDefRegMap(@Self)^.clr := $00000004;
  16644. end;
  16645. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16646. begin
  16647. if thebits = 0 then
  16648. pTDefRegMap(@Self)^.clr := $00000004
  16649. else
  16650. pTDefRegMap(@Self)^.&set := $00000004;
  16651. end;
  16652. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16653. begin
  16654. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16655. end;
  16656. procedure TI2C2_I2C2STAT.setS; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.&set := $00000008;
  16659. end;
  16660. procedure TI2C2_I2C2STAT.clearS; inline;
  16661. begin
  16662. pTDefRegMap(@Self)^.clr := $00000008;
  16663. end;
  16664. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16665. begin
  16666. if thebits = 0 then
  16667. pTDefRegMap(@Self)^.clr := $00000008
  16668. else
  16669. pTDefRegMap(@Self)^.&set := $00000008;
  16670. end;
  16671. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16672. begin
  16673. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16674. end;
  16675. procedure TI2C2_I2C2STAT.setP; inline;
  16676. begin
  16677. pTDefRegMap(@Self)^.&set := $00000010;
  16678. end;
  16679. procedure TI2C2_I2C2STAT.clearP; inline;
  16680. begin
  16681. pTDefRegMap(@Self)^.clr := $00000010;
  16682. end;
  16683. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16684. begin
  16685. if thebits = 0 then
  16686. pTDefRegMap(@Self)^.clr := $00000010
  16687. else
  16688. pTDefRegMap(@Self)^.&set := $00000010;
  16689. end;
  16690. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16691. begin
  16692. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16693. end;
  16694. procedure TI2C2_I2C2STAT.setD_A; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.&set := $00000020;
  16697. end;
  16698. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16699. begin
  16700. pTDefRegMap(@Self)^.clr := $00000020;
  16701. end;
  16702. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16703. begin
  16704. if thebits = 0 then
  16705. pTDefRegMap(@Self)^.clr := $00000020
  16706. else
  16707. pTDefRegMap(@Self)^.&set := $00000020;
  16708. end;
  16709. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16710. begin
  16711. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16712. end;
  16713. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.&set := $00000040;
  16716. end;
  16717. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16718. begin
  16719. pTDefRegMap(@Self)^.clr := $00000040;
  16720. end;
  16721. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16722. begin
  16723. if thebits = 0 then
  16724. pTDefRegMap(@Self)^.clr := $00000040
  16725. else
  16726. pTDefRegMap(@Self)^.&set := $00000040;
  16727. end;
  16728. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16729. begin
  16730. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16731. end;
  16732. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.&set := $00000080;
  16735. end;
  16736. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16737. begin
  16738. pTDefRegMap(@Self)^.clr := $00000080;
  16739. end;
  16740. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16741. begin
  16742. if thebits = 0 then
  16743. pTDefRegMap(@Self)^.clr := $00000080
  16744. else
  16745. pTDefRegMap(@Self)^.&set := $00000080;
  16746. end;
  16747. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16748. begin
  16749. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16750. end;
  16751. procedure TI2C2_I2C2STAT.setADD10; inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.&set := $00000100;
  16754. end;
  16755. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.clr := $00000100;
  16758. end;
  16759. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16760. begin
  16761. if thebits = 0 then
  16762. pTDefRegMap(@Self)^.clr := $00000100
  16763. else
  16764. pTDefRegMap(@Self)^.&set := $00000100;
  16765. end;
  16766. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16767. begin
  16768. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16769. end;
  16770. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16771. begin
  16772. pTDefRegMap(@Self)^.&set := $00000200;
  16773. end;
  16774. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16775. begin
  16776. pTDefRegMap(@Self)^.clr := $00000200;
  16777. end;
  16778. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16779. begin
  16780. if thebits = 0 then
  16781. pTDefRegMap(@Self)^.clr := $00000200
  16782. else
  16783. pTDefRegMap(@Self)^.&set := $00000200;
  16784. end;
  16785. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16786. begin
  16787. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16788. end;
  16789. procedure TI2C2_I2C2STAT.setBCL; inline;
  16790. begin
  16791. pTDefRegMap(@Self)^.&set := $00000400;
  16792. end;
  16793. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.clr := $00000400;
  16796. end;
  16797. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16798. begin
  16799. if thebits = 0 then
  16800. pTDefRegMap(@Self)^.clr := $00000400
  16801. else
  16802. pTDefRegMap(@Self)^.&set := $00000400;
  16803. end;
  16804. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16805. begin
  16806. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16807. end;
  16808. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16809. begin
  16810. pTDefRegMap(@Self)^.&set := $00004000;
  16811. end;
  16812. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.clr := $00004000;
  16815. end;
  16816. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16817. begin
  16818. if thebits = 0 then
  16819. pTDefRegMap(@Self)^.clr := $00004000
  16820. else
  16821. pTDefRegMap(@Self)^.&set := $00004000;
  16822. end;
  16823. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16824. begin
  16825. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16826. end;
  16827. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16828. begin
  16829. pTDefRegMap(@Self)^.&set := $00008000;
  16830. end;
  16831. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16832. begin
  16833. pTDefRegMap(@Self)^.clr := $00008000;
  16834. end;
  16835. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16836. begin
  16837. if thebits = 0 then
  16838. pTDefRegMap(@Self)^.clr := $00008000
  16839. else
  16840. pTDefRegMap(@Self)^.&set := $00008000;
  16841. end;
  16842. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16843. begin
  16844. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16845. end;
  16846. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16847. begin
  16848. pTDefRegMap(@Self)^.&set := $00000040;
  16849. end;
  16850. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16851. begin
  16852. pTDefRegMap(@Self)^.clr := $00000040;
  16853. end;
  16854. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16855. begin
  16856. if thebits = 0 then
  16857. pTDefRegMap(@Self)^.clr := $00000040
  16858. else
  16859. pTDefRegMap(@Self)^.&set := $00000040;
  16860. end;
  16861. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16862. begin
  16863. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16864. end;
  16865. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16866. begin
  16867. pTDefRegMap(@Self)^.val := thebits;
  16868. end;
  16869. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16870. begin
  16871. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16872. end;
  16873. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16874. begin
  16875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16876. end;
  16877. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16878. begin
  16879. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16880. end;
  16881. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16882. begin
  16883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16884. end;
  16885. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16886. begin
  16887. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16888. end;
  16889. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16890. begin
  16891. pTDefRegMap(@Self)^.&set := $00000010;
  16892. end;
  16893. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16894. begin
  16895. pTDefRegMap(@Self)^.clr := $00000010;
  16896. end;
  16897. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16898. begin
  16899. if thebits = 0 then
  16900. pTDefRegMap(@Self)^.clr := $00000010
  16901. else
  16902. pTDefRegMap(@Self)^.&set := $00000010;
  16903. end;
  16904. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16905. begin
  16906. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16907. end;
  16908. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16909. begin
  16910. pTDefRegMap(@Self)^.&set := $00000020;
  16911. end;
  16912. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16913. begin
  16914. pTDefRegMap(@Self)^.clr := $00000020;
  16915. end;
  16916. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16917. begin
  16918. if thebits = 0 then
  16919. pTDefRegMap(@Self)^.clr := $00000020
  16920. else
  16921. pTDefRegMap(@Self)^.&set := $00000020;
  16922. end;
  16923. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16924. begin
  16925. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16926. end;
  16927. procedure TSPI1_SPI1CON.setCKP; inline;
  16928. begin
  16929. pTDefRegMap(@Self)^.&set := $00000040;
  16930. end;
  16931. procedure TSPI1_SPI1CON.clearCKP; inline;
  16932. begin
  16933. pTDefRegMap(@Self)^.clr := $00000040;
  16934. end;
  16935. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16936. begin
  16937. if thebits = 0 then
  16938. pTDefRegMap(@Self)^.clr := $00000040
  16939. else
  16940. pTDefRegMap(@Self)^.&set := $00000040;
  16941. end;
  16942. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16943. begin
  16944. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16945. end;
  16946. procedure TSPI1_SPI1CON.setSSEN; inline;
  16947. begin
  16948. pTDefRegMap(@Self)^.&set := $00000080;
  16949. end;
  16950. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16951. begin
  16952. pTDefRegMap(@Self)^.clr := $00000080;
  16953. end;
  16954. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16955. begin
  16956. if thebits = 0 then
  16957. pTDefRegMap(@Self)^.clr := $00000080
  16958. else
  16959. pTDefRegMap(@Self)^.&set := $00000080;
  16960. end;
  16961. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16962. begin
  16963. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16964. end;
  16965. procedure TSPI1_SPI1CON.setCKE; inline;
  16966. begin
  16967. pTDefRegMap(@Self)^.&set := $00000100;
  16968. end;
  16969. procedure TSPI1_SPI1CON.clearCKE; inline;
  16970. begin
  16971. pTDefRegMap(@Self)^.clr := $00000100;
  16972. end;
  16973. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16974. begin
  16975. if thebits = 0 then
  16976. pTDefRegMap(@Self)^.clr := $00000100
  16977. else
  16978. pTDefRegMap(@Self)^.&set := $00000100;
  16979. end;
  16980. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16981. begin
  16982. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16983. end;
  16984. procedure TSPI1_SPI1CON.setSMP; inline;
  16985. begin
  16986. pTDefRegMap(@Self)^.&set := $00000200;
  16987. end;
  16988. procedure TSPI1_SPI1CON.clearSMP; inline;
  16989. begin
  16990. pTDefRegMap(@Self)^.clr := $00000200;
  16991. end;
  16992. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16993. begin
  16994. if thebits = 0 then
  16995. pTDefRegMap(@Self)^.clr := $00000200
  16996. else
  16997. pTDefRegMap(@Self)^.&set := $00000200;
  16998. end;
  16999. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  17000. begin
  17001. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17002. end;
  17003. procedure TSPI1_SPI1CON.setMODE16; inline;
  17004. begin
  17005. pTDefRegMap(@Self)^.&set := $00000400;
  17006. end;
  17007. procedure TSPI1_SPI1CON.clearMODE16; inline;
  17008. begin
  17009. pTDefRegMap(@Self)^.clr := $00000400;
  17010. end;
  17011. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  17012. begin
  17013. if thebits = 0 then
  17014. pTDefRegMap(@Self)^.clr := $00000400
  17015. else
  17016. pTDefRegMap(@Self)^.&set := $00000400;
  17017. end;
  17018. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  17019. begin
  17020. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17021. end;
  17022. procedure TSPI1_SPI1CON.setMODE32; inline;
  17023. begin
  17024. pTDefRegMap(@Self)^.&set := $00000800;
  17025. end;
  17026. procedure TSPI1_SPI1CON.clearMODE32; inline;
  17027. begin
  17028. pTDefRegMap(@Self)^.clr := $00000800;
  17029. end;
  17030. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  17031. begin
  17032. if thebits = 0 then
  17033. pTDefRegMap(@Self)^.clr := $00000800
  17034. else
  17035. pTDefRegMap(@Self)^.&set := $00000800;
  17036. end;
  17037. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  17038. begin
  17039. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17040. end;
  17041. procedure TSPI1_SPI1CON.setDISSDO; inline;
  17042. begin
  17043. pTDefRegMap(@Self)^.&set := $00001000;
  17044. end;
  17045. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  17046. begin
  17047. pTDefRegMap(@Self)^.clr := $00001000;
  17048. end;
  17049. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  17050. begin
  17051. if thebits = 0 then
  17052. pTDefRegMap(@Self)^.clr := $00001000
  17053. else
  17054. pTDefRegMap(@Self)^.&set := $00001000;
  17055. end;
  17056. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  17057. begin
  17058. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17059. end;
  17060. procedure TSPI1_SPI1CON.setSIDL; inline;
  17061. begin
  17062. pTDefRegMap(@Self)^.&set := $00002000;
  17063. end;
  17064. procedure TSPI1_SPI1CON.clearSIDL; inline;
  17065. begin
  17066. pTDefRegMap(@Self)^.clr := $00002000;
  17067. end;
  17068. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  17069. begin
  17070. if thebits = 0 then
  17071. pTDefRegMap(@Self)^.clr := $00002000
  17072. else
  17073. pTDefRegMap(@Self)^.&set := $00002000;
  17074. end;
  17075. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  17076. begin
  17077. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17078. end;
  17079. procedure TSPI1_SPI1CON.setON; inline;
  17080. begin
  17081. pTDefRegMap(@Self)^.&set := $00008000;
  17082. end;
  17083. procedure TSPI1_SPI1CON.clearON; inline;
  17084. begin
  17085. pTDefRegMap(@Self)^.clr := $00008000;
  17086. end;
  17087. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  17088. begin
  17089. if thebits = 0 then
  17090. pTDefRegMap(@Self)^.clr := $00008000
  17091. else
  17092. pTDefRegMap(@Self)^.&set := $00008000;
  17093. end;
  17094. function TSPI1_SPI1CON.getON : TBits_1; inline;
  17095. begin
  17096. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17097. end;
  17098. procedure TSPI1_SPI1CON.setENHBUF; inline;
  17099. begin
  17100. pTDefRegMap(@Self)^.&set := $00010000;
  17101. end;
  17102. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  17103. begin
  17104. pTDefRegMap(@Self)^.clr := $00010000;
  17105. end;
  17106. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  17107. begin
  17108. if thebits = 0 then
  17109. pTDefRegMap(@Self)^.clr := $00010000
  17110. else
  17111. pTDefRegMap(@Self)^.&set := $00010000;
  17112. end;
  17113. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  17114. begin
  17115. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17116. end;
  17117. procedure TSPI1_SPI1CON.setSPIFE; inline;
  17118. begin
  17119. pTDefRegMap(@Self)^.&set := $00020000;
  17120. end;
  17121. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  17122. begin
  17123. pTDefRegMap(@Self)^.clr := $00020000;
  17124. end;
  17125. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  17126. begin
  17127. if thebits = 0 then
  17128. pTDefRegMap(@Self)^.clr := $00020000
  17129. else
  17130. pTDefRegMap(@Self)^.&set := $00020000;
  17131. end;
  17132. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  17133. begin
  17134. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17135. end;
  17136. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  17137. begin
  17138. pTDefRegMap(@Self)^.&set := $00800000;
  17139. end;
  17140. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  17141. begin
  17142. pTDefRegMap(@Self)^.clr := $00800000;
  17143. end;
  17144. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  17145. begin
  17146. if thebits = 0 then
  17147. pTDefRegMap(@Self)^.clr := $00800000
  17148. else
  17149. pTDefRegMap(@Self)^.&set := $00800000;
  17150. end;
  17151. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  17152. begin
  17153. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17154. end;
  17155. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  17156. begin
  17157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17158. end;
  17159. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  17160. begin
  17161. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17162. end;
  17163. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  17164. begin
  17165. pTDefRegMap(@Self)^.&set := $08000000;
  17166. end;
  17167. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  17168. begin
  17169. pTDefRegMap(@Self)^.clr := $08000000;
  17170. end;
  17171. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  17172. begin
  17173. if thebits = 0 then
  17174. pTDefRegMap(@Self)^.clr := $08000000
  17175. else
  17176. pTDefRegMap(@Self)^.&set := $08000000;
  17177. end;
  17178. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  17179. begin
  17180. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17181. end;
  17182. procedure TSPI1_SPI1CON.setMSSEN; inline;
  17183. begin
  17184. pTDefRegMap(@Self)^.&set := $10000000;
  17185. end;
  17186. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  17187. begin
  17188. pTDefRegMap(@Self)^.clr := $10000000;
  17189. end;
  17190. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  17191. begin
  17192. if thebits = 0 then
  17193. pTDefRegMap(@Self)^.clr := $10000000
  17194. else
  17195. pTDefRegMap(@Self)^.&set := $10000000;
  17196. end;
  17197. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  17198. begin
  17199. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17200. end;
  17201. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  17202. begin
  17203. pTDefRegMap(@Self)^.&set := $20000000;
  17204. end;
  17205. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  17206. begin
  17207. pTDefRegMap(@Self)^.clr := $20000000;
  17208. end;
  17209. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  17210. begin
  17211. if thebits = 0 then
  17212. pTDefRegMap(@Self)^.clr := $20000000
  17213. else
  17214. pTDefRegMap(@Self)^.&set := $20000000;
  17215. end;
  17216. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  17217. begin
  17218. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17219. end;
  17220. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  17221. begin
  17222. pTDefRegMap(@Self)^.&set := $40000000;
  17223. end;
  17224. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  17225. begin
  17226. pTDefRegMap(@Self)^.clr := $40000000;
  17227. end;
  17228. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  17229. begin
  17230. if thebits = 0 then
  17231. pTDefRegMap(@Self)^.clr := $40000000
  17232. else
  17233. pTDefRegMap(@Self)^.&set := $40000000;
  17234. end;
  17235. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  17236. begin
  17237. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17238. end;
  17239. procedure TSPI1_SPI1CON.setFRMEN; inline;
  17240. begin
  17241. pTDefRegMap(@Self)^.&set := $80000000;
  17242. end;
  17243. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  17244. begin
  17245. pTDefRegMap(@Self)^.clr := $80000000;
  17246. end;
  17247. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  17248. begin
  17249. if thebits = 0 then
  17250. pTDefRegMap(@Self)^.clr := $80000000
  17251. else
  17252. pTDefRegMap(@Self)^.&set := $80000000;
  17253. end;
  17254. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  17255. begin
  17256. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17257. end;
  17258. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  17259. begin
  17260. pTDefRegMap(@Self)^.val := thebits;
  17261. end;
  17262. function TSPI1_SPI1CON.getw : TBits_32; inline;
  17263. begin
  17264. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17265. end;
  17266. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  17267. begin
  17268. pTDefRegMap(@Self)^.&set := $00000001;
  17269. end;
  17270. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  17271. begin
  17272. pTDefRegMap(@Self)^.clr := $00000001;
  17273. end;
  17274. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  17275. begin
  17276. if thebits = 0 then
  17277. pTDefRegMap(@Self)^.clr := $00000001
  17278. else
  17279. pTDefRegMap(@Self)^.&set := $00000001;
  17280. end;
  17281. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  17282. begin
  17283. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17284. end;
  17285. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  17286. begin
  17287. pTDefRegMap(@Self)^.&set := $00000002;
  17288. end;
  17289. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  17290. begin
  17291. pTDefRegMap(@Self)^.clr := $00000002;
  17292. end;
  17293. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  17294. begin
  17295. if thebits = 0 then
  17296. pTDefRegMap(@Self)^.clr := $00000002
  17297. else
  17298. pTDefRegMap(@Self)^.&set := $00000002;
  17299. end;
  17300. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  17301. begin
  17302. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17303. end;
  17304. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  17305. begin
  17306. pTDefRegMap(@Self)^.&set := $00000008;
  17307. end;
  17308. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  17309. begin
  17310. pTDefRegMap(@Self)^.clr := $00000008;
  17311. end;
  17312. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  17313. begin
  17314. if thebits = 0 then
  17315. pTDefRegMap(@Self)^.clr := $00000008
  17316. else
  17317. pTDefRegMap(@Self)^.&set := $00000008;
  17318. end;
  17319. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  17320. begin
  17321. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17322. end;
  17323. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  17324. begin
  17325. pTDefRegMap(@Self)^.&set := $00000020;
  17326. end;
  17327. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  17328. begin
  17329. pTDefRegMap(@Self)^.clr := $00000020;
  17330. end;
  17331. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  17332. begin
  17333. if thebits = 0 then
  17334. pTDefRegMap(@Self)^.clr := $00000020
  17335. else
  17336. pTDefRegMap(@Self)^.&set := $00000020;
  17337. end;
  17338. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  17339. begin
  17340. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17341. end;
  17342. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  17343. begin
  17344. pTDefRegMap(@Self)^.&set := $00000040;
  17345. end;
  17346. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  17347. begin
  17348. pTDefRegMap(@Self)^.clr := $00000040;
  17349. end;
  17350. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  17351. begin
  17352. if thebits = 0 then
  17353. pTDefRegMap(@Self)^.clr := $00000040
  17354. else
  17355. pTDefRegMap(@Self)^.&set := $00000040;
  17356. end;
  17357. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  17358. begin
  17359. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17360. end;
  17361. procedure TSPI1_SPI1STAT.setSRMT; inline;
  17362. begin
  17363. pTDefRegMap(@Self)^.&set := $00000080;
  17364. end;
  17365. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  17366. begin
  17367. pTDefRegMap(@Self)^.clr := $00000080;
  17368. end;
  17369. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  17370. begin
  17371. if thebits = 0 then
  17372. pTDefRegMap(@Self)^.clr := $00000080
  17373. else
  17374. pTDefRegMap(@Self)^.&set := $00000080;
  17375. end;
  17376. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  17377. begin
  17378. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17379. end;
  17380. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  17381. begin
  17382. pTDefRegMap(@Self)^.&set := $00000100;
  17383. end;
  17384. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  17385. begin
  17386. pTDefRegMap(@Self)^.clr := $00000100;
  17387. end;
  17388. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  17389. begin
  17390. if thebits = 0 then
  17391. pTDefRegMap(@Self)^.clr := $00000100
  17392. else
  17393. pTDefRegMap(@Self)^.&set := $00000100;
  17394. end;
  17395. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  17396. begin
  17397. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17398. end;
  17399. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  17400. begin
  17401. pTDefRegMap(@Self)^.&set := $00000800;
  17402. end;
  17403. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  17404. begin
  17405. pTDefRegMap(@Self)^.clr := $00000800;
  17406. end;
  17407. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17408. begin
  17409. if thebits = 0 then
  17410. pTDefRegMap(@Self)^.clr := $00000800
  17411. else
  17412. pTDefRegMap(@Self)^.&set := $00000800;
  17413. end;
  17414. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17415. begin
  17416. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17417. end;
  17418. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17419. begin
  17420. pTDefRegMap(@Self)^.&set := $00001000;
  17421. end;
  17422. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17423. begin
  17424. pTDefRegMap(@Self)^.clr := $00001000;
  17425. end;
  17426. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17427. begin
  17428. if thebits = 0 then
  17429. pTDefRegMap(@Self)^.clr := $00001000
  17430. else
  17431. pTDefRegMap(@Self)^.&set := $00001000;
  17432. end;
  17433. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17434. begin
  17435. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17436. end;
  17437. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17438. begin
  17439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17440. end;
  17441. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17442. begin
  17443. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17444. end;
  17445. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17446. begin
  17447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17448. end;
  17449. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17450. begin
  17451. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17452. end;
  17453. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17454. begin
  17455. pTDefRegMap(@Self)^.val := thebits;
  17456. end;
  17457. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17458. begin
  17459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17460. end;
  17461. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17462. begin
  17463. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17464. end;
  17465. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17466. begin
  17467. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17468. end;
  17469. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17470. begin
  17471. pTDefRegMap(@Self)^.&set := $00000008;
  17472. end;
  17473. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17474. begin
  17475. pTDefRegMap(@Self)^.clr := $00000008;
  17476. end;
  17477. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17478. begin
  17479. if thebits = 0 then
  17480. pTDefRegMap(@Self)^.clr := $00000008
  17481. else
  17482. pTDefRegMap(@Self)^.&set := $00000008;
  17483. end;
  17484. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17485. begin
  17486. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17487. end;
  17488. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.&set := $00000080;
  17491. end;
  17492. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17493. begin
  17494. pTDefRegMap(@Self)^.clr := $00000080;
  17495. end;
  17496. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17497. begin
  17498. if thebits = 0 then
  17499. pTDefRegMap(@Self)^.clr := $00000080
  17500. else
  17501. pTDefRegMap(@Self)^.&set := $00000080;
  17502. end;
  17503. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17504. begin
  17505. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17506. end;
  17507. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17508. begin
  17509. pTDefRegMap(@Self)^.&set := $00000100;
  17510. end;
  17511. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17512. begin
  17513. pTDefRegMap(@Self)^.clr := $00000100;
  17514. end;
  17515. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17516. begin
  17517. if thebits = 0 then
  17518. pTDefRegMap(@Self)^.clr := $00000100
  17519. else
  17520. pTDefRegMap(@Self)^.&set := $00000100;
  17521. end;
  17522. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17523. begin
  17524. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17525. end;
  17526. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17527. begin
  17528. pTDefRegMap(@Self)^.&set := $00000200;
  17529. end;
  17530. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17531. begin
  17532. pTDefRegMap(@Self)^.clr := $00000200;
  17533. end;
  17534. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17535. begin
  17536. if thebits = 0 then
  17537. pTDefRegMap(@Self)^.clr := $00000200
  17538. else
  17539. pTDefRegMap(@Self)^.&set := $00000200;
  17540. end;
  17541. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17542. begin
  17543. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17544. end;
  17545. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17546. begin
  17547. pTDefRegMap(@Self)^.&set := $00000400;
  17548. end;
  17549. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17550. begin
  17551. pTDefRegMap(@Self)^.clr := $00000400;
  17552. end;
  17553. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17554. begin
  17555. if thebits = 0 then
  17556. pTDefRegMap(@Self)^.clr := $00000400
  17557. else
  17558. pTDefRegMap(@Self)^.&set := $00000400;
  17559. end;
  17560. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17561. begin
  17562. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17563. end;
  17564. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17565. begin
  17566. pTDefRegMap(@Self)^.&set := $00000800;
  17567. end;
  17568. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17569. begin
  17570. pTDefRegMap(@Self)^.clr := $00000800;
  17571. end;
  17572. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17573. begin
  17574. if thebits = 0 then
  17575. pTDefRegMap(@Self)^.clr := $00000800
  17576. else
  17577. pTDefRegMap(@Self)^.&set := $00000800;
  17578. end;
  17579. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17580. begin
  17581. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17582. end;
  17583. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17584. begin
  17585. pTDefRegMap(@Self)^.&set := $00001000;
  17586. end;
  17587. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17588. begin
  17589. pTDefRegMap(@Self)^.clr := $00001000;
  17590. end;
  17591. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17592. begin
  17593. if thebits = 0 then
  17594. pTDefRegMap(@Self)^.clr := $00001000
  17595. else
  17596. pTDefRegMap(@Self)^.&set := $00001000;
  17597. end;
  17598. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17599. begin
  17600. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17601. end;
  17602. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17603. begin
  17604. pTDefRegMap(@Self)^.&set := $00008000;
  17605. end;
  17606. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17607. begin
  17608. pTDefRegMap(@Self)^.clr := $00008000;
  17609. end;
  17610. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17611. begin
  17612. if thebits = 0 then
  17613. pTDefRegMap(@Self)^.clr := $00008000
  17614. else
  17615. pTDefRegMap(@Self)^.&set := $00008000;
  17616. end;
  17617. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17618. begin
  17619. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17620. end;
  17621. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17622. begin
  17623. pTDefRegMap(@Self)^.&set := $00000001;
  17624. end;
  17625. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17626. begin
  17627. pTDefRegMap(@Self)^.clr := $00000001;
  17628. end;
  17629. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17630. begin
  17631. if thebits = 0 then
  17632. pTDefRegMap(@Self)^.clr := $00000001
  17633. else
  17634. pTDefRegMap(@Self)^.&set := $00000001;
  17635. end;
  17636. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17637. begin
  17638. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17639. end;
  17640. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17641. begin
  17642. pTDefRegMap(@Self)^.&set := $00000002;
  17643. end;
  17644. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17645. begin
  17646. pTDefRegMap(@Self)^.clr := $00000002;
  17647. end;
  17648. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17649. begin
  17650. if thebits = 0 then
  17651. pTDefRegMap(@Self)^.clr := $00000002
  17652. else
  17653. pTDefRegMap(@Self)^.&set := $00000002;
  17654. end;
  17655. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17656. begin
  17657. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17658. end;
  17659. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17660. begin
  17661. pTDefRegMap(@Self)^.val := thebits;
  17662. end;
  17663. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17664. begin
  17665. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17666. end;
  17667. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17668. begin
  17669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17670. end;
  17671. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17672. begin
  17673. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17674. end;
  17675. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17678. end;
  17679. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17680. begin
  17681. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17682. end;
  17683. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17684. begin
  17685. pTDefRegMap(@Self)^.&set := $00000010;
  17686. end;
  17687. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17688. begin
  17689. pTDefRegMap(@Self)^.clr := $00000010;
  17690. end;
  17691. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17692. begin
  17693. if thebits = 0 then
  17694. pTDefRegMap(@Self)^.clr := $00000010
  17695. else
  17696. pTDefRegMap(@Self)^.&set := $00000010;
  17697. end;
  17698. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17699. begin
  17700. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17701. end;
  17702. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17703. begin
  17704. pTDefRegMap(@Self)^.&set := $00000020;
  17705. end;
  17706. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17707. begin
  17708. pTDefRegMap(@Self)^.clr := $00000020;
  17709. end;
  17710. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17711. begin
  17712. if thebits = 0 then
  17713. pTDefRegMap(@Self)^.clr := $00000020
  17714. else
  17715. pTDefRegMap(@Self)^.&set := $00000020;
  17716. end;
  17717. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17718. begin
  17719. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17720. end;
  17721. procedure TSPI2_SPI2CON.setCKP; inline;
  17722. begin
  17723. pTDefRegMap(@Self)^.&set := $00000040;
  17724. end;
  17725. procedure TSPI2_SPI2CON.clearCKP; inline;
  17726. begin
  17727. pTDefRegMap(@Self)^.clr := $00000040;
  17728. end;
  17729. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17730. begin
  17731. if thebits = 0 then
  17732. pTDefRegMap(@Self)^.clr := $00000040
  17733. else
  17734. pTDefRegMap(@Self)^.&set := $00000040;
  17735. end;
  17736. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17737. begin
  17738. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17739. end;
  17740. procedure TSPI2_SPI2CON.setSSEN; inline;
  17741. begin
  17742. pTDefRegMap(@Self)^.&set := $00000080;
  17743. end;
  17744. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17745. begin
  17746. pTDefRegMap(@Self)^.clr := $00000080;
  17747. end;
  17748. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17749. begin
  17750. if thebits = 0 then
  17751. pTDefRegMap(@Self)^.clr := $00000080
  17752. else
  17753. pTDefRegMap(@Self)^.&set := $00000080;
  17754. end;
  17755. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17756. begin
  17757. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17758. end;
  17759. procedure TSPI2_SPI2CON.setCKE; inline;
  17760. begin
  17761. pTDefRegMap(@Self)^.&set := $00000100;
  17762. end;
  17763. procedure TSPI2_SPI2CON.clearCKE; inline;
  17764. begin
  17765. pTDefRegMap(@Self)^.clr := $00000100;
  17766. end;
  17767. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17768. begin
  17769. if thebits = 0 then
  17770. pTDefRegMap(@Self)^.clr := $00000100
  17771. else
  17772. pTDefRegMap(@Self)^.&set := $00000100;
  17773. end;
  17774. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17775. begin
  17776. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17777. end;
  17778. procedure TSPI2_SPI2CON.setSMP; inline;
  17779. begin
  17780. pTDefRegMap(@Self)^.&set := $00000200;
  17781. end;
  17782. procedure TSPI2_SPI2CON.clearSMP; inline;
  17783. begin
  17784. pTDefRegMap(@Self)^.clr := $00000200;
  17785. end;
  17786. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17787. begin
  17788. if thebits = 0 then
  17789. pTDefRegMap(@Self)^.clr := $00000200
  17790. else
  17791. pTDefRegMap(@Self)^.&set := $00000200;
  17792. end;
  17793. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17794. begin
  17795. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17796. end;
  17797. procedure TSPI2_SPI2CON.setMODE16; inline;
  17798. begin
  17799. pTDefRegMap(@Self)^.&set := $00000400;
  17800. end;
  17801. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17802. begin
  17803. pTDefRegMap(@Self)^.clr := $00000400;
  17804. end;
  17805. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17806. begin
  17807. if thebits = 0 then
  17808. pTDefRegMap(@Self)^.clr := $00000400
  17809. else
  17810. pTDefRegMap(@Self)^.&set := $00000400;
  17811. end;
  17812. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17813. begin
  17814. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17815. end;
  17816. procedure TSPI2_SPI2CON.setMODE32; inline;
  17817. begin
  17818. pTDefRegMap(@Self)^.&set := $00000800;
  17819. end;
  17820. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17821. begin
  17822. pTDefRegMap(@Self)^.clr := $00000800;
  17823. end;
  17824. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17825. begin
  17826. if thebits = 0 then
  17827. pTDefRegMap(@Self)^.clr := $00000800
  17828. else
  17829. pTDefRegMap(@Self)^.&set := $00000800;
  17830. end;
  17831. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17832. begin
  17833. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17834. end;
  17835. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17836. begin
  17837. pTDefRegMap(@Self)^.&set := $00001000;
  17838. end;
  17839. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17840. begin
  17841. pTDefRegMap(@Self)^.clr := $00001000;
  17842. end;
  17843. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17844. begin
  17845. if thebits = 0 then
  17846. pTDefRegMap(@Self)^.clr := $00001000
  17847. else
  17848. pTDefRegMap(@Self)^.&set := $00001000;
  17849. end;
  17850. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17851. begin
  17852. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17853. end;
  17854. procedure TSPI2_SPI2CON.setSIDL; inline;
  17855. begin
  17856. pTDefRegMap(@Self)^.&set := $00002000;
  17857. end;
  17858. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17859. begin
  17860. pTDefRegMap(@Self)^.clr := $00002000;
  17861. end;
  17862. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17863. begin
  17864. if thebits = 0 then
  17865. pTDefRegMap(@Self)^.clr := $00002000
  17866. else
  17867. pTDefRegMap(@Self)^.&set := $00002000;
  17868. end;
  17869. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17870. begin
  17871. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17872. end;
  17873. procedure TSPI2_SPI2CON.setON; inline;
  17874. begin
  17875. pTDefRegMap(@Self)^.&set := $00008000;
  17876. end;
  17877. procedure TSPI2_SPI2CON.clearON; inline;
  17878. begin
  17879. pTDefRegMap(@Self)^.clr := $00008000;
  17880. end;
  17881. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17882. begin
  17883. if thebits = 0 then
  17884. pTDefRegMap(@Self)^.clr := $00008000
  17885. else
  17886. pTDefRegMap(@Self)^.&set := $00008000;
  17887. end;
  17888. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17889. begin
  17890. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17891. end;
  17892. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17893. begin
  17894. pTDefRegMap(@Self)^.&set := $00010000;
  17895. end;
  17896. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17897. begin
  17898. pTDefRegMap(@Self)^.clr := $00010000;
  17899. end;
  17900. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17901. begin
  17902. if thebits = 0 then
  17903. pTDefRegMap(@Self)^.clr := $00010000
  17904. else
  17905. pTDefRegMap(@Self)^.&set := $00010000;
  17906. end;
  17907. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17908. begin
  17909. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17910. end;
  17911. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17912. begin
  17913. pTDefRegMap(@Self)^.&set := $00020000;
  17914. end;
  17915. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17916. begin
  17917. pTDefRegMap(@Self)^.clr := $00020000;
  17918. end;
  17919. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17920. begin
  17921. if thebits = 0 then
  17922. pTDefRegMap(@Self)^.clr := $00020000
  17923. else
  17924. pTDefRegMap(@Self)^.&set := $00020000;
  17925. end;
  17926. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17927. begin
  17928. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17929. end;
  17930. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17931. begin
  17932. pTDefRegMap(@Self)^.&set := $00800000;
  17933. end;
  17934. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17935. begin
  17936. pTDefRegMap(@Self)^.clr := $00800000;
  17937. end;
  17938. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17939. begin
  17940. if thebits = 0 then
  17941. pTDefRegMap(@Self)^.clr := $00800000
  17942. else
  17943. pTDefRegMap(@Self)^.&set := $00800000;
  17944. end;
  17945. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17946. begin
  17947. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17948. end;
  17949. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17950. begin
  17951. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17952. end;
  17953. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17954. begin
  17955. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17956. end;
  17957. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17958. begin
  17959. pTDefRegMap(@Self)^.&set := $08000000;
  17960. end;
  17961. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17962. begin
  17963. pTDefRegMap(@Self)^.clr := $08000000;
  17964. end;
  17965. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17966. begin
  17967. if thebits = 0 then
  17968. pTDefRegMap(@Self)^.clr := $08000000
  17969. else
  17970. pTDefRegMap(@Self)^.&set := $08000000;
  17971. end;
  17972. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17973. begin
  17974. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17975. end;
  17976. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17977. begin
  17978. pTDefRegMap(@Self)^.&set := $10000000;
  17979. end;
  17980. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17981. begin
  17982. pTDefRegMap(@Self)^.clr := $10000000;
  17983. end;
  17984. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17985. begin
  17986. if thebits = 0 then
  17987. pTDefRegMap(@Self)^.clr := $10000000
  17988. else
  17989. pTDefRegMap(@Self)^.&set := $10000000;
  17990. end;
  17991. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17992. begin
  17993. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17994. end;
  17995. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17996. begin
  17997. pTDefRegMap(@Self)^.&set := $20000000;
  17998. end;
  17999. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  18000. begin
  18001. pTDefRegMap(@Self)^.clr := $20000000;
  18002. end;
  18003. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  18004. begin
  18005. if thebits = 0 then
  18006. pTDefRegMap(@Self)^.clr := $20000000
  18007. else
  18008. pTDefRegMap(@Self)^.&set := $20000000;
  18009. end;
  18010. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  18011. begin
  18012. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18013. end;
  18014. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  18015. begin
  18016. pTDefRegMap(@Self)^.&set := $40000000;
  18017. end;
  18018. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  18019. begin
  18020. pTDefRegMap(@Self)^.clr := $40000000;
  18021. end;
  18022. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  18023. begin
  18024. if thebits = 0 then
  18025. pTDefRegMap(@Self)^.clr := $40000000
  18026. else
  18027. pTDefRegMap(@Self)^.&set := $40000000;
  18028. end;
  18029. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  18030. begin
  18031. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  18032. end;
  18033. procedure TSPI2_SPI2CON.setFRMEN; inline;
  18034. begin
  18035. pTDefRegMap(@Self)^.&set := $80000000;
  18036. end;
  18037. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  18038. begin
  18039. pTDefRegMap(@Self)^.clr := $80000000;
  18040. end;
  18041. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  18042. begin
  18043. if thebits = 0 then
  18044. pTDefRegMap(@Self)^.clr := $80000000
  18045. else
  18046. pTDefRegMap(@Self)^.&set := $80000000;
  18047. end;
  18048. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  18049. begin
  18050. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18051. end;
  18052. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  18053. begin
  18054. pTDefRegMap(@Self)^.val := thebits;
  18055. end;
  18056. function TSPI2_SPI2CON.getw : TBits_32; inline;
  18057. begin
  18058. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18059. end;
  18060. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.&set := $00000001;
  18063. end;
  18064. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  18065. begin
  18066. pTDefRegMap(@Self)^.clr := $00000001;
  18067. end;
  18068. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  18069. begin
  18070. if thebits = 0 then
  18071. pTDefRegMap(@Self)^.clr := $00000001
  18072. else
  18073. pTDefRegMap(@Self)^.&set := $00000001;
  18074. end;
  18075. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  18076. begin
  18077. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18078. end;
  18079. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  18080. begin
  18081. pTDefRegMap(@Self)^.&set := $00000002;
  18082. end;
  18083. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  18084. begin
  18085. pTDefRegMap(@Self)^.clr := $00000002;
  18086. end;
  18087. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  18088. begin
  18089. if thebits = 0 then
  18090. pTDefRegMap(@Self)^.clr := $00000002
  18091. else
  18092. pTDefRegMap(@Self)^.&set := $00000002;
  18093. end;
  18094. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  18095. begin
  18096. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18097. end;
  18098. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  18099. begin
  18100. pTDefRegMap(@Self)^.&set := $00000008;
  18101. end;
  18102. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  18103. begin
  18104. pTDefRegMap(@Self)^.clr := $00000008;
  18105. end;
  18106. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  18107. begin
  18108. if thebits = 0 then
  18109. pTDefRegMap(@Self)^.clr := $00000008
  18110. else
  18111. pTDefRegMap(@Self)^.&set := $00000008;
  18112. end;
  18113. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  18114. begin
  18115. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18116. end;
  18117. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  18118. begin
  18119. pTDefRegMap(@Self)^.&set := $00000020;
  18120. end;
  18121. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  18122. begin
  18123. pTDefRegMap(@Self)^.clr := $00000020;
  18124. end;
  18125. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  18126. begin
  18127. if thebits = 0 then
  18128. pTDefRegMap(@Self)^.clr := $00000020
  18129. else
  18130. pTDefRegMap(@Self)^.&set := $00000020;
  18131. end;
  18132. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  18133. begin
  18134. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18135. end;
  18136. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  18137. begin
  18138. pTDefRegMap(@Self)^.&set := $00000040;
  18139. end;
  18140. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  18141. begin
  18142. pTDefRegMap(@Self)^.clr := $00000040;
  18143. end;
  18144. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  18145. begin
  18146. if thebits = 0 then
  18147. pTDefRegMap(@Self)^.clr := $00000040
  18148. else
  18149. pTDefRegMap(@Self)^.&set := $00000040;
  18150. end;
  18151. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  18152. begin
  18153. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18154. end;
  18155. procedure TSPI2_SPI2STAT.setSRMT; inline;
  18156. begin
  18157. pTDefRegMap(@Self)^.&set := $00000080;
  18158. end;
  18159. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  18160. begin
  18161. pTDefRegMap(@Self)^.clr := $00000080;
  18162. end;
  18163. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  18164. begin
  18165. if thebits = 0 then
  18166. pTDefRegMap(@Self)^.clr := $00000080
  18167. else
  18168. pTDefRegMap(@Self)^.&set := $00000080;
  18169. end;
  18170. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  18171. begin
  18172. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18173. end;
  18174. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  18175. begin
  18176. pTDefRegMap(@Self)^.&set := $00000100;
  18177. end;
  18178. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  18179. begin
  18180. pTDefRegMap(@Self)^.clr := $00000100;
  18181. end;
  18182. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  18183. begin
  18184. if thebits = 0 then
  18185. pTDefRegMap(@Self)^.clr := $00000100
  18186. else
  18187. pTDefRegMap(@Self)^.&set := $00000100;
  18188. end;
  18189. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  18190. begin
  18191. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18192. end;
  18193. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  18194. begin
  18195. pTDefRegMap(@Self)^.&set := $00000800;
  18196. end;
  18197. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  18198. begin
  18199. pTDefRegMap(@Self)^.clr := $00000800;
  18200. end;
  18201. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  18202. begin
  18203. if thebits = 0 then
  18204. pTDefRegMap(@Self)^.clr := $00000800
  18205. else
  18206. pTDefRegMap(@Self)^.&set := $00000800;
  18207. end;
  18208. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  18209. begin
  18210. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18211. end;
  18212. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.&set := $00001000;
  18215. end;
  18216. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  18217. begin
  18218. pTDefRegMap(@Self)^.clr := $00001000;
  18219. end;
  18220. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  18221. begin
  18222. if thebits = 0 then
  18223. pTDefRegMap(@Self)^.clr := $00001000
  18224. else
  18225. pTDefRegMap(@Self)^.&set := $00001000;
  18226. end;
  18227. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  18228. begin
  18229. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18230. end;
  18231. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  18234. end;
  18235. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  18236. begin
  18237. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  18238. end;
  18239. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  18240. begin
  18241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  18242. end;
  18243. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  18244. begin
  18245. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  18246. end;
  18247. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  18248. begin
  18249. pTDefRegMap(@Self)^.val := thebits;
  18250. end;
  18251. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  18252. begin
  18253. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18254. end;
  18255. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  18256. begin
  18257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18258. end;
  18259. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  18260. begin
  18261. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18262. end;
  18263. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  18264. begin
  18265. pTDefRegMap(@Self)^.&set := $00000008;
  18266. end;
  18267. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  18268. begin
  18269. pTDefRegMap(@Self)^.clr := $00000008;
  18270. end;
  18271. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  18272. begin
  18273. if thebits = 0 then
  18274. pTDefRegMap(@Self)^.clr := $00000008
  18275. else
  18276. pTDefRegMap(@Self)^.&set := $00000008;
  18277. end;
  18278. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  18279. begin
  18280. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18281. end;
  18282. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  18283. begin
  18284. pTDefRegMap(@Self)^.&set := $00000080;
  18285. end;
  18286. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  18287. begin
  18288. pTDefRegMap(@Self)^.clr := $00000080;
  18289. end;
  18290. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  18291. begin
  18292. if thebits = 0 then
  18293. pTDefRegMap(@Self)^.clr := $00000080
  18294. else
  18295. pTDefRegMap(@Self)^.&set := $00000080;
  18296. end;
  18297. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  18298. begin
  18299. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18300. end;
  18301. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  18302. begin
  18303. pTDefRegMap(@Self)^.&set := $00000100;
  18304. end;
  18305. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  18306. begin
  18307. pTDefRegMap(@Self)^.clr := $00000100;
  18308. end;
  18309. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  18310. begin
  18311. if thebits = 0 then
  18312. pTDefRegMap(@Self)^.clr := $00000100
  18313. else
  18314. pTDefRegMap(@Self)^.&set := $00000100;
  18315. end;
  18316. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  18317. begin
  18318. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18319. end;
  18320. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  18321. begin
  18322. pTDefRegMap(@Self)^.&set := $00000200;
  18323. end;
  18324. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  18325. begin
  18326. pTDefRegMap(@Self)^.clr := $00000200;
  18327. end;
  18328. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  18329. begin
  18330. if thebits = 0 then
  18331. pTDefRegMap(@Self)^.clr := $00000200
  18332. else
  18333. pTDefRegMap(@Self)^.&set := $00000200;
  18334. end;
  18335. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  18336. begin
  18337. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18338. end;
  18339. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  18340. begin
  18341. pTDefRegMap(@Self)^.&set := $00000400;
  18342. end;
  18343. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  18344. begin
  18345. pTDefRegMap(@Self)^.clr := $00000400;
  18346. end;
  18347. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  18348. begin
  18349. if thebits = 0 then
  18350. pTDefRegMap(@Self)^.clr := $00000400
  18351. else
  18352. pTDefRegMap(@Self)^.&set := $00000400;
  18353. end;
  18354. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  18355. begin
  18356. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18357. end;
  18358. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  18359. begin
  18360. pTDefRegMap(@Self)^.&set := $00000800;
  18361. end;
  18362. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  18363. begin
  18364. pTDefRegMap(@Self)^.clr := $00000800;
  18365. end;
  18366. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  18367. begin
  18368. if thebits = 0 then
  18369. pTDefRegMap(@Self)^.clr := $00000800
  18370. else
  18371. pTDefRegMap(@Self)^.&set := $00000800;
  18372. end;
  18373. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  18374. begin
  18375. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18376. end;
  18377. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  18378. begin
  18379. pTDefRegMap(@Self)^.&set := $00001000;
  18380. end;
  18381. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  18382. begin
  18383. pTDefRegMap(@Self)^.clr := $00001000;
  18384. end;
  18385. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  18386. begin
  18387. if thebits = 0 then
  18388. pTDefRegMap(@Self)^.clr := $00001000
  18389. else
  18390. pTDefRegMap(@Self)^.&set := $00001000;
  18391. end;
  18392. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  18393. begin
  18394. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18395. end;
  18396. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  18397. begin
  18398. pTDefRegMap(@Self)^.&set := $00008000;
  18399. end;
  18400. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  18401. begin
  18402. pTDefRegMap(@Self)^.clr := $00008000;
  18403. end;
  18404. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  18405. begin
  18406. if thebits = 0 then
  18407. pTDefRegMap(@Self)^.clr := $00008000
  18408. else
  18409. pTDefRegMap(@Self)^.&set := $00008000;
  18410. end;
  18411. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18412. begin
  18413. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18414. end;
  18415. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18416. begin
  18417. pTDefRegMap(@Self)^.&set := $00000001;
  18418. end;
  18419. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18420. begin
  18421. pTDefRegMap(@Self)^.clr := $00000001;
  18422. end;
  18423. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18424. begin
  18425. if thebits = 0 then
  18426. pTDefRegMap(@Self)^.clr := $00000001
  18427. else
  18428. pTDefRegMap(@Self)^.&set := $00000001;
  18429. end;
  18430. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18431. begin
  18432. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18433. end;
  18434. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18435. begin
  18436. pTDefRegMap(@Self)^.&set := $00000002;
  18437. end;
  18438. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18439. begin
  18440. pTDefRegMap(@Self)^.clr := $00000002;
  18441. end;
  18442. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18443. begin
  18444. if thebits = 0 then
  18445. pTDefRegMap(@Self)^.clr := $00000002
  18446. else
  18447. pTDefRegMap(@Self)^.&set := $00000002;
  18448. end;
  18449. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18450. begin
  18451. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18452. end;
  18453. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18454. begin
  18455. pTDefRegMap(@Self)^.val := thebits;
  18456. end;
  18457. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18458. begin
  18459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18460. end;
  18461. procedure TUART1_U1AMODE.setSTSEL; inline;
  18462. begin
  18463. pTDefRegMap(@Self)^.&set := $00000001;
  18464. end;
  18465. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18466. begin
  18467. pTDefRegMap(@Self)^.clr := $00000001;
  18468. end;
  18469. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18470. begin
  18471. if thebits = 0 then
  18472. pTDefRegMap(@Self)^.clr := $00000001
  18473. else
  18474. pTDefRegMap(@Self)^.&set := $00000001;
  18475. end;
  18476. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18477. begin
  18478. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18479. end;
  18480. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18481. begin
  18482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18483. end;
  18484. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18485. begin
  18486. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18487. end;
  18488. procedure TUART1_U1AMODE.setBRGH; inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.&set := $00000008;
  18491. end;
  18492. procedure TUART1_U1AMODE.clearBRGH; inline;
  18493. begin
  18494. pTDefRegMap(@Self)^.clr := $00000008;
  18495. end;
  18496. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18497. begin
  18498. if thebits = 0 then
  18499. pTDefRegMap(@Self)^.clr := $00000008
  18500. else
  18501. pTDefRegMap(@Self)^.&set := $00000008;
  18502. end;
  18503. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18504. begin
  18505. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18506. end;
  18507. procedure TUART1_U1AMODE.setRXINV; inline;
  18508. begin
  18509. pTDefRegMap(@Self)^.&set := $00000010;
  18510. end;
  18511. procedure TUART1_U1AMODE.clearRXINV; inline;
  18512. begin
  18513. pTDefRegMap(@Self)^.clr := $00000010;
  18514. end;
  18515. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18516. begin
  18517. if thebits = 0 then
  18518. pTDefRegMap(@Self)^.clr := $00000010
  18519. else
  18520. pTDefRegMap(@Self)^.&set := $00000010;
  18521. end;
  18522. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18523. begin
  18524. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18525. end;
  18526. procedure TUART1_U1AMODE.setABAUD; inline;
  18527. begin
  18528. pTDefRegMap(@Self)^.&set := $00000020;
  18529. end;
  18530. procedure TUART1_U1AMODE.clearABAUD; inline;
  18531. begin
  18532. pTDefRegMap(@Self)^.clr := $00000020;
  18533. end;
  18534. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18535. begin
  18536. if thebits = 0 then
  18537. pTDefRegMap(@Self)^.clr := $00000020
  18538. else
  18539. pTDefRegMap(@Self)^.&set := $00000020;
  18540. end;
  18541. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18542. begin
  18543. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18544. end;
  18545. procedure TUART1_U1AMODE.setLPBACK; inline;
  18546. begin
  18547. pTDefRegMap(@Self)^.&set := $00000040;
  18548. end;
  18549. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18550. begin
  18551. pTDefRegMap(@Self)^.clr := $00000040;
  18552. end;
  18553. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18554. begin
  18555. if thebits = 0 then
  18556. pTDefRegMap(@Self)^.clr := $00000040
  18557. else
  18558. pTDefRegMap(@Self)^.&set := $00000040;
  18559. end;
  18560. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18561. begin
  18562. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18563. end;
  18564. procedure TUART1_U1AMODE.setWAKE; inline;
  18565. begin
  18566. pTDefRegMap(@Self)^.&set := $00000080;
  18567. end;
  18568. procedure TUART1_U1AMODE.clearWAKE; inline;
  18569. begin
  18570. pTDefRegMap(@Self)^.clr := $00000080;
  18571. end;
  18572. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18573. begin
  18574. if thebits = 0 then
  18575. pTDefRegMap(@Self)^.clr := $00000080
  18576. else
  18577. pTDefRegMap(@Self)^.&set := $00000080;
  18578. end;
  18579. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18580. begin
  18581. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18582. end;
  18583. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18584. begin
  18585. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18586. end;
  18587. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18588. begin
  18589. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18590. end;
  18591. procedure TUART1_U1AMODE.setRTSMD; inline;
  18592. begin
  18593. pTDefRegMap(@Self)^.&set := $00000800;
  18594. end;
  18595. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18596. begin
  18597. pTDefRegMap(@Self)^.clr := $00000800;
  18598. end;
  18599. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18600. begin
  18601. if thebits = 0 then
  18602. pTDefRegMap(@Self)^.clr := $00000800
  18603. else
  18604. pTDefRegMap(@Self)^.&set := $00000800;
  18605. end;
  18606. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18607. begin
  18608. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18609. end;
  18610. procedure TUART1_U1AMODE.setIREN; inline;
  18611. begin
  18612. pTDefRegMap(@Self)^.&set := $00001000;
  18613. end;
  18614. procedure TUART1_U1AMODE.clearIREN; inline;
  18615. begin
  18616. pTDefRegMap(@Self)^.clr := $00001000;
  18617. end;
  18618. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18619. begin
  18620. if thebits = 0 then
  18621. pTDefRegMap(@Self)^.clr := $00001000
  18622. else
  18623. pTDefRegMap(@Self)^.&set := $00001000;
  18624. end;
  18625. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18626. begin
  18627. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18628. end;
  18629. procedure TUART1_U1AMODE.setSIDL; inline;
  18630. begin
  18631. pTDefRegMap(@Self)^.&set := $00002000;
  18632. end;
  18633. procedure TUART1_U1AMODE.clearSIDL; inline;
  18634. begin
  18635. pTDefRegMap(@Self)^.clr := $00002000;
  18636. end;
  18637. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18638. begin
  18639. if thebits = 0 then
  18640. pTDefRegMap(@Self)^.clr := $00002000
  18641. else
  18642. pTDefRegMap(@Self)^.&set := $00002000;
  18643. end;
  18644. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18645. begin
  18646. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18647. end;
  18648. procedure TUART1_U1AMODE.setON; inline;
  18649. begin
  18650. pTDefRegMap(@Self)^.&set := $00008000;
  18651. end;
  18652. procedure TUART1_U1AMODE.clearON; inline;
  18653. begin
  18654. pTDefRegMap(@Self)^.clr := $00008000;
  18655. end;
  18656. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18657. begin
  18658. if thebits = 0 then
  18659. pTDefRegMap(@Self)^.clr := $00008000
  18660. else
  18661. pTDefRegMap(@Self)^.&set := $00008000;
  18662. end;
  18663. function TUART1_U1AMODE.getON : TBits_1; inline;
  18664. begin
  18665. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18666. end;
  18667. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18668. begin
  18669. pTDefRegMap(@Self)^.&set := $00000002;
  18670. end;
  18671. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18672. begin
  18673. pTDefRegMap(@Self)^.clr := $00000002;
  18674. end;
  18675. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18676. begin
  18677. if thebits = 0 then
  18678. pTDefRegMap(@Self)^.clr := $00000002
  18679. else
  18680. pTDefRegMap(@Self)^.&set := $00000002;
  18681. end;
  18682. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18683. begin
  18684. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18685. end;
  18686. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18687. begin
  18688. pTDefRegMap(@Self)^.&set := $00000004;
  18689. end;
  18690. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18691. begin
  18692. pTDefRegMap(@Self)^.clr := $00000004;
  18693. end;
  18694. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18695. begin
  18696. if thebits = 0 then
  18697. pTDefRegMap(@Self)^.clr := $00000004
  18698. else
  18699. pTDefRegMap(@Self)^.&set := $00000004;
  18700. end;
  18701. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18702. begin
  18703. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18704. end;
  18705. procedure TUART1_U1AMODE.setUEN0; inline;
  18706. begin
  18707. pTDefRegMap(@Self)^.&set := $00000100;
  18708. end;
  18709. procedure TUART1_U1AMODE.clearUEN0; inline;
  18710. begin
  18711. pTDefRegMap(@Self)^.clr := $00000100;
  18712. end;
  18713. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18714. begin
  18715. if thebits = 0 then
  18716. pTDefRegMap(@Self)^.clr := $00000100
  18717. else
  18718. pTDefRegMap(@Self)^.&set := $00000100;
  18719. end;
  18720. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18721. begin
  18722. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18723. end;
  18724. procedure TUART1_U1AMODE.setUEN1; inline;
  18725. begin
  18726. pTDefRegMap(@Self)^.&set := $00000200;
  18727. end;
  18728. procedure TUART1_U1AMODE.clearUEN1; inline;
  18729. begin
  18730. pTDefRegMap(@Self)^.clr := $00000200;
  18731. end;
  18732. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18733. begin
  18734. if thebits = 0 then
  18735. pTDefRegMap(@Self)^.clr := $00000200
  18736. else
  18737. pTDefRegMap(@Self)^.&set := $00000200;
  18738. end;
  18739. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18740. begin
  18741. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18742. end;
  18743. procedure TUART1_U1AMODE.setUSIDL; inline;
  18744. begin
  18745. pTDefRegMap(@Self)^.&set := $00002000;
  18746. end;
  18747. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18748. begin
  18749. pTDefRegMap(@Self)^.clr := $00002000;
  18750. end;
  18751. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18752. begin
  18753. if thebits = 0 then
  18754. pTDefRegMap(@Self)^.clr := $00002000
  18755. else
  18756. pTDefRegMap(@Self)^.&set := $00002000;
  18757. end;
  18758. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18759. begin
  18760. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18761. end;
  18762. procedure TUART1_U1AMODE.setUARTEN; inline;
  18763. begin
  18764. pTDefRegMap(@Self)^.&set := $00008000;
  18765. end;
  18766. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18767. begin
  18768. pTDefRegMap(@Self)^.clr := $00008000;
  18769. end;
  18770. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18771. begin
  18772. if thebits = 0 then
  18773. pTDefRegMap(@Self)^.clr := $00008000
  18774. else
  18775. pTDefRegMap(@Self)^.&set := $00008000;
  18776. end;
  18777. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18778. begin
  18779. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18780. end;
  18781. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18782. begin
  18783. pTDefRegMap(@Self)^.val := thebits;
  18784. end;
  18785. function TUART1_U1AMODE.getw : TBits_32; inline;
  18786. begin
  18787. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18788. end;
  18789. procedure TUART1_U1MODE.setSTSEL; inline;
  18790. begin
  18791. pTDefRegMap(@Self)^.&set := $00000001;
  18792. end;
  18793. procedure TUART1_U1MODE.clearSTSEL; inline;
  18794. begin
  18795. pTDefRegMap(@Self)^.clr := $00000001;
  18796. end;
  18797. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18798. begin
  18799. if thebits = 0 then
  18800. pTDefRegMap(@Self)^.clr := $00000001
  18801. else
  18802. pTDefRegMap(@Self)^.&set := $00000001;
  18803. end;
  18804. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18805. begin
  18806. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18807. end;
  18808. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18809. begin
  18810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18811. end;
  18812. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18813. begin
  18814. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18815. end;
  18816. procedure TUART1_U1MODE.setBRGH; inline;
  18817. begin
  18818. pTDefRegMap(@Self)^.&set := $00000008;
  18819. end;
  18820. procedure TUART1_U1MODE.clearBRGH; inline;
  18821. begin
  18822. pTDefRegMap(@Self)^.clr := $00000008;
  18823. end;
  18824. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18825. begin
  18826. if thebits = 0 then
  18827. pTDefRegMap(@Self)^.clr := $00000008
  18828. else
  18829. pTDefRegMap(@Self)^.&set := $00000008;
  18830. end;
  18831. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18832. begin
  18833. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18834. end;
  18835. procedure TUART1_U1MODE.setRXINV; inline;
  18836. begin
  18837. pTDefRegMap(@Self)^.&set := $00000010;
  18838. end;
  18839. procedure TUART1_U1MODE.clearRXINV; inline;
  18840. begin
  18841. pTDefRegMap(@Self)^.clr := $00000010;
  18842. end;
  18843. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18844. begin
  18845. if thebits = 0 then
  18846. pTDefRegMap(@Self)^.clr := $00000010
  18847. else
  18848. pTDefRegMap(@Self)^.&set := $00000010;
  18849. end;
  18850. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18851. begin
  18852. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18853. end;
  18854. procedure TUART1_U1MODE.setABAUD; inline;
  18855. begin
  18856. pTDefRegMap(@Self)^.&set := $00000020;
  18857. end;
  18858. procedure TUART1_U1MODE.clearABAUD; inline;
  18859. begin
  18860. pTDefRegMap(@Self)^.clr := $00000020;
  18861. end;
  18862. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18863. begin
  18864. if thebits = 0 then
  18865. pTDefRegMap(@Self)^.clr := $00000020
  18866. else
  18867. pTDefRegMap(@Self)^.&set := $00000020;
  18868. end;
  18869. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18870. begin
  18871. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18872. end;
  18873. procedure TUART1_U1MODE.setLPBACK; inline;
  18874. begin
  18875. pTDefRegMap(@Self)^.&set := $00000040;
  18876. end;
  18877. procedure TUART1_U1MODE.clearLPBACK; inline;
  18878. begin
  18879. pTDefRegMap(@Self)^.clr := $00000040;
  18880. end;
  18881. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18882. begin
  18883. if thebits = 0 then
  18884. pTDefRegMap(@Self)^.clr := $00000040
  18885. else
  18886. pTDefRegMap(@Self)^.&set := $00000040;
  18887. end;
  18888. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18889. begin
  18890. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18891. end;
  18892. procedure TUART1_U1MODE.setWAKE; inline;
  18893. begin
  18894. pTDefRegMap(@Self)^.&set := $00000080;
  18895. end;
  18896. procedure TUART1_U1MODE.clearWAKE; inline;
  18897. begin
  18898. pTDefRegMap(@Self)^.clr := $00000080;
  18899. end;
  18900. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18901. begin
  18902. if thebits = 0 then
  18903. pTDefRegMap(@Self)^.clr := $00000080
  18904. else
  18905. pTDefRegMap(@Self)^.&set := $00000080;
  18906. end;
  18907. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18908. begin
  18909. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18910. end;
  18911. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18912. begin
  18913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18914. end;
  18915. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18916. begin
  18917. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18918. end;
  18919. procedure TUART1_U1MODE.setRTSMD; inline;
  18920. begin
  18921. pTDefRegMap(@Self)^.&set := $00000800;
  18922. end;
  18923. procedure TUART1_U1MODE.clearRTSMD; inline;
  18924. begin
  18925. pTDefRegMap(@Self)^.clr := $00000800;
  18926. end;
  18927. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18928. begin
  18929. if thebits = 0 then
  18930. pTDefRegMap(@Self)^.clr := $00000800
  18931. else
  18932. pTDefRegMap(@Self)^.&set := $00000800;
  18933. end;
  18934. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18935. begin
  18936. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18937. end;
  18938. procedure TUART1_U1MODE.setIREN; inline;
  18939. begin
  18940. pTDefRegMap(@Self)^.&set := $00001000;
  18941. end;
  18942. procedure TUART1_U1MODE.clearIREN; inline;
  18943. begin
  18944. pTDefRegMap(@Self)^.clr := $00001000;
  18945. end;
  18946. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18947. begin
  18948. if thebits = 0 then
  18949. pTDefRegMap(@Self)^.clr := $00001000
  18950. else
  18951. pTDefRegMap(@Self)^.&set := $00001000;
  18952. end;
  18953. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18954. begin
  18955. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18956. end;
  18957. procedure TUART1_U1MODE.setSIDL; inline;
  18958. begin
  18959. pTDefRegMap(@Self)^.&set := $00002000;
  18960. end;
  18961. procedure TUART1_U1MODE.clearSIDL; inline;
  18962. begin
  18963. pTDefRegMap(@Self)^.clr := $00002000;
  18964. end;
  18965. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18966. begin
  18967. if thebits = 0 then
  18968. pTDefRegMap(@Self)^.clr := $00002000
  18969. else
  18970. pTDefRegMap(@Self)^.&set := $00002000;
  18971. end;
  18972. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18973. begin
  18974. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18975. end;
  18976. procedure TUART1_U1MODE.setON; inline;
  18977. begin
  18978. pTDefRegMap(@Self)^.&set := $00008000;
  18979. end;
  18980. procedure TUART1_U1MODE.clearON; inline;
  18981. begin
  18982. pTDefRegMap(@Self)^.clr := $00008000;
  18983. end;
  18984. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18985. begin
  18986. if thebits = 0 then
  18987. pTDefRegMap(@Self)^.clr := $00008000
  18988. else
  18989. pTDefRegMap(@Self)^.&set := $00008000;
  18990. end;
  18991. function TUART1_U1MODE.getON : TBits_1; inline;
  18992. begin
  18993. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18994. end;
  18995. procedure TUART1_U1MODE.setPDSEL0; inline;
  18996. begin
  18997. pTDefRegMap(@Self)^.&set := $00000002;
  18998. end;
  18999. procedure TUART1_U1MODE.clearPDSEL0; inline;
  19000. begin
  19001. pTDefRegMap(@Self)^.clr := $00000002;
  19002. end;
  19003. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  19004. begin
  19005. if thebits = 0 then
  19006. pTDefRegMap(@Self)^.clr := $00000002
  19007. else
  19008. pTDefRegMap(@Self)^.&set := $00000002;
  19009. end;
  19010. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  19011. begin
  19012. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19013. end;
  19014. procedure TUART1_U1MODE.setPDSEL1; inline;
  19015. begin
  19016. pTDefRegMap(@Self)^.&set := $00000004;
  19017. end;
  19018. procedure TUART1_U1MODE.clearPDSEL1; inline;
  19019. begin
  19020. pTDefRegMap(@Self)^.clr := $00000004;
  19021. end;
  19022. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  19023. begin
  19024. if thebits = 0 then
  19025. pTDefRegMap(@Self)^.clr := $00000004
  19026. else
  19027. pTDefRegMap(@Self)^.&set := $00000004;
  19028. end;
  19029. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  19030. begin
  19031. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19032. end;
  19033. procedure TUART1_U1MODE.setUEN0; inline;
  19034. begin
  19035. pTDefRegMap(@Self)^.&set := $00000100;
  19036. end;
  19037. procedure TUART1_U1MODE.clearUEN0; inline;
  19038. begin
  19039. pTDefRegMap(@Self)^.clr := $00000100;
  19040. end;
  19041. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  19042. begin
  19043. if thebits = 0 then
  19044. pTDefRegMap(@Self)^.clr := $00000100
  19045. else
  19046. pTDefRegMap(@Self)^.&set := $00000100;
  19047. end;
  19048. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  19049. begin
  19050. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19051. end;
  19052. procedure TUART1_U1MODE.setUEN1; inline;
  19053. begin
  19054. pTDefRegMap(@Self)^.&set := $00000200;
  19055. end;
  19056. procedure TUART1_U1MODE.clearUEN1; inline;
  19057. begin
  19058. pTDefRegMap(@Self)^.clr := $00000200;
  19059. end;
  19060. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  19061. begin
  19062. if thebits = 0 then
  19063. pTDefRegMap(@Self)^.clr := $00000200
  19064. else
  19065. pTDefRegMap(@Self)^.&set := $00000200;
  19066. end;
  19067. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  19068. begin
  19069. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19070. end;
  19071. procedure TUART1_U1MODE.setUSIDL; inline;
  19072. begin
  19073. pTDefRegMap(@Self)^.&set := $00002000;
  19074. end;
  19075. procedure TUART1_U1MODE.clearUSIDL; inline;
  19076. begin
  19077. pTDefRegMap(@Self)^.clr := $00002000;
  19078. end;
  19079. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  19080. begin
  19081. if thebits = 0 then
  19082. pTDefRegMap(@Self)^.clr := $00002000
  19083. else
  19084. pTDefRegMap(@Self)^.&set := $00002000;
  19085. end;
  19086. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  19087. begin
  19088. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19089. end;
  19090. procedure TUART1_U1MODE.setUARTEN; inline;
  19091. begin
  19092. pTDefRegMap(@Self)^.&set := $00008000;
  19093. end;
  19094. procedure TUART1_U1MODE.clearUARTEN; inline;
  19095. begin
  19096. pTDefRegMap(@Self)^.clr := $00008000;
  19097. end;
  19098. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  19099. begin
  19100. if thebits = 0 then
  19101. pTDefRegMap(@Self)^.clr := $00008000
  19102. else
  19103. pTDefRegMap(@Self)^.&set := $00008000;
  19104. end;
  19105. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  19106. begin
  19107. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19108. end;
  19109. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  19110. begin
  19111. pTDefRegMap(@Self)^.val := thebits;
  19112. end;
  19113. function TUART1_U1MODE.getw : TBits_32; inline;
  19114. begin
  19115. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19116. end;
  19117. procedure TUART1_U1ASTA.setURXDA; inline;
  19118. begin
  19119. pTDefRegMap(@Self)^.&set := $00000001;
  19120. end;
  19121. procedure TUART1_U1ASTA.clearURXDA; inline;
  19122. begin
  19123. pTDefRegMap(@Self)^.clr := $00000001;
  19124. end;
  19125. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  19126. begin
  19127. if thebits = 0 then
  19128. pTDefRegMap(@Self)^.clr := $00000001
  19129. else
  19130. pTDefRegMap(@Self)^.&set := $00000001;
  19131. end;
  19132. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  19133. begin
  19134. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19135. end;
  19136. procedure TUART1_U1ASTA.setOERR; inline;
  19137. begin
  19138. pTDefRegMap(@Self)^.&set := $00000002;
  19139. end;
  19140. procedure TUART1_U1ASTA.clearOERR; inline;
  19141. begin
  19142. pTDefRegMap(@Self)^.clr := $00000002;
  19143. end;
  19144. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  19145. begin
  19146. if thebits = 0 then
  19147. pTDefRegMap(@Self)^.clr := $00000002
  19148. else
  19149. pTDefRegMap(@Self)^.&set := $00000002;
  19150. end;
  19151. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  19152. begin
  19153. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19154. end;
  19155. procedure TUART1_U1ASTA.setFERR; inline;
  19156. begin
  19157. pTDefRegMap(@Self)^.&set := $00000004;
  19158. end;
  19159. procedure TUART1_U1ASTA.clearFERR; inline;
  19160. begin
  19161. pTDefRegMap(@Self)^.clr := $00000004;
  19162. end;
  19163. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  19164. begin
  19165. if thebits = 0 then
  19166. pTDefRegMap(@Self)^.clr := $00000004
  19167. else
  19168. pTDefRegMap(@Self)^.&set := $00000004;
  19169. end;
  19170. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  19171. begin
  19172. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19173. end;
  19174. procedure TUART1_U1ASTA.setPERR; inline;
  19175. begin
  19176. pTDefRegMap(@Self)^.&set := $00000008;
  19177. end;
  19178. procedure TUART1_U1ASTA.clearPERR; inline;
  19179. begin
  19180. pTDefRegMap(@Self)^.clr := $00000008;
  19181. end;
  19182. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  19183. begin
  19184. if thebits = 0 then
  19185. pTDefRegMap(@Self)^.clr := $00000008
  19186. else
  19187. pTDefRegMap(@Self)^.&set := $00000008;
  19188. end;
  19189. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  19190. begin
  19191. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19192. end;
  19193. procedure TUART1_U1ASTA.setRIDLE; inline;
  19194. begin
  19195. pTDefRegMap(@Self)^.&set := $00000010;
  19196. end;
  19197. procedure TUART1_U1ASTA.clearRIDLE; inline;
  19198. begin
  19199. pTDefRegMap(@Self)^.clr := $00000010;
  19200. end;
  19201. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  19202. begin
  19203. if thebits = 0 then
  19204. pTDefRegMap(@Self)^.clr := $00000010
  19205. else
  19206. pTDefRegMap(@Self)^.&set := $00000010;
  19207. end;
  19208. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  19209. begin
  19210. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19211. end;
  19212. procedure TUART1_U1ASTA.setADDEN; inline;
  19213. begin
  19214. pTDefRegMap(@Self)^.&set := $00000020;
  19215. end;
  19216. procedure TUART1_U1ASTA.clearADDEN; inline;
  19217. begin
  19218. pTDefRegMap(@Self)^.clr := $00000020;
  19219. end;
  19220. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  19221. begin
  19222. if thebits = 0 then
  19223. pTDefRegMap(@Self)^.clr := $00000020
  19224. else
  19225. pTDefRegMap(@Self)^.&set := $00000020;
  19226. end;
  19227. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  19228. begin
  19229. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19230. end;
  19231. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  19232. begin
  19233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19234. end;
  19235. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  19236. begin
  19237. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19238. end;
  19239. procedure TUART1_U1ASTA.setTRMT; inline;
  19240. begin
  19241. pTDefRegMap(@Self)^.&set := $00000100;
  19242. end;
  19243. procedure TUART1_U1ASTA.clearTRMT; inline;
  19244. begin
  19245. pTDefRegMap(@Self)^.clr := $00000100;
  19246. end;
  19247. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  19248. begin
  19249. if thebits = 0 then
  19250. pTDefRegMap(@Self)^.clr := $00000100
  19251. else
  19252. pTDefRegMap(@Self)^.&set := $00000100;
  19253. end;
  19254. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  19255. begin
  19256. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19257. end;
  19258. procedure TUART1_U1ASTA.setUTXBF; inline;
  19259. begin
  19260. pTDefRegMap(@Self)^.&set := $00000200;
  19261. end;
  19262. procedure TUART1_U1ASTA.clearUTXBF; inline;
  19263. begin
  19264. pTDefRegMap(@Self)^.clr := $00000200;
  19265. end;
  19266. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  19267. begin
  19268. if thebits = 0 then
  19269. pTDefRegMap(@Self)^.clr := $00000200
  19270. else
  19271. pTDefRegMap(@Self)^.&set := $00000200;
  19272. end;
  19273. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  19274. begin
  19275. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19276. end;
  19277. procedure TUART1_U1ASTA.setUTXEN; inline;
  19278. begin
  19279. pTDefRegMap(@Self)^.&set := $00000400;
  19280. end;
  19281. procedure TUART1_U1ASTA.clearUTXEN; inline;
  19282. begin
  19283. pTDefRegMap(@Self)^.clr := $00000400;
  19284. end;
  19285. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  19286. begin
  19287. if thebits = 0 then
  19288. pTDefRegMap(@Self)^.clr := $00000400
  19289. else
  19290. pTDefRegMap(@Self)^.&set := $00000400;
  19291. end;
  19292. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  19293. begin
  19294. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19295. end;
  19296. procedure TUART1_U1ASTA.setUTXBRK; inline;
  19297. begin
  19298. pTDefRegMap(@Self)^.&set := $00000800;
  19299. end;
  19300. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  19301. begin
  19302. pTDefRegMap(@Self)^.clr := $00000800;
  19303. end;
  19304. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  19305. begin
  19306. if thebits = 0 then
  19307. pTDefRegMap(@Self)^.clr := $00000800
  19308. else
  19309. pTDefRegMap(@Self)^.&set := $00000800;
  19310. end;
  19311. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  19312. begin
  19313. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19314. end;
  19315. procedure TUART1_U1ASTA.setURXEN; inline;
  19316. begin
  19317. pTDefRegMap(@Self)^.&set := $00001000;
  19318. end;
  19319. procedure TUART1_U1ASTA.clearURXEN; inline;
  19320. begin
  19321. pTDefRegMap(@Self)^.clr := $00001000;
  19322. end;
  19323. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  19324. begin
  19325. if thebits = 0 then
  19326. pTDefRegMap(@Self)^.clr := $00001000
  19327. else
  19328. pTDefRegMap(@Self)^.&set := $00001000;
  19329. end;
  19330. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  19331. begin
  19332. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19333. end;
  19334. procedure TUART1_U1ASTA.setUTXINV; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.&set := $00002000;
  19337. end;
  19338. procedure TUART1_U1ASTA.clearUTXINV; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.clr := $00002000;
  19341. end;
  19342. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  19343. begin
  19344. if thebits = 0 then
  19345. pTDefRegMap(@Self)^.clr := $00002000
  19346. else
  19347. pTDefRegMap(@Self)^.&set := $00002000;
  19348. end;
  19349. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  19350. begin
  19351. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19352. end;
  19353. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19356. end;
  19357. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  19358. begin
  19359. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19360. end;
  19361. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19364. end;
  19365. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  19366. begin
  19367. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19368. end;
  19369. procedure TUART1_U1ASTA.setADM_EN; inline;
  19370. begin
  19371. pTDefRegMap(@Self)^.&set := $01000000;
  19372. end;
  19373. procedure TUART1_U1ASTA.clearADM_EN; inline;
  19374. begin
  19375. pTDefRegMap(@Self)^.clr := $01000000;
  19376. end;
  19377. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  19378. begin
  19379. if thebits = 0 then
  19380. pTDefRegMap(@Self)^.clr := $01000000
  19381. else
  19382. pTDefRegMap(@Self)^.&set := $01000000;
  19383. end;
  19384. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  19385. begin
  19386. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19387. end;
  19388. procedure TUART1_U1ASTA.setURXISEL0; inline;
  19389. begin
  19390. pTDefRegMap(@Self)^.&set := $00000040;
  19391. end;
  19392. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  19393. begin
  19394. pTDefRegMap(@Self)^.clr := $00000040;
  19395. end;
  19396. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  19397. begin
  19398. if thebits = 0 then
  19399. pTDefRegMap(@Self)^.clr := $00000040
  19400. else
  19401. pTDefRegMap(@Self)^.&set := $00000040;
  19402. end;
  19403. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  19404. begin
  19405. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19406. end;
  19407. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19408. begin
  19409. pTDefRegMap(@Self)^.&set := $00000080;
  19410. end;
  19411. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19412. begin
  19413. pTDefRegMap(@Self)^.clr := $00000080;
  19414. end;
  19415. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19416. begin
  19417. if thebits = 0 then
  19418. pTDefRegMap(@Self)^.clr := $00000080
  19419. else
  19420. pTDefRegMap(@Self)^.&set := $00000080;
  19421. end;
  19422. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19423. begin
  19424. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19425. end;
  19426. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19427. begin
  19428. pTDefRegMap(@Self)^.&set := $00004000;
  19429. end;
  19430. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19431. begin
  19432. pTDefRegMap(@Self)^.clr := $00004000;
  19433. end;
  19434. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19435. begin
  19436. if thebits = 0 then
  19437. pTDefRegMap(@Self)^.clr := $00004000
  19438. else
  19439. pTDefRegMap(@Self)^.&set := $00004000;
  19440. end;
  19441. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19442. begin
  19443. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19444. end;
  19445. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19446. begin
  19447. pTDefRegMap(@Self)^.&set := $00008000;
  19448. end;
  19449. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19450. begin
  19451. pTDefRegMap(@Self)^.clr := $00008000;
  19452. end;
  19453. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19454. begin
  19455. if thebits = 0 then
  19456. pTDefRegMap(@Self)^.clr := $00008000
  19457. else
  19458. pTDefRegMap(@Self)^.&set := $00008000;
  19459. end;
  19460. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19461. begin
  19462. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19463. end;
  19464. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19465. begin
  19466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19467. end;
  19468. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19469. begin
  19470. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19471. end;
  19472. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19473. begin
  19474. pTDefRegMap(@Self)^.val := thebits;
  19475. end;
  19476. function TUART1_U1ASTA.getw : TBits_32; inline;
  19477. begin
  19478. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19479. end;
  19480. procedure TUART1_U1STA.setURXDA; inline;
  19481. begin
  19482. pTDefRegMap(@Self)^.&set := $00000001;
  19483. end;
  19484. procedure TUART1_U1STA.clearURXDA; inline;
  19485. begin
  19486. pTDefRegMap(@Self)^.clr := $00000001;
  19487. end;
  19488. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19489. begin
  19490. if thebits = 0 then
  19491. pTDefRegMap(@Self)^.clr := $00000001
  19492. else
  19493. pTDefRegMap(@Self)^.&set := $00000001;
  19494. end;
  19495. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19496. begin
  19497. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19498. end;
  19499. procedure TUART1_U1STA.setOERR; inline;
  19500. begin
  19501. pTDefRegMap(@Self)^.&set := $00000002;
  19502. end;
  19503. procedure TUART1_U1STA.clearOERR; inline;
  19504. begin
  19505. pTDefRegMap(@Self)^.clr := $00000002;
  19506. end;
  19507. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19508. begin
  19509. if thebits = 0 then
  19510. pTDefRegMap(@Self)^.clr := $00000002
  19511. else
  19512. pTDefRegMap(@Self)^.&set := $00000002;
  19513. end;
  19514. function TUART1_U1STA.getOERR : TBits_1; inline;
  19515. begin
  19516. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19517. end;
  19518. procedure TUART1_U1STA.setFERR; inline;
  19519. begin
  19520. pTDefRegMap(@Self)^.&set := $00000004;
  19521. end;
  19522. procedure TUART1_U1STA.clearFERR; inline;
  19523. begin
  19524. pTDefRegMap(@Self)^.clr := $00000004;
  19525. end;
  19526. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19527. begin
  19528. if thebits = 0 then
  19529. pTDefRegMap(@Self)^.clr := $00000004
  19530. else
  19531. pTDefRegMap(@Self)^.&set := $00000004;
  19532. end;
  19533. function TUART1_U1STA.getFERR : TBits_1; inline;
  19534. begin
  19535. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19536. end;
  19537. procedure TUART1_U1STA.setPERR; inline;
  19538. begin
  19539. pTDefRegMap(@Self)^.&set := $00000008;
  19540. end;
  19541. procedure TUART1_U1STA.clearPERR; inline;
  19542. begin
  19543. pTDefRegMap(@Self)^.clr := $00000008;
  19544. end;
  19545. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19546. begin
  19547. if thebits = 0 then
  19548. pTDefRegMap(@Self)^.clr := $00000008
  19549. else
  19550. pTDefRegMap(@Self)^.&set := $00000008;
  19551. end;
  19552. function TUART1_U1STA.getPERR : TBits_1; inline;
  19553. begin
  19554. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19555. end;
  19556. procedure TUART1_U1STA.setRIDLE; inline;
  19557. begin
  19558. pTDefRegMap(@Self)^.&set := $00000010;
  19559. end;
  19560. procedure TUART1_U1STA.clearRIDLE; inline;
  19561. begin
  19562. pTDefRegMap(@Self)^.clr := $00000010;
  19563. end;
  19564. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19565. begin
  19566. if thebits = 0 then
  19567. pTDefRegMap(@Self)^.clr := $00000010
  19568. else
  19569. pTDefRegMap(@Self)^.&set := $00000010;
  19570. end;
  19571. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19572. begin
  19573. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19574. end;
  19575. procedure TUART1_U1STA.setADDEN; inline;
  19576. begin
  19577. pTDefRegMap(@Self)^.&set := $00000020;
  19578. end;
  19579. procedure TUART1_U1STA.clearADDEN; inline;
  19580. begin
  19581. pTDefRegMap(@Self)^.clr := $00000020;
  19582. end;
  19583. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19584. begin
  19585. if thebits = 0 then
  19586. pTDefRegMap(@Self)^.clr := $00000020
  19587. else
  19588. pTDefRegMap(@Self)^.&set := $00000020;
  19589. end;
  19590. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19591. begin
  19592. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19593. end;
  19594. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19595. begin
  19596. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19597. end;
  19598. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19599. begin
  19600. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19601. end;
  19602. procedure TUART1_U1STA.setTRMT; inline;
  19603. begin
  19604. pTDefRegMap(@Self)^.&set := $00000100;
  19605. end;
  19606. procedure TUART1_U1STA.clearTRMT; inline;
  19607. begin
  19608. pTDefRegMap(@Self)^.clr := $00000100;
  19609. end;
  19610. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19611. begin
  19612. if thebits = 0 then
  19613. pTDefRegMap(@Self)^.clr := $00000100
  19614. else
  19615. pTDefRegMap(@Self)^.&set := $00000100;
  19616. end;
  19617. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19618. begin
  19619. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19620. end;
  19621. procedure TUART1_U1STA.setUTXBF; inline;
  19622. begin
  19623. pTDefRegMap(@Self)^.&set := $00000200;
  19624. end;
  19625. procedure TUART1_U1STA.clearUTXBF; inline;
  19626. begin
  19627. pTDefRegMap(@Self)^.clr := $00000200;
  19628. end;
  19629. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19630. begin
  19631. if thebits = 0 then
  19632. pTDefRegMap(@Self)^.clr := $00000200
  19633. else
  19634. pTDefRegMap(@Self)^.&set := $00000200;
  19635. end;
  19636. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19637. begin
  19638. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19639. end;
  19640. procedure TUART1_U1STA.setUTXEN; inline;
  19641. begin
  19642. pTDefRegMap(@Self)^.&set := $00000400;
  19643. end;
  19644. procedure TUART1_U1STA.clearUTXEN; inline;
  19645. begin
  19646. pTDefRegMap(@Self)^.clr := $00000400;
  19647. end;
  19648. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19649. begin
  19650. if thebits = 0 then
  19651. pTDefRegMap(@Self)^.clr := $00000400
  19652. else
  19653. pTDefRegMap(@Self)^.&set := $00000400;
  19654. end;
  19655. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19656. begin
  19657. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19658. end;
  19659. procedure TUART1_U1STA.setUTXBRK; inline;
  19660. begin
  19661. pTDefRegMap(@Self)^.&set := $00000800;
  19662. end;
  19663. procedure TUART1_U1STA.clearUTXBRK; inline;
  19664. begin
  19665. pTDefRegMap(@Self)^.clr := $00000800;
  19666. end;
  19667. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19668. begin
  19669. if thebits = 0 then
  19670. pTDefRegMap(@Self)^.clr := $00000800
  19671. else
  19672. pTDefRegMap(@Self)^.&set := $00000800;
  19673. end;
  19674. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19675. begin
  19676. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19677. end;
  19678. procedure TUART1_U1STA.setURXEN; inline;
  19679. begin
  19680. pTDefRegMap(@Self)^.&set := $00001000;
  19681. end;
  19682. procedure TUART1_U1STA.clearURXEN; inline;
  19683. begin
  19684. pTDefRegMap(@Self)^.clr := $00001000;
  19685. end;
  19686. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19687. begin
  19688. if thebits = 0 then
  19689. pTDefRegMap(@Self)^.clr := $00001000
  19690. else
  19691. pTDefRegMap(@Self)^.&set := $00001000;
  19692. end;
  19693. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19694. begin
  19695. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19696. end;
  19697. procedure TUART1_U1STA.setUTXINV; inline;
  19698. begin
  19699. pTDefRegMap(@Self)^.&set := $00002000;
  19700. end;
  19701. procedure TUART1_U1STA.clearUTXINV; inline;
  19702. begin
  19703. pTDefRegMap(@Self)^.clr := $00002000;
  19704. end;
  19705. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19706. begin
  19707. if thebits = 0 then
  19708. pTDefRegMap(@Self)^.clr := $00002000
  19709. else
  19710. pTDefRegMap(@Self)^.&set := $00002000;
  19711. end;
  19712. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19713. begin
  19714. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19715. end;
  19716. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19717. begin
  19718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19719. end;
  19720. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19721. begin
  19722. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19723. end;
  19724. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19725. begin
  19726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19727. end;
  19728. function TUART1_U1STA.getADDR : TBits_8; inline;
  19729. begin
  19730. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19731. end;
  19732. procedure TUART1_U1STA.setADM_EN; inline;
  19733. begin
  19734. pTDefRegMap(@Self)^.&set := $01000000;
  19735. end;
  19736. procedure TUART1_U1STA.clearADM_EN; inline;
  19737. begin
  19738. pTDefRegMap(@Self)^.clr := $01000000;
  19739. end;
  19740. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19741. begin
  19742. if thebits = 0 then
  19743. pTDefRegMap(@Self)^.clr := $01000000
  19744. else
  19745. pTDefRegMap(@Self)^.&set := $01000000;
  19746. end;
  19747. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19748. begin
  19749. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19750. end;
  19751. procedure TUART1_U1STA.setURXISEL0; inline;
  19752. begin
  19753. pTDefRegMap(@Self)^.&set := $00000040;
  19754. end;
  19755. procedure TUART1_U1STA.clearURXISEL0; inline;
  19756. begin
  19757. pTDefRegMap(@Self)^.clr := $00000040;
  19758. end;
  19759. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19760. begin
  19761. if thebits = 0 then
  19762. pTDefRegMap(@Self)^.clr := $00000040
  19763. else
  19764. pTDefRegMap(@Self)^.&set := $00000040;
  19765. end;
  19766. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19767. begin
  19768. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19769. end;
  19770. procedure TUART1_U1STA.setURXISEL1; inline;
  19771. begin
  19772. pTDefRegMap(@Self)^.&set := $00000080;
  19773. end;
  19774. procedure TUART1_U1STA.clearURXISEL1; inline;
  19775. begin
  19776. pTDefRegMap(@Self)^.clr := $00000080;
  19777. end;
  19778. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19779. begin
  19780. if thebits = 0 then
  19781. pTDefRegMap(@Self)^.clr := $00000080
  19782. else
  19783. pTDefRegMap(@Self)^.&set := $00000080;
  19784. end;
  19785. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19786. begin
  19787. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19788. end;
  19789. procedure TUART1_U1STA.setUTXISEL0; inline;
  19790. begin
  19791. pTDefRegMap(@Self)^.&set := $00004000;
  19792. end;
  19793. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19794. begin
  19795. pTDefRegMap(@Self)^.clr := $00004000;
  19796. end;
  19797. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19798. begin
  19799. if thebits = 0 then
  19800. pTDefRegMap(@Self)^.clr := $00004000
  19801. else
  19802. pTDefRegMap(@Self)^.&set := $00004000;
  19803. end;
  19804. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19805. begin
  19806. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19807. end;
  19808. procedure TUART1_U1STA.setUTXISEL1; inline;
  19809. begin
  19810. pTDefRegMap(@Self)^.&set := $00008000;
  19811. end;
  19812. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19813. begin
  19814. pTDefRegMap(@Self)^.clr := $00008000;
  19815. end;
  19816. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19817. begin
  19818. if thebits = 0 then
  19819. pTDefRegMap(@Self)^.clr := $00008000
  19820. else
  19821. pTDefRegMap(@Self)^.&set := $00008000;
  19822. end;
  19823. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19824. begin
  19825. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19826. end;
  19827. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19828. begin
  19829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19830. end;
  19831. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19832. begin
  19833. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19834. end;
  19835. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19836. begin
  19837. pTDefRegMap(@Self)^.val := thebits;
  19838. end;
  19839. function TUART1_U1STA.getw : TBits_32; inline;
  19840. begin
  19841. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19842. end;
  19843. procedure TUART2_U2MODE.setSTSEL; inline;
  19844. begin
  19845. pTDefRegMap(@Self)^.&set := $00000001;
  19846. end;
  19847. procedure TUART2_U2MODE.clearSTSEL; inline;
  19848. begin
  19849. pTDefRegMap(@Self)^.clr := $00000001;
  19850. end;
  19851. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19852. begin
  19853. if thebits = 0 then
  19854. pTDefRegMap(@Self)^.clr := $00000001
  19855. else
  19856. pTDefRegMap(@Self)^.&set := $00000001;
  19857. end;
  19858. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19859. begin
  19860. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19861. end;
  19862. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19863. begin
  19864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19865. end;
  19866. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19867. begin
  19868. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19869. end;
  19870. procedure TUART2_U2MODE.setBRGH; inline;
  19871. begin
  19872. pTDefRegMap(@Self)^.&set := $00000008;
  19873. end;
  19874. procedure TUART2_U2MODE.clearBRGH; inline;
  19875. begin
  19876. pTDefRegMap(@Self)^.clr := $00000008;
  19877. end;
  19878. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19879. begin
  19880. if thebits = 0 then
  19881. pTDefRegMap(@Self)^.clr := $00000008
  19882. else
  19883. pTDefRegMap(@Self)^.&set := $00000008;
  19884. end;
  19885. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19886. begin
  19887. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19888. end;
  19889. procedure TUART2_U2MODE.setRXINV; inline;
  19890. begin
  19891. pTDefRegMap(@Self)^.&set := $00000010;
  19892. end;
  19893. procedure TUART2_U2MODE.clearRXINV; inline;
  19894. begin
  19895. pTDefRegMap(@Self)^.clr := $00000010;
  19896. end;
  19897. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19898. begin
  19899. if thebits = 0 then
  19900. pTDefRegMap(@Self)^.clr := $00000010
  19901. else
  19902. pTDefRegMap(@Self)^.&set := $00000010;
  19903. end;
  19904. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19905. begin
  19906. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19907. end;
  19908. procedure TUART2_U2MODE.setABAUD; inline;
  19909. begin
  19910. pTDefRegMap(@Self)^.&set := $00000020;
  19911. end;
  19912. procedure TUART2_U2MODE.clearABAUD; inline;
  19913. begin
  19914. pTDefRegMap(@Self)^.clr := $00000020;
  19915. end;
  19916. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19917. begin
  19918. if thebits = 0 then
  19919. pTDefRegMap(@Self)^.clr := $00000020
  19920. else
  19921. pTDefRegMap(@Self)^.&set := $00000020;
  19922. end;
  19923. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19924. begin
  19925. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19926. end;
  19927. procedure TUART2_U2MODE.setLPBACK; inline;
  19928. begin
  19929. pTDefRegMap(@Self)^.&set := $00000040;
  19930. end;
  19931. procedure TUART2_U2MODE.clearLPBACK; inline;
  19932. begin
  19933. pTDefRegMap(@Self)^.clr := $00000040;
  19934. end;
  19935. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19936. begin
  19937. if thebits = 0 then
  19938. pTDefRegMap(@Self)^.clr := $00000040
  19939. else
  19940. pTDefRegMap(@Self)^.&set := $00000040;
  19941. end;
  19942. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19943. begin
  19944. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19945. end;
  19946. procedure TUART2_U2MODE.setWAKE; inline;
  19947. begin
  19948. pTDefRegMap(@Self)^.&set := $00000080;
  19949. end;
  19950. procedure TUART2_U2MODE.clearWAKE; inline;
  19951. begin
  19952. pTDefRegMap(@Self)^.clr := $00000080;
  19953. end;
  19954. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19955. begin
  19956. if thebits = 0 then
  19957. pTDefRegMap(@Self)^.clr := $00000080
  19958. else
  19959. pTDefRegMap(@Self)^.&set := $00000080;
  19960. end;
  19961. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19962. begin
  19963. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19964. end;
  19965. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19966. begin
  19967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19968. end;
  19969. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19970. begin
  19971. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19972. end;
  19973. procedure TUART2_U2MODE.setRTSMD; inline;
  19974. begin
  19975. pTDefRegMap(@Self)^.&set := $00000800;
  19976. end;
  19977. procedure TUART2_U2MODE.clearRTSMD; inline;
  19978. begin
  19979. pTDefRegMap(@Self)^.clr := $00000800;
  19980. end;
  19981. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19982. begin
  19983. if thebits = 0 then
  19984. pTDefRegMap(@Self)^.clr := $00000800
  19985. else
  19986. pTDefRegMap(@Self)^.&set := $00000800;
  19987. end;
  19988. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19989. begin
  19990. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19991. end;
  19992. procedure TUART2_U2MODE.setIREN; inline;
  19993. begin
  19994. pTDefRegMap(@Self)^.&set := $00001000;
  19995. end;
  19996. procedure TUART2_U2MODE.clearIREN; inline;
  19997. begin
  19998. pTDefRegMap(@Self)^.clr := $00001000;
  19999. end;
  20000. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  20001. begin
  20002. if thebits = 0 then
  20003. pTDefRegMap(@Self)^.clr := $00001000
  20004. else
  20005. pTDefRegMap(@Self)^.&set := $00001000;
  20006. end;
  20007. function TUART2_U2MODE.getIREN : TBits_1; inline;
  20008. begin
  20009. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20010. end;
  20011. procedure TUART2_U2MODE.setSIDL; inline;
  20012. begin
  20013. pTDefRegMap(@Self)^.&set := $00002000;
  20014. end;
  20015. procedure TUART2_U2MODE.clearSIDL; inline;
  20016. begin
  20017. pTDefRegMap(@Self)^.clr := $00002000;
  20018. end;
  20019. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  20020. begin
  20021. if thebits = 0 then
  20022. pTDefRegMap(@Self)^.clr := $00002000
  20023. else
  20024. pTDefRegMap(@Self)^.&set := $00002000;
  20025. end;
  20026. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  20027. begin
  20028. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20029. end;
  20030. procedure TUART2_U2MODE.setON; inline;
  20031. begin
  20032. pTDefRegMap(@Self)^.&set := $00008000;
  20033. end;
  20034. procedure TUART2_U2MODE.clearON; inline;
  20035. begin
  20036. pTDefRegMap(@Self)^.clr := $00008000;
  20037. end;
  20038. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  20039. begin
  20040. if thebits = 0 then
  20041. pTDefRegMap(@Self)^.clr := $00008000
  20042. else
  20043. pTDefRegMap(@Self)^.&set := $00008000;
  20044. end;
  20045. function TUART2_U2MODE.getON : TBits_1; inline;
  20046. begin
  20047. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20048. end;
  20049. procedure TUART2_U2MODE.setPDSEL0; inline;
  20050. begin
  20051. pTDefRegMap(@Self)^.&set := $00000002;
  20052. end;
  20053. procedure TUART2_U2MODE.clearPDSEL0; inline;
  20054. begin
  20055. pTDefRegMap(@Self)^.clr := $00000002;
  20056. end;
  20057. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  20058. begin
  20059. if thebits = 0 then
  20060. pTDefRegMap(@Self)^.clr := $00000002
  20061. else
  20062. pTDefRegMap(@Self)^.&set := $00000002;
  20063. end;
  20064. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  20065. begin
  20066. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20067. end;
  20068. procedure TUART2_U2MODE.setPDSEL1; inline;
  20069. begin
  20070. pTDefRegMap(@Self)^.&set := $00000004;
  20071. end;
  20072. procedure TUART2_U2MODE.clearPDSEL1; inline;
  20073. begin
  20074. pTDefRegMap(@Self)^.clr := $00000004;
  20075. end;
  20076. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  20077. begin
  20078. if thebits = 0 then
  20079. pTDefRegMap(@Self)^.clr := $00000004
  20080. else
  20081. pTDefRegMap(@Self)^.&set := $00000004;
  20082. end;
  20083. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  20084. begin
  20085. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20086. end;
  20087. procedure TUART2_U2MODE.setUEN0; inline;
  20088. begin
  20089. pTDefRegMap(@Self)^.&set := $00000100;
  20090. end;
  20091. procedure TUART2_U2MODE.clearUEN0; inline;
  20092. begin
  20093. pTDefRegMap(@Self)^.clr := $00000100;
  20094. end;
  20095. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  20096. begin
  20097. if thebits = 0 then
  20098. pTDefRegMap(@Self)^.clr := $00000100
  20099. else
  20100. pTDefRegMap(@Self)^.&set := $00000100;
  20101. end;
  20102. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  20103. begin
  20104. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20105. end;
  20106. procedure TUART2_U2MODE.setUEN1; inline;
  20107. begin
  20108. pTDefRegMap(@Self)^.&set := $00000200;
  20109. end;
  20110. procedure TUART2_U2MODE.clearUEN1; inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.clr := $00000200;
  20113. end;
  20114. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  20115. begin
  20116. if thebits = 0 then
  20117. pTDefRegMap(@Self)^.clr := $00000200
  20118. else
  20119. pTDefRegMap(@Self)^.&set := $00000200;
  20120. end;
  20121. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  20122. begin
  20123. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20124. end;
  20125. procedure TUART2_U2MODE.setUSIDL; inline;
  20126. begin
  20127. pTDefRegMap(@Self)^.&set := $00002000;
  20128. end;
  20129. procedure TUART2_U2MODE.clearUSIDL; inline;
  20130. begin
  20131. pTDefRegMap(@Self)^.clr := $00002000;
  20132. end;
  20133. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  20134. begin
  20135. if thebits = 0 then
  20136. pTDefRegMap(@Self)^.clr := $00002000
  20137. else
  20138. pTDefRegMap(@Self)^.&set := $00002000;
  20139. end;
  20140. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  20141. begin
  20142. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20143. end;
  20144. procedure TUART2_U2MODE.setUARTEN; inline;
  20145. begin
  20146. pTDefRegMap(@Self)^.&set := $00008000;
  20147. end;
  20148. procedure TUART2_U2MODE.clearUARTEN; inline;
  20149. begin
  20150. pTDefRegMap(@Self)^.clr := $00008000;
  20151. end;
  20152. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  20153. begin
  20154. if thebits = 0 then
  20155. pTDefRegMap(@Self)^.clr := $00008000
  20156. else
  20157. pTDefRegMap(@Self)^.&set := $00008000;
  20158. end;
  20159. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  20160. begin
  20161. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20162. end;
  20163. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  20164. begin
  20165. pTDefRegMap(@Self)^.val := thebits;
  20166. end;
  20167. function TUART2_U2MODE.getw : TBits_32; inline;
  20168. begin
  20169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20170. end;
  20171. procedure TUART2_U3AMODE.setSTSEL; inline;
  20172. begin
  20173. pTDefRegMap(@Self)^.&set := $00000001;
  20174. end;
  20175. procedure TUART2_U3AMODE.clearSTSEL; inline;
  20176. begin
  20177. pTDefRegMap(@Self)^.clr := $00000001;
  20178. end;
  20179. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  20180. begin
  20181. if thebits = 0 then
  20182. pTDefRegMap(@Self)^.clr := $00000001
  20183. else
  20184. pTDefRegMap(@Self)^.&set := $00000001;
  20185. end;
  20186. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  20187. begin
  20188. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20189. end;
  20190. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  20191. begin
  20192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20193. end;
  20194. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  20195. begin
  20196. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20197. end;
  20198. procedure TUART2_U3AMODE.setBRGH; inline;
  20199. begin
  20200. pTDefRegMap(@Self)^.&set := $00000008;
  20201. end;
  20202. procedure TUART2_U3AMODE.clearBRGH; inline;
  20203. begin
  20204. pTDefRegMap(@Self)^.clr := $00000008;
  20205. end;
  20206. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  20207. begin
  20208. if thebits = 0 then
  20209. pTDefRegMap(@Self)^.clr := $00000008
  20210. else
  20211. pTDefRegMap(@Self)^.&set := $00000008;
  20212. end;
  20213. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  20214. begin
  20215. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20216. end;
  20217. procedure TUART2_U3AMODE.setRXINV; inline;
  20218. begin
  20219. pTDefRegMap(@Self)^.&set := $00000010;
  20220. end;
  20221. procedure TUART2_U3AMODE.clearRXINV; inline;
  20222. begin
  20223. pTDefRegMap(@Self)^.clr := $00000010;
  20224. end;
  20225. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  20226. begin
  20227. if thebits = 0 then
  20228. pTDefRegMap(@Self)^.clr := $00000010
  20229. else
  20230. pTDefRegMap(@Self)^.&set := $00000010;
  20231. end;
  20232. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  20233. begin
  20234. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20235. end;
  20236. procedure TUART2_U3AMODE.setABAUD; inline;
  20237. begin
  20238. pTDefRegMap(@Self)^.&set := $00000020;
  20239. end;
  20240. procedure TUART2_U3AMODE.clearABAUD; inline;
  20241. begin
  20242. pTDefRegMap(@Self)^.clr := $00000020;
  20243. end;
  20244. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  20245. begin
  20246. if thebits = 0 then
  20247. pTDefRegMap(@Self)^.clr := $00000020
  20248. else
  20249. pTDefRegMap(@Self)^.&set := $00000020;
  20250. end;
  20251. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  20252. begin
  20253. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20254. end;
  20255. procedure TUART2_U3AMODE.setLPBACK; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.&set := $00000040;
  20258. end;
  20259. procedure TUART2_U3AMODE.clearLPBACK; inline;
  20260. begin
  20261. pTDefRegMap(@Self)^.clr := $00000040;
  20262. end;
  20263. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  20264. begin
  20265. if thebits = 0 then
  20266. pTDefRegMap(@Self)^.clr := $00000040
  20267. else
  20268. pTDefRegMap(@Self)^.&set := $00000040;
  20269. end;
  20270. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  20271. begin
  20272. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20273. end;
  20274. procedure TUART2_U3AMODE.setWAKE; inline;
  20275. begin
  20276. pTDefRegMap(@Self)^.&set := $00000080;
  20277. end;
  20278. procedure TUART2_U3AMODE.clearWAKE; inline;
  20279. begin
  20280. pTDefRegMap(@Self)^.clr := $00000080;
  20281. end;
  20282. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  20283. begin
  20284. if thebits = 0 then
  20285. pTDefRegMap(@Self)^.clr := $00000080
  20286. else
  20287. pTDefRegMap(@Self)^.&set := $00000080;
  20288. end;
  20289. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  20290. begin
  20291. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20292. end;
  20293. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20296. end;
  20297. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  20298. begin
  20299. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20300. end;
  20301. procedure TUART2_U3AMODE.setRTSMD; inline;
  20302. begin
  20303. pTDefRegMap(@Self)^.&set := $00000800;
  20304. end;
  20305. procedure TUART2_U3AMODE.clearRTSMD; inline;
  20306. begin
  20307. pTDefRegMap(@Self)^.clr := $00000800;
  20308. end;
  20309. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  20310. begin
  20311. if thebits = 0 then
  20312. pTDefRegMap(@Self)^.clr := $00000800
  20313. else
  20314. pTDefRegMap(@Self)^.&set := $00000800;
  20315. end;
  20316. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  20317. begin
  20318. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20319. end;
  20320. procedure TUART2_U3AMODE.setIREN; inline;
  20321. begin
  20322. pTDefRegMap(@Self)^.&set := $00001000;
  20323. end;
  20324. procedure TUART2_U3AMODE.clearIREN; inline;
  20325. begin
  20326. pTDefRegMap(@Self)^.clr := $00001000;
  20327. end;
  20328. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  20329. begin
  20330. if thebits = 0 then
  20331. pTDefRegMap(@Self)^.clr := $00001000
  20332. else
  20333. pTDefRegMap(@Self)^.&set := $00001000;
  20334. end;
  20335. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  20336. begin
  20337. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20338. end;
  20339. procedure TUART2_U3AMODE.setSIDL; inline;
  20340. begin
  20341. pTDefRegMap(@Self)^.&set := $00002000;
  20342. end;
  20343. procedure TUART2_U3AMODE.clearSIDL; inline;
  20344. begin
  20345. pTDefRegMap(@Self)^.clr := $00002000;
  20346. end;
  20347. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  20348. begin
  20349. if thebits = 0 then
  20350. pTDefRegMap(@Self)^.clr := $00002000
  20351. else
  20352. pTDefRegMap(@Self)^.&set := $00002000;
  20353. end;
  20354. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  20355. begin
  20356. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20357. end;
  20358. procedure TUART2_U3AMODE.setON; inline;
  20359. begin
  20360. pTDefRegMap(@Self)^.&set := $00008000;
  20361. end;
  20362. procedure TUART2_U3AMODE.clearON; inline;
  20363. begin
  20364. pTDefRegMap(@Self)^.clr := $00008000;
  20365. end;
  20366. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  20367. begin
  20368. if thebits = 0 then
  20369. pTDefRegMap(@Self)^.clr := $00008000
  20370. else
  20371. pTDefRegMap(@Self)^.&set := $00008000;
  20372. end;
  20373. function TUART2_U3AMODE.getON : TBits_1; inline;
  20374. begin
  20375. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20376. end;
  20377. procedure TUART2_U3AMODE.setPDSEL0; inline;
  20378. begin
  20379. pTDefRegMap(@Self)^.&set := $00000002;
  20380. end;
  20381. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  20382. begin
  20383. pTDefRegMap(@Self)^.clr := $00000002;
  20384. end;
  20385. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  20386. begin
  20387. if thebits = 0 then
  20388. pTDefRegMap(@Self)^.clr := $00000002
  20389. else
  20390. pTDefRegMap(@Self)^.&set := $00000002;
  20391. end;
  20392. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  20393. begin
  20394. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20395. end;
  20396. procedure TUART2_U3AMODE.setPDSEL1; inline;
  20397. begin
  20398. pTDefRegMap(@Self)^.&set := $00000004;
  20399. end;
  20400. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  20401. begin
  20402. pTDefRegMap(@Self)^.clr := $00000004;
  20403. end;
  20404. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  20405. begin
  20406. if thebits = 0 then
  20407. pTDefRegMap(@Self)^.clr := $00000004
  20408. else
  20409. pTDefRegMap(@Self)^.&set := $00000004;
  20410. end;
  20411. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20412. begin
  20413. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20414. end;
  20415. procedure TUART2_U3AMODE.setUEN0; inline;
  20416. begin
  20417. pTDefRegMap(@Self)^.&set := $00000100;
  20418. end;
  20419. procedure TUART2_U3AMODE.clearUEN0; inline;
  20420. begin
  20421. pTDefRegMap(@Self)^.clr := $00000100;
  20422. end;
  20423. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20424. begin
  20425. if thebits = 0 then
  20426. pTDefRegMap(@Self)^.clr := $00000100
  20427. else
  20428. pTDefRegMap(@Self)^.&set := $00000100;
  20429. end;
  20430. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20431. begin
  20432. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20433. end;
  20434. procedure TUART2_U3AMODE.setUEN1; inline;
  20435. begin
  20436. pTDefRegMap(@Self)^.&set := $00000200;
  20437. end;
  20438. procedure TUART2_U3AMODE.clearUEN1; inline;
  20439. begin
  20440. pTDefRegMap(@Self)^.clr := $00000200;
  20441. end;
  20442. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20443. begin
  20444. if thebits = 0 then
  20445. pTDefRegMap(@Self)^.clr := $00000200
  20446. else
  20447. pTDefRegMap(@Self)^.&set := $00000200;
  20448. end;
  20449. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20450. begin
  20451. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20452. end;
  20453. procedure TUART2_U3AMODE.setUSIDL; inline;
  20454. begin
  20455. pTDefRegMap(@Self)^.&set := $00002000;
  20456. end;
  20457. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20458. begin
  20459. pTDefRegMap(@Self)^.clr := $00002000;
  20460. end;
  20461. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20462. begin
  20463. if thebits = 0 then
  20464. pTDefRegMap(@Self)^.clr := $00002000
  20465. else
  20466. pTDefRegMap(@Self)^.&set := $00002000;
  20467. end;
  20468. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20469. begin
  20470. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20471. end;
  20472. procedure TUART2_U3AMODE.setUARTEN; inline;
  20473. begin
  20474. pTDefRegMap(@Self)^.&set := $00008000;
  20475. end;
  20476. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20477. begin
  20478. pTDefRegMap(@Self)^.clr := $00008000;
  20479. end;
  20480. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20481. begin
  20482. if thebits = 0 then
  20483. pTDefRegMap(@Self)^.clr := $00008000
  20484. else
  20485. pTDefRegMap(@Self)^.&set := $00008000;
  20486. end;
  20487. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20488. begin
  20489. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20490. end;
  20491. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20492. begin
  20493. pTDefRegMap(@Self)^.val := thebits;
  20494. end;
  20495. function TUART2_U3AMODE.getw : TBits_32; inline;
  20496. begin
  20497. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20498. end;
  20499. procedure TUART2_U2STA.setURXDA; inline;
  20500. begin
  20501. pTDefRegMap(@Self)^.&set := $00000001;
  20502. end;
  20503. procedure TUART2_U2STA.clearURXDA; inline;
  20504. begin
  20505. pTDefRegMap(@Self)^.clr := $00000001;
  20506. end;
  20507. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20508. begin
  20509. if thebits = 0 then
  20510. pTDefRegMap(@Self)^.clr := $00000001
  20511. else
  20512. pTDefRegMap(@Self)^.&set := $00000001;
  20513. end;
  20514. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20515. begin
  20516. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20517. end;
  20518. procedure TUART2_U2STA.setOERR; inline;
  20519. begin
  20520. pTDefRegMap(@Self)^.&set := $00000002;
  20521. end;
  20522. procedure TUART2_U2STA.clearOERR; inline;
  20523. begin
  20524. pTDefRegMap(@Self)^.clr := $00000002;
  20525. end;
  20526. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20527. begin
  20528. if thebits = 0 then
  20529. pTDefRegMap(@Self)^.clr := $00000002
  20530. else
  20531. pTDefRegMap(@Self)^.&set := $00000002;
  20532. end;
  20533. function TUART2_U2STA.getOERR : TBits_1; inline;
  20534. begin
  20535. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20536. end;
  20537. procedure TUART2_U2STA.setFERR; inline;
  20538. begin
  20539. pTDefRegMap(@Self)^.&set := $00000004;
  20540. end;
  20541. procedure TUART2_U2STA.clearFERR; inline;
  20542. begin
  20543. pTDefRegMap(@Self)^.clr := $00000004;
  20544. end;
  20545. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20546. begin
  20547. if thebits = 0 then
  20548. pTDefRegMap(@Self)^.clr := $00000004
  20549. else
  20550. pTDefRegMap(@Self)^.&set := $00000004;
  20551. end;
  20552. function TUART2_U2STA.getFERR : TBits_1; inline;
  20553. begin
  20554. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20555. end;
  20556. procedure TUART2_U2STA.setPERR; inline;
  20557. begin
  20558. pTDefRegMap(@Self)^.&set := $00000008;
  20559. end;
  20560. procedure TUART2_U2STA.clearPERR; inline;
  20561. begin
  20562. pTDefRegMap(@Self)^.clr := $00000008;
  20563. end;
  20564. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20565. begin
  20566. if thebits = 0 then
  20567. pTDefRegMap(@Self)^.clr := $00000008
  20568. else
  20569. pTDefRegMap(@Self)^.&set := $00000008;
  20570. end;
  20571. function TUART2_U2STA.getPERR : TBits_1; inline;
  20572. begin
  20573. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20574. end;
  20575. procedure TUART2_U2STA.setRIDLE; inline;
  20576. begin
  20577. pTDefRegMap(@Self)^.&set := $00000010;
  20578. end;
  20579. procedure TUART2_U2STA.clearRIDLE; inline;
  20580. begin
  20581. pTDefRegMap(@Self)^.clr := $00000010;
  20582. end;
  20583. procedure TUART2_U2STA.setRIDLE(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 TUART2_U2STA.getRIDLE : TBits_1; inline;
  20591. begin
  20592. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20593. end;
  20594. procedure TUART2_U2STA.setADDEN; inline;
  20595. begin
  20596. pTDefRegMap(@Self)^.&set := $00000020;
  20597. end;
  20598. procedure TUART2_U2STA.clearADDEN; inline;
  20599. begin
  20600. pTDefRegMap(@Self)^.clr := $00000020;
  20601. end;
  20602. procedure TUART2_U2STA.setADDEN(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 TUART2_U2STA.getADDEN : TBits_1; inline;
  20610. begin
  20611. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20612. end;
  20613. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20614. begin
  20615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20616. end;
  20617. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20618. begin
  20619. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20620. end;
  20621. procedure TUART2_U2STA.setTRMT; inline;
  20622. begin
  20623. pTDefRegMap(@Self)^.&set := $00000100;
  20624. end;
  20625. procedure TUART2_U2STA.clearTRMT; inline;
  20626. begin
  20627. pTDefRegMap(@Self)^.clr := $00000100;
  20628. end;
  20629. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20630. begin
  20631. if thebits = 0 then
  20632. pTDefRegMap(@Self)^.clr := $00000100
  20633. else
  20634. pTDefRegMap(@Self)^.&set := $00000100;
  20635. end;
  20636. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20637. begin
  20638. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20639. end;
  20640. procedure TUART2_U2STA.setUTXBF; inline;
  20641. begin
  20642. pTDefRegMap(@Self)^.&set := $00000200;
  20643. end;
  20644. procedure TUART2_U2STA.clearUTXBF; inline;
  20645. begin
  20646. pTDefRegMap(@Self)^.clr := $00000200;
  20647. end;
  20648. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20649. begin
  20650. if thebits = 0 then
  20651. pTDefRegMap(@Self)^.clr := $00000200
  20652. else
  20653. pTDefRegMap(@Self)^.&set := $00000200;
  20654. end;
  20655. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20656. begin
  20657. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20658. end;
  20659. procedure TUART2_U2STA.setUTXEN; inline;
  20660. begin
  20661. pTDefRegMap(@Self)^.&set := $00000400;
  20662. end;
  20663. procedure TUART2_U2STA.clearUTXEN; inline;
  20664. begin
  20665. pTDefRegMap(@Self)^.clr := $00000400;
  20666. end;
  20667. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20668. begin
  20669. if thebits = 0 then
  20670. pTDefRegMap(@Self)^.clr := $00000400
  20671. else
  20672. pTDefRegMap(@Self)^.&set := $00000400;
  20673. end;
  20674. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20675. begin
  20676. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20677. end;
  20678. procedure TUART2_U2STA.setUTXBRK; inline;
  20679. begin
  20680. pTDefRegMap(@Self)^.&set := $00000800;
  20681. end;
  20682. procedure TUART2_U2STA.clearUTXBRK; inline;
  20683. begin
  20684. pTDefRegMap(@Self)^.clr := $00000800;
  20685. end;
  20686. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20687. begin
  20688. if thebits = 0 then
  20689. pTDefRegMap(@Self)^.clr := $00000800
  20690. else
  20691. pTDefRegMap(@Self)^.&set := $00000800;
  20692. end;
  20693. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20694. begin
  20695. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20696. end;
  20697. procedure TUART2_U2STA.setURXEN; inline;
  20698. begin
  20699. pTDefRegMap(@Self)^.&set := $00001000;
  20700. end;
  20701. procedure TUART2_U2STA.clearURXEN; inline;
  20702. begin
  20703. pTDefRegMap(@Self)^.clr := $00001000;
  20704. end;
  20705. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20706. begin
  20707. if thebits = 0 then
  20708. pTDefRegMap(@Self)^.clr := $00001000
  20709. else
  20710. pTDefRegMap(@Self)^.&set := $00001000;
  20711. end;
  20712. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20713. begin
  20714. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20715. end;
  20716. procedure TUART2_U2STA.setUTXINV; inline;
  20717. begin
  20718. pTDefRegMap(@Self)^.&set := $00002000;
  20719. end;
  20720. procedure TUART2_U2STA.clearUTXINV; inline;
  20721. begin
  20722. pTDefRegMap(@Self)^.clr := $00002000;
  20723. end;
  20724. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20725. begin
  20726. if thebits = 0 then
  20727. pTDefRegMap(@Self)^.clr := $00002000
  20728. else
  20729. pTDefRegMap(@Self)^.&set := $00002000;
  20730. end;
  20731. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20732. begin
  20733. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20734. end;
  20735. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20738. end;
  20739. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20740. begin
  20741. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20742. end;
  20743. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20744. begin
  20745. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20746. end;
  20747. function TUART2_U2STA.getADDR : TBits_8; inline;
  20748. begin
  20749. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20750. end;
  20751. procedure TUART2_U2STA.setADM_EN; inline;
  20752. begin
  20753. pTDefRegMap(@Self)^.&set := $01000000;
  20754. end;
  20755. procedure TUART2_U2STA.clearADM_EN; inline;
  20756. begin
  20757. pTDefRegMap(@Self)^.clr := $01000000;
  20758. end;
  20759. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20760. begin
  20761. if thebits = 0 then
  20762. pTDefRegMap(@Self)^.clr := $01000000
  20763. else
  20764. pTDefRegMap(@Self)^.&set := $01000000;
  20765. end;
  20766. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20767. begin
  20768. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20769. end;
  20770. procedure TUART2_U2STA.setURXISEL0; inline;
  20771. begin
  20772. pTDefRegMap(@Self)^.&set := $00000040;
  20773. end;
  20774. procedure TUART2_U2STA.clearURXISEL0; inline;
  20775. begin
  20776. pTDefRegMap(@Self)^.clr := $00000040;
  20777. end;
  20778. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20779. begin
  20780. if thebits = 0 then
  20781. pTDefRegMap(@Self)^.clr := $00000040
  20782. else
  20783. pTDefRegMap(@Self)^.&set := $00000040;
  20784. end;
  20785. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20786. begin
  20787. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20788. end;
  20789. procedure TUART2_U2STA.setURXISEL1; inline;
  20790. begin
  20791. pTDefRegMap(@Self)^.&set := $00000080;
  20792. end;
  20793. procedure TUART2_U2STA.clearURXISEL1; inline;
  20794. begin
  20795. pTDefRegMap(@Self)^.clr := $00000080;
  20796. end;
  20797. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20798. begin
  20799. if thebits = 0 then
  20800. pTDefRegMap(@Self)^.clr := $00000080
  20801. else
  20802. pTDefRegMap(@Self)^.&set := $00000080;
  20803. end;
  20804. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20805. begin
  20806. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20807. end;
  20808. procedure TUART2_U2STA.setUTXISEL0; inline;
  20809. begin
  20810. pTDefRegMap(@Self)^.&set := $00004000;
  20811. end;
  20812. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20813. begin
  20814. pTDefRegMap(@Self)^.clr := $00004000;
  20815. end;
  20816. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20817. begin
  20818. if thebits = 0 then
  20819. pTDefRegMap(@Self)^.clr := $00004000
  20820. else
  20821. pTDefRegMap(@Self)^.&set := $00004000;
  20822. end;
  20823. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20824. begin
  20825. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20826. end;
  20827. procedure TUART2_U2STA.setUTXISEL1; inline;
  20828. begin
  20829. pTDefRegMap(@Self)^.&set := $00008000;
  20830. end;
  20831. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20832. begin
  20833. pTDefRegMap(@Self)^.clr := $00008000;
  20834. end;
  20835. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20836. begin
  20837. if thebits = 0 then
  20838. pTDefRegMap(@Self)^.clr := $00008000
  20839. else
  20840. pTDefRegMap(@Self)^.&set := $00008000;
  20841. end;
  20842. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20843. begin
  20844. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20845. end;
  20846. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20847. begin
  20848. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20849. end;
  20850. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20851. begin
  20852. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20853. end;
  20854. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20855. begin
  20856. pTDefRegMap(@Self)^.val := thebits;
  20857. end;
  20858. function TUART2_U2STA.getw : TBits_32; inline;
  20859. begin
  20860. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20861. end;
  20862. procedure TUART2_U3ASTA.setURXDA; inline;
  20863. begin
  20864. pTDefRegMap(@Self)^.&set := $00000001;
  20865. end;
  20866. procedure TUART2_U3ASTA.clearURXDA; inline;
  20867. begin
  20868. pTDefRegMap(@Self)^.clr := $00000001;
  20869. end;
  20870. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20871. begin
  20872. if thebits = 0 then
  20873. pTDefRegMap(@Self)^.clr := $00000001
  20874. else
  20875. pTDefRegMap(@Self)^.&set := $00000001;
  20876. end;
  20877. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20878. begin
  20879. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20880. end;
  20881. procedure TUART2_U3ASTA.setOERR; inline;
  20882. begin
  20883. pTDefRegMap(@Self)^.&set := $00000002;
  20884. end;
  20885. procedure TUART2_U3ASTA.clearOERR; inline;
  20886. begin
  20887. pTDefRegMap(@Self)^.clr := $00000002;
  20888. end;
  20889. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20890. begin
  20891. if thebits = 0 then
  20892. pTDefRegMap(@Self)^.clr := $00000002
  20893. else
  20894. pTDefRegMap(@Self)^.&set := $00000002;
  20895. end;
  20896. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20897. begin
  20898. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20899. end;
  20900. procedure TUART2_U3ASTA.setFERR; inline;
  20901. begin
  20902. pTDefRegMap(@Self)^.&set := $00000004;
  20903. end;
  20904. procedure TUART2_U3ASTA.clearFERR; inline;
  20905. begin
  20906. pTDefRegMap(@Self)^.clr := $00000004;
  20907. end;
  20908. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20909. begin
  20910. if thebits = 0 then
  20911. pTDefRegMap(@Self)^.clr := $00000004
  20912. else
  20913. pTDefRegMap(@Self)^.&set := $00000004;
  20914. end;
  20915. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20916. begin
  20917. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20918. end;
  20919. procedure TUART2_U3ASTA.setPERR; inline;
  20920. begin
  20921. pTDefRegMap(@Self)^.&set := $00000008;
  20922. end;
  20923. procedure TUART2_U3ASTA.clearPERR; inline;
  20924. begin
  20925. pTDefRegMap(@Self)^.clr := $00000008;
  20926. end;
  20927. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20928. begin
  20929. if thebits = 0 then
  20930. pTDefRegMap(@Self)^.clr := $00000008
  20931. else
  20932. pTDefRegMap(@Self)^.&set := $00000008;
  20933. end;
  20934. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20935. begin
  20936. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20937. end;
  20938. procedure TUART2_U3ASTA.setRIDLE; inline;
  20939. begin
  20940. pTDefRegMap(@Self)^.&set := $00000010;
  20941. end;
  20942. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20943. begin
  20944. pTDefRegMap(@Self)^.clr := $00000010;
  20945. end;
  20946. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20947. begin
  20948. if thebits = 0 then
  20949. pTDefRegMap(@Self)^.clr := $00000010
  20950. else
  20951. pTDefRegMap(@Self)^.&set := $00000010;
  20952. end;
  20953. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20954. begin
  20955. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20956. end;
  20957. procedure TUART2_U3ASTA.setADDEN; inline;
  20958. begin
  20959. pTDefRegMap(@Self)^.&set := $00000020;
  20960. end;
  20961. procedure TUART2_U3ASTA.clearADDEN; inline;
  20962. begin
  20963. pTDefRegMap(@Self)^.clr := $00000020;
  20964. end;
  20965. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20966. begin
  20967. if thebits = 0 then
  20968. pTDefRegMap(@Self)^.clr := $00000020
  20969. else
  20970. pTDefRegMap(@Self)^.&set := $00000020;
  20971. end;
  20972. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20973. begin
  20974. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20975. end;
  20976. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20977. begin
  20978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20979. end;
  20980. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20981. begin
  20982. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20983. end;
  20984. procedure TUART2_U3ASTA.setTRMT; inline;
  20985. begin
  20986. pTDefRegMap(@Self)^.&set := $00000100;
  20987. end;
  20988. procedure TUART2_U3ASTA.clearTRMT; inline;
  20989. begin
  20990. pTDefRegMap(@Self)^.clr := $00000100;
  20991. end;
  20992. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20993. begin
  20994. if thebits = 0 then
  20995. pTDefRegMap(@Self)^.clr := $00000100
  20996. else
  20997. pTDefRegMap(@Self)^.&set := $00000100;
  20998. end;
  20999. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  21000. begin
  21001. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21002. end;
  21003. procedure TUART2_U3ASTA.setUTXBF; inline;
  21004. begin
  21005. pTDefRegMap(@Self)^.&set := $00000200;
  21006. end;
  21007. procedure TUART2_U3ASTA.clearUTXBF; inline;
  21008. begin
  21009. pTDefRegMap(@Self)^.clr := $00000200;
  21010. end;
  21011. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  21012. begin
  21013. if thebits = 0 then
  21014. pTDefRegMap(@Self)^.clr := $00000200
  21015. else
  21016. pTDefRegMap(@Self)^.&set := $00000200;
  21017. end;
  21018. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  21019. begin
  21020. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21021. end;
  21022. procedure TUART2_U3ASTA.setUTXEN; inline;
  21023. begin
  21024. pTDefRegMap(@Self)^.&set := $00000400;
  21025. end;
  21026. procedure TUART2_U3ASTA.clearUTXEN; inline;
  21027. begin
  21028. pTDefRegMap(@Self)^.clr := $00000400;
  21029. end;
  21030. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  21031. begin
  21032. if thebits = 0 then
  21033. pTDefRegMap(@Self)^.clr := $00000400
  21034. else
  21035. pTDefRegMap(@Self)^.&set := $00000400;
  21036. end;
  21037. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  21038. begin
  21039. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21040. end;
  21041. procedure TUART2_U3ASTA.setUTXBRK; inline;
  21042. begin
  21043. pTDefRegMap(@Self)^.&set := $00000800;
  21044. end;
  21045. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  21046. begin
  21047. pTDefRegMap(@Self)^.clr := $00000800;
  21048. end;
  21049. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  21050. begin
  21051. if thebits = 0 then
  21052. pTDefRegMap(@Self)^.clr := $00000800
  21053. else
  21054. pTDefRegMap(@Self)^.&set := $00000800;
  21055. end;
  21056. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  21057. begin
  21058. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21059. end;
  21060. procedure TUART2_U3ASTA.setURXEN; inline;
  21061. begin
  21062. pTDefRegMap(@Self)^.&set := $00001000;
  21063. end;
  21064. procedure TUART2_U3ASTA.clearURXEN; inline;
  21065. begin
  21066. pTDefRegMap(@Self)^.clr := $00001000;
  21067. end;
  21068. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  21069. begin
  21070. if thebits = 0 then
  21071. pTDefRegMap(@Self)^.clr := $00001000
  21072. else
  21073. pTDefRegMap(@Self)^.&set := $00001000;
  21074. end;
  21075. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  21076. begin
  21077. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21078. end;
  21079. procedure TUART2_U3ASTA.setUTXINV; inline;
  21080. begin
  21081. pTDefRegMap(@Self)^.&set := $00002000;
  21082. end;
  21083. procedure TUART2_U3ASTA.clearUTXINV; inline;
  21084. begin
  21085. pTDefRegMap(@Self)^.clr := $00002000;
  21086. end;
  21087. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  21088. begin
  21089. if thebits = 0 then
  21090. pTDefRegMap(@Self)^.clr := $00002000
  21091. else
  21092. pTDefRegMap(@Self)^.&set := $00002000;
  21093. end;
  21094. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  21095. begin
  21096. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21097. end;
  21098. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  21099. begin
  21100. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21101. end;
  21102. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  21103. begin
  21104. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21105. end;
  21106. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  21107. begin
  21108. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21109. end;
  21110. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  21111. begin
  21112. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21113. end;
  21114. procedure TUART2_U3ASTA.setADM_EN; inline;
  21115. begin
  21116. pTDefRegMap(@Self)^.&set := $01000000;
  21117. end;
  21118. procedure TUART2_U3ASTA.clearADM_EN; inline;
  21119. begin
  21120. pTDefRegMap(@Self)^.clr := $01000000;
  21121. end;
  21122. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  21123. begin
  21124. if thebits = 0 then
  21125. pTDefRegMap(@Self)^.clr := $01000000
  21126. else
  21127. pTDefRegMap(@Self)^.&set := $01000000;
  21128. end;
  21129. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  21130. begin
  21131. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21132. end;
  21133. procedure TUART2_U3ASTA.setURXISEL0; inline;
  21134. begin
  21135. pTDefRegMap(@Self)^.&set := $00000040;
  21136. end;
  21137. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  21138. begin
  21139. pTDefRegMap(@Self)^.clr := $00000040;
  21140. end;
  21141. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  21142. begin
  21143. if thebits = 0 then
  21144. pTDefRegMap(@Self)^.clr := $00000040
  21145. else
  21146. pTDefRegMap(@Self)^.&set := $00000040;
  21147. end;
  21148. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  21149. begin
  21150. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21151. end;
  21152. procedure TUART2_U3ASTA.setURXISEL1; inline;
  21153. begin
  21154. pTDefRegMap(@Self)^.&set := $00000080;
  21155. end;
  21156. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  21157. begin
  21158. pTDefRegMap(@Self)^.clr := $00000080;
  21159. end;
  21160. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  21161. begin
  21162. if thebits = 0 then
  21163. pTDefRegMap(@Self)^.clr := $00000080
  21164. else
  21165. pTDefRegMap(@Self)^.&set := $00000080;
  21166. end;
  21167. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  21168. begin
  21169. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21170. end;
  21171. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  21172. begin
  21173. pTDefRegMap(@Self)^.&set := $00004000;
  21174. end;
  21175. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  21176. begin
  21177. pTDefRegMap(@Self)^.clr := $00004000;
  21178. end;
  21179. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  21180. begin
  21181. if thebits = 0 then
  21182. pTDefRegMap(@Self)^.clr := $00004000
  21183. else
  21184. pTDefRegMap(@Self)^.&set := $00004000;
  21185. end;
  21186. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  21187. begin
  21188. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21189. end;
  21190. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  21191. begin
  21192. pTDefRegMap(@Self)^.&set := $00008000;
  21193. end;
  21194. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  21195. begin
  21196. pTDefRegMap(@Self)^.clr := $00008000;
  21197. end;
  21198. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  21199. begin
  21200. if thebits = 0 then
  21201. pTDefRegMap(@Self)^.clr := $00008000
  21202. else
  21203. pTDefRegMap(@Self)^.&set := $00008000;
  21204. end;
  21205. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  21206. begin
  21207. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21208. end;
  21209. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21212. end;
  21213. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  21214. begin
  21215. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21216. end;
  21217. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  21218. begin
  21219. pTDefRegMap(@Self)^.val := thebits;
  21220. end;
  21221. function TUART2_U3ASTA.getw : TBits_32; inline;
  21222. begin
  21223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21224. end;
  21225. procedure TPMP_PMCON.setRDSP; inline;
  21226. begin
  21227. pTDefRegMap(@Self)^.&set := $00000001;
  21228. end;
  21229. procedure TPMP_PMCON.clearRDSP; inline;
  21230. begin
  21231. pTDefRegMap(@Self)^.clr := $00000001;
  21232. end;
  21233. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  21234. begin
  21235. if thebits = 0 then
  21236. pTDefRegMap(@Self)^.clr := $00000001
  21237. else
  21238. pTDefRegMap(@Self)^.&set := $00000001;
  21239. end;
  21240. function TPMP_PMCON.getRDSP : TBits_1; inline;
  21241. begin
  21242. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21243. end;
  21244. procedure TPMP_PMCON.setWRSP; inline;
  21245. begin
  21246. pTDefRegMap(@Self)^.&set := $00000002;
  21247. end;
  21248. procedure TPMP_PMCON.clearWRSP; inline;
  21249. begin
  21250. pTDefRegMap(@Self)^.clr := $00000002;
  21251. end;
  21252. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  21253. begin
  21254. if thebits = 0 then
  21255. pTDefRegMap(@Self)^.clr := $00000002
  21256. else
  21257. pTDefRegMap(@Self)^.&set := $00000002;
  21258. end;
  21259. function TPMP_PMCON.getWRSP : TBits_1; inline;
  21260. begin
  21261. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21262. end;
  21263. procedure TPMP_PMCON.setCS1P; inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.&set := $00000008;
  21266. end;
  21267. procedure TPMP_PMCON.clearCS1P; inline;
  21268. begin
  21269. pTDefRegMap(@Self)^.clr := $00000008;
  21270. end;
  21271. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  21272. begin
  21273. if thebits = 0 then
  21274. pTDefRegMap(@Self)^.clr := $00000008
  21275. else
  21276. pTDefRegMap(@Self)^.&set := $00000008;
  21277. end;
  21278. function TPMP_PMCON.getCS1P : TBits_1; inline;
  21279. begin
  21280. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21281. end;
  21282. procedure TPMP_PMCON.setALP; inline;
  21283. begin
  21284. pTDefRegMap(@Self)^.&set := $00000020;
  21285. end;
  21286. procedure TPMP_PMCON.clearALP; inline;
  21287. begin
  21288. pTDefRegMap(@Self)^.clr := $00000020;
  21289. end;
  21290. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  21291. begin
  21292. if thebits = 0 then
  21293. pTDefRegMap(@Self)^.clr := $00000020
  21294. else
  21295. pTDefRegMap(@Self)^.&set := $00000020;
  21296. end;
  21297. function TPMP_PMCON.getALP : TBits_1; inline;
  21298. begin
  21299. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21300. end;
  21301. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21304. end;
  21305. function TPMP_PMCON.getCSF : TBits_2; inline;
  21306. begin
  21307. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21308. end;
  21309. procedure TPMP_PMCON.setPTRDEN; inline;
  21310. begin
  21311. pTDefRegMap(@Self)^.&set := $00000100;
  21312. end;
  21313. procedure TPMP_PMCON.clearPTRDEN; inline;
  21314. begin
  21315. pTDefRegMap(@Self)^.clr := $00000100;
  21316. end;
  21317. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  21318. begin
  21319. if thebits = 0 then
  21320. pTDefRegMap(@Self)^.clr := $00000100
  21321. else
  21322. pTDefRegMap(@Self)^.&set := $00000100;
  21323. end;
  21324. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  21325. begin
  21326. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21327. end;
  21328. procedure TPMP_PMCON.setPTWREN; inline;
  21329. begin
  21330. pTDefRegMap(@Self)^.&set := $00000200;
  21331. end;
  21332. procedure TPMP_PMCON.clearPTWREN; inline;
  21333. begin
  21334. pTDefRegMap(@Self)^.clr := $00000200;
  21335. end;
  21336. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  21337. begin
  21338. if thebits = 0 then
  21339. pTDefRegMap(@Self)^.clr := $00000200
  21340. else
  21341. pTDefRegMap(@Self)^.&set := $00000200;
  21342. end;
  21343. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  21344. begin
  21345. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21346. end;
  21347. procedure TPMP_PMCON.setPMPTTL; inline;
  21348. begin
  21349. pTDefRegMap(@Self)^.&set := $00000400;
  21350. end;
  21351. procedure TPMP_PMCON.clearPMPTTL; inline;
  21352. begin
  21353. pTDefRegMap(@Self)^.clr := $00000400;
  21354. end;
  21355. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  21356. begin
  21357. if thebits = 0 then
  21358. pTDefRegMap(@Self)^.clr := $00000400
  21359. else
  21360. pTDefRegMap(@Self)^.&set := $00000400;
  21361. end;
  21362. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  21363. begin
  21364. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21365. end;
  21366. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  21367. begin
  21368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21369. end;
  21370. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  21371. begin
  21372. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21373. end;
  21374. procedure TPMP_PMCON.setSIDL; inline;
  21375. begin
  21376. pTDefRegMap(@Self)^.&set := $00002000;
  21377. end;
  21378. procedure TPMP_PMCON.clearSIDL; inline;
  21379. begin
  21380. pTDefRegMap(@Self)^.clr := $00002000;
  21381. end;
  21382. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  21383. begin
  21384. if thebits = 0 then
  21385. pTDefRegMap(@Self)^.clr := $00002000
  21386. else
  21387. pTDefRegMap(@Self)^.&set := $00002000;
  21388. end;
  21389. function TPMP_PMCON.getSIDL : TBits_1; inline;
  21390. begin
  21391. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21392. end;
  21393. procedure TPMP_PMCON.setON; inline;
  21394. begin
  21395. pTDefRegMap(@Self)^.&set := $00008000;
  21396. end;
  21397. procedure TPMP_PMCON.clearON; inline;
  21398. begin
  21399. pTDefRegMap(@Self)^.clr := $00008000;
  21400. end;
  21401. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  21402. begin
  21403. if thebits = 0 then
  21404. pTDefRegMap(@Self)^.clr := $00008000
  21405. else
  21406. pTDefRegMap(@Self)^.&set := $00008000;
  21407. end;
  21408. function TPMP_PMCON.getON : TBits_1; inline;
  21409. begin
  21410. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21411. end;
  21412. procedure TPMP_PMCON.setCSF0; inline;
  21413. begin
  21414. pTDefRegMap(@Self)^.&set := $00000040;
  21415. end;
  21416. procedure TPMP_PMCON.clearCSF0; inline;
  21417. begin
  21418. pTDefRegMap(@Self)^.clr := $00000040;
  21419. end;
  21420. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21421. begin
  21422. if thebits = 0 then
  21423. pTDefRegMap(@Self)^.clr := $00000040
  21424. else
  21425. pTDefRegMap(@Self)^.&set := $00000040;
  21426. end;
  21427. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21428. begin
  21429. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21430. end;
  21431. procedure TPMP_PMCON.setCSF1; inline;
  21432. begin
  21433. pTDefRegMap(@Self)^.&set := $00000080;
  21434. end;
  21435. procedure TPMP_PMCON.clearCSF1; inline;
  21436. begin
  21437. pTDefRegMap(@Self)^.clr := $00000080;
  21438. end;
  21439. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21440. begin
  21441. if thebits = 0 then
  21442. pTDefRegMap(@Self)^.clr := $00000080
  21443. else
  21444. pTDefRegMap(@Self)^.&set := $00000080;
  21445. end;
  21446. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21447. begin
  21448. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21449. end;
  21450. procedure TPMP_PMCON.setADRMUX0; inline;
  21451. begin
  21452. pTDefRegMap(@Self)^.&set := $00000800;
  21453. end;
  21454. procedure TPMP_PMCON.clearADRMUX0; inline;
  21455. begin
  21456. pTDefRegMap(@Self)^.clr := $00000800;
  21457. end;
  21458. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21459. begin
  21460. if thebits = 0 then
  21461. pTDefRegMap(@Self)^.clr := $00000800
  21462. else
  21463. pTDefRegMap(@Self)^.&set := $00000800;
  21464. end;
  21465. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21466. begin
  21467. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21468. end;
  21469. procedure TPMP_PMCON.setADRMUX1; inline;
  21470. begin
  21471. pTDefRegMap(@Self)^.&set := $00001000;
  21472. end;
  21473. procedure TPMP_PMCON.clearADRMUX1; inline;
  21474. begin
  21475. pTDefRegMap(@Self)^.clr := $00001000;
  21476. end;
  21477. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21478. begin
  21479. if thebits = 0 then
  21480. pTDefRegMap(@Self)^.clr := $00001000
  21481. else
  21482. pTDefRegMap(@Self)^.&set := $00001000;
  21483. end;
  21484. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21485. begin
  21486. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21487. end;
  21488. procedure TPMP_PMCON.setPSIDL; inline;
  21489. begin
  21490. pTDefRegMap(@Self)^.&set := $00002000;
  21491. end;
  21492. procedure TPMP_PMCON.clearPSIDL; inline;
  21493. begin
  21494. pTDefRegMap(@Self)^.clr := $00002000;
  21495. end;
  21496. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21497. begin
  21498. if thebits = 0 then
  21499. pTDefRegMap(@Self)^.clr := $00002000
  21500. else
  21501. pTDefRegMap(@Self)^.&set := $00002000;
  21502. end;
  21503. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21504. begin
  21505. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21506. end;
  21507. procedure TPMP_PMCON.setPMPEN; inline;
  21508. begin
  21509. pTDefRegMap(@Self)^.&set := $00008000;
  21510. end;
  21511. procedure TPMP_PMCON.clearPMPEN; inline;
  21512. begin
  21513. pTDefRegMap(@Self)^.clr := $00008000;
  21514. end;
  21515. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21516. begin
  21517. if thebits = 0 then
  21518. pTDefRegMap(@Self)^.clr := $00008000
  21519. else
  21520. pTDefRegMap(@Self)^.&set := $00008000;
  21521. end;
  21522. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21523. begin
  21524. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21525. end;
  21526. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21527. begin
  21528. pTDefRegMap(@Self)^.val := thebits;
  21529. end;
  21530. function TPMP_PMCON.getw : TBits_32; inline;
  21531. begin
  21532. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21533. end;
  21534. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21535. begin
  21536. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21537. end;
  21538. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21539. begin
  21540. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21541. end;
  21542. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21543. begin
  21544. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21545. end;
  21546. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21547. begin
  21548. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21549. end;
  21550. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21551. begin
  21552. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21553. end;
  21554. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21555. begin
  21556. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21557. end;
  21558. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21561. end;
  21562. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21563. begin
  21564. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21565. end;
  21566. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21567. begin
  21568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21569. end;
  21570. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21571. begin
  21572. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21573. end;
  21574. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21575. begin
  21576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21577. end;
  21578. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21579. begin
  21580. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21581. end;
  21582. procedure TPMP_PMMODE.setBUSY; inline;
  21583. begin
  21584. pTDefRegMap(@Self)^.&set := $00008000;
  21585. end;
  21586. procedure TPMP_PMMODE.clearBUSY; inline;
  21587. begin
  21588. pTDefRegMap(@Self)^.clr := $00008000;
  21589. end;
  21590. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21591. begin
  21592. if thebits = 0 then
  21593. pTDefRegMap(@Self)^.clr := $00008000
  21594. else
  21595. pTDefRegMap(@Self)^.&set := $00008000;
  21596. end;
  21597. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21598. begin
  21599. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21600. end;
  21601. procedure TPMP_PMMODE.setWAITE0; inline;
  21602. begin
  21603. pTDefRegMap(@Self)^.&set := $00000001;
  21604. end;
  21605. procedure TPMP_PMMODE.clearWAITE0; inline;
  21606. begin
  21607. pTDefRegMap(@Self)^.clr := $00000001;
  21608. end;
  21609. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21610. begin
  21611. if thebits = 0 then
  21612. pTDefRegMap(@Self)^.clr := $00000001
  21613. else
  21614. pTDefRegMap(@Self)^.&set := $00000001;
  21615. end;
  21616. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21617. begin
  21618. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21619. end;
  21620. procedure TPMP_PMMODE.setWAITE1; inline;
  21621. begin
  21622. pTDefRegMap(@Self)^.&set := $00000002;
  21623. end;
  21624. procedure TPMP_PMMODE.clearWAITE1; inline;
  21625. begin
  21626. pTDefRegMap(@Self)^.clr := $00000002;
  21627. end;
  21628. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21629. begin
  21630. if thebits = 0 then
  21631. pTDefRegMap(@Self)^.clr := $00000002
  21632. else
  21633. pTDefRegMap(@Self)^.&set := $00000002;
  21634. end;
  21635. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21636. begin
  21637. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21638. end;
  21639. procedure TPMP_PMMODE.setWAITM0; inline;
  21640. begin
  21641. pTDefRegMap(@Self)^.&set := $00000004;
  21642. end;
  21643. procedure TPMP_PMMODE.clearWAITM0; inline;
  21644. begin
  21645. pTDefRegMap(@Self)^.clr := $00000004;
  21646. end;
  21647. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21648. begin
  21649. if thebits = 0 then
  21650. pTDefRegMap(@Self)^.clr := $00000004
  21651. else
  21652. pTDefRegMap(@Self)^.&set := $00000004;
  21653. end;
  21654. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21655. begin
  21656. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21657. end;
  21658. procedure TPMP_PMMODE.setWAITM1; inline;
  21659. begin
  21660. pTDefRegMap(@Self)^.&set := $00000008;
  21661. end;
  21662. procedure TPMP_PMMODE.clearWAITM1; inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.clr := $00000008;
  21665. end;
  21666. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21667. begin
  21668. if thebits = 0 then
  21669. pTDefRegMap(@Self)^.clr := $00000008
  21670. else
  21671. pTDefRegMap(@Self)^.&set := $00000008;
  21672. end;
  21673. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21674. begin
  21675. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21676. end;
  21677. procedure TPMP_PMMODE.setWAITM2; inline;
  21678. begin
  21679. pTDefRegMap(@Self)^.&set := $00000010;
  21680. end;
  21681. procedure TPMP_PMMODE.clearWAITM2; inline;
  21682. begin
  21683. pTDefRegMap(@Self)^.clr := $00000010;
  21684. end;
  21685. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21686. begin
  21687. if thebits = 0 then
  21688. pTDefRegMap(@Self)^.clr := $00000010
  21689. else
  21690. pTDefRegMap(@Self)^.&set := $00000010;
  21691. end;
  21692. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21693. begin
  21694. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21695. end;
  21696. procedure TPMP_PMMODE.setWAITM3; inline;
  21697. begin
  21698. pTDefRegMap(@Self)^.&set := $00000020;
  21699. end;
  21700. procedure TPMP_PMMODE.clearWAITM3; inline;
  21701. begin
  21702. pTDefRegMap(@Self)^.clr := $00000020;
  21703. end;
  21704. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21705. begin
  21706. if thebits = 0 then
  21707. pTDefRegMap(@Self)^.clr := $00000020
  21708. else
  21709. pTDefRegMap(@Self)^.&set := $00000020;
  21710. end;
  21711. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21712. begin
  21713. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21714. end;
  21715. procedure TPMP_PMMODE.setWAITB0; inline;
  21716. begin
  21717. pTDefRegMap(@Self)^.&set := $00000040;
  21718. end;
  21719. procedure TPMP_PMMODE.clearWAITB0; inline;
  21720. begin
  21721. pTDefRegMap(@Self)^.clr := $00000040;
  21722. end;
  21723. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21724. begin
  21725. if thebits = 0 then
  21726. pTDefRegMap(@Self)^.clr := $00000040
  21727. else
  21728. pTDefRegMap(@Self)^.&set := $00000040;
  21729. end;
  21730. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21731. begin
  21732. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21733. end;
  21734. procedure TPMP_PMMODE.setWAITB1; inline;
  21735. begin
  21736. pTDefRegMap(@Self)^.&set := $00000080;
  21737. end;
  21738. procedure TPMP_PMMODE.clearWAITB1; inline;
  21739. begin
  21740. pTDefRegMap(@Self)^.clr := $00000080;
  21741. end;
  21742. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21743. begin
  21744. if thebits = 0 then
  21745. pTDefRegMap(@Self)^.clr := $00000080
  21746. else
  21747. pTDefRegMap(@Self)^.&set := $00000080;
  21748. end;
  21749. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21750. begin
  21751. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21752. end;
  21753. procedure TPMP_PMMODE.setMODE0; inline;
  21754. begin
  21755. pTDefRegMap(@Self)^.&set := $00000100;
  21756. end;
  21757. procedure TPMP_PMMODE.clearMODE0; inline;
  21758. begin
  21759. pTDefRegMap(@Self)^.clr := $00000100;
  21760. end;
  21761. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21762. begin
  21763. if thebits = 0 then
  21764. pTDefRegMap(@Self)^.clr := $00000100
  21765. else
  21766. pTDefRegMap(@Self)^.&set := $00000100;
  21767. end;
  21768. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21769. begin
  21770. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21771. end;
  21772. procedure TPMP_PMMODE.setMODE1; inline;
  21773. begin
  21774. pTDefRegMap(@Self)^.&set := $00000200;
  21775. end;
  21776. procedure TPMP_PMMODE.clearMODE1; inline;
  21777. begin
  21778. pTDefRegMap(@Self)^.clr := $00000200;
  21779. end;
  21780. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21781. begin
  21782. if thebits = 0 then
  21783. pTDefRegMap(@Self)^.clr := $00000200
  21784. else
  21785. pTDefRegMap(@Self)^.&set := $00000200;
  21786. end;
  21787. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21788. begin
  21789. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21790. end;
  21791. procedure TPMP_PMMODE.setINCM0; inline;
  21792. begin
  21793. pTDefRegMap(@Self)^.&set := $00000800;
  21794. end;
  21795. procedure TPMP_PMMODE.clearINCM0; inline;
  21796. begin
  21797. pTDefRegMap(@Self)^.clr := $00000800;
  21798. end;
  21799. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21800. begin
  21801. if thebits = 0 then
  21802. pTDefRegMap(@Self)^.clr := $00000800
  21803. else
  21804. pTDefRegMap(@Self)^.&set := $00000800;
  21805. end;
  21806. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21807. begin
  21808. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21809. end;
  21810. procedure TPMP_PMMODE.setINCM1; inline;
  21811. begin
  21812. pTDefRegMap(@Self)^.&set := $00001000;
  21813. end;
  21814. procedure TPMP_PMMODE.clearINCM1; inline;
  21815. begin
  21816. pTDefRegMap(@Self)^.clr := $00001000;
  21817. end;
  21818. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21819. begin
  21820. if thebits = 0 then
  21821. pTDefRegMap(@Self)^.clr := $00001000
  21822. else
  21823. pTDefRegMap(@Self)^.&set := $00001000;
  21824. end;
  21825. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21826. begin
  21827. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21828. end;
  21829. procedure TPMP_PMMODE.setIRQM0; inline;
  21830. begin
  21831. pTDefRegMap(@Self)^.&set := $00002000;
  21832. end;
  21833. procedure TPMP_PMMODE.clearIRQM0; inline;
  21834. begin
  21835. pTDefRegMap(@Self)^.clr := $00002000;
  21836. end;
  21837. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21838. begin
  21839. if thebits = 0 then
  21840. pTDefRegMap(@Self)^.clr := $00002000
  21841. else
  21842. pTDefRegMap(@Self)^.&set := $00002000;
  21843. end;
  21844. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21845. begin
  21846. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21847. end;
  21848. procedure TPMP_PMMODE.setIRQM1; inline;
  21849. begin
  21850. pTDefRegMap(@Self)^.&set := $00004000;
  21851. end;
  21852. procedure TPMP_PMMODE.clearIRQM1; inline;
  21853. begin
  21854. pTDefRegMap(@Self)^.clr := $00004000;
  21855. end;
  21856. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21857. begin
  21858. if thebits = 0 then
  21859. pTDefRegMap(@Self)^.clr := $00004000
  21860. else
  21861. pTDefRegMap(@Self)^.&set := $00004000;
  21862. end;
  21863. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21864. begin
  21865. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21866. end;
  21867. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21868. begin
  21869. pTDefRegMap(@Self)^.val := thebits;
  21870. end;
  21871. function TPMP_PMMODE.getw : TBits_32; inline;
  21872. begin
  21873. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21874. end;
  21875. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21878. end;
  21879. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21880. begin
  21881. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21882. end;
  21883. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21884. begin
  21885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21886. end;
  21887. function TPMP_PMADDR.getCS : TBits_2; inline;
  21888. begin
  21889. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21890. end;
  21891. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21892. begin
  21893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21894. end;
  21895. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21896. begin
  21897. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21898. end;
  21899. procedure TPMP_PMADDR.setCS1; inline;
  21900. begin
  21901. pTDefRegMap(@Self)^.&set := $00004000;
  21902. end;
  21903. procedure TPMP_PMADDR.clearCS1; inline;
  21904. begin
  21905. pTDefRegMap(@Self)^.clr := $00004000;
  21906. end;
  21907. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21908. begin
  21909. if thebits = 0 then
  21910. pTDefRegMap(@Self)^.clr := $00004000
  21911. else
  21912. pTDefRegMap(@Self)^.&set := $00004000;
  21913. end;
  21914. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21915. begin
  21916. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21917. end;
  21918. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21919. begin
  21920. pTDefRegMap(@Self)^.val := thebits;
  21921. end;
  21922. function TPMP_PMADDR.getw : TBits_32; inline;
  21923. begin
  21924. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21925. end;
  21926. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21927. begin
  21928. pTDefRegMap(@Self)^.val := thebits;
  21929. end;
  21930. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21931. begin
  21932. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21933. end;
  21934. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21935. begin
  21936. pTDefRegMap(@Self)^.val := thebits;
  21937. end;
  21938. function TPMP_PMDOUT.getw : TBits_32; inline;
  21939. begin
  21940. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21941. end;
  21942. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21943. begin
  21944. pTDefRegMap(@Self)^.val := thebits;
  21945. end;
  21946. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21947. begin
  21948. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21949. end;
  21950. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21951. begin
  21952. pTDefRegMap(@Self)^.val := thebits;
  21953. end;
  21954. function TPMP_PMDIN.getw : TBits_32; inline;
  21955. begin
  21956. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21957. end;
  21958. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21959. begin
  21960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21961. end;
  21962. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21963. begin
  21964. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21965. end;
  21966. procedure TPMP_PMAEN.setPTEN0; inline;
  21967. begin
  21968. pTDefRegMap(@Self)^.&set := $00000001;
  21969. end;
  21970. procedure TPMP_PMAEN.clearPTEN0; inline;
  21971. begin
  21972. pTDefRegMap(@Self)^.clr := $00000001;
  21973. end;
  21974. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21975. begin
  21976. if thebits = 0 then
  21977. pTDefRegMap(@Self)^.clr := $00000001
  21978. else
  21979. pTDefRegMap(@Self)^.&set := $00000001;
  21980. end;
  21981. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21982. begin
  21983. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21984. end;
  21985. procedure TPMP_PMAEN.setPTEN1; inline;
  21986. begin
  21987. pTDefRegMap(@Self)^.&set := $00000002;
  21988. end;
  21989. procedure TPMP_PMAEN.clearPTEN1; inline;
  21990. begin
  21991. pTDefRegMap(@Self)^.clr := $00000002;
  21992. end;
  21993. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21994. begin
  21995. if thebits = 0 then
  21996. pTDefRegMap(@Self)^.clr := $00000002
  21997. else
  21998. pTDefRegMap(@Self)^.&set := $00000002;
  21999. end;
  22000. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  22001. begin
  22002. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22003. end;
  22004. procedure TPMP_PMAEN.setPTEN2; inline;
  22005. begin
  22006. pTDefRegMap(@Self)^.&set := $00000004;
  22007. end;
  22008. procedure TPMP_PMAEN.clearPTEN2; inline;
  22009. begin
  22010. pTDefRegMap(@Self)^.clr := $00000004;
  22011. end;
  22012. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  22013. begin
  22014. if thebits = 0 then
  22015. pTDefRegMap(@Self)^.clr := $00000004
  22016. else
  22017. pTDefRegMap(@Self)^.&set := $00000004;
  22018. end;
  22019. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  22020. begin
  22021. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22022. end;
  22023. procedure TPMP_PMAEN.setPTEN3; inline;
  22024. begin
  22025. pTDefRegMap(@Self)^.&set := $00000008;
  22026. end;
  22027. procedure TPMP_PMAEN.clearPTEN3; inline;
  22028. begin
  22029. pTDefRegMap(@Self)^.clr := $00000008;
  22030. end;
  22031. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  22032. begin
  22033. if thebits = 0 then
  22034. pTDefRegMap(@Self)^.clr := $00000008
  22035. else
  22036. pTDefRegMap(@Self)^.&set := $00000008;
  22037. end;
  22038. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  22039. begin
  22040. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22041. end;
  22042. procedure TPMP_PMAEN.setPTEN4; inline;
  22043. begin
  22044. pTDefRegMap(@Self)^.&set := $00000010;
  22045. end;
  22046. procedure TPMP_PMAEN.clearPTEN4; inline;
  22047. begin
  22048. pTDefRegMap(@Self)^.clr := $00000010;
  22049. end;
  22050. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  22051. begin
  22052. if thebits = 0 then
  22053. pTDefRegMap(@Self)^.clr := $00000010
  22054. else
  22055. pTDefRegMap(@Self)^.&set := $00000010;
  22056. end;
  22057. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  22058. begin
  22059. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22060. end;
  22061. procedure TPMP_PMAEN.setPTEN5; inline;
  22062. begin
  22063. pTDefRegMap(@Self)^.&set := $00000020;
  22064. end;
  22065. procedure TPMP_PMAEN.clearPTEN5; inline;
  22066. begin
  22067. pTDefRegMap(@Self)^.clr := $00000020;
  22068. end;
  22069. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  22070. begin
  22071. if thebits = 0 then
  22072. pTDefRegMap(@Self)^.clr := $00000020
  22073. else
  22074. pTDefRegMap(@Self)^.&set := $00000020;
  22075. end;
  22076. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  22077. begin
  22078. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22079. end;
  22080. procedure TPMP_PMAEN.setPTEN6; inline;
  22081. begin
  22082. pTDefRegMap(@Self)^.&set := $00000040;
  22083. end;
  22084. procedure TPMP_PMAEN.clearPTEN6; inline;
  22085. begin
  22086. pTDefRegMap(@Self)^.clr := $00000040;
  22087. end;
  22088. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  22089. begin
  22090. if thebits = 0 then
  22091. pTDefRegMap(@Self)^.clr := $00000040
  22092. else
  22093. pTDefRegMap(@Self)^.&set := $00000040;
  22094. end;
  22095. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  22096. begin
  22097. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22098. end;
  22099. procedure TPMP_PMAEN.setPTEN7; inline;
  22100. begin
  22101. pTDefRegMap(@Self)^.&set := $00000080;
  22102. end;
  22103. procedure TPMP_PMAEN.clearPTEN7; inline;
  22104. begin
  22105. pTDefRegMap(@Self)^.clr := $00000080;
  22106. end;
  22107. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  22108. begin
  22109. if thebits = 0 then
  22110. pTDefRegMap(@Self)^.clr := $00000080
  22111. else
  22112. pTDefRegMap(@Self)^.&set := $00000080;
  22113. end;
  22114. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  22115. begin
  22116. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22117. end;
  22118. procedure TPMP_PMAEN.setPTEN8; inline;
  22119. begin
  22120. pTDefRegMap(@Self)^.&set := $00000100;
  22121. end;
  22122. procedure TPMP_PMAEN.clearPTEN8; inline;
  22123. begin
  22124. pTDefRegMap(@Self)^.clr := $00000100;
  22125. end;
  22126. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  22127. begin
  22128. if thebits = 0 then
  22129. pTDefRegMap(@Self)^.clr := $00000100
  22130. else
  22131. pTDefRegMap(@Self)^.&set := $00000100;
  22132. end;
  22133. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  22134. begin
  22135. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22136. end;
  22137. procedure TPMP_PMAEN.setPTEN9; inline;
  22138. begin
  22139. pTDefRegMap(@Self)^.&set := $00000200;
  22140. end;
  22141. procedure TPMP_PMAEN.clearPTEN9; inline;
  22142. begin
  22143. pTDefRegMap(@Self)^.clr := $00000200;
  22144. end;
  22145. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  22146. begin
  22147. if thebits = 0 then
  22148. pTDefRegMap(@Self)^.clr := $00000200
  22149. else
  22150. pTDefRegMap(@Self)^.&set := $00000200;
  22151. end;
  22152. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  22153. begin
  22154. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22155. end;
  22156. procedure TPMP_PMAEN.setPTEN10; inline;
  22157. begin
  22158. pTDefRegMap(@Self)^.&set := $00000400;
  22159. end;
  22160. procedure TPMP_PMAEN.clearPTEN10; inline;
  22161. begin
  22162. pTDefRegMap(@Self)^.clr := $00000400;
  22163. end;
  22164. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  22165. begin
  22166. if thebits = 0 then
  22167. pTDefRegMap(@Self)^.clr := $00000400
  22168. else
  22169. pTDefRegMap(@Self)^.&set := $00000400;
  22170. end;
  22171. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  22172. begin
  22173. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22174. end;
  22175. procedure TPMP_PMAEN.setPTEN11; inline;
  22176. begin
  22177. pTDefRegMap(@Self)^.&set := $00000800;
  22178. end;
  22179. procedure TPMP_PMAEN.clearPTEN11; inline;
  22180. begin
  22181. pTDefRegMap(@Self)^.clr := $00000800;
  22182. end;
  22183. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  22184. begin
  22185. if thebits = 0 then
  22186. pTDefRegMap(@Self)^.clr := $00000800
  22187. else
  22188. pTDefRegMap(@Self)^.&set := $00000800;
  22189. end;
  22190. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  22191. begin
  22192. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22193. end;
  22194. procedure TPMP_PMAEN.setPTEN12; inline;
  22195. begin
  22196. pTDefRegMap(@Self)^.&set := $00001000;
  22197. end;
  22198. procedure TPMP_PMAEN.clearPTEN12; inline;
  22199. begin
  22200. pTDefRegMap(@Self)^.clr := $00001000;
  22201. end;
  22202. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  22203. begin
  22204. if thebits = 0 then
  22205. pTDefRegMap(@Self)^.clr := $00001000
  22206. else
  22207. pTDefRegMap(@Self)^.&set := $00001000;
  22208. end;
  22209. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  22210. begin
  22211. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22212. end;
  22213. procedure TPMP_PMAEN.setPTEN13; inline;
  22214. begin
  22215. pTDefRegMap(@Self)^.&set := $00002000;
  22216. end;
  22217. procedure TPMP_PMAEN.clearPTEN13; inline;
  22218. begin
  22219. pTDefRegMap(@Self)^.clr := $00002000;
  22220. end;
  22221. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  22222. begin
  22223. if thebits = 0 then
  22224. pTDefRegMap(@Self)^.clr := $00002000
  22225. else
  22226. pTDefRegMap(@Self)^.&set := $00002000;
  22227. end;
  22228. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  22229. begin
  22230. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22231. end;
  22232. procedure TPMP_PMAEN.setPTEN14; inline;
  22233. begin
  22234. pTDefRegMap(@Self)^.&set := $00004000;
  22235. end;
  22236. procedure TPMP_PMAEN.clearPTEN14; inline;
  22237. begin
  22238. pTDefRegMap(@Self)^.clr := $00004000;
  22239. end;
  22240. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  22241. begin
  22242. if thebits = 0 then
  22243. pTDefRegMap(@Self)^.clr := $00004000
  22244. else
  22245. pTDefRegMap(@Self)^.&set := $00004000;
  22246. end;
  22247. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  22248. begin
  22249. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22250. end;
  22251. procedure TPMP_PMAEN.setPTEN15; inline;
  22252. begin
  22253. pTDefRegMap(@Self)^.&set := $00008000;
  22254. end;
  22255. procedure TPMP_PMAEN.clearPTEN15; inline;
  22256. begin
  22257. pTDefRegMap(@Self)^.clr := $00008000;
  22258. end;
  22259. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  22260. begin
  22261. if thebits = 0 then
  22262. pTDefRegMap(@Self)^.clr := $00008000
  22263. else
  22264. pTDefRegMap(@Self)^.&set := $00008000;
  22265. end;
  22266. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  22267. begin
  22268. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22269. end;
  22270. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  22271. begin
  22272. pTDefRegMap(@Self)^.val := thebits;
  22273. end;
  22274. function TPMP_PMAEN.getw : TBits_32; inline;
  22275. begin
  22276. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22277. end;
  22278. procedure TPMP_PMSTAT.setOB0E; inline;
  22279. begin
  22280. pTDefRegMap(@Self)^.&set := $00000001;
  22281. end;
  22282. procedure TPMP_PMSTAT.clearOB0E; inline;
  22283. begin
  22284. pTDefRegMap(@Self)^.clr := $00000001;
  22285. end;
  22286. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  22287. begin
  22288. if thebits = 0 then
  22289. pTDefRegMap(@Self)^.clr := $00000001
  22290. else
  22291. pTDefRegMap(@Self)^.&set := $00000001;
  22292. end;
  22293. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  22294. begin
  22295. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22296. end;
  22297. procedure TPMP_PMSTAT.setOB1E; inline;
  22298. begin
  22299. pTDefRegMap(@Self)^.&set := $00000002;
  22300. end;
  22301. procedure TPMP_PMSTAT.clearOB1E; inline;
  22302. begin
  22303. pTDefRegMap(@Self)^.clr := $00000002;
  22304. end;
  22305. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  22306. begin
  22307. if thebits = 0 then
  22308. pTDefRegMap(@Self)^.clr := $00000002
  22309. else
  22310. pTDefRegMap(@Self)^.&set := $00000002;
  22311. end;
  22312. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  22313. begin
  22314. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22315. end;
  22316. procedure TPMP_PMSTAT.setOB2E; inline;
  22317. begin
  22318. pTDefRegMap(@Self)^.&set := $00000004;
  22319. end;
  22320. procedure TPMP_PMSTAT.clearOB2E; inline;
  22321. begin
  22322. pTDefRegMap(@Self)^.clr := $00000004;
  22323. end;
  22324. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  22325. begin
  22326. if thebits = 0 then
  22327. pTDefRegMap(@Self)^.clr := $00000004
  22328. else
  22329. pTDefRegMap(@Self)^.&set := $00000004;
  22330. end;
  22331. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  22332. begin
  22333. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22334. end;
  22335. procedure TPMP_PMSTAT.setOB3E; inline;
  22336. begin
  22337. pTDefRegMap(@Self)^.&set := $00000008;
  22338. end;
  22339. procedure TPMP_PMSTAT.clearOB3E; inline;
  22340. begin
  22341. pTDefRegMap(@Self)^.clr := $00000008;
  22342. end;
  22343. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  22344. begin
  22345. if thebits = 0 then
  22346. pTDefRegMap(@Self)^.clr := $00000008
  22347. else
  22348. pTDefRegMap(@Self)^.&set := $00000008;
  22349. end;
  22350. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  22351. begin
  22352. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22353. end;
  22354. procedure TPMP_PMSTAT.setOBUF; inline;
  22355. begin
  22356. pTDefRegMap(@Self)^.&set := $00000040;
  22357. end;
  22358. procedure TPMP_PMSTAT.clearOBUF; inline;
  22359. begin
  22360. pTDefRegMap(@Self)^.clr := $00000040;
  22361. end;
  22362. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  22363. begin
  22364. if thebits = 0 then
  22365. pTDefRegMap(@Self)^.clr := $00000040
  22366. else
  22367. pTDefRegMap(@Self)^.&set := $00000040;
  22368. end;
  22369. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  22370. begin
  22371. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22372. end;
  22373. procedure TPMP_PMSTAT.setOBE; inline;
  22374. begin
  22375. pTDefRegMap(@Self)^.&set := $00000080;
  22376. end;
  22377. procedure TPMP_PMSTAT.clearOBE; inline;
  22378. begin
  22379. pTDefRegMap(@Self)^.clr := $00000080;
  22380. end;
  22381. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  22382. begin
  22383. if thebits = 0 then
  22384. pTDefRegMap(@Self)^.clr := $00000080
  22385. else
  22386. pTDefRegMap(@Self)^.&set := $00000080;
  22387. end;
  22388. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  22389. begin
  22390. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22391. end;
  22392. procedure TPMP_PMSTAT.setIB0F; inline;
  22393. begin
  22394. pTDefRegMap(@Self)^.&set := $00000100;
  22395. end;
  22396. procedure TPMP_PMSTAT.clearIB0F; inline;
  22397. begin
  22398. pTDefRegMap(@Self)^.clr := $00000100;
  22399. end;
  22400. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  22401. begin
  22402. if thebits = 0 then
  22403. pTDefRegMap(@Self)^.clr := $00000100
  22404. else
  22405. pTDefRegMap(@Self)^.&set := $00000100;
  22406. end;
  22407. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22408. begin
  22409. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22410. end;
  22411. procedure TPMP_PMSTAT.setIB1F; inline;
  22412. begin
  22413. pTDefRegMap(@Self)^.&set := $00000200;
  22414. end;
  22415. procedure TPMP_PMSTAT.clearIB1F; inline;
  22416. begin
  22417. pTDefRegMap(@Self)^.clr := $00000200;
  22418. end;
  22419. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22420. begin
  22421. if thebits = 0 then
  22422. pTDefRegMap(@Self)^.clr := $00000200
  22423. else
  22424. pTDefRegMap(@Self)^.&set := $00000200;
  22425. end;
  22426. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22427. begin
  22428. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22429. end;
  22430. procedure TPMP_PMSTAT.setIB2F; inline;
  22431. begin
  22432. pTDefRegMap(@Self)^.&set := $00000400;
  22433. end;
  22434. procedure TPMP_PMSTAT.clearIB2F; inline;
  22435. begin
  22436. pTDefRegMap(@Self)^.clr := $00000400;
  22437. end;
  22438. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22439. begin
  22440. if thebits = 0 then
  22441. pTDefRegMap(@Self)^.clr := $00000400
  22442. else
  22443. pTDefRegMap(@Self)^.&set := $00000400;
  22444. end;
  22445. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22446. begin
  22447. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22448. end;
  22449. procedure TPMP_PMSTAT.setIB3F; inline;
  22450. begin
  22451. pTDefRegMap(@Self)^.&set := $00000800;
  22452. end;
  22453. procedure TPMP_PMSTAT.clearIB3F; inline;
  22454. begin
  22455. pTDefRegMap(@Self)^.clr := $00000800;
  22456. end;
  22457. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22458. begin
  22459. if thebits = 0 then
  22460. pTDefRegMap(@Self)^.clr := $00000800
  22461. else
  22462. pTDefRegMap(@Self)^.&set := $00000800;
  22463. end;
  22464. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22465. begin
  22466. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22467. end;
  22468. procedure TPMP_PMSTAT.setIBOV; inline;
  22469. begin
  22470. pTDefRegMap(@Self)^.&set := $00004000;
  22471. end;
  22472. procedure TPMP_PMSTAT.clearIBOV; inline;
  22473. begin
  22474. pTDefRegMap(@Self)^.clr := $00004000;
  22475. end;
  22476. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22477. begin
  22478. if thebits = 0 then
  22479. pTDefRegMap(@Self)^.clr := $00004000
  22480. else
  22481. pTDefRegMap(@Self)^.&set := $00004000;
  22482. end;
  22483. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22484. begin
  22485. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22486. end;
  22487. procedure TPMP_PMSTAT.setIBF; inline;
  22488. begin
  22489. pTDefRegMap(@Self)^.&set := $00008000;
  22490. end;
  22491. procedure TPMP_PMSTAT.clearIBF; inline;
  22492. begin
  22493. pTDefRegMap(@Self)^.clr := $00008000;
  22494. end;
  22495. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22496. begin
  22497. if thebits = 0 then
  22498. pTDefRegMap(@Self)^.clr := $00008000
  22499. else
  22500. pTDefRegMap(@Self)^.&set := $00008000;
  22501. end;
  22502. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22503. begin
  22504. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22505. end;
  22506. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22507. begin
  22508. pTDefRegMap(@Self)^.val := thebits;
  22509. end;
  22510. function TPMP_PMSTAT.getw : TBits_32; inline;
  22511. begin
  22512. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22513. end;
  22514. procedure TADC10_AD1CON1.setDONE; inline;
  22515. begin
  22516. pTDefRegMap(@Self)^.&set := $00000001;
  22517. end;
  22518. procedure TADC10_AD1CON1.clearDONE; inline;
  22519. begin
  22520. pTDefRegMap(@Self)^.clr := $00000001;
  22521. end;
  22522. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22523. begin
  22524. if thebits = 0 then
  22525. pTDefRegMap(@Self)^.clr := $00000001
  22526. else
  22527. pTDefRegMap(@Self)^.&set := $00000001;
  22528. end;
  22529. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22530. begin
  22531. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22532. end;
  22533. procedure TADC10_AD1CON1.setSAMP; inline;
  22534. begin
  22535. pTDefRegMap(@Self)^.&set := $00000002;
  22536. end;
  22537. procedure TADC10_AD1CON1.clearSAMP; inline;
  22538. begin
  22539. pTDefRegMap(@Self)^.clr := $00000002;
  22540. end;
  22541. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22542. begin
  22543. if thebits = 0 then
  22544. pTDefRegMap(@Self)^.clr := $00000002
  22545. else
  22546. pTDefRegMap(@Self)^.&set := $00000002;
  22547. end;
  22548. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22549. begin
  22550. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22551. end;
  22552. procedure TADC10_AD1CON1.setASAM; inline;
  22553. begin
  22554. pTDefRegMap(@Self)^.&set := $00000004;
  22555. end;
  22556. procedure TADC10_AD1CON1.clearASAM; inline;
  22557. begin
  22558. pTDefRegMap(@Self)^.clr := $00000004;
  22559. end;
  22560. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22561. begin
  22562. if thebits = 0 then
  22563. pTDefRegMap(@Self)^.clr := $00000004
  22564. else
  22565. pTDefRegMap(@Self)^.&set := $00000004;
  22566. end;
  22567. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22568. begin
  22569. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22570. end;
  22571. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22572. begin
  22573. pTDefRegMap(@Self)^.&set := $00000010;
  22574. end;
  22575. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22576. begin
  22577. pTDefRegMap(@Self)^.clr := $00000010;
  22578. end;
  22579. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22580. begin
  22581. if thebits = 0 then
  22582. pTDefRegMap(@Self)^.clr := $00000010
  22583. else
  22584. pTDefRegMap(@Self)^.&set := $00000010;
  22585. end;
  22586. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22587. begin
  22588. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22589. end;
  22590. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22591. begin
  22592. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22593. end;
  22594. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22595. begin
  22596. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22597. end;
  22598. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22599. begin
  22600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22601. end;
  22602. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22603. begin
  22604. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22605. end;
  22606. procedure TADC10_AD1CON1.setSIDL; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.&set := $00002000;
  22609. end;
  22610. procedure TADC10_AD1CON1.clearSIDL; inline;
  22611. begin
  22612. pTDefRegMap(@Self)^.clr := $00002000;
  22613. end;
  22614. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22615. begin
  22616. if thebits = 0 then
  22617. pTDefRegMap(@Self)^.clr := $00002000
  22618. else
  22619. pTDefRegMap(@Self)^.&set := $00002000;
  22620. end;
  22621. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22622. begin
  22623. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22624. end;
  22625. procedure TADC10_AD1CON1.setON; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.&set := $00008000;
  22628. end;
  22629. procedure TADC10_AD1CON1.clearON; inline;
  22630. begin
  22631. pTDefRegMap(@Self)^.clr := $00008000;
  22632. end;
  22633. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22634. begin
  22635. if thebits = 0 then
  22636. pTDefRegMap(@Self)^.clr := $00008000
  22637. else
  22638. pTDefRegMap(@Self)^.&set := $00008000;
  22639. end;
  22640. function TADC10_AD1CON1.getON : TBits_1; inline;
  22641. begin
  22642. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22643. end;
  22644. procedure TADC10_AD1CON1.setSSRC0; inline;
  22645. begin
  22646. pTDefRegMap(@Self)^.&set := $00000020;
  22647. end;
  22648. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.clr := $00000020;
  22651. end;
  22652. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22653. begin
  22654. if thebits = 0 then
  22655. pTDefRegMap(@Self)^.clr := $00000020
  22656. else
  22657. pTDefRegMap(@Self)^.&set := $00000020;
  22658. end;
  22659. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22660. begin
  22661. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22662. end;
  22663. procedure TADC10_AD1CON1.setSSRC1; inline;
  22664. begin
  22665. pTDefRegMap(@Self)^.&set := $00000040;
  22666. end;
  22667. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22668. begin
  22669. pTDefRegMap(@Self)^.clr := $00000040;
  22670. end;
  22671. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22672. begin
  22673. if thebits = 0 then
  22674. pTDefRegMap(@Self)^.clr := $00000040
  22675. else
  22676. pTDefRegMap(@Self)^.&set := $00000040;
  22677. end;
  22678. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22679. begin
  22680. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22681. end;
  22682. procedure TADC10_AD1CON1.setSSRC2; inline;
  22683. begin
  22684. pTDefRegMap(@Self)^.&set := $00000080;
  22685. end;
  22686. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.clr := $00000080;
  22689. end;
  22690. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22691. begin
  22692. if thebits = 0 then
  22693. pTDefRegMap(@Self)^.clr := $00000080
  22694. else
  22695. pTDefRegMap(@Self)^.&set := $00000080;
  22696. end;
  22697. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22698. begin
  22699. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22700. end;
  22701. procedure TADC10_AD1CON1.setFORM0; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.&set := $00000100;
  22704. end;
  22705. procedure TADC10_AD1CON1.clearFORM0; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.clr := $00000100;
  22708. end;
  22709. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22710. begin
  22711. if thebits = 0 then
  22712. pTDefRegMap(@Self)^.clr := $00000100
  22713. else
  22714. pTDefRegMap(@Self)^.&set := $00000100;
  22715. end;
  22716. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22717. begin
  22718. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22719. end;
  22720. procedure TADC10_AD1CON1.setFORM1; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.&set := $00000200;
  22723. end;
  22724. procedure TADC10_AD1CON1.clearFORM1; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.clr := $00000200;
  22727. end;
  22728. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22729. begin
  22730. if thebits = 0 then
  22731. pTDefRegMap(@Self)^.clr := $00000200
  22732. else
  22733. pTDefRegMap(@Self)^.&set := $00000200;
  22734. end;
  22735. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22736. begin
  22737. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22738. end;
  22739. procedure TADC10_AD1CON1.setFORM2; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.&set := $00000400;
  22742. end;
  22743. procedure TADC10_AD1CON1.clearFORM2; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.clr := $00000400;
  22746. end;
  22747. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22748. begin
  22749. if thebits = 0 then
  22750. pTDefRegMap(@Self)^.clr := $00000400
  22751. else
  22752. pTDefRegMap(@Self)^.&set := $00000400;
  22753. end;
  22754. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22755. begin
  22756. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22757. end;
  22758. procedure TADC10_AD1CON1.setADSIDL; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.&set := $00002000;
  22761. end;
  22762. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.clr := $00002000;
  22765. end;
  22766. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22767. begin
  22768. if thebits = 0 then
  22769. pTDefRegMap(@Self)^.clr := $00002000
  22770. else
  22771. pTDefRegMap(@Self)^.&set := $00002000;
  22772. end;
  22773. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22774. begin
  22775. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22776. end;
  22777. procedure TADC10_AD1CON1.setADON; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.&set := $00008000;
  22780. end;
  22781. procedure TADC10_AD1CON1.clearADON; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.clr := $00008000;
  22784. end;
  22785. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22786. begin
  22787. if thebits = 0 then
  22788. pTDefRegMap(@Self)^.clr := $00008000
  22789. else
  22790. pTDefRegMap(@Self)^.&set := $00008000;
  22791. end;
  22792. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22793. begin
  22794. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22795. end;
  22796. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.val := thebits;
  22799. end;
  22800. function TADC10_AD1CON1.getw : TBits_32; inline;
  22801. begin
  22802. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22803. end;
  22804. procedure TADC10_AD1CON2.setALTS; inline;
  22805. begin
  22806. pTDefRegMap(@Self)^.&set := $00000001;
  22807. end;
  22808. procedure TADC10_AD1CON2.clearALTS; inline;
  22809. begin
  22810. pTDefRegMap(@Self)^.clr := $00000001;
  22811. end;
  22812. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22813. begin
  22814. if thebits = 0 then
  22815. pTDefRegMap(@Self)^.clr := $00000001
  22816. else
  22817. pTDefRegMap(@Self)^.&set := $00000001;
  22818. end;
  22819. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22820. begin
  22821. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22822. end;
  22823. procedure TADC10_AD1CON2.setBUFM; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.&set := $00000002;
  22826. end;
  22827. procedure TADC10_AD1CON2.clearBUFM; inline;
  22828. begin
  22829. pTDefRegMap(@Self)^.clr := $00000002;
  22830. end;
  22831. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22832. begin
  22833. if thebits = 0 then
  22834. pTDefRegMap(@Self)^.clr := $00000002
  22835. else
  22836. pTDefRegMap(@Self)^.&set := $00000002;
  22837. end;
  22838. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22839. begin
  22840. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22841. end;
  22842. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22845. end;
  22846. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22847. begin
  22848. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22849. end;
  22850. procedure TADC10_AD1CON2.setBUFS; inline;
  22851. begin
  22852. pTDefRegMap(@Self)^.&set := $00000080;
  22853. end;
  22854. procedure TADC10_AD1CON2.clearBUFS; inline;
  22855. begin
  22856. pTDefRegMap(@Self)^.clr := $00000080;
  22857. end;
  22858. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22859. begin
  22860. if thebits = 0 then
  22861. pTDefRegMap(@Self)^.clr := $00000080
  22862. else
  22863. pTDefRegMap(@Self)^.&set := $00000080;
  22864. end;
  22865. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22866. begin
  22867. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22868. end;
  22869. procedure TADC10_AD1CON2.setCSCNA; inline;
  22870. begin
  22871. pTDefRegMap(@Self)^.&set := $00000400;
  22872. end;
  22873. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22874. begin
  22875. pTDefRegMap(@Self)^.clr := $00000400;
  22876. end;
  22877. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22878. begin
  22879. if thebits = 0 then
  22880. pTDefRegMap(@Self)^.clr := $00000400
  22881. else
  22882. pTDefRegMap(@Self)^.&set := $00000400;
  22883. end;
  22884. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22885. begin
  22886. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22887. end;
  22888. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22889. begin
  22890. pTDefRegMap(@Self)^.&set := $00001000;
  22891. end;
  22892. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22893. begin
  22894. pTDefRegMap(@Self)^.clr := $00001000;
  22895. end;
  22896. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22897. begin
  22898. if thebits = 0 then
  22899. pTDefRegMap(@Self)^.clr := $00001000
  22900. else
  22901. pTDefRegMap(@Self)^.&set := $00001000;
  22902. end;
  22903. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22904. begin
  22905. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22906. end;
  22907. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22908. begin
  22909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22910. end;
  22911. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22912. begin
  22913. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22914. end;
  22915. procedure TADC10_AD1CON2.setSMPI0; inline;
  22916. begin
  22917. pTDefRegMap(@Self)^.&set := $00000004;
  22918. end;
  22919. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22920. begin
  22921. pTDefRegMap(@Self)^.clr := $00000004;
  22922. end;
  22923. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22924. begin
  22925. if thebits = 0 then
  22926. pTDefRegMap(@Self)^.clr := $00000004
  22927. else
  22928. pTDefRegMap(@Self)^.&set := $00000004;
  22929. end;
  22930. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22931. begin
  22932. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22933. end;
  22934. procedure TADC10_AD1CON2.setSMPI1; inline;
  22935. begin
  22936. pTDefRegMap(@Self)^.&set := $00000008;
  22937. end;
  22938. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22939. begin
  22940. pTDefRegMap(@Self)^.clr := $00000008;
  22941. end;
  22942. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22943. begin
  22944. if thebits = 0 then
  22945. pTDefRegMap(@Self)^.clr := $00000008
  22946. else
  22947. pTDefRegMap(@Self)^.&set := $00000008;
  22948. end;
  22949. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22950. begin
  22951. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22952. end;
  22953. procedure TADC10_AD1CON2.setSMPI2; inline;
  22954. begin
  22955. pTDefRegMap(@Self)^.&set := $00000010;
  22956. end;
  22957. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22958. begin
  22959. pTDefRegMap(@Self)^.clr := $00000010;
  22960. end;
  22961. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22962. begin
  22963. if thebits = 0 then
  22964. pTDefRegMap(@Self)^.clr := $00000010
  22965. else
  22966. pTDefRegMap(@Self)^.&set := $00000010;
  22967. end;
  22968. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22969. begin
  22970. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22971. end;
  22972. procedure TADC10_AD1CON2.setSMPI3; inline;
  22973. begin
  22974. pTDefRegMap(@Self)^.&set := $00000020;
  22975. end;
  22976. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22977. begin
  22978. pTDefRegMap(@Self)^.clr := $00000020;
  22979. end;
  22980. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22981. begin
  22982. if thebits = 0 then
  22983. pTDefRegMap(@Self)^.clr := $00000020
  22984. else
  22985. pTDefRegMap(@Self)^.&set := $00000020;
  22986. end;
  22987. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22988. begin
  22989. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22990. end;
  22991. procedure TADC10_AD1CON2.setVCFG0; inline;
  22992. begin
  22993. pTDefRegMap(@Self)^.&set := $00002000;
  22994. end;
  22995. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22996. begin
  22997. pTDefRegMap(@Self)^.clr := $00002000;
  22998. end;
  22999. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  23000. begin
  23001. if thebits = 0 then
  23002. pTDefRegMap(@Self)^.clr := $00002000
  23003. else
  23004. pTDefRegMap(@Self)^.&set := $00002000;
  23005. end;
  23006. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  23007. begin
  23008. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23009. end;
  23010. procedure TADC10_AD1CON2.setVCFG1; inline;
  23011. begin
  23012. pTDefRegMap(@Self)^.&set := $00004000;
  23013. end;
  23014. procedure TADC10_AD1CON2.clearVCFG1; inline;
  23015. begin
  23016. pTDefRegMap(@Self)^.clr := $00004000;
  23017. end;
  23018. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  23019. begin
  23020. if thebits = 0 then
  23021. pTDefRegMap(@Self)^.clr := $00004000
  23022. else
  23023. pTDefRegMap(@Self)^.&set := $00004000;
  23024. end;
  23025. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  23026. begin
  23027. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23028. end;
  23029. procedure TADC10_AD1CON2.setVCFG2; inline;
  23030. begin
  23031. pTDefRegMap(@Self)^.&set := $00008000;
  23032. end;
  23033. procedure TADC10_AD1CON2.clearVCFG2; inline;
  23034. begin
  23035. pTDefRegMap(@Self)^.clr := $00008000;
  23036. end;
  23037. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  23038. begin
  23039. if thebits = 0 then
  23040. pTDefRegMap(@Self)^.clr := $00008000
  23041. else
  23042. pTDefRegMap(@Self)^.&set := $00008000;
  23043. end;
  23044. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  23045. begin
  23046. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23047. end;
  23048. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  23049. begin
  23050. pTDefRegMap(@Self)^.val := thebits;
  23051. end;
  23052. function TADC10_AD1CON2.getw : TBits_32; inline;
  23053. begin
  23054. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23055. end;
  23056. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  23057. begin
  23058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  23059. end;
  23060. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  23061. begin
  23062. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  23063. end;
  23064. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  23065. begin
  23066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  23067. end;
  23068. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  23069. begin
  23070. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  23071. end;
  23072. procedure TADC10_AD1CON3.setADRC; inline;
  23073. begin
  23074. pTDefRegMap(@Self)^.&set := $00008000;
  23075. end;
  23076. procedure TADC10_AD1CON3.clearADRC; inline;
  23077. begin
  23078. pTDefRegMap(@Self)^.clr := $00008000;
  23079. end;
  23080. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  23081. begin
  23082. if thebits = 0 then
  23083. pTDefRegMap(@Self)^.clr := $00008000
  23084. else
  23085. pTDefRegMap(@Self)^.&set := $00008000;
  23086. end;
  23087. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  23088. begin
  23089. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23090. end;
  23091. procedure TADC10_AD1CON3.setADCS0; inline;
  23092. begin
  23093. pTDefRegMap(@Self)^.&set := $00000001;
  23094. end;
  23095. procedure TADC10_AD1CON3.clearADCS0; inline;
  23096. begin
  23097. pTDefRegMap(@Self)^.clr := $00000001;
  23098. end;
  23099. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  23100. begin
  23101. if thebits = 0 then
  23102. pTDefRegMap(@Self)^.clr := $00000001
  23103. else
  23104. pTDefRegMap(@Self)^.&set := $00000001;
  23105. end;
  23106. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  23107. begin
  23108. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23109. end;
  23110. procedure TADC10_AD1CON3.setADCS1; inline;
  23111. begin
  23112. pTDefRegMap(@Self)^.&set := $00000002;
  23113. end;
  23114. procedure TADC10_AD1CON3.clearADCS1; inline;
  23115. begin
  23116. pTDefRegMap(@Self)^.clr := $00000002;
  23117. end;
  23118. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  23119. begin
  23120. if thebits = 0 then
  23121. pTDefRegMap(@Self)^.clr := $00000002
  23122. else
  23123. pTDefRegMap(@Self)^.&set := $00000002;
  23124. end;
  23125. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  23126. begin
  23127. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23128. end;
  23129. procedure TADC10_AD1CON3.setADCS2; inline;
  23130. begin
  23131. pTDefRegMap(@Self)^.&set := $00000004;
  23132. end;
  23133. procedure TADC10_AD1CON3.clearADCS2; inline;
  23134. begin
  23135. pTDefRegMap(@Self)^.clr := $00000004;
  23136. end;
  23137. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  23138. begin
  23139. if thebits = 0 then
  23140. pTDefRegMap(@Self)^.clr := $00000004
  23141. else
  23142. pTDefRegMap(@Self)^.&set := $00000004;
  23143. end;
  23144. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  23145. begin
  23146. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23147. end;
  23148. procedure TADC10_AD1CON3.setADCS3; inline;
  23149. begin
  23150. pTDefRegMap(@Self)^.&set := $00000008;
  23151. end;
  23152. procedure TADC10_AD1CON3.clearADCS3; inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.clr := $00000008;
  23155. end;
  23156. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  23157. begin
  23158. if thebits = 0 then
  23159. pTDefRegMap(@Self)^.clr := $00000008
  23160. else
  23161. pTDefRegMap(@Self)^.&set := $00000008;
  23162. end;
  23163. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  23164. begin
  23165. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23166. end;
  23167. procedure TADC10_AD1CON3.setADCS4; inline;
  23168. begin
  23169. pTDefRegMap(@Self)^.&set := $00000010;
  23170. end;
  23171. procedure TADC10_AD1CON3.clearADCS4; inline;
  23172. begin
  23173. pTDefRegMap(@Self)^.clr := $00000010;
  23174. end;
  23175. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  23176. begin
  23177. if thebits = 0 then
  23178. pTDefRegMap(@Self)^.clr := $00000010
  23179. else
  23180. pTDefRegMap(@Self)^.&set := $00000010;
  23181. end;
  23182. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  23183. begin
  23184. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23185. end;
  23186. procedure TADC10_AD1CON3.setADCS5; inline;
  23187. begin
  23188. pTDefRegMap(@Self)^.&set := $00000020;
  23189. end;
  23190. procedure TADC10_AD1CON3.clearADCS5; inline;
  23191. begin
  23192. pTDefRegMap(@Self)^.clr := $00000020;
  23193. end;
  23194. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  23195. begin
  23196. if thebits = 0 then
  23197. pTDefRegMap(@Self)^.clr := $00000020
  23198. else
  23199. pTDefRegMap(@Self)^.&set := $00000020;
  23200. end;
  23201. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  23202. begin
  23203. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23204. end;
  23205. procedure TADC10_AD1CON3.setADCS6; inline;
  23206. begin
  23207. pTDefRegMap(@Self)^.&set := $00000040;
  23208. end;
  23209. procedure TADC10_AD1CON3.clearADCS6; inline;
  23210. begin
  23211. pTDefRegMap(@Self)^.clr := $00000040;
  23212. end;
  23213. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  23214. begin
  23215. if thebits = 0 then
  23216. pTDefRegMap(@Self)^.clr := $00000040
  23217. else
  23218. pTDefRegMap(@Self)^.&set := $00000040;
  23219. end;
  23220. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  23221. begin
  23222. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23223. end;
  23224. procedure TADC10_AD1CON3.setADCS7; inline;
  23225. begin
  23226. pTDefRegMap(@Self)^.&set := $00000080;
  23227. end;
  23228. procedure TADC10_AD1CON3.clearADCS7; inline;
  23229. begin
  23230. pTDefRegMap(@Self)^.clr := $00000080;
  23231. end;
  23232. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  23233. begin
  23234. if thebits = 0 then
  23235. pTDefRegMap(@Self)^.clr := $00000080
  23236. else
  23237. pTDefRegMap(@Self)^.&set := $00000080;
  23238. end;
  23239. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  23240. begin
  23241. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23242. end;
  23243. procedure TADC10_AD1CON3.setSAMC0; inline;
  23244. begin
  23245. pTDefRegMap(@Self)^.&set := $00000100;
  23246. end;
  23247. procedure TADC10_AD1CON3.clearSAMC0; inline;
  23248. begin
  23249. pTDefRegMap(@Self)^.clr := $00000100;
  23250. end;
  23251. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  23252. begin
  23253. if thebits = 0 then
  23254. pTDefRegMap(@Self)^.clr := $00000100
  23255. else
  23256. pTDefRegMap(@Self)^.&set := $00000100;
  23257. end;
  23258. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  23259. begin
  23260. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23261. end;
  23262. procedure TADC10_AD1CON3.setSAMC1; inline;
  23263. begin
  23264. pTDefRegMap(@Self)^.&set := $00000200;
  23265. end;
  23266. procedure TADC10_AD1CON3.clearSAMC1; inline;
  23267. begin
  23268. pTDefRegMap(@Self)^.clr := $00000200;
  23269. end;
  23270. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  23271. begin
  23272. if thebits = 0 then
  23273. pTDefRegMap(@Self)^.clr := $00000200
  23274. else
  23275. pTDefRegMap(@Self)^.&set := $00000200;
  23276. end;
  23277. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  23278. begin
  23279. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23280. end;
  23281. procedure TADC10_AD1CON3.setSAMC2; inline;
  23282. begin
  23283. pTDefRegMap(@Self)^.&set := $00000400;
  23284. end;
  23285. procedure TADC10_AD1CON3.clearSAMC2; inline;
  23286. begin
  23287. pTDefRegMap(@Self)^.clr := $00000400;
  23288. end;
  23289. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  23290. begin
  23291. if thebits = 0 then
  23292. pTDefRegMap(@Self)^.clr := $00000400
  23293. else
  23294. pTDefRegMap(@Self)^.&set := $00000400;
  23295. end;
  23296. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  23297. begin
  23298. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23299. end;
  23300. procedure TADC10_AD1CON3.setSAMC3; inline;
  23301. begin
  23302. pTDefRegMap(@Self)^.&set := $00000800;
  23303. end;
  23304. procedure TADC10_AD1CON3.clearSAMC3; inline;
  23305. begin
  23306. pTDefRegMap(@Self)^.clr := $00000800;
  23307. end;
  23308. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  23309. begin
  23310. if thebits = 0 then
  23311. pTDefRegMap(@Self)^.clr := $00000800
  23312. else
  23313. pTDefRegMap(@Self)^.&set := $00000800;
  23314. end;
  23315. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  23316. begin
  23317. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23318. end;
  23319. procedure TADC10_AD1CON3.setSAMC4; inline;
  23320. begin
  23321. pTDefRegMap(@Self)^.&set := $00001000;
  23322. end;
  23323. procedure TADC10_AD1CON3.clearSAMC4; inline;
  23324. begin
  23325. pTDefRegMap(@Self)^.clr := $00001000;
  23326. end;
  23327. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  23328. begin
  23329. if thebits = 0 then
  23330. pTDefRegMap(@Self)^.clr := $00001000
  23331. else
  23332. pTDefRegMap(@Self)^.&set := $00001000;
  23333. end;
  23334. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  23335. begin
  23336. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23337. end;
  23338. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  23339. begin
  23340. pTDefRegMap(@Self)^.val := thebits;
  23341. end;
  23342. function TADC10_AD1CON3.getw : TBits_32; inline;
  23343. begin
  23344. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23345. end;
  23346. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  23349. end;
  23350. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  23351. begin
  23352. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  23353. end;
  23354. procedure TADC10_AD1CHS.setCH0NA; inline;
  23355. begin
  23356. pTDefRegMap(@Self)^.&set := $00800000;
  23357. end;
  23358. procedure TADC10_AD1CHS.clearCH0NA; inline;
  23359. begin
  23360. pTDefRegMap(@Self)^.clr := $00800000;
  23361. end;
  23362. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  23363. begin
  23364. if thebits = 0 then
  23365. pTDefRegMap(@Self)^.clr := $00800000
  23366. else
  23367. pTDefRegMap(@Self)^.&set := $00800000;
  23368. end;
  23369. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  23370. begin
  23371. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23372. end;
  23373. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  23374. begin
  23375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  23376. end;
  23377. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  23378. begin
  23379. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  23380. end;
  23381. procedure TADC10_AD1CHS.setCH0NB; inline;
  23382. begin
  23383. pTDefRegMap(@Self)^.&set := $80000000;
  23384. end;
  23385. procedure TADC10_AD1CHS.clearCH0NB; inline;
  23386. begin
  23387. pTDefRegMap(@Self)^.clr := $80000000;
  23388. end;
  23389. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  23390. begin
  23391. if thebits = 0 then
  23392. pTDefRegMap(@Self)^.clr := $80000000
  23393. else
  23394. pTDefRegMap(@Self)^.&set := $80000000;
  23395. end;
  23396. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  23397. begin
  23398. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23399. end;
  23400. procedure TADC10_AD1CHS.setCH0SA0; inline;
  23401. begin
  23402. pTDefRegMap(@Self)^.&set := $00010000;
  23403. end;
  23404. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  23405. begin
  23406. pTDefRegMap(@Self)^.clr := $00010000;
  23407. end;
  23408. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23409. begin
  23410. if thebits = 0 then
  23411. pTDefRegMap(@Self)^.clr := $00010000
  23412. else
  23413. pTDefRegMap(@Self)^.&set := $00010000;
  23414. end;
  23415. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23416. begin
  23417. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23418. end;
  23419. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23420. begin
  23421. pTDefRegMap(@Self)^.&set := $00020000;
  23422. end;
  23423. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23424. begin
  23425. pTDefRegMap(@Self)^.clr := $00020000;
  23426. end;
  23427. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23428. begin
  23429. if thebits = 0 then
  23430. pTDefRegMap(@Self)^.clr := $00020000
  23431. else
  23432. pTDefRegMap(@Self)^.&set := $00020000;
  23433. end;
  23434. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23435. begin
  23436. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23437. end;
  23438. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23439. begin
  23440. pTDefRegMap(@Self)^.&set := $00040000;
  23441. end;
  23442. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23443. begin
  23444. pTDefRegMap(@Self)^.clr := $00040000;
  23445. end;
  23446. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23447. begin
  23448. if thebits = 0 then
  23449. pTDefRegMap(@Self)^.clr := $00040000
  23450. else
  23451. pTDefRegMap(@Self)^.&set := $00040000;
  23452. end;
  23453. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23454. begin
  23455. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23456. end;
  23457. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23458. begin
  23459. pTDefRegMap(@Self)^.&set := $00080000;
  23460. end;
  23461. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23462. begin
  23463. pTDefRegMap(@Self)^.clr := $00080000;
  23464. end;
  23465. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23466. begin
  23467. if thebits = 0 then
  23468. pTDefRegMap(@Self)^.clr := $00080000
  23469. else
  23470. pTDefRegMap(@Self)^.&set := $00080000;
  23471. end;
  23472. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23473. begin
  23474. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23475. end;
  23476. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23477. begin
  23478. pTDefRegMap(@Self)^.&set := $01000000;
  23479. end;
  23480. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23481. begin
  23482. pTDefRegMap(@Self)^.clr := $01000000;
  23483. end;
  23484. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23485. begin
  23486. if thebits = 0 then
  23487. pTDefRegMap(@Self)^.clr := $01000000
  23488. else
  23489. pTDefRegMap(@Self)^.&set := $01000000;
  23490. end;
  23491. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23492. begin
  23493. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23494. end;
  23495. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23496. begin
  23497. pTDefRegMap(@Self)^.&set := $02000000;
  23498. end;
  23499. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23500. begin
  23501. pTDefRegMap(@Self)^.clr := $02000000;
  23502. end;
  23503. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23504. begin
  23505. if thebits = 0 then
  23506. pTDefRegMap(@Self)^.clr := $02000000
  23507. else
  23508. pTDefRegMap(@Self)^.&set := $02000000;
  23509. end;
  23510. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23511. begin
  23512. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23513. end;
  23514. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23515. begin
  23516. pTDefRegMap(@Self)^.&set := $04000000;
  23517. end;
  23518. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23519. begin
  23520. pTDefRegMap(@Self)^.clr := $04000000;
  23521. end;
  23522. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23523. begin
  23524. if thebits = 0 then
  23525. pTDefRegMap(@Self)^.clr := $04000000
  23526. else
  23527. pTDefRegMap(@Self)^.&set := $04000000;
  23528. end;
  23529. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23530. begin
  23531. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23532. end;
  23533. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23534. begin
  23535. pTDefRegMap(@Self)^.&set := $08000000;
  23536. end;
  23537. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23538. begin
  23539. pTDefRegMap(@Self)^.clr := $08000000;
  23540. end;
  23541. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23542. begin
  23543. if thebits = 0 then
  23544. pTDefRegMap(@Self)^.clr := $08000000
  23545. else
  23546. pTDefRegMap(@Self)^.&set := $08000000;
  23547. end;
  23548. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23549. begin
  23550. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23551. end;
  23552. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23553. begin
  23554. pTDefRegMap(@Self)^.val := thebits;
  23555. end;
  23556. function TADC10_AD1CHS.getw : TBits_32; inline;
  23557. begin
  23558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23559. end;
  23560. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23561. begin
  23562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23563. end;
  23564. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23565. begin
  23566. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23567. end;
  23568. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23569. begin
  23570. pTDefRegMap(@Self)^.&set := $00000001;
  23571. end;
  23572. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23573. begin
  23574. pTDefRegMap(@Self)^.clr := $00000001;
  23575. end;
  23576. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23577. begin
  23578. if thebits = 0 then
  23579. pTDefRegMap(@Self)^.clr := $00000001
  23580. else
  23581. pTDefRegMap(@Self)^.&set := $00000001;
  23582. end;
  23583. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23584. begin
  23585. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23586. end;
  23587. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23588. begin
  23589. pTDefRegMap(@Self)^.&set := $00000002;
  23590. end;
  23591. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23592. begin
  23593. pTDefRegMap(@Self)^.clr := $00000002;
  23594. end;
  23595. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23596. begin
  23597. if thebits = 0 then
  23598. pTDefRegMap(@Self)^.clr := $00000002
  23599. else
  23600. pTDefRegMap(@Self)^.&set := $00000002;
  23601. end;
  23602. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23603. begin
  23604. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23605. end;
  23606. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23607. begin
  23608. pTDefRegMap(@Self)^.&set := $00000004;
  23609. end;
  23610. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23611. begin
  23612. pTDefRegMap(@Self)^.clr := $00000004;
  23613. end;
  23614. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23615. begin
  23616. if thebits = 0 then
  23617. pTDefRegMap(@Self)^.clr := $00000004
  23618. else
  23619. pTDefRegMap(@Self)^.&set := $00000004;
  23620. end;
  23621. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23622. begin
  23623. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23624. end;
  23625. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23626. begin
  23627. pTDefRegMap(@Self)^.&set := $00000008;
  23628. end;
  23629. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23630. begin
  23631. pTDefRegMap(@Self)^.clr := $00000008;
  23632. end;
  23633. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23634. begin
  23635. if thebits = 0 then
  23636. pTDefRegMap(@Self)^.clr := $00000008
  23637. else
  23638. pTDefRegMap(@Self)^.&set := $00000008;
  23639. end;
  23640. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23641. begin
  23642. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23643. end;
  23644. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23645. begin
  23646. pTDefRegMap(@Self)^.&set := $00000010;
  23647. end;
  23648. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23649. begin
  23650. pTDefRegMap(@Self)^.clr := $00000010;
  23651. end;
  23652. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23653. begin
  23654. if thebits = 0 then
  23655. pTDefRegMap(@Self)^.clr := $00000010
  23656. else
  23657. pTDefRegMap(@Self)^.&set := $00000010;
  23658. end;
  23659. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23660. begin
  23661. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23662. end;
  23663. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23664. begin
  23665. pTDefRegMap(@Self)^.&set := $00000020;
  23666. end;
  23667. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23668. begin
  23669. pTDefRegMap(@Self)^.clr := $00000020;
  23670. end;
  23671. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23672. begin
  23673. if thebits = 0 then
  23674. pTDefRegMap(@Self)^.clr := $00000020
  23675. else
  23676. pTDefRegMap(@Self)^.&set := $00000020;
  23677. end;
  23678. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23679. begin
  23680. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23681. end;
  23682. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23683. begin
  23684. pTDefRegMap(@Self)^.&set := $00000040;
  23685. end;
  23686. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23687. begin
  23688. pTDefRegMap(@Self)^.clr := $00000040;
  23689. end;
  23690. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23691. begin
  23692. if thebits = 0 then
  23693. pTDefRegMap(@Self)^.clr := $00000040
  23694. else
  23695. pTDefRegMap(@Self)^.&set := $00000040;
  23696. end;
  23697. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23698. begin
  23699. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23700. end;
  23701. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23702. begin
  23703. pTDefRegMap(@Self)^.&set := $00000080;
  23704. end;
  23705. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23706. begin
  23707. pTDefRegMap(@Self)^.clr := $00000080;
  23708. end;
  23709. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23710. begin
  23711. if thebits = 0 then
  23712. pTDefRegMap(@Self)^.clr := $00000080
  23713. else
  23714. pTDefRegMap(@Self)^.&set := $00000080;
  23715. end;
  23716. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23717. begin
  23718. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23719. end;
  23720. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23721. begin
  23722. pTDefRegMap(@Self)^.&set := $00000100;
  23723. end;
  23724. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23725. begin
  23726. pTDefRegMap(@Self)^.clr := $00000100;
  23727. end;
  23728. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23729. begin
  23730. if thebits = 0 then
  23731. pTDefRegMap(@Self)^.clr := $00000100
  23732. else
  23733. pTDefRegMap(@Self)^.&set := $00000100;
  23734. end;
  23735. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23736. begin
  23737. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23738. end;
  23739. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23740. begin
  23741. pTDefRegMap(@Self)^.&set := $00000200;
  23742. end;
  23743. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23744. begin
  23745. pTDefRegMap(@Self)^.clr := $00000200;
  23746. end;
  23747. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23748. begin
  23749. if thebits = 0 then
  23750. pTDefRegMap(@Self)^.clr := $00000200
  23751. else
  23752. pTDefRegMap(@Self)^.&set := $00000200;
  23753. end;
  23754. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23755. begin
  23756. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23757. end;
  23758. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23759. begin
  23760. pTDefRegMap(@Self)^.&set := $00000400;
  23761. end;
  23762. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23763. begin
  23764. pTDefRegMap(@Self)^.clr := $00000400;
  23765. end;
  23766. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23767. begin
  23768. if thebits = 0 then
  23769. pTDefRegMap(@Self)^.clr := $00000400
  23770. else
  23771. pTDefRegMap(@Self)^.&set := $00000400;
  23772. end;
  23773. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23774. begin
  23775. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23776. end;
  23777. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23778. begin
  23779. pTDefRegMap(@Self)^.&set := $00000800;
  23780. end;
  23781. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23782. begin
  23783. pTDefRegMap(@Self)^.clr := $00000800;
  23784. end;
  23785. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23786. begin
  23787. if thebits = 0 then
  23788. pTDefRegMap(@Self)^.clr := $00000800
  23789. else
  23790. pTDefRegMap(@Self)^.&set := $00000800;
  23791. end;
  23792. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23793. begin
  23794. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23795. end;
  23796. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23797. begin
  23798. pTDefRegMap(@Self)^.&set := $00001000;
  23799. end;
  23800. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23801. begin
  23802. pTDefRegMap(@Self)^.clr := $00001000;
  23803. end;
  23804. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23805. begin
  23806. if thebits = 0 then
  23807. pTDefRegMap(@Self)^.clr := $00001000
  23808. else
  23809. pTDefRegMap(@Self)^.&set := $00001000;
  23810. end;
  23811. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23812. begin
  23813. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23814. end;
  23815. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23816. begin
  23817. pTDefRegMap(@Self)^.&set := $00002000;
  23818. end;
  23819. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23820. begin
  23821. pTDefRegMap(@Self)^.clr := $00002000;
  23822. end;
  23823. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23824. begin
  23825. if thebits = 0 then
  23826. pTDefRegMap(@Self)^.clr := $00002000
  23827. else
  23828. pTDefRegMap(@Self)^.&set := $00002000;
  23829. end;
  23830. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23831. begin
  23832. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23833. end;
  23834. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23835. begin
  23836. pTDefRegMap(@Self)^.&set := $00004000;
  23837. end;
  23838. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23839. begin
  23840. pTDefRegMap(@Self)^.clr := $00004000;
  23841. end;
  23842. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23843. begin
  23844. if thebits = 0 then
  23845. pTDefRegMap(@Self)^.clr := $00004000
  23846. else
  23847. pTDefRegMap(@Self)^.&set := $00004000;
  23848. end;
  23849. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23850. begin
  23851. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23852. end;
  23853. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23854. begin
  23855. pTDefRegMap(@Self)^.&set := $00008000;
  23856. end;
  23857. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23858. begin
  23859. pTDefRegMap(@Self)^.clr := $00008000;
  23860. end;
  23861. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23862. begin
  23863. if thebits = 0 then
  23864. pTDefRegMap(@Self)^.clr := $00008000
  23865. else
  23866. pTDefRegMap(@Self)^.&set := $00008000;
  23867. end;
  23868. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23869. begin
  23870. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23871. end;
  23872. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23873. begin
  23874. pTDefRegMap(@Self)^.val := thebits;
  23875. end;
  23876. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23877. begin
  23878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23879. end;
  23880. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23881. begin
  23882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23883. end;
  23884. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23885. begin
  23886. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23887. end;
  23888. procedure TCVR_CVRCON.setCVRSS; inline;
  23889. begin
  23890. pTDefRegMap(@Self)^.&set := $00000010;
  23891. end;
  23892. procedure TCVR_CVRCON.clearCVRSS; inline;
  23893. begin
  23894. pTDefRegMap(@Self)^.clr := $00000010;
  23895. end;
  23896. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23897. begin
  23898. if thebits = 0 then
  23899. pTDefRegMap(@Self)^.clr := $00000010
  23900. else
  23901. pTDefRegMap(@Self)^.&set := $00000010;
  23902. end;
  23903. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23904. begin
  23905. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23906. end;
  23907. procedure TCVR_CVRCON.setCVRR; inline;
  23908. begin
  23909. pTDefRegMap(@Self)^.&set := $00000020;
  23910. end;
  23911. procedure TCVR_CVRCON.clearCVRR; inline;
  23912. begin
  23913. pTDefRegMap(@Self)^.clr := $00000020;
  23914. end;
  23915. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23916. begin
  23917. if thebits = 0 then
  23918. pTDefRegMap(@Self)^.clr := $00000020
  23919. else
  23920. pTDefRegMap(@Self)^.&set := $00000020;
  23921. end;
  23922. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23923. begin
  23924. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23925. end;
  23926. procedure TCVR_CVRCON.setCVROE; inline;
  23927. begin
  23928. pTDefRegMap(@Self)^.&set := $00000040;
  23929. end;
  23930. procedure TCVR_CVRCON.clearCVROE; inline;
  23931. begin
  23932. pTDefRegMap(@Self)^.clr := $00000040;
  23933. end;
  23934. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23935. begin
  23936. if thebits = 0 then
  23937. pTDefRegMap(@Self)^.clr := $00000040
  23938. else
  23939. pTDefRegMap(@Self)^.&set := $00000040;
  23940. end;
  23941. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23942. begin
  23943. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23944. end;
  23945. procedure TCVR_CVRCON.setON; inline;
  23946. begin
  23947. pTDefRegMap(@Self)^.&set := $00008000;
  23948. end;
  23949. procedure TCVR_CVRCON.clearON; inline;
  23950. begin
  23951. pTDefRegMap(@Self)^.clr := $00008000;
  23952. end;
  23953. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23954. begin
  23955. if thebits = 0 then
  23956. pTDefRegMap(@Self)^.clr := $00008000
  23957. else
  23958. pTDefRegMap(@Self)^.&set := $00008000;
  23959. end;
  23960. function TCVR_CVRCON.getON : TBits_1; inline;
  23961. begin
  23962. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23963. end;
  23964. procedure TCVR_CVRCON.setCVR0; inline;
  23965. begin
  23966. pTDefRegMap(@Self)^.&set := $00000001;
  23967. end;
  23968. procedure TCVR_CVRCON.clearCVR0; inline;
  23969. begin
  23970. pTDefRegMap(@Self)^.clr := $00000001;
  23971. end;
  23972. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23973. begin
  23974. if thebits = 0 then
  23975. pTDefRegMap(@Self)^.clr := $00000001
  23976. else
  23977. pTDefRegMap(@Self)^.&set := $00000001;
  23978. end;
  23979. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23980. begin
  23981. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23982. end;
  23983. procedure TCVR_CVRCON.setCVR1; inline;
  23984. begin
  23985. pTDefRegMap(@Self)^.&set := $00000002;
  23986. end;
  23987. procedure TCVR_CVRCON.clearCVR1; inline;
  23988. begin
  23989. pTDefRegMap(@Self)^.clr := $00000002;
  23990. end;
  23991. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23992. begin
  23993. if thebits = 0 then
  23994. pTDefRegMap(@Self)^.clr := $00000002
  23995. else
  23996. pTDefRegMap(@Self)^.&set := $00000002;
  23997. end;
  23998. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23999. begin
  24000. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24001. end;
  24002. procedure TCVR_CVRCON.setCVR2; inline;
  24003. begin
  24004. pTDefRegMap(@Self)^.&set := $00000004;
  24005. end;
  24006. procedure TCVR_CVRCON.clearCVR2; inline;
  24007. begin
  24008. pTDefRegMap(@Self)^.clr := $00000004;
  24009. end;
  24010. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  24011. begin
  24012. if thebits = 0 then
  24013. pTDefRegMap(@Self)^.clr := $00000004
  24014. else
  24015. pTDefRegMap(@Self)^.&set := $00000004;
  24016. end;
  24017. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  24018. begin
  24019. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24020. end;
  24021. procedure TCVR_CVRCON.setCVR3; inline;
  24022. begin
  24023. pTDefRegMap(@Self)^.&set := $00000008;
  24024. end;
  24025. procedure TCVR_CVRCON.clearCVR3; inline;
  24026. begin
  24027. pTDefRegMap(@Self)^.clr := $00000008;
  24028. end;
  24029. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  24030. begin
  24031. if thebits = 0 then
  24032. pTDefRegMap(@Self)^.clr := $00000008
  24033. else
  24034. pTDefRegMap(@Self)^.&set := $00000008;
  24035. end;
  24036. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  24037. begin
  24038. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24039. end;
  24040. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  24041. begin
  24042. pTDefRegMap(@Self)^.val := thebits;
  24043. end;
  24044. function TCVR_CVRCON.getw : TBits_32; inline;
  24045. begin
  24046. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24047. end;
  24048. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  24049. begin
  24050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24051. end;
  24052. function TCMP_CM1CON.getCCH : TBits_2; inline;
  24053. begin
  24054. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24055. end;
  24056. procedure TCMP_CM1CON.setCREF; inline;
  24057. begin
  24058. pTDefRegMap(@Self)^.&set := $00000010;
  24059. end;
  24060. procedure TCMP_CM1CON.clearCREF; inline;
  24061. begin
  24062. pTDefRegMap(@Self)^.clr := $00000010;
  24063. end;
  24064. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  24065. begin
  24066. if thebits = 0 then
  24067. pTDefRegMap(@Self)^.clr := $00000010
  24068. else
  24069. pTDefRegMap(@Self)^.&set := $00000010;
  24070. end;
  24071. function TCMP_CM1CON.getCREF : TBits_1; inline;
  24072. begin
  24073. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24074. end;
  24075. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24078. end;
  24079. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  24080. begin
  24081. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24082. end;
  24083. procedure TCMP_CM1CON.setCOUT; inline;
  24084. begin
  24085. pTDefRegMap(@Self)^.&set := $00000100;
  24086. end;
  24087. procedure TCMP_CM1CON.clearCOUT; inline;
  24088. begin
  24089. pTDefRegMap(@Self)^.clr := $00000100;
  24090. end;
  24091. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  24092. begin
  24093. if thebits = 0 then
  24094. pTDefRegMap(@Self)^.clr := $00000100
  24095. else
  24096. pTDefRegMap(@Self)^.&set := $00000100;
  24097. end;
  24098. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  24099. begin
  24100. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24101. end;
  24102. procedure TCMP_CM1CON.setCPOL; inline;
  24103. begin
  24104. pTDefRegMap(@Self)^.&set := $00002000;
  24105. end;
  24106. procedure TCMP_CM1CON.clearCPOL; inline;
  24107. begin
  24108. pTDefRegMap(@Self)^.clr := $00002000;
  24109. end;
  24110. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  24111. begin
  24112. if thebits = 0 then
  24113. pTDefRegMap(@Self)^.clr := $00002000
  24114. else
  24115. pTDefRegMap(@Self)^.&set := $00002000;
  24116. end;
  24117. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  24118. begin
  24119. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24120. end;
  24121. procedure TCMP_CM1CON.setCOE; inline;
  24122. begin
  24123. pTDefRegMap(@Self)^.&set := $00004000;
  24124. end;
  24125. procedure TCMP_CM1CON.clearCOE; inline;
  24126. begin
  24127. pTDefRegMap(@Self)^.clr := $00004000;
  24128. end;
  24129. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  24130. begin
  24131. if thebits = 0 then
  24132. pTDefRegMap(@Self)^.clr := $00004000
  24133. else
  24134. pTDefRegMap(@Self)^.&set := $00004000;
  24135. end;
  24136. function TCMP_CM1CON.getCOE : TBits_1; inline;
  24137. begin
  24138. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24139. end;
  24140. procedure TCMP_CM1CON.setON; inline;
  24141. begin
  24142. pTDefRegMap(@Self)^.&set := $00008000;
  24143. end;
  24144. procedure TCMP_CM1CON.clearON; inline;
  24145. begin
  24146. pTDefRegMap(@Self)^.clr := $00008000;
  24147. end;
  24148. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  24149. begin
  24150. if thebits = 0 then
  24151. pTDefRegMap(@Self)^.clr := $00008000
  24152. else
  24153. pTDefRegMap(@Self)^.&set := $00008000;
  24154. end;
  24155. function TCMP_CM1CON.getON : TBits_1; inline;
  24156. begin
  24157. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24158. end;
  24159. procedure TCMP_CM1CON.setCCH0; inline;
  24160. begin
  24161. pTDefRegMap(@Self)^.&set := $00000001;
  24162. end;
  24163. procedure TCMP_CM1CON.clearCCH0; inline;
  24164. begin
  24165. pTDefRegMap(@Self)^.clr := $00000001;
  24166. end;
  24167. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  24168. begin
  24169. if thebits = 0 then
  24170. pTDefRegMap(@Self)^.clr := $00000001
  24171. else
  24172. pTDefRegMap(@Self)^.&set := $00000001;
  24173. end;
  24174. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  24175. begin
  24176. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24177. end;
  24178. procedure TCMP_CM1CON.setCCH1; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.&set := $00000002;
  24181. end;
  24182. procedure TCMP_CM1CON.clearCCH1; inline;
  24183. begin
  24184. pTDefRegMap(@Self)^.clr := $00000002;
  24185. end;
  24186. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  24187. begin
  24188. if thebits = 0 then
  24189. pTDefRegMap(@Self)^.clr := $00000002
  24190. else
  24191. pTDefRegMap(@Self)^.&set := $00000002;
  24192. end;
  24193. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  24194. begin
  24195. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24196. end;
  24197. procedure TCMP_CM1CON.setEVPOL0; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.&set := $00000040;
  24200. end;
  24201. procedure TCMP_CM1CON.clearEVPOL0; inline;
  24202. begin
  24203. pTDefRegMap(@Self)^.clr := $00000040;
  24204. end;
  24205. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  24206. begin
  24207. if thebits = 0 then
  24208. pTDefRegMap(@Self)^.clr := $00000040
  24209. else
  24210. pTDefRegMap(@Self)^.&set := $00000040;
  24211. end;
  24212. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  24213. begin
  24214. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24215. end;
  24216. procedure TCMP_CM1CON.setEVPOL1; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.&set := $00000080;
  24219. end;
  24220. procedure TCMP_CM1CON.clearEVPOL1; inline;
  24221. begin
  24222. pTDefRegMap(@Self)^.clr := $00000080;
  24223. end;
  24224. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  24225. begin
  24226. if thebits = 0 then
  24227. pTDefRegMap(@Self)^.clr := $00000080
  24228. else
  24229. pTDefRegMap(@Self)^.&set := $00000080;
  24230. end;
  24231. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  24232. begin
  24233. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24234. end;
  24235. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.val := thebits;
  24238. end;
  24239. function TCMP_CM1CON.getw : TBits_32; inline;
  24240. begin
  24241. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24242. end;
  24243. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  24244. begin
  24245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24246. end;
  24247. function TCMP_CM2CON.getCCH : TBits_2; inline;
  24248. begin
  24249. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24250. end;
  24251. procedure TCMP_CM2CON.setCREF; inline;
  24252. begin
  24253. pTDefRegMap(@Self)^.&set := $00000010;
  24254. end;
  24255. procedure TCMP_CM2CON.clearCREF; inline;
  24256. begin
  24257. pTDefRegMap(@Self)^.clr := $00000010;
  24258. end;
  24259. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  24260. begin
  24261. if thebits = 0 then
  24262. pTDefRegMap(@Self)^.clr := $00000010
  24263. else
  24264. pTDefRegMap(@Self)^.&set := $00000010;
  24265. end;
  24266. function TCMP_CM2CON.getCREF : TBits_1; inline;
  24267. begin
  24268. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24269. end;
  24270. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  24271. begin
  24272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24273. end;
  24274. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  24275. begin
  24276. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24277. end;
  24278. procedure TCMP_CM2CON.setCOUT; inline;
  24279. begin
  24280. pTDefRegMap(@Self)^.&set := $00000100;
  24281. end;
  24282. procedure TCMP_CM2CON.clearCOUT; inline;
  24283. begin
  24284. pTDefRegMap(@Self)^.clr := $00000100;
  24285. end;
  24286. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  24287. begin
  24288. if thebits = 0 then
  24289. pTDefRegMap(@Self)^.clr := $00000100
  24290. else
  24291. pTDefRegMap(@Self)^.&set := $00000100;
  24292. end;
  24293. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  24294. begin
  24295. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24296. end;
  24297. procedure TCMP_CM2CON.setCPOL; inline;
  24298. begin
  24299. pTDefRegMap(@Self)^.&set := $00002000;
  24300. end;
  24301. procedure TCMP_CM2CON.clearCPOL; inline;
  24302. begin
  24303. pTDefRegMap(@Self)^.clr := $00002000;
  24304. end;
  24305. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  24306. begin
  24307. if thebits = 0 then
  24308. pTDefRegMap(@Self)^.clr := $00002000
  24309. else
  24310. pTDefRegMap(@Self)^.&set := $00002000;
  24311. end;
  24312. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  24313. begin
  24314. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24315. end;
  24316. procedure TCMP_CM2CON.setCOE; inline;
  24317. begin
  24318. pTDefRegMap(@Self)^.&set := $00004000;
  24319. end;
  24320. procedure TCMP_CM2CON.clearCOE; inline;
  24321. begin
  24322. pTDefRegMap(@Self)^.clr := $00004000;
  24323. end;
  24324. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  24325. begin
  24326. if thebits = 0 then
  24327. pTDefRegMap(@Self)^.clr := $00004000
  24328. else
  24329. pTDefRegMap(@Self)^.&set := $00004000;
  24330. end;
  24331. function TCMP_CM2CON.getCOE : TBits_1; inline;
  24332. begin
  24333. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24334. end;
  24335. procedure TCMP_CM2CON.setON; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.&set := $00008000;
  24338. end;
  24339. procedure TCMP_CM2CON.clearON; inline;
  24340. begin
  24341. pTDefRegMap(@Self)^.clr := $00008000;
  24342. end;
  24343. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  24344. begin
  24345. if thebits = 0 then
  24346. pTDefRegMap(@Self)^.clr := $00008000
  24347. else
  24348. pTDefRegMap(@Self)^.&set := $00008000;
  24349. end;
  24350. function TCMP_CM2CON.getON : TBits_1; inline;
  24351. begin
  24352. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24353. end;
  24354. procedure TCMP_CM2CON.setCCH0; inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.&set := $00000001;
  24357. end;
  24358. procedure TCMP_CM2CON.clearCCH0; inline;
  24359. begin
  24360. pTDefRegMap(@Self)^.clr := $00000001;
  24361. end;
  24362. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  24363. begin
  24364. if thebits = 0 then
  24365. pTDefRegMap(@Self)^.clr := $00000001
  24366. else
  24367. pTDefRegMap(@Self)^.&set := $00000001;
  24368. end;
  24369. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  24370. begin
  24371. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24372. end;
  24373. procedure TCMP_CM2CON.setCCH1; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.&set := $00000002;
  24376. end;
  24377. procedure TCMP_CM2CON.clearCCH1; inline;
  24378. begin
  24379. pTDefRegMap(@Self)^.clr := $00000002;
  24380. end;
  24381. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  24382. begin
  24383. if thebits = 0 then
  24384. pTDefRegMap(@Self)^.clr := $00000002
  24385. else
  24386. pTDefRegMap(@Self)^.&set := $00000002;
  24387. end;
  24388. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  24389. begin
  24390. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24391. end;
  24392. procedure TCMP_CM2CON.setEVPOL0; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.&set := $00000040;
  24395. end;
  24396. procedure TCMP_CM2CON.clearEVPOL0; inline;
  24397. begin
  24398. pTDefRegMap(@Self)^.clr := $00000040;
  24399. end;
  24400. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  24401. begin
  24402. if thebits = 0 then
  24403. pTDefRegMap(@Self)^.clr := $00000040
  24404. else
  24405. pTDefRegMap(@Self)^.&set := $00000040;
  24406. end;
  24407. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24408. begin
  24409. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24410. end;
  24411. procedure TCMP_CM2CON.setEVPOL1; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.&set := $00000080;
  24414. end;
  24415. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24416. begin
  24417. pTDefRegMap(@Self)^.clr := $00000080;
  24418. end;
  24419. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24420. begin
  24421. if thebits = 0 then
  24422. pTDefRegMap(@Self)^.clr := $00000080
  24423. else
  24424. pTDefRegMap(@Self)^.&set := $00000080;
  24425. end;
  24426. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24427. begin
  24428. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24429. end;
  24430. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.val := thebits;
  24433. end;
  24434. function TCMP_CM2CON.getw : TBits_32; inline;
  24435. begin
  24436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24437. end;
  24438. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24439. begin
  24440. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24441. end;
  24442. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24443. begin
  24444. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24445. end;
  24446. procedure TCMP_CM3CON.setCREF; inline;
  24447. begin
  24448. pTDefRegMap(@Self)^.&set := $00000010;
  24449. end;
  24450. procedure TCMP_CM3CON.clearCREF; inline;
  24451. begin
  24452. pTDefRegMap(@Self)^.clr := $00000010;
  24453. end;
  24454. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  24455. begin
  24456. if thebits = 0 then
  24457. pTDefRegMap(@Self)^.clr := $00000010
  24458. else
  24459. pTDefRegMap(@Self)^.&set := $00000010;
  24460. end;
  24461. function TCMP_CM3CON.getCREF : TBits_1; inline;
  24462. begin
  24463. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24464. end;
  24465. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24466. begin
  24467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24468. end;
  24469. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24470. begin
  24471. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24472. end;
  24473. procedure TCMP_CM3CON.setCOUT; inline;
  24474. begin
  24475. pTDefRegMap(@Self)^.&set := $00000100;
  24476. end;
  24477. procedure TCMP_CM3CON.clearCOUT; inline;
  24478. begin
  24479. pTDefRegMap(@Self)^.clr := $00000100;
  24480. end;
  24481. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24482. begin
  24483. if thebits = 0 then
  24484. pTDefRegMap(@Self)^.clr := $00000100
  24485. else
  24486. pTDefRegMap(@Self)^.&set := $00000100;
  24487. end;
  24488. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24489. begin
  24490. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24491. end;
  24492. procedure TCMP_CM3CON.setCPOL; inline;
  24493. begin
  24494. pTDefRegMap(@Self)^.&set := $00002000;
  24495. end;
  24496. procedure TCMP_CM3CON.clearCPOL; inline;
  24497. begin
  24498. pTDefRegMap(@Self)^.clr := $00002000;
  24499. end;
  24500. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24501. begin
  24502. if thebits = 0 then
  24503. pTDefRegMap(@Self)^.clr := $00002000
  24504. else
  24505. pTDefRegMap(@Self)^.&set := $00002000;
  24506. end;
  24507. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24508. begin
  24509. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24510. end;
  24511. procedure TCMP_CM3CON.setCOE; inline;
  24512. begin
  24513. pTDefRegMap(@Self)^.&set := $00004000;
  24514. end;
  24515. procedure TCMP_CM3CON.clearCOE; inline;
  24516. begin
  24517. pTDefRegMap(@Self)^.clr := $00004000;
  24518. end;
  24519. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24520. begin
  24521. if thebits = 0 then
  24522. pTDefRegMap(@Self)^.clr := $00004000
  24523. else
  24524. pTDefRegMap(@Self)^.&set := $00004000;
  24525. end;
  24526. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24527. begin
  24528. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24529. end;
  24530. procedure TCMP_CM3CON.setON; inline;
  24531. begin
  24532. pTDefRegMap(@Self)^.&set := $00008000;
  24533. end;
  24534. procedure TCMP_CM3CON.clearON; inline;
  24535. begin
  24536. pTDefRegMap(@Self)^.clr := $00008000;
  24537. end;
  24538. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24539. begin
  24540. if thebits = 0 then
  24541. pTDefRegMap(@Self)^.clr := $00008000
  24542. else
  24543. pTDefRegMap(@Self)^.&set := $00008000;
  24544. end;
  24545. function TCMP_CM3CON.getON : TBits_1; inline;
  24546. begin
  24547. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24548. end;
  24549. procedure TCMP_CM3CON.setCCH0; inline;
  24550. begin
  24551. pTDefRegMap(@Self)^.&set := $00000001;
  24552. end;
  24553. procedure TCMP_CM3CON.clearCCH0; inline;
  24554. begin
  24555. pTDefRegMap(@Self)^.clr := $00000001;
  24556. end;
  24557. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24558. begin
  24559. if thebits = 0 then
  24560. pTDefRegMap(@Self)^.clr := $00000001
  24561. else
  24562. pTDefRegMap(@Self)^.&set := $00000001;
  24563. end;
  24564. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24565. begin
  24566. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24567. end;
  24568. procedure TCMP_CM3CON.setCCH1; inline;
  24569. begin
  24570. pTDefRegMap(@Self)^.&set := $00000002;
  24571. end;
  24572. procedure TCMP_CM3CON.clearCCH1; inline;
  24573. begin
  24574. pTDefRegMap(@Self)^.clr := $00000002;
  24575. end;
  24576. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24577. begin
  24578. if thebits = 0 then
  24579. pTDefRegMap(@Self)^.clr := $00000002
  24580. else
  24581. pTDefRegMap(@Self)^.&set := $00000002;
  24582. end;
  24583. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24584. begin
  24585. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24586. end;
  24587. procedure TCMP_CM3CON.setEVPOL0; inline;
  24588. begin
  24589. pTDefRegMap(@Self)^.&set := $00000040;
  24590. end;
  24591. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24592. begin
  24593. pTDefRegMap(@Self)^.clr := $00000040;
  24594. end;
  24595. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24596. begin
  24597. if thebits = 0 then
  24598. pTDefRegMap(@Self)^.clr := $00000040
  24599. else
  24600. pTDefRegMap(@Self)^.&set := $00000040;
  24601. end;
  24602. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24603. begin
  24604. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24605. end;
  24606. procedure TCMP_CM3CON.setEVPOL1; inline;
  24607. begin
  24608. pTDefRegMap(@Self)^.&set := $00000080;
  24609. end;
  24610. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24611. begin
  24612. pTDefRegMap(@Self)^.clr := $00000080;
  24613. end;
  24614. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24615. begin
  24616. if thebits = 0 then
  24617. pTDefRegMap(@Self)^.clr := $00000080
  24618. else
  24619. pTDefRegMap(@Self)^.&set := $00000080;
  24620. end;
  24621. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24622. begin
  24623. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24624. end;
  24625. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24626. begin
  24627. pTDefRegMap(@Self)^.val := thebits;
  24628. end;
  24629. function TCMP_CM3CON.getw : TBits_32; inline;
  24630. begin
  24631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24632. end;
  24633. procedure TCMP_CMSTAT.setC1OUT; inline;
  24634. begin
  24635. pTDefRegMap(@Self)^.&set := $00000001;
  24636. end;
  24637. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24638. begin
  24639. pTDefRegMap(@Self)^.clr := $00000001;
  24640. end;
  24641. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24642. begin
  24643. if thebits = 0 then
  24644. pTDefRegMap(@Self)^.clr := $00000001
  24645. else
  24646. pTDefRegMap(@Self)^.&set := $00000001;
  24647. end;
  24648. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24649. begin
  24650. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24651. end;
  24652. procedure TCMP_CMSTAT.setC2OUT; inline;
  24653. begin
  24654. pTDefRegMap(@Self)^.&set := $00000002;
  24655. end;
  24656. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24657. begin
  24658. pTDefRegMap(@Self)^.clr := $00000002;
  24659. end;
  24660. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24661. begin
  24662. if thebits = 0 then
  24663. pTDefRegMap(@Self)^.clr := $00000002
  24664. else
  24665. pTDefRegMap(@Self)^.&set := $00000002;
  24666. end;
  24667. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24668. begin
  24669. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24670. end;
  24671. procedure TCMP_CMSTAT.setC3OUT; inline;
  24672. begin
  24673. pTDefRegMap(@Self)^.&set := $00000004;
  24674. end;
  24675. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24676. begin
  24677. pTDefRegMap(@Self)^.clr := $00000004;
  24678. end;
  24679. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24680. begin
  24681. if thebits = 0 then
  24682. pTDefRegMap(@Self)^.clr := $00000004
  24683. else
  24684. pTDefRegMap(@Self)^.&set := $00000004;
  24685. end;
  24686. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24687. begin
  24688. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24689. end;
  24690. procedure TCMP_CMSTAT.setSIDL; inline;
  24691. begin
  24692. pTDefRegMap(@Self)^.&set := $00002000;
  24693. end;
  24694. procedure TCMP_CMSTAT.clearSIDL; inline;
  24695. begin
  24696. pTDefRegMap(@Self)^.clr := $00002000;
  24697. end;
  24698. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24699. begin
  24700. if thebits = 0 then
  24701. pTDefRegMap(@Self)^.clr := $00002000
  24702. else
  24703. pTDefRegMap(@Self)^.&set := $00002000;
  24704. end;
  24705. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24706. begin
  24707. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24708. end;
  24709. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24710. begin
  24711. pTDefRegMap(@Self)^.val := thebits;
  24712. end;
  24713. function TCMP_CMSTAT.getw : TBits_32; inline;
  24714. begin
  24715. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24716. end;
  24717. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24718. begin
  24719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24720. end;
  24721. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24722. begin
  24723. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24724. end;
  24725. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24726. begin
  24727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24728. end;
  24729. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24730. begin
  24731. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24732. end;
  24733. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24734. begin
  24735. pTDefRegMap(@Self)^.&set := $00000100;
  24736. end;
  24737. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24738. begin
  24739. pTDefRegMap(@Self)^.clr := $00000100;
  24740. end;
  24741. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24742. begin
  24743. if thebits = 0 then
  24744. pTDefRegMap(@Self)^.clr := $00000100
  24745. else
  24746. pTDefRegMap(@Self)^.&set := $00000100;
  24747. end;
  24748. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24749. begin
  24750. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24751. end;
  24752. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24753. begin
  24754. pTDefRegMap(@Self)^.&set := $00000200;
  24755. end;
  24756. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24757. begin
  24758. pTDefRegMap(@Self)^.clr := $00000200;
  24759. end;
  24760. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24761. begin
  24762. if thebits = 0 then
  24763. pTDefRegMap(@Self)^.clr := $00000200
  24764. else
  24765. pTDefRegMap(@Self)^.&set := $00000200;
  24766. end;
  24767. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24768. begin
  24769. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24770. end;
  24771. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24772. begin
  24773. pTDefRegMap(@Self)^.&set := $00000400;
  24774. end;
  24775. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24776. begin
  24777. pTDefRegMap(@Self)^.clr := $00000400;
  24778. end;
  24779. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24780. begin
  24781. if thebits = 0 then
  24782. pTDefRegMap(@Self)^.clr := $00000400
  24783. else
  24784. pTDefRegMap(@Self)^.&set := $00000400;
  24785. end;
  24786. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24787. begin
  24788. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24789. end;
  24790. procedure TCMP_CTMUCON.setEDGEN; inline;
  24791. begin
  24792. pTDefRegMap(@Self)^.&set := $00000800;
  24793. end;
  24794. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24795. begin
  24796. pTDefRegMap(@Self)^.clr := $00000800;
  24797. end;
  24798. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24799. begin
  24800. if thebits = 0 then
  24801. pTDefRegMap(@Self)^.clr := $00000800
  24802. else
  24803. pTDefRegMap(@Self)^.&set := $00000800;
  24804. end;
  24805. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24806. begin
  24807. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24808. end;
  24809. procedure TCMP_CTMUCON.setTGEN; inline;
  24810. begin
  24811. pTDefRegMap(@Self)^.&set := $00001000;
  24812. end;
  24813. procedure TCMP_CTMUCON.clearTGEN; inline;
  24814. begin
  24815. pTDefRegMap(@Self)^.clr := $00001000;
  24816. end;
  24817. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24818. begin
  24819. if thebits = 0 then
  24820. pTDefRegMap(@Self)^.clr := $00001000
  24821. else
  24822. pTDefRegMap(@Self)^.&set := $00001000;
  24823. end;
  24824. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24825. begin
  24826. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24827. end;
  24828. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24829. begin
  24830. pTDefRegMap(@Self)^.&set := $00002000;
  24831. end;
  24832. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24833. begin
  24834. pTDefRegMap(@Self)^.clr := $00002000;
  24835. end;
  24836. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24837. begin
  24838. if thebits = 0 then
  24839. pTDefRegMap(@Self)^.clr := $00002000
  24840. else
  24841. pTDefRegMap(@Self)^.&set := $00002000;
  24842. end;
  24843. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24844. begin
  24845. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24846. end;
  24847. procedure TCMP_CTMUCON.setON; inline;
  24848. begin
  24849. pTDefRegMap(@Self)^.&set := $00008000;
  24850. end;
  24851. procedure TCMP_CTMUCON.clearON; inline;
  24852. begin
  24853. pTDefRegMap(@Self)^.clr := $00008000;
  24854. end;
  24855. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24856. begin
  24857. if thebits = 0 then
  24858. pTDefRegMap(@Self)^.clr := $00008000
  24859. else
  24860. pTDefRegMap(@Self)^.&set := $00008000;
  24861. end;
  24862. function TCMP_CTMUCON.getON : TBits_1; inline;
  24863. begin
  24864. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24865. end;
  24866. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24867. begin
  24868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24869. end;
  24870. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24871. begin
  24872. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24873. end;
  24874. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24875. begin
  24876. pTDefRegMap(@Self)^.&set := $00400000;
  24877. end;
  24878. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24879. begin
  24880. pTDefRegMap(@Self)^.clr := $00400000;
  24881. end;
  24882. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24883. begin
  24884. if thebits = 0 then
  24885. pTDefRegMap(@Self)^.clr := $00400000
  24886. else
  24887. pTDefRegMap(@Self)^.&set := $00400000;
  24888. end;
  24889. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24890. begin
  24891. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24892. end;
  24893. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24894. begin
  24895. pTDefRegMap(@Self)^.&set := $00800000;
  24896. end;
  24897. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24898. begin
  24899. pTDefRegMap(@Self)^.clr := $00800000;
  24900. end;
  24901. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24902. begin
  24903. if thebits = 0 then
  24904. pTDefRegMap(@Self)^.clr := $00800000
  24905. else
  24906. pTDefRegMap(@Self)^.&set := $00800000;
  24907. end;
  24908. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24909. begin
  24910. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24911. end;
  24912. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24913. begin
  24914. pTDefRegMap(@Self)^.&set := $01000000;
  24915. end;
  24916. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24917. begin
  24918. pTDefRegMap(@Self)^.clr := $01000000;
  24919. end;
  24920. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24921. begin
  24922. if thebits = 0 then
  24923. pTDefRegMap(@Self)^.clr := $01000000
  24924. else
  24925. pTDefRegMap(@Self)^.&set := $01000000;
  24926. end;
  24927. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24928. begin
  24929. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24930. end;
  24931. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24932. begin
  24933. pTDefRegMap(@Self)^.&set := $02000000;
  24934. end;
  24935. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24936. begin
  24937. pTDefRegMap(@Self)^.clr := $02000000;
  24938. end;
  24939. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24940. begin
  24941. if thebits = 0 then
  24942. pTDefRegMap(@Self)^.clr := $02000000
  24943. else
  24944. pTDefRegMap(@Self)^.&set := $02000000;
  24945. end;
  24946. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24947. begin
  24948. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24949. end;
  24950. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24951. begin
  24952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24953. end;
  24954. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24955. begin
  24956. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24957. end;
  24958. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24959. begin
  24960. pTDefRegMap(@Self)^.&set := $40000000;
  24961. end;
  24962. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24963. begin
  24964. pTDefRegMap(@Self)^.clr := $40000000;
  24965. end;
  24966. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24967. begin
  24968. if thebits = 0 then
  24969. pTDefRegMap(@Self)^.clr := $40000000
  24970. else
  24971. pTDefRegMap(@Self)^.&set := $40000000;
  24972. end;
  24973. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24974. begin
  24975. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24976. end;
  24977. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.&set := $80000000;
  24980. end;
  24981. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24982. begin
  24983. pTDefRegMap(@Self)^.clr := $80000000;
  24984. end;
  24985. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24986. begin
  24987. if thebits = 0 then
  24988. pTDefRegMap(@Self)^.clr := $80000000
  24989. else
  24990. pTDefRegMap(@Self)^.&set := $80000000;
  24991. end;
  24992. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24993. begin
  24994. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24995. end;
  24996. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.val := thebits;
  24999. end;
  25000. function TCMP_CTMUCON.getw : TBits_32; inline;
  25001. begin
  25002. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25003. end;
  25004. procedure TOSC_OSCCON.setOSWEN; inline;
  25005. begin
  25006. pTDefRegMap(@Self)^.&set := $00000001;
  25007. end;
  25008. procedure TOSC_OSCCON.clearOSWEN; inline;
  25009. begin
  25010. pTDefRegMap(@Self)^.clr := $00000001;
  25011. end;
  25012. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  25013. begin
  25014. if thebits = 0 then
  25015. pTDefRegMap(@Self)^.clr := $00000001
  25016. else
  25017. pTDefRegMap(@Self)^.&set := $00000001;
  25018. end;
  25019. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  25020. begin
  25021. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25022. end;
  25023. procedure TOSC_OSCCON.setSOSCEN; inline;
  25024. begin
  25025. pTDefRegMap(@Self)^.&set := $00000002;
  25026. end;
  25027. procedure TOSC_OSCCON.clearSOSCEN; inline;
  25028. begin
  25029. pTDefRegMap(@Self)^.clr := $00000002;
  25030. end;
  25031. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  25032. begin
  25033. if thebits = 0 then
  25034. pTDefRegMap(@Self)^.clr := $00000002
  25035. else
  25036. pTDefRegMap(@Self)^.&set := $00000002;
  25037. end;
  25038. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  25039. begin
  25040. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25041. end;
  25042. procedure TOSC_OSCCON.setUFRCEN; inline;
  25043. begin
  25044. pTDefRegMap(@Self)^.&set := $00000004;
  25045. end;
  25046. procedure TOSC_OSCCON.clearUFRCEN; inline;
  25047. begin
  25048. pTDefRegMap(@Self)^.clr := $00000004;
  25049. end;
  25050. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  25051. begin
  25052. if thebits = 0 then
  25053. pTDefRegMap(@Self)^.clr := $00000004
  25054. else
  25055. pTDefRegMap(@Self)^.&set := $00000004;
  25056. end;
  25057. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  25058. begin
  25059. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25060. end;
  25061. procedure TOSC_OSCCON.setCF; inline;
  25062. begin
  25063. pTDefRegMap(@Self)^.&set := $00000008;
  25064. end;
  25065. procedure TOSC_OSCCON.clearCF; inline;
  25066. begin
  25067. pTDefRegMap(@Self)^.clr := $00000008;
  25068. end;
  25069. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  25070. begin
  25071. if thebits = 0 then
  25072. pTDefRegMap(@Self)^.clr := $00000008
  25073. else
  25074. pTDefRegMap(@Self)^.&set := $00000008;
  25075. end;
  25076. function TOSC_OSCCON.getCF : TBits_1; inline;
  25077. begin
  25078. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25079. end;
  25080. procedure TOSC_OSCCON.setSLPEN; inline;
  25081. begin
  25082. pTDefRegMap(@Self)^.&set := $00000010;
  25083. end;
  25084. procedure TOSC_OSCCON.clearSLPEN; inline;
  25085. begin
  25086. pTDefRegMap(@Self)^.clr := $00000010;
  25087. end;
  25088. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  25089. begin
  25090. if thebits = 0 then
  25091. pTDefRegMap(@Self)^.clr := $00000010
  25092. else
  25093. pTDefRegMap(@Self)^.&set := $00000010;
  25094. end;
  25095. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  25096. begin
  25097. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25098. end;
  25099. procedure TOSC_OSCCON.setSLOCK; inline;
  25100. begin
  25101. pTDefRegMap(@Self)^.&set := $00000020;
  25102. end;
  25103. procedure TOSC_OSCCON.clearSLOCK; inline;
  25104. begin
  25105. pTDefRegMap(@Self)^.clr := $00000020;
  25106. end;
  25107. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  25108. begin
  25109. if thebits = 0 then
  25110. pTDefRegMap(@Self)^.clr := $00000020
  25111. else
  25112. pTDefRegMap(@Self)^.&set := $00000020;
  25113. end;
  25114. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  25115. begin
  25116. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25117. end;
  25118. procedure TOSC_OSCCON.setULOCK; inline;
  25119. begin
  25120. pTDefRegMap(@Self)^.&set := $00000040;
  25121. end;
  25122. procedure TOSC_OSCCON.clearULOCK; inline;
  25123. begin
  25124. pTDefRegMap(@Self)^.clr := $00000040;
  25125. end;
  25126. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  25127. begin
  25128. if thebits = 0 then
  25129. pTDefRegMap(@Self)^.clr := $00000040
  25130. else
  25131. pTDefRegMap(@Self)^.&set := $00000040;
  25132. end;
  25133. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  25134. begin
  25135. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25136. end;
  25137. procedure TOSC_OSCCON.setCLKLOCK; inline;
  25138. begin
  25139. pTDefRegMap(@Self)^.&set := $00000080;
  25140. end;
  25141. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  25142. begin
  25143. pTDefRegMap(@Self)^.clr := $00000080;
  25144. end;
  25145. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  25146. begin
  25147. if thebits = 0 then
  25148. pTDefRegMap(@Self)^.clr := $00000080
  25149. else
  25150. pTDefRegMap(@Self)^.&set := $00000080;
  25151. end;
  25152. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  25153. begin
  25154. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25155. end;
  25156. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  25157. begin
  25158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25159. end;
  25160. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  25161. begin
  25162. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25163. end;
  25164. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  25165. begin
  25166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  25167. end;
  25168. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  25169. begin
  25170. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  25171. end;
  25172. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  25173. begin
  25174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  25175. end;
  25176. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  25177. begin
  25178. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  25179. end;
  25180. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  25181. begin
  25182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  25183. end;
  25184. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  25185. begin
  25186. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  25187. end;
  25188. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  25189. begin
  25190. pTDefRegMap(@Self)^.&set := $00200000;
  25191. end;
  25192. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  25193. begin
  25194. pTDefRegMap(@Self)^.clr := $00200000;
  25195. end;
  25196. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  25197. begin
  25198. if thebits = 0 then
  25199. pTDefRegMap(@Self)^.clr := $00200000
  25200. else
  25201. pTDefRegMap(@Self)^.&set := $00200000;
  25202. end;
  25203. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  25204. begin
  25205. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  25206. end;
  25207. procedure TOSC_OSCCON.setSOSCRDY; inline;
  25208. begin
  25209. pTDefRegMap(@Self)^.&set := $00400000;
  25210. end;
  25211. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  25212. begin
  25213. pTDefRegMap(@Self)^.clr := $00400000;
  25214. end;
  25215. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  25216. begin
  25217. if thebits = 0 then
  25218. pTDefRegMap(@Self)^.clr := $00400000
  25219. else
  25220. pTDefRegMap(@Self)^.&set := $00400000;
  25221. end;
  25222. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  25223. begin
  25224. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  25225. end;
  25226. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  25227. begin
  25228. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25229. end;
  25230. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  25231. begin
  25232. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25233. end;
  25234. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  25235. begin
  25236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  25237. end;
  25238. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  25239. begin
  25240. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  25241. end;
  25242. procedure TOSC_OSCCON.setNOSC0; inline;
  25243. begin
  25244. pTDefRegMap(@Self)^.&set := $00000100;
  25245. end;
  25246. procedure TOSC_OSCCON.clearNOSC0; inline;
  25247. begin
  25248. pTDefRegMap(@Self)^.clr := $00000100;
  25249. end;
  25250. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  25251. begin
  25252. if thebits = 0 then
  25253. pTDefRegMap(@Self)^.clr := $00000100
  25254. else
  25255. pTDefRegMap(@Self)^.&set := $00000100;
  25256. end;
  25257. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  25258. begin
  25259. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25260. end;
  25261. procedure TOSC_OSCCON.setNOSC1; inline;
  25262. begin
  25263. pTDefRegMap(@Self)^.&set := $00000200;
  25264. end;
  25265. procedure TOSC_OSCCON.clearNOSC1; inline;
  25266. begin
  25267. pTDefRegMap(@Self)^.clr := $00000200;
  25268. end;
  25269. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  25270. begin
  25271. if thebits = 0 then
  25272. pTDefRegMap(@Self)^.clr := $00000200
  25273. else
  25274. pTDefRegMap(@Self)^.&set := $00000200;
  25275. end;
  25276. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  25277. begin
  25278. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25279. end;
  25280. procedure TOSC_OSCCON.setNOSC2; inline;
  25281. begin
  25282. pTDefRegMap(@Self)^.&set := $00000400;
  25283. end;
  25284. procedure TOSC_OSCCON.clearNOSC2; inline;
  25285. begin
  25286. pTDefRegMap(@Self)^.clr := $00000400;
  25287. end;
  25288. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  25289. begin
  25290. if thebits = 0 then
  25291. pTDefRegMap(@Self)^.clr := $00000400
  25292. else
  25293. pTDefRegMap(@Self)^.&set := $00000400;
  25294. end;
  25295. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  25296. begin
  25297. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25298. end;
  25299. procedure TOSC_OSCCON.setCOSC0; inline;
  25300. begin
  25301. pTDefRegMap(@Self)^.&set := $00001000;
  25302. end;
  25303. procedure TOSC_OSCCON.clearCOSC0; inline;
  25304. begin
  25305. pTDefRegMap(@Self)^.clr := $00001000;
  25306. end;
  25307. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  25308. begin
  25309. if thebits = 0 then
  25310. pTDefRegMap(@Self)^.clr := $00001000
  25311. else
  25312. pTDefRegMap(@Self)^.&set := $00001000;
  25313. end;
  25314. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  25315. begin
  25316. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25317. end;
  25318. procedure TOSC_OSCCON.setCOSC1; inline;
  25319. begin
  25320. pTDefRegMap(@Self)^.&set := $00002000;
  25321. end;
  25322. procedure TOSC_OSCCON.clearCOSC1; inline;
  25323. begin
  25324. pTDefRegMap(@Self)^.clr := $00002000;
  25325. end;
  25326. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  25327. begin
  25328. if thebits = 0 then
  25329. pTDefRegMap(@Self)^.clr := $00002000
  25330. else
  25331. pTDefRegMap(@Self)^.&set := $00002000;
  25332. end;
  25333. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  25334. begin
  25335. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25336. end;
  25337. procedure TOSC_OSCCON.setCOSC2; inline;
  25338. begin
  25339. pTDefRegMap(@Self)^.&set := $00004000;
  25340. end;
  25341. procedure TOSC_OSCCON.clearCOSC2; inline;
  25342. begin
  25343. pTDefRegMap(@Self)^.clr := $00004000;
  25344. end;
  25345. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  25346. begin
  25347. if thebits = 0 then
  25348. pTDefRegMap(@Self)^.clr := $00004000
  25349. else
  25350. pTDefRegMap(@Self)^.&set := $00004000;
  25351. end;
  25352. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  25353. begin
  25354. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25355. end;
  25356. procedure TOSC_OSCCON.setPLLMULT0; inline;
  25357. begin
  25358. pTDefRegMap(@Self)^.&set := $00010000;
  25359. end;
  25360. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  25361. begin
  25362. pTDefRegMap(@Self)^.clr := $00010000;
  25363. end;
  25364. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  25365. begin
  25366. if thebits = 0 then
  25367. pTDefRegMap(@Self)^.clr := $00010000
  25368. else
  25369. pTDefRegMap(@Self)^.&set := $00010000;
  25370. end;
  25371. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  25372. begin
  25373. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25374. end;
  25375. procedure TOSC_OSCCON.setPLLMULT1; inline;
  25376. begin
  25377. pTDefRegMap(@Self)^.&set := $00020000;
  25378. end;
  25379. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  25380. begin
  25381. pTDefRegMap(@Self)^.clr := $00020000;
  25382. end;
  25383. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  25384. begin
  25385. if thebits = 0 then
  25386. pTDefRegMap(@Self)^.clr := $00020000
  25387. else
  25388. pTDefRegMap(@Self)^.&set := $00020000;
  25389. end;
  25390. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  25391. begin
  25392. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25393. end;
  25394. procedure TOSC_OSCCON.setPLLMULT2; inline;
  25395. begin
  25396. pTDefRegMap(@Self)^.&set := $00040000;
  25397. end;
  25398. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  25399. begin
  25400. pTDefRegMap(@Self)^.clr := $00040000;
  25401. end;
  25402. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  25403. begin
  25404. if thebits = 0 then
  25405. pTDefRegMap(@Self)^.clr := $00040000
  25406. else
  25407. pTDefRegMap(@Self)^.&set := $00040000;
  25408. end;
  25409. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25410. begin
  25411. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25412. end;
  25413. procedure TOSC_OSCCON.setPBDIV0; inline;
  25414. begin
  25415. pTDefRegMap(@Self)^.&set := $00080000;
  25416. end;
  25417. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25418. begin
  25419. pTDefRegMap(@Self)^.clr := $00080000;
  25420. end;
  25421. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25422. begin
  25423. if thebits = 0 then
  25424. pTDefRegMap(@Self)^.clr := $00080000
  25425. else
  25426. pTDefRegMap(@Self)^.&set := $00080000;
  25427. end;
  25428. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25429. begin
  25430. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25431. end;
  25432. procedure TOSC_OSCCON.setPBDIV1; inline;
  25433. begin
  25434. pTDefRegMap(@Self)^.&set := $00100000;
  25435. end;
  25436. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25437. begin
  25438. pTDefRegMap(@Self)^.clr := $00100000;
  25439. end;
  25440. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25441. begin
  25442. if thebits = 0 then
  25443. pTDefRegMap(@Self)^.clr := $00100000
  25444. else
  25445. pTDefRegMap(@Self)^.&set := $00100000;
  25446. end;
  25447. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25448. begin
  25449. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25450. end;
  25451. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25452. begin
  25453. pTDefRegMap(@Self)^.&set := $01000000;
  25454. end;
  25455. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25456. begin
  25457. pTDefRegMap(@Self)^.clr := $01000000;
  25458. end;
  25459. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25460. begin
  25461. if thebits = 0 then
  25462. pTDefRegMap(@Self)^.clr := $01000000
  25463. else
  25464. pTDefRegMap(@Self)^.&set := $01000000;
  25465. end;
  25466. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25467. begin
  25468. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25469. end;
  25470. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25471. begin
  25472. pTDefRegMap(@Self)^.&set := $02000000;
  25473. end;
  25474. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25475. begin
  25476. pTDefRegMap(@Self)^.clr := $02000000;
  25477. end;
  25478. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25479. begin
  25480. if thebits = 0 then
  25481. pTDefRegMap(@Self)^.clr := $02000000
  25482. else
  25483. pTDefRegMap(@Self)^.&set := $02000000;
  25484. end;
  25485. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25486. begin
  25487. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25488. end;
  25489. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25490. begin
  25491. pTDefRegMap(@Self)^.&set := $04000000;
  25492. end;
  25493. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25494. begin
  25495. pTDefRegMap(@Self)^.clr := $04000000;
  25496. end;
  25497. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25498. begin
  25499. if thebits = 0 then
  25500. pTDefRegMap(@Self)^.clr := $04000000
  25501. else
  25502. pTDefRegMap(@Self)^.&set := $04000000;
  25503. end;
  25504. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25505. begin
  25506. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25507. end;
  25508. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25509. begin
  25510. pTDefRegMap(@Self)^.&set := $08000000;
  25511. end;
  25512. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25513. begin
  25514. pTDefRegMap(@Self)^.clr := $08000000;
  25515. end;
  25516. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25517. begin
  25518. if thebits = 0 then
  25519. pTDefRegMap(@Self)^.clr := $08000000
  25520. else
  25521. pTDefRegMap(@Self)^.&set := $08000000;
  25522. end;
  25523. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25524. begin
  25525. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25526. end;
  25527. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25528. begin
  25529. pTDefRegMap(@Self)^.&set := $10000000;
  25530. end;
  25531. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25532. begin
  25533. pTDefRegMap(@Self)^.clr := $10000000;
  25534. end;
  25535. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25536. begin
  25537. if thebits = 0 then
  25538. pTDefRegMap(@Self)^.clr := $10000000
  25539. else
  25540. pTDefRegMap(@Self)^.&set := $10000000;
  25541. end;
  25542. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25543. begin
  25544. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25545. end;
  25546. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25547. begin
  25548. pTDefRegMap(@Self)^.&set := $20000000;
  25549. end;
  25550. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25551. begin
  25552. pTDefRegMap(@Self)^.clr := $20000000;
  25553. end;
  25554. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25555. begin
  25556. if thebits = 0 then
  25557. pTDefRegMap(@Self)^.clr := $20000000
  25558. else
  25559. pTDefRegMap(@Self)^.&set := $20000000;
  25560. end;
  25561. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25562. begin
  25563. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25564. end;
  25565. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25566. begin
  25567. pTDefRegMap(@Self)^.val := thebits;
  25568. end;
  25569. function TOSC_OSCCON.getw : TBits_32; inline;
  25570. begin
  25571. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25572. end;
  25573. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25574. begin
  25575. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25576. end;
  25577. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25578. begin
  25579. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25580. end;
  25581. procedure TOSC_OSCTUN.setTUN0; inline;
  25582. begin
  25583. pTDefRegMap(@Self)^.&set := $00000001;
  25584. end;
  25585. procedure TOSC_OSCTUN.clearTUN0; inline;
  25586. begin
  25587. pTDefRegMap(@Self)^.clr := $00000001;
  25588. end;
  25589. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25590. begin
  25591. if thebits = 0 then
  25592. pTDefRegMap(@Self)^.clr := $00000001
  25593. else
  25594. pTDefRegMap(@Self)^.&set := $00000001;
  25595. end;
  25596. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25597. begin
  25598. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25599. end;
  25600. procedure TOSC_OSCTUN.setTUN1; inline;
  25601. begin
  25602. pTDefRegMap(@Self)^.&set := $00000002;
  25603. end;
  25604. procedure TOSC_OSCTUN.clearTUN1; inline;
  25605. begin
  25606. pTDefRegMap(@Self)^.clr := $00000002;
  25607. end;
  25608. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25609. begin
  25610. if thebits = 0 then
  25611. pTDefRegMap(@Self)^.clr := $00000002
  25612. else
  25613. pTDefRegMap(@Self)^.&set := $00000002;
  25614. end;
  25615. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25616. begin
  25617. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25618. end;
  25619. procedure TOSC_OSCTUN.setTUN2; inline;
  25620. begin
  25621. pTDefRegMap(@Self)^.&set := $00000004;
  25622. end;
  25623. procedure TOSC_OSCTUN.clearTUN2; inline;
  25624. begin
  25625. pTDefRegMap(@Self)^.clr := $00000004;
  25626. end;
  25627. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25628. begin
  25629. if thebits = 0 then
  25630. pTDefRegMap(@Self)^.clr := $00000004
  25631. else
  25632. pTDefRegMap(@Self)^.&set := $00000004;
  25633. end;
  25634. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25635. begin
  25636. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25637. end;
  25638. procedure TOSC_OSCTUN.setTUN3; inline;
  25639. begin
  25640. pTDefRegMap(@Self)^.&set := $00000008;
  25641. end;
  25642. procedure TOSC_OSCTUN.clearTUN3; inline;
  25643. begin
  25644. pTDefRegMap(@Self)^.clr := $00000008;
  25645. end;
  25646. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25647. begin
  25648. if thebits = 0 then
  25649. pTDefRegMap(@Self)^.clr := $00000008
  25650. else
  25651. pTDefRegMap(@Self)^.&set := $00000008;
  25652. end;
  25653. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25654. begin
  25655. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25656. end;
  25657. procedure TOSC_OSCTUN.setTUN4; inline;
  25658. begin
  25659. pTDefRegMap(@Self)^.&set := $00000010;
  25660. end;
  25661. procedure TOSC_OSCTUN.clearTUN4; inline;
  25662. begin
  25663. pTDefRegMap(@Self)^.clr := $00000010;
  25664. end;
  25665. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25666. begin
  25667. if thebits = 0 then
  25668. pTDefRegMap(@Self)^.clr := $00000010
  25669. else
  25670. pTDefRegMap(@Self)^.&set := $00000010;
  25671. end;
  25672. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25673. begin
  25674. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25675. end;
  25676. procedure TOSC_OSCTUN.setTUN5; inline;
  25677. begin
  25678. pTDefRegMap(@Self)^.&set := $00000020;
  25679. end;
  25680. procedure TOSC_OSCTUN.clearTUN5; inline;
  25681. begin
  25682. pTDefRegMap(@Self)^.clr := $00000020;
  25683. end;
  25684. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25685. begin
  25686. if thebits = 0 then
  25687. pTDefRegMap(@Self)^.clr := $00000020
  25688. else
  25689. pTDefRegMap(@Self)^.&set := $00000020;
  25690. end;
  25691. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25692. begin
  25693. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25694. end;
  25695. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25696. begin
  25697. pTDefRegMap(@Self)^.val := thebits;
  25698. end;
  25699. function TOSC_OSCTUN.getw : TBits_32; inline;
  25700. begin
  25701. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25702. end;
  25703. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25704. begin
  25705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25706. end;
  25707. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25708. begin
  25709. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25710. end;
  25711. procedure TOSC_REFOCON.setACTIVE; inline;
  25712. begin
  25713. pTDefRegMap(@Self)^.&set := $00000100;
  25714. end;
  25715. procedure TOSC_REFOCON.clearACTIVE; inline;
  25716. begin
  25717. pTDefRegMap(@Self)^.clr := $00000100;
  25718. end;
  25719. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25720. begin
  25721. if thebits = 0 then
  25722. pTDefRegMap(@Self)^.clr := $00000100
  25723. else
  25724. pTDefRegMap(@Self)^.&set := $00000100;
  25725. end;
  25726. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25727. begin
  25728. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25729. end;
  25730. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25731. begin
  25732. pTDefRegMap(@Self)^.&set := $00000200;
  25733. end;
  25734. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25735. begin
  25736. pTDefRegMap(@Self)^.clr := $00000200;
  25737. end;
  25738. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25739. begin
  25740. if thebits = 0 then
  25741. pTDefRegMap(@Self)^.clr := $00000200
  25742. else
  25743. pTDefRegMap(@Self)^.&set := $00000200;
  25744. end;
  25745. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25746. begin
  25747. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25748. end;
  25749. procedure TOSC_REFOCON.setRSLP; inline;
  25750. begin
  25751. pTDefRegMap(@Self)^.&set := $00000800;
  25752. end;
  25753. procedure TOSC_REFOCON.clearRSLP; inline;
  25754. begin
  25755. pTDefRegMap(@Self)^.clr := $00000800;
  25756. end;
  25757. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25758. begin
  25759. if thebits = 0 then
  25760. pTDefRegMap(@Self)^.clr := $00000800
  25761. else
  25762. pTDefRegMap(@Self)^.&set := $00000800;
  25763. end;
  25764. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25765. begin
  25766. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25767. end;
  25768. procedure TOSC_REFOCON.setOE; inline;
  25769. begin
  25770. pTDefRegMap(@Self)^.&set := $00001000;
  25771. end;
  25772. procedure TOSC_REFOCON.clearOE; inline;
  25773. begin
  25774. pTDefRegMap(@Self)^.clr := $00001000;
  25775. end;
  25776. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25777. begin
  25778. if thebits = 0 then
  25779. pTDefRegMap(@Self)^.clr := $00001000
  25780. else
  25781. pTDefRegMap(@Self)^.&set := $00001000;
  25782. end;
  25783. function TOSC_REFOCON.getOE : TBits_1; inline;
  25784. begin
  25785. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25786. end;
  25787. procedure TOSC_REFOCON.setSIDL; inline;
  25788. begin
  25789. pTDefRegMap(@Self)^.&set := $00002000;
  25790. end;
  25791. procedure TOSC_REFOCON.clearSIDL; inline;
  25792. begin
  25793. pTDefRegMap(@Self)^.clr := $00002000;
  25794. end;
  25795. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25796. begin
  25797. if thebits = 0 then
  25798. pTDefRegMap(@Self)^.clr := $00002000
  25799. else
  25800. pTDefRegMap(@Self)^.&set := $00002000;
  25801. end;
  25802. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25803. begin
  25804. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25805. end;
  25806. procedure TOSC_REFOCON.setON; inline;
  25807. begin
  25808. pTDefRegMap(@Self)^.&set := $00008000;
  25809. end;
  25810. procedure TOSC_REFOCON.clearON; inline;
  25811. begin
  25812. pTDefRegMap(@Self)^.clr := $00008000;
  25813. end;
  25814. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25815. begin
  25816. if thebits = 0 then
  25817. pTDefRegMap(@Self)^.clr := $00008000
  25818. else
  25819. pTDefRegMap(@Self)^.&set := $00008000;
  25820. end;
  25821. function TOSC_REFOCON.getON : TBits_1; inline;
  25822. begin
  25823. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25824. end;
  25825. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25826. begin
  25827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25828. end;
  25829. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25830. begin
  25831. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25832. end;
  25833. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25834. begin
  25835. pTDefRegMap(@Self)^.val := thebits;
  25836. end;
  25837. function TOSC_REFOCON.getw : TBits_32; inline;
  25838. begin
  25839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25840. end;
  25841. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25842. begin
  25843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25844. end;
  25845. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25846. begin
  25847. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25848. end;
  25849. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25850. begin
  25851. pTDefRegMap(@Self)^.val := thebits;
  25852. end;
  25853. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25854. begin
  25855. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25856. end;
  25857. procedure TCFG_PMD5.setU1MD; inline;
  25858. begin
  25859. pTDefRegMap(@Self)^.&set := $00000001;
  25860. end;
  25861. procedure TCFG_PMD5.clearU1MD; inline;
  25862. begin
  25863. pTDefRegMap(@Self)^.clr := $00000001;
  25864. end;
  25865. procedure TCFG_PMD5.setU1MD(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 TCFG_PMD5.getU1MD : TBits_1; inline;
  25873. begin
  25874. getU1MD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25875. end;
  25876. procedure TCFG_PMD5.setU2MD; inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.&set := $00000002;
  25879. end;
  25880. procedure TCFG_PMD5.clearU2MD; inline;
  25881. begin
  25882. pTDefRegMap(@Self)^.clr := $00000002;
  25883. end;
  25884. procedure TCFG_PMD5.setU2MD(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 TCFG_PMD5.getU2MD : TBits_1; inline;
  25892. begin
  25893. getU2MD := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25894. end;
  25895. procedure TCFG_PMD5.setSPI1MD; inline;
  25896. begin
  25897. pTDefRegMap(@Self)^.&set := $00000100;
  25898. end;
  25899. procedure TCFG_PMD5.clearSPI1MD; inline;
  25900. begin
  25901. pTDefRegMap(@Self)^.clr := $00000100;
  25902. end;
  25903. procedure TCFG_PMD5.setSPI1MD(thebits : TBits_1); inline;
  25904. begin
  25905. if thebits = 0 then
  25906. pTDefRegMap(@Self)^.clr := $00000100
  25907. else
  25908. pTDefRegMap(@Self)^.&set := $00000100;
  25909. end;
  25910. function TCFG_PMD5.getSPI1MD : TBits_1; inline;
  25911. begin
  25912. getSPI1MD := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25913. end;
  25914. procedure TCFG_PMD5.setSPI2MD; inline;
  25915. begin
  25916. pTDefRegMap(@Self)^.&set := $00000200;
  25917. end;
  25918. procedure TCFG_PMD5.clearSPI2MD; inline;
  25919. begin
  25920. pTDefRegMap(@Self)^.clr := $00000200;
  25921. end;
  25922. procedure TCFG_PMD5.setSPI2MD(thebits : TBits_1); inline;
  25923. begin
  25924. if thebits = 0 then
  25925. pTDefRegMap(@Self)^.clr := $00000200
  25926. else
  25927. pTDefRegMap(@Self)^.&set := $00000200;
  25928. end;
  25929. function TCFG_PMD5.getSPI2MD : TBits_1; inline;
  25930. begin
  25931. getSPI2MD := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25932. end;
  25933. procedure TCFG_PMD5.setI2C1MD; inline;
  25934. begin
  25935. pTDefRegMap(@Self)^.&set := $00010000;
  25936. end;
  25937. procedure TCFG_PMD5.clearI2C1MD; inline;
  25938. begin
  25939. pTDefRegMap(@Self)^.clr := $00010000;
  25940. end;
  25941. procedure TCFG_PMD5.setI2C1MD(thebits : TBits_1); inline;
  25942. begin
  25943. if thebits = 0 then
  25944. pTDefRegMap(@Self)^.clr := $00010000
  25945. else
  25946. pTDefRegMap(@Self)^.&set := $00010000;
  25947. end;
  25948. function TCFG_PMD5.getI2C1MD : TBits_1; inline;
  25949. begin
  25950. getI2C1MD := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25951. end;
  25952. procedure TCFG_PMD5.setI2C2MD; inline;
  25953. begin
  25954. pTDefRegMap(@Self)^.&set := $00020000;
  25955. end;
  25956. procedure TCFG_PMD5.clearI2C2MD; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.clr := $00020000;
  25959. end;
  25960. procedure TCFG_PMD5.setI2C2MD(thebits : TBits_1); inline;
  25961. begin
  25962. if thebits = 0 then
  25963. pTDefRegMap(@Self)^.clr := $00020000
  25964. else
  25965. pTDefRegMap(@Self)^.&set := $00020000;
  25966. end;
  25967. function TCFG_PMD5.getI2C2MD : TBits_1; inline;
  25968. begin
  25969. getI2C2MD := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25970. end;
  25971. procedure TCFG_PMD5.setUSB1MD; inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.&set := $01000000;
  25974. end;
  25975. procedure TCFG_PMD5.clearUSB1MD; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.clr := $01000000;
  25978. end;
  25979. procedure TCFG_PMD5.setUSB1MD(thebits : TBits_1); inline;
  25980. begin
  25981. if thebits = 0 then
  25982. pTDefRegMap(@Self)^.clr := $01000000
  25983. else
  25984. pTDefRegMap(@Self)^.&set := $01000000;
  25985. end;
  25986. function TCFG_PMD5.getUSB1MD : TBits_1; inline;
  25987. begin
  25988. getUSB1MD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25989. end;
  25990. procedure TCFG_PMD5.setUSBMD; inline;
  25991. begin
  25992. pTDefRegMap(@Self)^.&set := $01000000;
  25993. end;
  25994. procedure TCFG_PMD5.clearUSBMD; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.clr := $01000000;
  25997. end;
  25998. procedure TCFG_PMD5.setUSBMD(thebits : TBits_1); inline;
  25999. begin
  26000. if thebits = 0 then
  26001. pTDefRegMap(@Self)^.clr := $01000000
  26002. else
  26003. pTDefRegMap(@Self)^.&set := $01000000;
  26004. end;
  26005. function TCFG_PMD5.getUSBMD : TBits_1; inline;
  26006. begin
  26007. getUSBMD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26008. end;
  26009. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  26010. begin
  26011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26012. end;
  26013. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  26014. begin
  26015. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26016. end;
  26017. procedure TNVM_NVMCON.setLVDSTAT; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.&set := $00000800;
  26020. end;
  26021. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  26022. begin
  26023. pTDefRegMap(@Self)^.clr := $00000800;
  26024. end;
  26025. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  26026. begin
  26027. if thebits = 0 then
  26028. pTDefRegMap(@Self)^.clr := $00000800
  26029. else
  26030. pTDefRegMap(@Self)^.&set := $00000800;
  26031. end;
  26032. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  26033. begin
  26034. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26035. end;
  26036. procedure TNVM_NVMCON.setLVDERR; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.&set := $00001000;
  26039. end;
  26040. procedure TNVM_NVMCON.clearLVDERR; inline;
  26041. begin
  26042. pTDefRegMap(@Self)^.clr := $00001000;
  26043. end;
  26044. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  26045. begin
  26046. if thebits = 0 then
  26047. pTDefRegMap(@Self)^.clr := $00001000
  26048. else
  26049. pTDefRegMap(@Self)^.&set := $00001000;
  26050. end;
  26051. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  26052. begin
  26053. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26054. end;
  26055. procedure TNVM_NVMCON.setWRERR; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.&set := $00002000;
  26058. end;
  26059. procedure TNVM_NVMCON.clearWRERR; inline;
  26060. begin
  26061. pTDefRegMap(@Self)^.clr := $00002000;
  26062. end;
  26063. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  26064. begin
  26065. if thebits = 0 then
  26066. pTDefRegMap(@Self)^.clr := $00002000
  26067. else
  26068. pTDefRegMap(@Self)^.&set := $00002000;
  26069. end;
  26070. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  26071. begin
  26072. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26073. end;
  26074. procedure TNVM_NVMCON.setWREN; inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.&set := $00004000;
  26077. end;
  26078. procedure TNVM_NVMCON.clearWREN; inline;
  26079. begin
  26080. pTDefRegMap(@Self)^.clr := $00004000;
  26081. end;
  26082. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  26083. begin
  26084. if thebits = 0 then
  26085. pTDefRegMap(@Self)^.clr := $00004000
  26086. else
  26087. pTDefRegMap(@Self)^.&set := $00004000;
  26088. end;
  26089. function TNVM_NVMCON.getWREN : TBits_1; inline;
  26090. begin
  26091. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26092. end;
  26093. procedure TNVM_NVMCON.setWR; inline;
  26094. begin
  26095. pTDefRegMap(@Self)^.&set := $00008000;
  26096. end;
  26097. procedure TNVM_NVMCON.clearWR; inline;
  26098. begin
  26099. pTDefRegMap(@Self)^.clr := $00008000;
  26100. end;
  26101. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  26102. begin
  26103. if thebits = 0 then
  26104. pTDefRegMap(@Self)^.clr := $00008000
  26105. else
  26106. pTDefRegMap(@Self)^.&set := $00008000;
  26107. end;
  26108. function TNVM_NVMCON.getWR : TBits_1; inline;
  26109. begin
  26110. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26111. end;
  26112. procedure TNVM_NVMCON.setNVMOP0; inline;
  26113. begin
  26114. pTDefRegMap(@Self)^.&set := $00000001;
  26115. end;
  26116. procedure TNVM_NVMCON.clearNVMOP0; inline;
  26117. begin
  26118. pTDefRegMap(@Self)^.clr := $00000001;
  26119. end;
  26120. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  26121. begin
  26122. if thebits = 0 then
  26123. pTDefRegMap(@Self)^.clr := $00000001
  26124. else
  26125. pTDefRegMap(@Self)^.&set := $00000001;
  26126. end;
  26127. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  26128. begin
  26129. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26130. end;
  26131. procedure TNVM_NVMCON.setNVMOP1; inline;
  26132. begin
  26133. pTDefRegMap(@Self)^.&set := $00000002;
  26134. end;
  26135. procedure TNVM_NVMCON.clearNVMOP1; inline;
  26136. begin
  26137. pTDefRegMap(@Self)^.clr := $00000002;
  26138. end;
  26139. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  26140. begin
  26141. if thebits = 0 then
  26142. pTDefRegMap(@Self)^.clr := $00000002
  26143. else
  26144. pTDefRegMap(@Self)^.&set := $00000002;
  26145. end;
  26146. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  26147. begin
  26148. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26149. end;
  26150. procedure TNVM_NVMCON.setNVMOP2; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.&set := $00000004;
  26153. end;
  26154. procedure TNVM_NVMCON.clearNVMOP2; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.clr := $00000004;
  26157. end;
  26158. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  26159. begin
  26160. if thebits = 0 then
  26161. pTDefRegMap(@Self)^.clr := $00000004
  26162. else
  26163. pTDefRegMap(@Self)^.&set := $00000004;
  26164. end;
  26165. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  26166. begin
  26167. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26168. end;
  26169. procedure TNVM_NVMCON.setNVMOP3; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.&set := $00000008;
  26172. end;
  26173. procedure TNVM_NVMCON.clearNVMOP3; inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.clr := $00000008;
  26176. end;
  26177. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  26178. begin
  26179. if thebits = 0 then
  26180. pTDefRegMap(@Self)^.clr := $00000008
  26181. else
  26182. pTDefRegMap(@Self)^.&set := $00000008;
  26183. end;
  26184. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  26185. begin
  26186. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26187. end;
  26188. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26191. end;
  26192. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  26193. begin
  26194. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26195. end;
  26196. procedure TNVM_NVMCON.setPROGOP0; inline;
  26197. begin
  26198. pTDefRegMap(@Self)^.&set := $00000001;
  26199. end;
  26200. procedure TNVM_NVMCON.clearPROGOP0; inline;
  26201. begin
  26202. pTDefRegMap(@Self)^.clr := $00000001;
  26203. end;
  26204. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  26205. begin
  26206. if thebits = 0 then
  26207. pTDefRegMap(@Self)^.clr := $00000001
  26208. else
  26209. pTDefRegMap(@Self)^.&set := $00000001;
  26210. end;
  26211. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  26212. begin
  26213. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26214. end;
  26215. procedure TNVM_NVMCON.setPROGOP1; inline;
  26216. begin
  26217. pTDefRegMap(@Self)^.&set := $00000002;
  26218. end;
  26219. procedure TNVM_NVMCON.clearPROGOP1; inline;
  26220. begin
  26221. pTDefRegMap(@Self)^.clr := $00000002;
  26222. end;
  26223. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  26224. begin
  26225. if thebits = 0 then
  26226. pTDefRegMap(@Self)^.clr := $00000002
  26227. else
  26228. pTDefRegMap(@Self)^.&set := $00000002;
  26229. end;
  26230. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  26231. begin
  26232. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26233. end;
  26234. procedure TNVM_NVMCON.setPROGOP2; inline;
  26235. begin
  26236. pTDefRegMap(@Self)^.&set := $00000004;
  26237. end;
  26238. procedure TNVM_NVMCON.clearPROGOP2; inline;
  26239. begin
  26240. pTDefRegMap(@Self)^.clr := $00000004;
  26241. end;
  26242. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  26243. begin
  26244. if thebits = 0 then
  26245. pTDefRegMap(@Self)^.clr := $00000004
  26246. else
  26247. pTDefRegMap(@Self)^.&set := $00000004;
  26248. end;
  26249. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  26250. begin
  26251. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26252. end;
  26253. procedure TNVM_NVMCON.setPROGOP3; inline;
  26254. begin
  26255. pTDefRegMap(@Self)^.&set := $00000008;
  26256. end;
  26257. procedure TNVM_NVMCON.clearPROGOP3; inline;
  26258. begin
  26259. pTDefRegMap(@Self)^.clr := $00000008;
  26260. end;
  26261. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  26262. begin
  26263. if thebits = 0 then
  26264. pTDefRegMap(@Self)^.clr := $00000008
  26265. else
  26266. pTDefRegMap(@Self)^.&set := $00000008;
  26267. end;
  26268. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  26269. begin
  26270. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26271. end;
  26272. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  26273. begin
  26274. pTDefRegMap(@Self)^.val := thebits;
  26275. end;
  26276. function TNVM_NVMCON.getw : TBits_32; inline;
  26277. begin
  26278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26279. end;
  26280. procedure TRCON_RCON.setPOR; inline;
  26281. begin
  26282. pTDefRegMap(@Self)^.&set := $00000001;
  26283. end;
  26284. procedure TRCON_RCON.clearPOR; inline;
  26285. begin
  26286. pTDefRegMap(@Self)^.clr := $00000001;
  26287. end;
  26288. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  26289. begin
  26290. if thebits = 0 then
  26291. pTDefRegMap(@Self)^.clr := $00000001
  26292. else
  26293. pTDefRegMap(@Self)^.&set := $00000001;
  26294. end;
  26295. function TRCON_RCON.getPOR : TBits_1; inline;
  26296. begin
  26297. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26298. end;
  26299. procedure TRCON_RCON.setBOR; inline;
  26300. begin
  26301. pTDefRegMap(@Self)^.&set := $00000002;
  26302. end;
  26303. procedure TRCON_RCON.clearBOR; inline;
  26304. begin
  26305. pTDefRegMap(@Self)^.clr := $00000002;
  26306. end;
  26307. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  26308. begin
  26309. if thebits = 0 then
  26310. pTDefRegMap(@Self)^.clr := $00000002
  26311. else
  26312. pTDefRegMap(@Self)^.&set := $00000002;
  26313. end;
  26314. function TRCON_RCON.getBOR : TBits_1; inline;
  26315. begin
  26316. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26317. end;
  26318. procedure TRCON_RCON.setIDLE; inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.&set := $00000004;
  26321. end;
  26322. procedure TRCON_RCON.clearIDLE; inline;
  26323. begin
  26324. pTDefRegMap(@Self)^.clr := $00000004;
  26325. end;
  26326. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  26327. begin
  26328. if thebits = 0 then
  26329. pTDefRegMap(@Self)^.clr := $00000004
  26330. else
  26331. pTDefRegMap(@Self)^.&set := $00000004;
  26332. end;
  26333. function TRCON_RCON.getIDLE : TBits_1; inline;
  26334. begin
  26335. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26336. end;
  26337. procedure TRCON_RCON.setSLEEP; inline;
  26338. begin
  26339. pTDefRegMap(@Self)^.&set := $00000008;
  26340. end;
  26341. procedure TRCON_RCON.clearSLEEP; inline;
  26342. begin
  26343. pTDefRegMap(@Self)^.clr := $00000008;
  26344. end;
  26345. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  26346. begin
  26347. if thebits = 0 then
  26348. pTDefRegMap(@Self)^.clr := $00000008
  26349. else
  26350. pTDefRegMap(@Self)^.&set := $00000008;
  26351. end;
  26352. function TRCON_RCON.getSLEEP : TBits_1; inline;
  26353. begin
  26354. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26355. end;
  26356. procedure TRCON_RCON.setWDTO; inline;
  26357. begin
  26358. pTDefRegMap(@Self)^.&set := $00000010;
  26359. end;
  26360. procedure TRCON_RCON.clearWDTO; inline;
  26361. begin
  26362. pTDefRegMap(@Self)^.clr := $00000010;
  26363. end;
  26364. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  26365. begin
  26366. if thebits = 0 then
  26367. pTDefRegMap(@Self)^.clr := $00000010
  26368. else
  26369. pTDefRegMap(@Self)^.&set := $00000010;
  26370. end;
  26371. function TRCON_RCON.getWDTO : TBits_1; inline;
  26372. begin
  26373. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26374. end;
  26375. procedure TRCON_RCON.setSWR; inline;
  26376. begin
  26377. pTDefRegMap(@Self)^.&set := $00000040;
  26378. end;
  26379. procedure TRCON_RCON.clearSWR; inline;
  26380. begin
  26381. pTDefRegMap(@Self)^.clr := $00000040;
  26382. end;
  26383. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  26384. begin
  26385. if thebits = 0 then
  26386. pTDefRegMap(@Self)^.clr := $00000040
  26387. else
  26388. pTDefRegMap(@Self)^.&set := $00000040;
  26389. end;
  26390. function TRCON_RCON.getSWR : TBits_1; inline;
  26391. begin
  26392. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26393. end;
  26394. procedure TRCON_RCON.setEXTR; inline;
  26395. begin
  26396. pTDefRegMap(@Self)^.&set := $00000080;
  26397. end;
  26398. procedure TRCON_RCON.clearEXTR; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.clr := $00000080;
  26401. end;
  26402. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  26403. begin
  26404. if thebits = 0 then
  26405. pTDefRegMap(@Self)^.clr := $00000080
  26406. else
  26407. pTDefRegMap(@Self)^.&set := $00000080;
  26408. end;
  26409. function TRCON_RCON.getEXTR : TBits_1; inline;
  26410. begin
  26411. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26412. end;
  26413. procedure TRCON_RCON.setVREGS; inline;
  26414. begin
  26415. pTDefRegMap(@Self)^.&set := $00000100;
  26416. end;
  26417. procedure TRCON_RCON.clearVREGS; inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.clr := $00000100;
  26420. end;
  26421. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  26422. begin
  26423. if thebits = 0 then
  26424. pTDefRegMap(@Self)^.clr := $00000100
  26425. else
  26426. pTDefRegMap(@Self)^.&set := $00000100;
  26427. end;
  26428. function TRCON_RCON.getVREGS : TBits_1; inline;
  26429. begin
  26430. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26431. end;
  26432. procedure TRCON_RCON.setCMR; inline;
  26433. begin
  26434. pTDefRegMap(@Self)^.&set := $00000200;
  26435. end;
  26436. procedure TRCON_RCON.clearCMR; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.clr := $00000200;
  26439. end;
  26440. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  26441. begin
  26442. if thebits = 0 then
  26443. pTDefRegMap(@Self)^.clr := $00000200
  26444. else
  26445. pTDefRegMap(@Self)^.&set := $00000200;
  26446. end;
  26447. function TRCON_RCON.getCMR : TBits_1; inline;
  26448. begin
  26449. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26450. end;
  26451. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  26452. begin
  26453. pTDefRegMap(@Self)^.val := thebits;
  26454. end;
  26455. function TRCON_RCON.getw : TBits_32; inline;
  26456. begin
  26457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26458. end;
  26459. procedure TRCON_RSWRST.setSWRST; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.&set := $00000001;
  26462. end;
  26463. procedure TRCON_RSWRST.clearSWRST; inline;
  26464. begin
  26465. pTDefRegMap(@Self)^.clr := $00000001;
  26466. end;
  26467. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  26468. begin
  26469. if thebits = 0 then
  26470. pTDefRegMap(@Self)^.clr := $00000001
  26471. else
  26472. pTDefRegMap(@Self)^.&set := $00000001;
  26473. end;
  26474. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  26475. begin
  26476. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26477. end;
  26478. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  26479. begin
  26480. pTDefRegMap(@Self)^.val := thebits;
  26481. end;
  26482. function TRCON_RSWRST.getw : TBits_32; inline;
  26483. begin
  26484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26485. end;
  26486. procedure TINT_INTCON.setINT0EP; inline;
  26487. begin
  26488. pTDefRegMap(@Self)^.&set := $00000001;
  26489. end;
  26490. procedure TINT_INTCON.clearINT0EP; inline;
  26491. begin
  26492. pTDefRegMap(@Self)^.clr := $00000001;
  26493. end;
  26494. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  26495. begin
  26496. if thebits = 0 then
  26497. pTDefRegMap(@Self)^.clr := $00000001
  26498. else
  26499. pTDefRegMap(@Self)^.&set := $00000001;
  26500. end;
  26501. function TINT_INTCON.getINT0EP : TBits_1; inline;
  26502. begin
  26503. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26504. end;
  26505. procedure TINT_INTCON.setINT1EP; inline;
  26506. begin
  26507. pTDefRegMap(@Self)^.&set := $00000002;
  26508. end;
  26509. procedure TINT_INTCON.clearINT1EP; inline;
  26510. begin
  26511. pTDefRegMap(@Self)^.clr := $00000002;
  26512. end;
  26513. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  26514. begin
  26515. if thebits = 0 then
  26516. pTDefRegMap(@Self)^.clr := $00000002
  26517. else
  26518. pTDefRegMap(@Self)^.&set := $00000002;
  26519. end;
  26520. function TINT_INTCON.getINT1EP : TBits_1; inline;
  26521. begin
  26522. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26523. end;
  26524. procedure TINT_INTCON.setINT2EP; inline;
  26525. begin
  26526. pTDefRegMap(@Self)^.&set := $00000004;
  26527. end;
  26528. procedure TINT_INTCON.clearINT2EP; inline;
  26529. begin
  26530. pTDefRegMap(@Self)^.clr := $00000004;
  26531. end;
  26532. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  26533. begin
  26534. if thebits = 0 then
  26535. pTDefRegMap(@Self)^.clr := $00000004
  26536. else
  26537. pTDefRegMap(@Self)^.&set := $00000004;
  26538. end;
  26539. function TINT_INTCON.getINT2EP : TBits_1; inline;
  26540. begin
  26541. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26542. end;
  26543. procedure TINT_INTCON.setINT3EP; inline;
  26544. begin
  26545. pTDefRegMap(@Self)^.&set := $00000008;
  26546. end;
  26547. procedure TINT_INTCON.clearINT3EP; inline;
  26548. begin
  26549. pTDefRegMap(@Self)^.clr := $00000008;
  26550. end;
  26551. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  26552. begin
  26553. if thebits = 0 then
  26554. pTDefRegMap(@Self)^.clr := $00000008
  26555. else
  26556. pTDefRegMap(@Self)^.&set := $00000008;
  26557. end;
  26558. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26559. begin
  26560. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26561. end;
  26562. procedure TINT_INTCON.setINT4EP; inline;
  26563. begin
  26564. pTDefRegMap(@Self)^.&set := $00000010;
  26565. end;
  26566. procedure TINT_INTCON.clearINT4EP; inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.clr := $00000010;
  26569. end;
  26570. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26571. begin
  26572. if thebits = 0 then
  26573. pTDefRegMap(@Self)^.clr := $00000010
  26574. else
  26575. pTDefRegMap(@Self)^.&set := $00000010;
  26576. end;
  26577. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26578. begin
  26579. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26580. end;
  26581. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26582. begin
  26583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26584. end;
  26585. function TINT_INTCON.getTPC : TBits_3; inline;
  26586. begin
  26587. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26588. end;
  26589. procedure TINT_INTCON.setMVEC; inline;
  26590. begin
  26591. pTDefRegMap(@Self)^.&set := $00001000;
  26592. end;
  26593. procedure TINT_INTCON.clearMVEC; inline;
  26594. begin
  26595. pTDefRegMap(@Self)^.clr := $00001000;
  26596. end;
  26597. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26598. begin
  26599. if thebits = 0 then
  26600. pTDefRegMap(@Self)^.clr := $00001000
  26601. else
  26602. pTDefRegMap(@Self)^.&set := $00001000;
  26603. end;
  26604. function TINT_INTCON.getMVEC : TBits_1; inline;
  26605. begin
  26606. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26607. end;
  26608. procedure TINT_INTCON.setSS0; inline;
  26609. begin
  26610. pTDefRegMap(@Self)^.&set := $00010000;
  26611. end;
  26612. procedure TINT_INTCON.clearSS0; inline;
  26613. begin
  26614. pTDefRegMap(@Self)^.clr := $00010000;
  26615. end;
  26616. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26617. begin
  26618. if thebits = 0 then
  26619. pTDefRegMap(@Self)^.clr := $00010000
  26620. else
  26621. pTDefRegMap(@Self)^.&set := $00010000;
  26622. end;
  26623. function TINT_INTCON.getSS0 : TBits_1; inline;
  26624. begin
  26625. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26626. end;
  26627. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26628. begin
  26629. pTDefRegMap(@Self)^.val := thebits;
  26630. end;
  26631. function TINT_INTCON.getw : TBits_32; inline;
  26632. begin
  26633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26634. end;
  26635. procedure TINT_IFS0.setCTIF; inline;
  26636. begin
  26637. pTDefRegMap(@Self)^.&set := $00000001;
  26638. end;
  26639. procedure TINT_IFS0.clearCTIF; inline;
  26640. begin
  26641. pTDefRegMap(@Self)^.clr := $00000001;
  26642. end;
  26643. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26644. begin
  26645. if thebits = 0 then
  26646. pTDefRegMap(@Self)^.clr := $00000001
  26647. else
  26648. pTDefRegMap(@Self)^.&set := $00000001;
  26649. end;
  26650. function TINT_IFS0.getCTIF : TBits_1; inline;
  26651. begin
  26652. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26653. end;
  26654. procedure TINT_IFS0.setCS0IF; inline;
  26655. begin
  26656. pTDefRegMap(@Self)^.&set := $00000002;
  26657. end;
  26658. procedure TINT_IFS0.clearCS0IF; inline;
  26659. begin
  26660. pTDefRegMap(@Self)^.clr := $00000002;
  26661. end;
  26662. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26663. begin
  26664. if thebits = 0 then
  26665. pTDefRegMap(@Self)^.clr := $00000002
  26666. else
  26667. pTDefRegMap(@Self)^.&set := $00000002;
  26668. end;
  26669. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26670. begin
  26671. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26672. end;
  26673. procedure TINT_IFS0.setCS1IF; inline;
  26674. begin
  26675. pTDefRegMap(@Self)^.&set := $00000004;
  26676. end;
  26677. procedure TINT_IFS0.clearCS1IF; inline;
  26678. begin
  26679. pTDefRegMap(@Self)^.clr := $00000004;
  26680. end;
  26681. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26682. begin
  26683. if thebits = 0 then
  26684. pTDefRegMap(@Self)^.clr := $00000004
  26685. else
  26686. pTDefRegMap(@Self)^.&set := $00000004;
  26687. end;
  26688. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26689. begin
  26690. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26691. end;
  26692. procedure TINT_IFS0.setINT0IF; inline;
  26693. begin
  26694. pTDefRegMap(@Self)^.&set := $00000008;
  26695. end;
  26696. procedure TINT_IFS0.clearINT0IF; inline;
  26697. begin
  26698. pTDefRegMap(@Self)^.clr := $00000008;
  26699. end;
  26700. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26701. begin
  26702. if thebits = 0 then
  26703. pTDefRegMap(@Self)^.clr := $00000008
  26704. else
  26705. pTDefRegMap(@Self)^.&set := $00000008;
  26706. end;
  26707. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26708. begin
  26709. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26710. end;
  26711. procedure TINT_IFS0.setT1IF; inline;
  26712. begin
  26713. pTDefRegMap(@Self)^.&set := $00000010;
  26714. end;
  26715. procedure TINT_IFS0.clearT1IF; inline;
  26716. begin
  26717. pTDefRegMap(@Self)^.clr := $00000010;
  26718. end;
  26719. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26720. begin
  26721. if thebits = 0 then
  26722. pTDefRegMap(@Self)^.clr := $00000010
  26723. else
  26724. pTDefRegMap(@Self)^.&set := $00000010;
  26725. end;
  26726. function TINT_IFS0.getT1IF : TBits_1; inline;
  26727. begin
  26728. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26729. end;
  26730. procedure TINT_IFS0.setIC1EIF; inline;
  26731. begin
  26732. pTDefRegMap(@Self)^.&set := $00000020;
  26733. end;
  26734. procedure TINT_IFS0.clearIC1EIF; inline;
  26735. begin
  26736. pTDefRegMap(@Self)^.clr := $00000020;
  26737. end;
  26738. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26739. begin
  26740. if thebits = 0 then
  26741. pTDefRegMap(@Self)^.clr := $00000020
  26742. else
  26743. pTDefRegMap(@Self)^.&set := $00000020;
  26744. end;
  26745. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26746. begin
  26747. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26748. end;
  26749. procedure TINT_IFS0.setIC1IF; inline;
  26750. begin
  26751. pTDefRegMap(@Self)^.&set := $00000040;
  26752. end;
  26753. procedure TINT_IFS0.clearIC1IF; inline;
  26754. begin
  26755. pTDefRegMap(@Self)^.clr := $00000040;
  26756. end;
  26757. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26758. begin
  26759. if thebits = 0 then
  26760. pTDefRegMap(@Self)^.clr := $00000040
  26761. else
  26762. pTDefRegMap(@Self)^.&set := $00000040;
  26763. end;
  26764. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26765. begin
  26766. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26767. end;
  26768. procedure TINT_IFS0.setOC1IF; inline;
  26769. begin
  26770. pTDefRegMap(@Self)^.&set := $00000080;
  26771. end;
  26772. procedure TINT_IFS0.clearOC1IF; inline;
  26773. begin
  26774. pTDefRegMap(@Self)^.clr := $00000080;
  26775. end;
  26776. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26777. begin
  26778. if thebits = 0 then
  26779. pTDefRegMap(@Self)^.clr := $00000080
  26780. else
  26781. pTDefRegMap(@Self)^.&set := $00000080;
  26782. end;
  26783. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26784. begin
  26785. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26786. end;
  26787. procedure TINT_IFS0.setINT1IF; inline;
  26788. begin
  26789. pTDefRegMap(@Self)^.&set := $00000100;
  26790. end;
  26791. procedure TINT_IFS0.clearINT1IF; inline;
  26792. begin
  26793. pTDefRegMap(@Self)^.clr := $00000100;
  26794. end;
  26795. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26796. begin
  26797. if thebits = 0 then
  26798. pTDefRegMap(@Self)^.clr := $00000100
  26799. else
  26800. pTDefRegMap(@Self)^.&set := $00000100;
  26801. end;
  26802. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26803. begin
  26804. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26805. end;
  26806. procedure TINT_IFS0.setT2IF; inline;
  26807. begin
  26808. pTDefRegMap(@Self)^.&set := $00000200;
  26809. end;
  26810. procedure TINT_IFS0.clearT2IF; inline;
  26811. begin
  26812. pTDefRegMap(@Self)^.clr := $00000200;
  26813. end;
  26814. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26815. begin
  26816. if thebits = 0 then
  26817. pTDefRegMap(@Self)^.clr := $00000200
  26818. else
  26819. pTDefRegMap(@Self)^.&set := $00000200;
  26820. end;
  26821. function TINT_IFS0.getT2IF : TBits_1; inline;
  26822. begin
  26823. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26824. end;
  26825. procedure TINT_IFS0.setIC2EIF; inline;
  26826. begin
  26827. pTDefRegMap(@Self)^.&set := $00000400;
  26828. end;
  26829. procedure TINT_IFS0.clearIC2EIF; inline;
  26830. begin
  26831. pTDefRegMap(@Self)^.clr := $00000400;
  26832. end;
  26833. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26834. begin
  26835. if thebits = 0 then
  26836. pTDefRegMap(@Self)^.clr := $00000400
  26837. else
  26838. pTDefRegMap(@Self)^.&set := $00000400;
  26839. end;
  26840. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26841. begin
  26842. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26843. end;
  26844. procedure TINT_IFS0.setIC2IF; inline;
  26845. begin
  26846. pTDefRegMap(@Self)^.&set := $00000800;
  26847. end;
  26848. procedure TINT_IFS0.clearIC2IF; inline;
  26849. begin
  26850. pTDefRegMap(@Self)^.clr := $00000800;
  26851. end;
  26852. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26853. begin
  26854. if thebits = 0 then
  26855. pTDefRegMap(@Self)^.clr := $00000800
  26856. else
  26857. pTDefRegMap(@Self)^.&set := $00000800;
  26858. end;
  26859. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26860. begin
  26861. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26862. end;
  26863. procedure TINT_IFS0.setOC2IF; inline;
  26864. begin
  26865. pTDefRegMap(@Self)^.&set := $00001000;
  26866. end;
  26867. procedure TINT_IFS0.clearOC2IF; inline;
  26868. begin
  26869. pTDefRegMap(@Self)^.clr := $00001000;
  26870. end;
  26871. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26872. begin
  26873. if thebits = 0 then
  26874. pTDefRegMap(@Self)^.clr := $00001000
  26875. else
  26876. pTDefRegMap(@Self)^.&set := $00001000;
  26877. end;
  26878. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26879. begin
  26880. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26881. end;
  26882. procedure TINT_IFS0.setINT2IF; inline;
  26883. begin
  26884. pTDefRegMap(@Self)^.&set := $00002000;
  26885. end;
  26886. procedure TINT_IFS0.clearINT2IF; inline;
  26887. begin
  26888. pTDefRegMap(@Self)^.clr := $00002000;
  26889. end;
  26890. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26891. begin
  26892. if thebits = 0 then
  26893. pTDefRegMap(@Self)^.clr := $00002000
  26894. else
  26895. pTDefRegMap(@Self)^.&set := $00002000;
  26896. end;
  26897. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26898. begin
  26899. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26900. end;
  26901. procedure TINT_IFS0.setT3IF; inline;
  26902. begin
  26903. pTDefRegMap(@Self)^.&set := $00004000;
  26904. end;
  26905. procedure TINT_IFS0.clearT3IF; inline;
  26906. begin
  26907. pTDefRegMap(@Self)^.clr := $00004000;
  26908. end;
  26909. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26910. begin
  26911. if thebits = 0 then
  26912. pTDefRegMap(@Self)^.clr := $00004000
  26913. else
  26914. pTDefRegMap(@Self)^.&set := $00004000;
  26915. end;
  26916. function TINT_IFS0.getT3IF : TBits_1; inline;
  26917. begin
  26918. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26919. end;
  26920. procedure TINT_IFS0.setIC3EIF; inline;
  26921. begin
  26922. pTDefRegMap(@Self)^.&set := $00008000;
  26923. end;
  26924. procedure TINT_IFS0.clearIC3EIF; inline;
  26925. begin
  26926. pTDefRegMap(@Self)^.clr := $00008000;
  26927. end;
  26928. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26929. begin
  26930. if thebits = 0 then
  26931. pTDefRegMap(@Self)^.clr := $00008000
  26932. else
  26933. pTDefRegMap(@Self)^.&set := $00008000;
  26934. end;
  26935. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26936. begin
  26937. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26938. end;
  26939. procedure TINT_IFS0.setIC3IF; inline;
  26940. begin
  26941. pTDefRegMap(@Self)^.&set := $00010000;
  26942. end;
  26943. procedure TINT_IFS0.clearIC3IF; inline;
  26944. begin
  26945. pTDefRegMap(@Self)^.clr := $00010000;
  26946. end;
  26947. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26948. begin
  26949. if thebits = 0 then
  26950. pTDefRegMap(@Self)^.clr := $00010000
  26951. else
  26952. pTDefRegMap(@Self)^.&set := $00010000;
  26953. end;
  26954. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26955. begin
  26956. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26957. end;
  26958. procedure TINT_IFS0.setOC3IF; inline;
  26959. begin
  26960. pTDefRegMap(@Self)^.&set := $00020000;
  26961. end;
  26962. procedure TINT_IFS0.clearOC3IF; inline;
  26963. begin
  26964. pTDefRegMap(@Self)^.clr := $00020000;
  26965. end;
  26966. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26967. begin
  26968. if thebits = 0 then
  26969. pTDefRegMap(@Self)^.clr := $00020000
  26970. else
  26971. pTDefRegMap(@Self)^.&set := $00020000;
  26972. end;
  26973. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26974. begin
  26975. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26976. end;
  26977. procedure TINT_IFS0.setINT3IF; inline;
  26978. begin
  26979. pTDefRegMap(@Self)^.&set := $00040000;
  26980. end;
  26981. procedure TINT_IFS0.clearINT3IF; inline;
  26982. begin
  26983. pTDefRegMap(@Self)^.clr := $00040000;
  26984. end;
  26985. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26986. begin
  26987. if thebits = 0 then
  26988. pTDefRegMap(@Self)^.clr := $00040000
  26989. else
  26990. pTDefRegMap(@Self)^.&set := $00040000;
  26991. end;
  26992. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26993. begin
  26994. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26995. end;
  26996. procedure TINT_IFS0.setT4IF; inline;
  26997. begin
  26998. pTDefRegMap(@Self)^.&set := $00080000;
  26999. end;
  27000. procedure TINT_IFS0.clearT4IF; inline;
  27001. begin
  27002. pTDefRegMap(@Self)^.clr := $00080000;
  27003. end;
  27004. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  27005. begin
  27006. if thebits = 0 then
  27007. pTDefRegMap(@Self)^.clr := $00080000
  27008. else
  27009. pTDefRegMap(@Self)^.&set := $00080000;
  27010. end;
  27011. function TINT_IFS0.getT4IF : TBits_1; inline;
  27012. begin
  27013. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27014. end;
  27015. procedure TINT_IFS0.setIC4EIF; inline;
  27016. begin
  27017. pTDefRegMap(@Self)^.&set := $00100000;
  27018. end;
  27019. procedure TINT_IFS0.clearIC4EIF; inline;
  27020. begin
  27021. pTDefRegMap(@Self)^.clr := $00100000;
  27022. end;
  27023. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  27024. begin
  27025. if thebits = 0 then
  27026. pTDefRegMap(@Self)^.clr := $00100000
  27027. else
  27028. pTDefRegMap(@Self)^.&set := $00100000;
  27029. end;
  27030. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  27031. begin
  27032. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27033. end;
  27034. procedure TINT_IFS0.setIC4IF; inline;
  27035. begin
  27036. pTDefRegMap(@Self)^.&set := $00200000;
  27037. end;
  27038. procedure TINT_IFS0.clearIC4IF; inline;
  27039. begin
  27040. pTDefRegMap(@Self)^.clr := $00200000;
  27041. end;
  27042. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  27043. begin
  27044. if thebits = 0 then
  27045. pTDefRegMap(@Self)^.clr := $00200000
  27046. else
  27047. pTDefRegMap(@Self)^.&set := $00200000;
  27048. end;
  27049. function TINT_IFS0.getIC4IF : TBits_1; inline;
  27050. begin
  27051. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27052. end;
  27053. procedure TINT_IFS0.setOC4IF; inline;
  27054. begin
  27055. pTDefRegMap(@Self)^.&set := $00400000;
  27056. end;
  27057. procedure TINT_IFS0.clearOC4IF; inline;
  27058. begin
  27059. pTDefRegMap(@Self)^.clr := $00400000;
  27060. end;
  27061. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  27062. begin
  27063. if thebits = 0 then
  27064. pTDefRegMap(@Self)^.clr := $00400000
  27065. else
  27066. pTDefRegMap(@Self)^.&set := $00400000;
  27067. end;
  27068. function TINT_IFS0.getOC4IF : TBits_1; inline;
  27069. begin
  27070. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27071. end;
  27072. procedure TINT_IFS0.setINT4IF; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.&set := $00800000;
  27075. end;
  27076. procedure TINT_IFS0.clearINT4IF; inline;
  27077. begin
  27078. pTDefRegMap(@Self)^.clr := $00800000;
  27079. end;
  27080. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  27081. begin
  27082. if thebits = 0 then
  27083. pTDefRegMap(@Self)^.clr := $00800000
  27084. else
  27085. pTDefRegMap(@Self)^.&set := $00800000;
  27086. end;
  27087. function TINT_IFS0.getINT4IF : TBits_1; inline;
  27088. begin
  27089. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27090. end;
  27091. procedure TINT_IFS0.setT5IF; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.&set := $01000000;
  27094. end;
  27095. procedure TINT_IFS0.clearT5IF; inline;
  27096. begin
  27097. pTDefRegMap(@Self)^.clr := $01000000;
  27098. end;
  27099. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  27100. begin
  27101. if thebits = 0 then
  27102. pTDefRegMap(@Self)^.clr := $01000000
  27103. else
  27104. pTDefRegMap(@Self)^.&set := $01000000;
  27105. end;
  27106. function TINT_IFS0.getT5IF : TBits_1; inline;
  27107. begin
  27108. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27109. end;
  27110. procedure TINT_IFS0.setIC5EIF; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.&set := $02000000;
  27113. end;
  27114. procedure TINT_IFS0.clearIC5EIF; inline;
  27115. begin
  27116. pTDefRegMap(@Self)^.clr := $02000000;
  27117. end;
  27118. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  27119. begin
  27120. if thebits = 0 then
  27121. pTDefRegMap(@Self)^.clr := $02000000
  27122. else
  27123. pTDefRegMap(@Self)^.&set := $02000000;
  27124. end;
  27125. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  27126. begin
  27127. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27128. end;
  27129. procedure TINT_IFS0.setIC5IF; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.&set := $04000000;
  27132. end;
  27133. procedure TINT_IFS0.clearIC5IF; inline;
  27134. begin
  27135. pTDefRegMap(@Self)^.clr := $04000000;
  27136. end;
  27137. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  27138. begin
  27139. if thebits = 0 then
  27140. pTDefRegMap(@Self)^.clr := $04000000
  27141. else
  27142. pTDefRegMap(@Self)^.&set := $04000000;
  27143. end;
  27144. function TINT_IFS0.getIC5IF : TBits_1; inline;
  27145. begin
  27146. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27147. end;
  27148. procedure TINT_IFS0.setOC5IF; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.&set := $08000000;
  27151. end;
  27152. procedure TINT_IFS0.clearOC5IF; inline;
  27153. begin
  27154. pTDefRegMap(@Self)^.clr := $08000000;
  27155. end;
  27156. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  27157. begin
  27158. if thebits = 0 then
  27159. pTDefRegMap(@Self)^.clr := $08000000
  27160. else
  27161. pTDefRegMap(@Self)^.&set := $08000000;
  27162. end;
  27163. function TINT_IFS0.getOC5IF : TBits_1; inline;
  27164. begin
  27165. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27166. end;
  27167. procedure TINT_IFS0.setAD1IF; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.&set := $10000000;
  27170. end;
  27171. procedure TINT_IFS0.clearAD1IF; inline;
  27172. begin
  27173. pTDefRegMap(@Self)^.clr := $10000000;
  27174. end;
  27175. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  27176. begin
  27177. if thebits = 0 then
  27178. pTDefRegMap(@Self)^.clr := $10000000
  27179. else
  27180. pTDefRegMap(@Self)^.&set := $10000000;
  27181. end;
  27182. function TINT_IFS0.getAD1IF : TBits_1; inline;
  27183. begin
  27184. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27185. end;
  27186. procedure TINT_IFS0.setFSCMIF; inline;
  27187. begin
  27188. pTDefRegMap(@Self)^.&set := $20000000;
  27189. end;
  27190. procedure TINT_IFS0.clearFSCMIF; inline;
  27191. begin
  27192. pTDefRegMap(@Self)^.clr := $20000000;
  27193. end;
  27194. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  27195. begin
  27196. if thebits = 0 then
  27197. pTDefRegMap(@Self)^.clr := $20000000
  27198. else
  27199. pTDefRegMap(@Self)^.&set := $20000000;
  27200. end;
  27201. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  27202. begin
  27203. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27204. end;
  27205. procedure TINT_IFS0.setRTCCIF; inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.&set := $40000000;
  27208. end;
  27209. procedure TINT_IFS0.clearRTCCIF; inline;
  27210. begin
  27211. pTDefRegMap(@Self)^.clr := $40000000;
  27212. end;
  27213. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  27214. begin
  27215. if thebits = 0 then
  27216. pTDefRegMap(@Self)^.clr := $40000000
  27217. else
  27218. pTDefRegMap(@Self)^.&set := $40000000;
  27219. end;
  27220. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  27221. begin
  27222. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27223. end;
  27224. procedure TINT_IFS0.setFCEIF; inline;
  27225. begin
  27226. pTDefRegMap(@Self)^.&set := $80000000;
  27227. end;
  27228. procedure TINT_IFS0.clearFCEIF; inline;
  27229. begin
  27230. pTDefRegMap(@Self)^.clr := $80000000;
  27231. end;
  27232. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  27233. begin
  27234. if thebits = 0 then
  27235. pTDefRegMap(@Self)^.clr := $80000000
  27236. else
  27237. pTDefRegMap(@Self)^.&set := $80000000;
  27238. end;
  27239. function TINT_IFS0.getFCEIF : TBits_1; inline;
  27240. begin
  27241. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27242. end;
  27243. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  27244. begin
  27245. pTDefRegMap(@Self)^.val := thebits;
  27246. end;
  27247. function TINT_IFS0.getw : TBits_32; inline;
  27248. begin
  27249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27250. end;
  27251. procedure TINT_IFS1.setCMP1IF; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.&set := $00000001;
  27254. end;
  27255. procedure TINT_IFS1.clearCMP1IF; inline;
  27256. begin
  27257. pTDefRegMap(@Self)^.clr := $00000001;
  27258. end;
  27259. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  27260. begin
  27261. if thebits = 0 then
  27262. pTDefRegMap(@Self)^.clr := $00000001
  27263. else
  27264. pTDefRegMap(@Self)^.&set := $00000001;
  27265. end;
  27266. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  27267. begin
  27268. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27269. end;
  27270. procedure TINT_IFS1.setCMP2IF; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.&set := $00000002;
  27273. end;
  27274. procedure TINT_IFS1.clearCMP2IF; inline;
  27275. begin
  27276. pTDefRegMap(@Self)^.clr := $00000002;
  27277. end;
  27278. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  27279. begin
  27280. if thebits = 0 then
  27281. pTDefRegMap(@Self)^.clr := $00000002
  27282. else
  27283. pTDefRegMap(@Self)^.&set := $00000002;
  27284. end;
  27285. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  27286. begin
  27287. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27288. end;
  27289. procedure TINT_IFS1.setCMP3IF; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.&set := $00000004;
  27292. end;
  27293. procedure TINT_IFS1.clearCMP3IF; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.clr := $00000004;
  27296. end;
  27297. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  27298. begin
  27299. if thebits = 0 then
  27300. pTDefRegMap(@Self)^.clr := $00000004
  27301. else
  27302. pTDefRegMap(@Self)^.&set := $00000004;
  27303. end;
  27304. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  27305. begin
  27306. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27307. end;
  27308. procedure TINT_IFS1.setUSBIF; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.&set := $00000008;
  27311. end;
  27312. procedure TINT_IFS1.clearUSBIF; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.clr := $00000008;
  27315. end;
  27316. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  27317. begin
  27318. if thebits = 0 then
  27319. pTDefRegMap(@Self)^.clr := $00000008
  27320. else
  27321. pTDefRegMap(@Self)^.&set := $00000008;
  27322. end;
  27323. function TINT_IFS1.getUSBIF : TBits_1; inline;
  27324. begin
  27325. getUSBIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27326. end;
  27327. procedure TINT_IFS1.setSPI1EIF; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.&set := $00000010;
  27330. end;
  27331. procedure TINT_IFS1.clearSPI1EIF; inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.clr := $00000010;
  27334. end;
  27335. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  27336. begin
  27337. if thebits = 0 then
  27338. pTDefRegMap(@Self)^.clr := $00000010
  27339. else
  27340. pTDefRegMap(@Self)^.&set := $00000010;
  27341. end;
  27342. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  27343. begin
  27344. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27345. end;
  27346. procedure TINT_IFS1.setSPI1RXIF; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.&set := $00000020;
  27349. end;
  27350. procedure TINT_IFS1.clearSPI1RXIF; inline;
  27351. begin
  27352. pTDefRegMap(@Self)^.clr := $00000020;
  27353. end;
  27354. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  27355. begin
  27356. if thebits = 0 then
  27357. pTDefRegMap(@Self)^.clr := $00000020
  27358. else
  27359. pTDefRegMap(@Self)^.&set := $00000020;
  27360. end;
  27361. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  27362. begin
  27363. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27364. end;
  27365. procedure TINT_IFS1.setSPI1TXIF; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.&set := $00000040;
  27368. end;
  27369. procedure TINT_IFS1.clearSPI1TXIF; inline;
  27370. begin
  27371. pTDefRegMap(@Self)^.clr := $00000040;
  27372. end;
  27373. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  27374. begin
  27375. if thebits = 0 then
  27376. pTDefRegMap(@Self)^.clr := $00000040
  27377. else
  27378. pTDefRegMap(@Self)^.&set := $00000040;
  27379. end;
  27380. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  27381. begin
  27382. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27383. end;
  27384. procedure TINT_IFS1.setU1EIF; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.&set := $00000080;
  27387. end;
  27388. procedure TINT_IFS1.clearU1EIF; inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.clr := $00000080;
  27391. end;
  27392. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  27393. begin
  27394. if thebits = 0 then
  27395. pTDefRegMap(@Self)^.clr := $00000080
  27396. else
  27397. pTDefRegMap(@Self)^.&set := $00000080;
  27398. end;
  27399. function TINT_IFS1.getU1EIF : TBits_1; inline;
  27400. begin
  27401. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27402. end;
  27403. procedure TINT_IFS1.setU1RXIF; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.&set := $00000100;
  27406. end;
  27407. procedure TINT_IFS1.clearU1RXIF; inline;
  27408. begin
  27409. pTDefRegMap(@Self)^.clr := $00000100;
  27410. end;
  27411. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  27412. begin
  27413. if thebits = 0 then
  27414. pTDefRegMap(@Self)^.clr := $00000100
  27415. else
  27416. pTDefRegMap(@Self)^.&set := $00000100;
  27417. end;
  27418. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  27419. begin
  27420. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27421. end;
  27422. procedure TINT_IFS1.setU1TXIF; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.&set := $00000200;
  27425. end;
  27426. procedure TINT_IFS1.clearU1TXIF; inline;
  27427. begin
  27428. pTDefRegMap(@Self)^.clr := $00000200;
  27429. end;
  27430. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  27431. begin
  27432. if thebits = 0 then
  27433. pTDefRegMap(@Self)^.clr := $00000200
  27434. else
  27435. pTDefRegMap(@Self)^.&set := $00000200;
  27436. end;
  27437. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  27438. begin
  27439. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27440. end;
  27441. procedure TINT_IFS1.setI2C1BIF; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.&set := $00000400;
  27444. end;
  27445. procedure TINT_IFS1.clearI2C1BIF; inline;
  27446. begin
  27447. pTDefRegMap(@Self)^.clr := $00000400;
  27448. end;
  27449. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  27450. begin
  27451. if thebits = 0 then
  27452. pTDefRegMap(@Self)^.clr := $00000400
  27453. else
  27454. pTDefRegMap(@Self)^.&set := $00000400;
  27455. end;
  27456. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  27457. begin
  27458. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27459. end;
  27460. procedure TINT_IFS1.setI2C1SIF; inline;
  27461. begin
  27462. pTDefRegMap(@Self)^.&set := $00000800;
  27463. end;
  27464. procedure TINT_IFS1.clearI2C1SIF; inline;
  27465. begin
  27466. pTDefRegMap(@Self)^.clr := $00000800;
  27467. end;
  27468. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  27469. begin
  27470. if thebits = 0 then
  27471. pTDefRegMap(@Self)^.clr := $00000800
  27472. else
  27473. pTDefRegMap(@Self)^.&set := $00000800;
  27474. end;
  27475. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  27476. begin
  27477. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27478. end;
  27479. procedure TINT_IFS1.setI2C1MIF; inline;
  27480. begin
  27481. pTDefRegMap(@Self)^.&set := $00001000;
  27482. end;
  27483. procedure TINT_IFS1.clearI2C1MIF; inline;
  27484. begin
  27485. pTDefRegMap(@Self)^.clr := $00001000;
  27486. end;
  27487. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  27488. begin
  27489. if thebits = 0 then
  27490. pTDefRegMap(@Self)^.clr := $00001000
  27491. else
  27492. pTDefRegMap(@Self)^.&set := $00001000;
  27493. end;
  27494. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  27495. begin
  27496. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27497. end;
  27498. procedure TINT_IFS1.setCNAIF; inline;
  27499. begin
  27500. pTDefRegMap(@Self)^.&set := $00002000;
  27501. end;
  27502. procedure TINT_IFS1.clearCNAIF; inline;
  27503. begin
  27504. pTDefRegMap(@Self)^.clr := $00002000;
  27505. end;
  27506. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  27507. begin
  27508. if thebits = 0 then
  27509. pTDefRegMap(@Self)^.clr := $00002000
  27510. else
  27511. pTDefRegMap(@Self)^.&set := $00002000;
  27512. end;
  27513. function TINT_IFS1.getCNAIF : TBits_1; inline;
  27514. begin
  27515. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27516. end;
  27517. procedure TINT_IFS1.setCNBIF; inline;
  27518. begin
  27519. pTDefRegMap(@Self)^.&set := $00004000;
  27520. end;
  27521. procedure TINT_IFS1.clearCNBIF; inline;
  27522. begin
  27523. pTDefRegMap(@Self)^.clr := $00004000;
  27524. end;
  27525. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  27526. begin
  27527. if thebits = 0 then
  27528. pTDefRegMap(@Self)^.clr := $00004000
  27529. else
  27530. pTDefRegMap(@Self)^.&set := $00004000;
  27531. end;
  27532. function TINT_IFS1.getCNBIF : TBits_1; inline;
  27533. begin
  27534. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27535. end;
  27536. procedure TINT_IFS1.setCNCIF; inline;
  27537. begin
  27538. pTDefRegMap(@Self)^.&set := $00008000;
  27539. end;
  27540. procedure TINT_IFS1.clearCNCIF; inline;
  27541. begin
  27542. pTDefRegMap(@Self)^.clr := $00008000;
  27543. end;
  27544. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  27545. begin
  27546. if thebits = 0 then
  27547. pTDefRegMap(@Self)^.clr := $00008000
  27548. else
  27549. pTDefRegMap(@Self)^.&set := $00008000;
  27550. end;
  27551. function TINT_IFS1.getCNCIF : TBits_1; inline;
  27552. begin
  27553. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27554. end;
  27555. procedure TINT_IFS1.setPMPIF; inline;
  27556. begin
  27557. pTDefRegMap(@Self)^.&set := $00010000;
  27558. end;
  27559. procedure TINT_IFS1.clearPMPIF; inline;
  27560. begin
  27561. pTDefRegMap(@Self)^.clr := $00010000;
  27562. end;
  27563. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  27564. begin
  27565. if thebits = 0 then
  27566. pTDefRegMap(@Self)^.clr := $00010000
  27567. else
  27568. pTDefRegMap(@Self)^.&set := $00010000;
  27569. end;
  27570. function TINT_IFS1.getPMPIF : TBits_1; inline;
  27571. begin
  27572. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27573. end;
  27574. procedure TINT_IFS1.setPMPEIF; inline;
  27575. begin
  27576. pTDefRegMap(@Self)^.&set := $00020000;
  27577. end;
  27578. procedure TINT_IFS1.clearPMPEIF; inline;
  27579. begin
  27580. pTDefRegMap(@Self)^.clr := $00020000;
  27581. end;
  27582. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27583. begin
  27584. if thebits = 0 then
  27585. pTDefRegMap(@Self)^.clr := $00020000
  27586. else
  27587. pTDefRegMap(@Self)^.&set := $00020000;
  27588. end;
  27589. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27590. begin
  27591. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27592. end;
  27593. procedure TINT_IFS1.setSPI2EIF; inline;
  27594. begin
  27595. pTDefRegMap(@Self)^.&set := $00040000;
  27596. end;
  27597. procedure TINT_IFS1.clearSPI2EIF; inline;
  27598. begin
  27599. pTDefRegMap(@Self)^.clr := $00040000;
  27600. end;
  27601. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27602. begin
  27603. if thebits = 0 then
  27604. pTDefRegMap(@Self)^.clr := $00040000
  27605. else
  27606. pTDefRegMap(@Self)^.&set := $00040000;
  27607. end;
  27608. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27609. begin
  27610. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27611. end;
  27612. procedure TINT_IFS1.setSPI2RXIF; inline;
  27613. begin
  27614. pTDefRegMap(@Self)^.&set := $00080000;
  27615. end;
  27616. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27617. begin
  27618. pTDefRegMap(@Self)^.clr := $00080000;
  27619. end;
  27620. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27621. begin
  27622. if thebits = 0 then
  27623. pTDefRegMap(@Self)^.clr := $00080000
  27624. else
  27625. pTDefRegMap(@Self)^.&set := $00080000;
  27626. end;
  27627. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27628. begin
  27629. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27630. end;
  27631. procedure TINT_IFS1.setSPI2TXIF; inline;
  27632. begin
  27633. pTDefRegMap(@Self)^.&set := $00100000;
  27634. end;
  27635. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27636. begin
  27637. pTDefRegMap(@Self)^.clr := $00100000;
  27638. end;
  27639. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27640. begin
  27641. if thebits = 0 then
  27642. pTDefRegMap(@Self)^.clr := $00100000
  27643. else
  27644. pTDefRegMap(@Self)^.&set := $00100000;
  27645. end;
  27646. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27647. begin
  27648. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27649. end;
  27650. procedure TINT_IFS1.setU2EIF; inline;
  27651. begin
  27652. pTDefRegMap(@Self)^.&set := $00200000;
  27653. end;
  27654. procedure TINT_IFS1.clearU2EIF; inline;
  27655. begin
  27656. pTDefRegMap(@Self)^.clr := $00200000;
  27657. end;
  27658. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27659. begin
  27660. if thebits = 0 then
  27661. pTDefRegMap(@Self)^.clr := $00200000
  27662. else
  27663. pTDefRegMap(@Self)^.&set := $00200000;
  27664. end;
  27665. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27666. begin
  27667. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27668. end;
  27669. procedure TINT_IFS1.setU2RXIF; inline;
  27670. begin
  27671. pTDefRegMap(@Self)^.&set := $00400000;
  27672. end;
  27673. procedure TINT_IFS1.clearU2RXIF; inline;
  27674. begin
  27675. pTDefRegMap(@Self)^.clr := $00400000;
  27676. end;
  27677. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27678. begin
  27679. if thebits = 0 then
  27680. pTDefRegMap(@Self)^.clr := $00400000
  27681. else
  27682. pTDefRegMap(@Self)^.&set := $00400000;
  27683. end;
  27684. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27685. begin
  27686. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27687. end;
  27688. procedure TINT_IFS1.setU2TXIF; inline;
  27689. begin
  27690. pTDefRegMap(@Self)^.&set := $00800000;
  27691. end;
  27692. procedure TINT_IFS1.clearU2TXIF; inline;
  27693. begin
  27694. pTDefRegMap(@Self)^.clr := $00800000;
  27695. end;
  27696. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27697. begin
  27698. if thebits = 0 then
  27699. pTDefRegMap(@Self)^.clr := $00800000
  27700. else
  27701. pTDefRegMap(@Self)^.&set := $00800000;
  27702. end;
  27703. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27704. begin
  27705. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27706. end;
  27707. procedure TINT_IFS1.setI2C2BIF; inline;
  27708. begin
  27709. pTDefRegMap(@Self)^.&set := $01000000;
  27710. end;
  27711. procedure TINT_IFS1.clearI2C2BIF; inline;
  27712. begin
  27713. pTDefRegMap(@Self)^.clr := $01000000;
  27714. end;
  27715. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27716. begin
  27717. if thebits = 0 then
  27718. pTDefRegMap(@Self)^.clr := $01000000
  27719. else
  27720. pTDefRegMap(@Self)^.&set := $01000000;
  27721. end;
  27722. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27723. begin
  27724. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27725. end;
  27726. procedure TINT_IFS1.setI2C2SIF; inline;
  27727. begin
  27728. pTDefRegMap(@Self)^.&set := $02000000;
  27729. end;
  27730. procedure TINT_IFS1.clearI2C2SIF; inline;
  27731. begin
  27732. pTDefRegMap(@Self)^.clr := $02000000;
  27733. end;
  27734. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27735. begin
  27736. if thebits = 0 then
  27737. pTDefRegMap(@Self)^.clr := $02000000
  27738. else
  27739. pTDefRegMap(@Self)^.&set := $02000000;
  27740. end;
  27741. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27742. begin
  27743. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27744. end;
  27745. procedure TINT_IFS1.setI2C2MIF; inline;
  27746. begin
  27747. pTDefRegMap(@Self)^.&set := $04000000;
  27748. end;
  27749. procedure TINT_IFS1.clearI2C2MIF; inline;
  27750. begin
  27751. pTDefRegMap(@Self)^.clr := $04000000;
  27752. end;
  27753. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27754. begin
  27755. if thebits = 0 then
  27756. pTDefRegMap(@Self)^.clr := $04000000
  27757. else
  27758. pTDefRegMap(@Self)^.&set := $04000000;
  27759. end;
  27760. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27761. begin
  27762. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27763. end;
  27764. procedure TINT_IFS1.setCTMUIF; inline;
  27765. begin
  27766. pTDefRegMap(@Self)^.&set := $08000000;
  27767. end;
  27768. procedure TINT_IFS1.clearCTMUIF; inline;
  27769. begin
  27770. pTDefRegMap(@Self)^.clr := $08000000;
  27771. end;
  27772. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27773. begin
  27774. if thebits = 0 then
  27775. pTDefRegMap(@Self)^.clr := $08000000
  27776. else
  27777. pTDefRegMap(@Self)^.&set := $08000000;
  27778. end;
  27779. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27780. begin
  27781. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27782. end;
  27783. procedure TINT_IFS1.setDMA0IF; inline;
  27784. begin
  27785. pTDefRegMap(@Self)^.&set := $10000000;
  27786. end;
  27787. procedure TINT_IFS1.clearDMA0IF; inline;
  27788. begin
  27789. pTDefRegMap(@Self)^.clr := $10000000;
  27790. end;
  27791. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27792. begin
  27793. if thebits = 0 then
  27794. pTDefRegMap(@Self)^.clr := $10000000
  27795. else
  27796. pTDefRegMap(@Self)^.&set := $10000000;
  27797. end;
  27798. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27799. begin
  27800. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27801. end;
  27802. procedure TINT_IFS1.setDMA1IF; inline;
  27803. begin
  27804. pTDefRegMap(@Self)^.&set := $20000000;
  27805. end;
  27806. procedure TINT_IFS1.clearDMA1IF; inline;
  27807. begin
  27808. pTDefRegMap(@Self)^.clr := $20000000;
  27809. end;
  27810. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27811. begin
  27812. if thebits = 0 then
  27813. pTDefRegMap(@Self)^.clr := $20000000
  27814. else
  27815. pTDefRegMap(@Self)^.&set := $20000000;
  27816. end;
  27817. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27818. begin
  27819. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27820. end;
  27821. procedure TINT_IFS1.setDMA2IF; inline;
  27822. begin
  27823. pTDefRegMap(@Self)^.&set := $40000000;
  27824. end;
  27825. procedure TINT_IFS1.clearDMA2IF; inline;
  27826. begin
  27827. pTDefRegMap(@Self)^.clr := $40000000;
  27828. end;
  27829. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27830. begin
  27831. if thebits = 0 then
  27832. pTDefRegMap(@Self)^.clr := $40000000
  27833. else
  27834. pTDefRegMap(@Self)^.&set := $40000000;
  27835. end;
  27836. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27837. begin
  27838. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27839. end;
  27840. procedure TINT_IFS1.setDMA3IF; inline;
  27841. begin
  27842. pTDefRegMap(@Self)^.&set := $80000000;
  27843. end;
  27844. procedure TINT_IFS1.clearDMA3IF; inline;
  27845. begin
  27846. pTDefRegMap(@Self)^.clr := $80000000;
  27847. end;
  27848. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27849. begin
  27850. if thebits = 0 then
  27851. pTDefRegMap(@Self)^.clr := $80000000
  27852. else
  27853. pTDefRegMap(@Self)^.&set := $80000000;
  27854. end;
  27855. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27856. begin
  27857. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27858. end;
  27859. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27860. begin
  27861. pTDefRegMap(@Self)^.val := thebits;
  27862. end;
  27863. function TINT_IFS1.getw : TBits_32; inline;
  27864. begin
  27865. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27866. end;
  27867. procedure TINT_IEC0.setCTIE; inline;
  27868. begin
  27869. pTDefRegMap(@Self)^.&set := $00000001;
  27870. end;
  27871. procedure TINT_IEC0.clearCTIE; inline;
  27872. begin
  27873. pTDefRegMap(@Self)^.clr := $00000001;
  27874. end;
  27875. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27876. begin
  27877. if thebits = 0 then
  27878. pTDefRegMap(@Self)^.clr := $00000001
  27879. else
  27880. pTDefRegMap(@Self)^.&set := $00000001;
  27881. end;
  27882. function TINT_IEC0.getCTIE : TBits_1; inline;
  27883. begin
  27884. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27885. end;
  27886. procedure TINT_IEC0.setCS0IE; inline;
  27887. begin
  27888. pTDefRegMap(@Self)^.&set := $00000002;
  27889. end;
  27890. procedure TINT_IEC0.clearCS0IE; inline;
  27891. begin
  27892. pTDefRegMap(@Self)^.clr := $00000002;
  27893. end;
  27894. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27895. begin
  27896. if thebits = 0 then
  27897. pTDefRegMap(@Self)^.clr := $00000002
  27898. else
  27899. pTDefRegMap(@Self)^.&set := $00000002;
  27900. end;
  27901. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27902. begin
  27903. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27904. end;
  27905. procedure TINT_IEC0.setCS1IE; inline;
  27906. begin
  27907. pTDefRegMap(@Self)^.&set := $00000004;
  27908. end;
  27909. procedure TINT_IEC0.clearCS1IE; inline;
  27910. begin
  27911. pTDefRegMap(@Self)^.clr := $00000004;
  27912. end;
  27913. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27914. begin
  27915. if thebits = 0 then
  27916. pTDefRegMap(@Self)^.clr := $00000004
  27917. else
  27918. pTDefRegMap(@Self)^.&set := $00000004;
  27919. end;
  27920. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27921. begin
  27922. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27923. end;
  27924. procedure TINT_IEC0.setINT0IE; inline;
  27925. begin
  27926. pTDefRegMap(@Self)^.&set := $00000008;
  27927. end;
  27928. procedure TINT_IEC0.clearINT0IE; inline;
  27929. begin
  27930. pTDefRegMap(@Self)^.clr := $00000008;
  27931. end;
  27932. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27933. begin
  27934. if thebits = 0 then
  27935. pTDefRegMap(@Self)^.clr := $00000008
  27936. else
  27937. pTDefRegMap(@Self)^.&set := $00000008;
  27938. end;
  27939. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27940. begin
  27941. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27942. end;
  27943. procedure TINT_IEC0.setT1IE; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.&set := $00000010;
  27946. end;
  27947. procedure TINT_IEC0.clearT1IE; inline;
  27948. begin
  27949. pTDefRegMap(@Self)^.clr := $00000010;
  27950. end;
  27951. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27952. begin
  27953. if thebits = 0 then
  27954. pTDefRegMap(@Self)^.clr := $00000010
  27955. else
  27956. pTDefRegMap(@Self)^.&set := $00000010;
  27957. end;
  27958. function TINT_IEC0.getT1IE : TBits_1; inline;
  27959. begin
  27960. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27961. end;
  27962. procedure TINT_IEC0.setIC1EIE; inline;
  27963. begin
  27964. pTDefRegMap(@Self)^.&set := $00000020;
  27965. end;
  27966. procedure TINT_IEC0.clearIC1EIE; inline;
  27967. begin
  27968. pTDefRegMap(@Self)^.clr := $00000020;
  27969. end;
  27970. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27971. begin
  27972. if thebits = 0 then
  27973. pTDefRegMap(@Self)^.clr := $00000020
  27974. else
  27975. pTDefRegMap(@Self)^.&set := $00000020;
  27976. end;
  27977. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27978. begin
  27979. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27980. end;
  27981. procedure TINT_IEC0.setIC1IE; inline;
  27982. begin
  27983. pTDefRegMap(@Self)^.&set := $00000040;
  27984. end;
  27985. procedure TINT_IEC0.clearIC1IE; inline;
  27986. begin
  27987. pTDefRegMap(@Self)^.clr := $00000040;
  27988. end;
  27989. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27990. begin
  27991. if thebits = 0 then
  27992. pTDefRegMap(@Self)^.clr := $00000040
  27993. else
  27994. pTDefRegMap(@Self)^.&set := $00000040;
  27995. end;
  27996. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27997. begin
  27998. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27999. end;
  28000. procedure TINT_IEC0.setOC1IE; inline;
  28001. begin
  28002. pTDefRegMap(@Self)^.&set := $00000080;
  28003. end;
  28004. procedure TINT_IEC0.clearOC1IE; inline;
  28005. begin
  28006. pTDefRegMap(@Self)^.clr := $00000080;
  28007. end;
  28008. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  28009. begin
  28010. if thebits = 0 then
  28011. pTDefRegMap(@Self)^.clr := $00000080
  28012. else
  28013. pTDefRegMap(@Self)^.&set := $00000080;
  28014. end;
  28015. function TINT_IEC0.getOC1IE : TBits_1; inline;
  28016. begin
  28017. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28018. end;
  28019. procedure TINT_IEC0.setINT1IE; inline;
  28020. begin
  28021. pTDefRegMap(@Self)^.&set := $00000100;
  28022. end;
  28023. procedure TINT_IEC0.clearINT1IE; inline;
  28024. begin
  28025. pTDefRegMap(@Self)^.clr := $00000100;
  28026. end;
  28027. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  28028. begin
  28029. if thebits = 0 then
  28030. pTDefRegMap(@Self)^.clr := $00000100
  28031. else
  28032. pTDefRegMap(@Self)^.&set := $00000100;
  28033. end;
  28034. function TINT_IEC0.getINT1IE : TBits_1; inline;
  28035. begin
  28036. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28037. end;
  28038. procedure TINT_IEC0.setT2IE; inline;
  28039. begin
  28040. pTDefRegMap(@Self)^.&set := $00000200;
  28041. end;
  28042. procedure TINT_IEC0.clearT2IE; inline;
  28043. begin
  28044. pTDefRegMap(@Self)^.clr := $00000200;
  28045. end;
  28046. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  28047. begin
  28048. if thebits = 0 then
  28049. pTDefRegMap(@Self)^.clr := $00000200
  28050. else
  28051. pTDefRegMap(@Self)^.&set := $00000200;
  28052. end;
  28053. function TINT_IEC0.getT2IE : TBits_1; inline;
  28054. begin
  28055. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28056. end;
  28057. procedure TINT_IEC0.setIC2EIE; inline;
  28058. begin
  28059. pTDefRegMap(@Self)^.&set := $00000400;
  28060. end;
  28061. procedure TINT_IEC0.clearIC2EIE; inline;
  28062. begin
  28063. pTDefRegMap(@Self)^.clr := $00000400;
  28064. end;
  28065. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  28066. begin
  28067. if thebits = 0 then
  28068. pTDefRegMap(@Self)^.clr := $00000400
  28069. else
  28070. pTDefRegMap(@Self)^.&set := $00000400;
  28071. end;
  28072. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  28073. begin
  28074. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28075. end;
  28076. procedure TINT_IEC0.setIC2IE; inline;
  28077. begin
  28078. pTDefRegMap(@Self)^.&set := $00000800;
  28079. end;
  28080. procedure TINT_IEC0.clearIC2IE; inline;
  28081. begin
  28082. pTDefRegMap(@Self)^.clr := $00000800;
  28083. end;
  28084. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  28085. begin
  28086. if thebits = 0 then
  28087. pTDefRegMap(@Self)^.clr := $00000800
  28088. else
  28089. pTDefRegMap(@Self)^.&set := $00000800;
  28090. end;
  28091. function TINT_IEC0.getIC2IE : TBits_1; inline;
  28092. begin
  28093. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28094. end;
  28095. procedure TINT_IEC0.setOC2IE; inline;
  28096. begin
  28097. pTDefRegMap(@Self)^.&set := $00001000;
  28098. end;
  28099. procedure TINT_IEC0.clearOC2IE; inline;
  28100. begin
  28101. pTDefRegMap(@Self)^.clr := $00001000;
  28102. end;
  28103. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  28104. begin
  28105. if thebits = 0 then
  28106. pTDefRegMap(@Self)^.clr := $00001000
  28107. else
  28108. pTDefRegMap(@Self)^.&set := $00001000;
  28109. end;
  28110. function TINT_IEC0.getOC2IE : TBits_1; inline;
  28111. begin
  28112. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28113. end;
  28114. procedure TINT_IEC0.setINT2IE; inline;
  28115. begin
  28116. pTDefRegMap(@Self)^.&set := $00002000;
  28117. end;
  28118. procedure TINT_IEC0.clearINT2IE; inline;
  28119. begin
  28120. pTDefRegMap(@Self)^.clr := $00002000;
  28121. end;
  28122. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  28123. begin
  28124. if thebits = 0 then
  28125. pTDefRegMap(@Self)^.clr := $00002000
  28126. else
  28127. pTDefRegMap(@Self)^.&set := $00002000;
  28128. end;
  28129. function TINT_IEC0.getINT2IE : TBits_1; inline;
  28130. begin
  28131. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28132. end;
  28133. procedure TINT_IEC0.setT3IE; inline;
  28134. begin
  28135. pTDefRegMap(@Self)^.&set := $00004000;
  28136. end;
  28137. procedure TINT_IEC0.clearT3IE; inline;
  28138. begin
  28139. pTDefRegMap(@Self)^.clr := $00004000;
  28140. end;
  28141. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  28142. begin
  28143. if thebits = 0 then
  28144. pTDefRegMap(@Self)^.clr := $00004000
  28145. else
  28146. pTDefRegMap(@Self)^.&set := $00004000;
  28147. end;
  28148. function TINT_IEC0.getT3IE : TBits_1; inline;
  28149. begin
  28150. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28151. end;
  28152. procedure TINT_IEC0.setIC3EIE; inline;
  28153. begin
  28154. pTDefRegMap(@Self)^.&set := $00008000;
  28155. end;
  28156. procedure TINT_IEC0.clearIC3EIE; inline;
  28157. begin
  28158. pTDefRegMap(@Self)^.clr := $00008000;
  28159. end;
  28160. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  28161. begin
  28162. if thebits = 0 then
  28163. pTDefRegMap(@Self)^.clr := $00008000
  28164. else
  28165. pTDefRegMap(@Self)^.&set := $00008000;
  28166. end;
  28167. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  28168. begin
  28169. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28170. end;
  28171. procedure TINT_IEC0.setIC3IE; inline;
  28172. begin
  28173. pTDefRegMap(@Self)^.&set := $00010000;
  28174. end;
  28175. procedure TINT_IEC0.clearIC3IE; inline;
  28176. begin
  28177. pTDefRegMap(@Self)^.clr := $00010000;
  28178. end;
  28179. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  28180. begin
  28181. if thebits = 0 then
  28182. pTDefRegMap(@Self)^.clr := $00010000
  28183. else
  28184. pTDefRegMap(@Self)^.&set := $00010000;
  28185. end;
  28186. function TINT_IEC0.getIC3IE : TBits_1; inline;
  28187. begin
  28188. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28189. end;
  28190. procedure TINT_IEC0.setOC3IE; inline;
  28191. begin
  28192. pTDefRegMap(@Self)^.&set := $00020000;
  28193. end;
  28194. procedure TINT_IEC0.clearOC3IE; inline;
  28195. begin
  28196. pTDefRegMap(@Self)^.clr := $00020000;
  28197. end;
  28198. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  28199. begin
  28200. if thebits = 0 then
  28201. pTDefRegMap(@Self)^.clr := $00020000
  28202. else
  28203. pTDefRegMap(@Self)^.&set := $00020000;
  28204. end;
  28205. function TINT_IEC0.getOC3IE : TBits_1; inline;
  28206. begin
  28207. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28208. end;
  28209. procedure TINT_IEC0.setINT3IE; inline;
  28210. begin
  28211. pTDefRegMap(@Self)^.&set := $00040000;
  28212. end;
  28213. procedure TINT_IEC0.clearINT3IE; inline;
  28214. begin
  28215. pTDefRegMap(@Self)^.clr := $00040000;
  28216. end;
  28217. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  28218. begin
  28219. if thebits = 0 then
  28220. pTDefRegMap(@Self)^.clr := $00040000
  28221. else
  28222. pTDefRegMap(@Self)^.&set := $00040000;
  28223. end;
  28224. function TINT_IEC0.getINT3IE : TBits_1; inline;
  28225. begin
  28226. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28227. end;
  28228. procedure TINT_IEC0.setT4IE; inline;
  28229. begin
  28230. pTDefRegMap(@Self)^.&set := $00080000;
  28231. end;
  28232. procedure TINT_IEC0.clearT4IE; inline;
  28233. begin
  28234. pTDefRegMap(@Self)^.clr := $00080000;
  28235. end;
  28236. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  28237. begin
  28238. if thebits = 0 then
  28239. pTDefRegMap(@Self)^.clr := $00080000
  28240. else
  28241. pTDefRegMap(@Self)^.&set := $00080000;
  28242. end;
  28243. function TINT_IEC0.getT4IE : TBits_1; inline;
  28244. begin
  28245. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28246. end;
  28247. procedure TINT_IEC0.setIC4EIE; inline;
  28248. begin
  28249. pTDefRegMap(@Self)^.&set := $00100000;
  28250. end;
  28251. procedure TINT_IEC0.clearIC4EIE; inline;
  28252. begin
  28253. pTDefRegMap(@Self)^.clr := $00100000;
  28254. end;
  28255. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  28256. begin
  28257. if thebits = 0 then
  28258. pTDefRegMap(@Self)^.clr := $00100000
  28259. else
  28260. pTDefRegMap(@Self)^.&set := $00100000;
  28261. end;
  28262. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  28263. begin
  28264. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28265. end;
  28266. procedure TINT_IEC0.setIC4IE; inline;
  28267. begin
  28268. pTDefRegMap(@Self)^.&set := $00200000;
  28269. end;
  28270. procedure TINT_IEC0.clearIC4IE; inline;
  28271. begin
  28272. pTDefRegMap(@Self)^.clr := $00200000;
  28273. end;
  28274. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  28275. begin
  28276. if thebits = 0 then
  28277. pTDefRegMap(@Self)^.clr := $00200000
  28278. else
  28279. pTDefRegMap(@Self)^.&set := $00200000;
  28280. end;
  28281. function TINT_IEC0.getIC4IE : TBits_1; inline;
  28282. begin
  28283. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28284. end;
  28285. procedure TINT_IEC0.setOC4IE; inline;
  28286. begin
  28287. pTDefRegMap(@Self)^.&set := $00400000;
  28288. end;
  28289. procedure TINT_IEC0.clearOC4IE; inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.clr := $00400000;
  28292. end;
  28293. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  28294. begin
  28295. if thebits = 0 then
  28296. pTDefRegMap(@Self)^.clr := $00400000
  28297. else
  28298. pTDefRegMap(@Self)^.&set := $00400000;
  28299. end;
  28300. function TINT_IEC0.getOC4IE : TBits_1; inline;
  28301. begin
  28302. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28303. end;
  28304. procedure TINT_IEC0.setINT4IE; inline;
  28305. begin
  28306. pTDefRegMap(@Self)^.&set := $00800000;
  28307. end;
  28308. procedure TINT_IEC0.clearINT4IE; inline;
  28309. begin
  28310. pTDefRegMap(@Self)^.clr := $00800000;
  28311. end;
  28312. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  28313. begin
  28314. if thebits = 0 then
  28315. pTDefRegMap(@Self)^.clr := $00800000
  28316. else
  28317. pTDefRegMap(@Self)^.&set := $00800000;
  28318. end;
  28319. function TINT_IEC0.getINT4IE : TBits_1; inline;
  28320. begin
  28321. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28322. end;
  28323. procedure TINT_IEC0.setT5IE; inline;
  28324. begin
  28325. pTDefRegMap(@Self)^.&set := $01000000;
  28326. end;
  28327. procedure TINT_IEC0.clearT5IE; inline;
  28328. begin
  28329. pTDefRegMap(@Self)^.clr := $01000000;
  28330. end;
  28331. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  28332. begin
  28333. if thebits = 0 then
  28334. pTDefRegMap(@Self)^.clr := $01000000
  28335. else
  28336. pTDefRegMap(@Self)^.&set := $01000000;
  28337. end;
  28338. function TINT_IEC0.getT5IE : TBits_1; inline;
  28339. begin
  28340. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28341. end;
  28342. procedure TINT_IEC0.setIC5EIE; inline;
  28343. begin
  28344. pTDefRegMap(@Self)^.&set := $02000000;
  28345. end;
  28346. procedure TINT_IEC0.clearIC5EIE; inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.clr := $02000000;
  28349. end;
  28350. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  28351. begin
  28352. if thebits = 0 then
  28353. pTDefRegMap(@Self)^.clr := $02000000
  28354. else
  28355. pTDefRegMap(@Self)^.&set := $02000000;
  28356. end;
  28357. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  28358. begin
  28359. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28360. end;
  28361. procedure TINT_IEC0.setIC5IE; inline;
  28362. begin
  28363. pTDefRegMap(@Self)^.&set := $04000000;
  28364. end;
  28365. procedure TINT_IEC0.clearIC5IE; inline;
  28366. begin
  28367. pTDefRegMap(@Self)^.clr := $04000000;
  28368. end;
  28369. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  28370. begin
  28371. if thebits = 0 then
  28372. pTDefRegMap(@Self)^.clr := $04000000
  28373. else
  28374. pTDefRegMap(@Self)^.&set := $04000000;
  28375. end;
  28376. function TINT_IEC0.getIC5IE : TBits_1; inline;
  28377. begin
  28378. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28379. end;
  28380. procedure TINT_IEC0.setOC5IE; inline;
  28381. begin
  28382. pTDefRegMap(@Self)^.&set := $08000000;
  28383. end;
  28384. procedure TINT_IEC0.clearOC5IE; inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.clr := $08000000;
  28387. end;
  28388. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  28389. begin
  28390. if thebits = 0 then
  28391. pTDefRegMap(@Self)^.clr := $08000000
  28392. else
  28393. pTDefRegMap(@Self)^.&set := $08000000;
  28394. end;
  28395. function TINT_IEC0.getOC5IE : TBits_1; inline;
  28396. begin
  28397. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28398. end;
  28399. procedure TINT_IEC0.setAD1IE; inline;
  28400. begin
  28401. pTDefRegMap(@Self)^.&set := $10000000;
  28402. end;
  28403. procedure TINT_IEC0.clearAD1IE; inline;
  28404. begin
  28405. pTDefRegMap(@Self)^.clr := $10000000;
  28406. end;
  28407. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  28408. begin
  28409. if thebits = 0 then
  28410. pTDefRegMap(@Self)^.clr := $10000000
  28411. else
  28412. pTDefRegMap(@Self)^.&set := $10000000;
  28413. end;
  28414. function TINT_IEC0.getAD1IE : TBits_1; inline;
  28415. begin
  28416. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28417. end;
  28418. procedure TINT_IEC0.setFSCMIE; inline;
  28419. begin
  28420. pTDefRegMap(@Self)^.&set := $20000000;
  28421. end;
  28422. procedure TINT_IEC0.clearFSCMIE; inline;
  28423. begin
  28424. pTDefRegMap(@Self)^.clr := $20000000;
  28425. end;
  28426. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  28427. begin
  28428. if thebits = 0 then
  28429. pTDefRegMap(@Self)^.clr := $20000000
  28430. else
  28431. pTDefRegMap(@Self)^.&set := $20000000;
  28432. end;
  28433. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  28434. begin
  28435. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28436. end;
  28437. procedure TINT_IEC0.setRTCCIE; inline;
  28438. begin
  28439. pTDefRegMap(@Self)^.&set := $40000000;
  28440. end;
  28441. procedure TINT_IEC0.clearRTCCIE; inline;
  28442. begin
  28443. pTDefRegMap(@Self)^.clr := $40000000;
  28444. end;
  28445. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  28446. begin
  28447. if thebits = 0 then
  28448. pTDefRegMap(@Self)^.clr := $40000000
  28449. else
  28450. pTDefRegMap(@Self)^.&set := $40000000;
  28451. end;
  28452. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  28453. begin
  28454. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28455. end;
  28456. procedure TINT_IEC0.setFCEIE; inline;
  28457. begin
  28458. pTDefRegMap(@Self)^.&set := $80000000;
  28459. end;
  28460. procedure TINT_IEC0.clearFCEIE; inline;
  28461. begin
  28462. pTDefRegMap(@Self)^.clr := $80000000;
  28463. end;
  28464. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  28465. begin
  28466. if thebits = 0 then
  28467. pTDefRegMap(@Self)^.clr := $80000000
  28468. else
  28469. pTDefRegMap(@Self)^.&set := $80000000;
  28470. end;
  28471. function TINT_IEC0.getFCEIE : TBits_1; inline;
  28472. begin
  28473. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28474. end;
  28475. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  28476. begin
  28477. pTDefRegMap(@Self)^.val := thebits;
  28478. end;
  28479. function TINT_IEC0.getw : TBits_32; inline;
  28480. begin
  28481. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28482. end;
  28483. procedure TINT_IEC1.setCMP1IE; inline;
  28484. begin
  28485. pTDefRegMap(@Self)^.&set := $00000001;
  28486. end;
  28487. procedure TINT_IEC1.clearCMP1IE; inline;
  28488. begin
  28489. pTDefRegMap(@Self)^.clr := $00000001;
  28490. end;
  28491. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  28492. begin
  28493. if thebits = 0 then
  28494. pTDefRegMap(@Self)^.clr := $00000001
  28495. else
  28496. pTDefRegMap(@Self)^.&set := $00000001;
  28497. end;
  28498. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  28499. begin
  28500. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28501. end;
  28502. procedure TINT_IEC1.setCMP2IE; inline;
  28503. begin
  28504. pTDefRegMap(@Self)^.&set := $00000002;
  28505. end;
  28506. procedure TINT_IEC1.clearCMP2IE; inline;
  28507. begin
  28508. pTDefRegMap(@Self)^.clr := $00000002;
  28509. end;
  28510. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  28511. begin
  28512. if thebits = 0 then
  28513. pTDefRegMap(@Self)^.clr := $00000002
  28514. else
  28515. pTDefRegMap(@Self)^.&set := $00000002;
  28516. end;
  28517. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  28518. begin
  28519. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28520. end;
  28521. procedure TINT_IEC1.setCMP3IE; inline;
  28522. begin
  28523. pTDefRegMap(@Self)^.&set := $00000004;
  28524. end;
  28525. procedure TINT_IEC1.clearCMP3IE; inline;
  28526. begin
  28527. pTDefRegMap(@Self)^.clr := $00000004;
  28528. end;
  28529. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  28530. begin
  28531. if thebits = 0 then
  28532. pTDefRegMap(@Self)^.clr := $00000004
  28533. else
  28534. pTDefRegMap(@Self)^.&set := $00000004;
  28535. end;
  28536. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  28537. begin
  28538. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28539. end;
  28540. procedure TINT_IEC1.setUSBIE; inline;
  28541. begin
  28542. pTDefRegMap(@Self)^.&set := $00000008;
  28543. end;
  28544. procedure TINT_IEC1.clearUSBIE; inline;
  28545. begin
  28546. pTDefRegMap(@Self)^.clr := $00000008;
  28547. end;
  28548. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  28549. begin
  28550. if thebits = 0 then
  28551. pTDefRegMap(@Self)^.clr := $00000008
  28552. else
  28553. pTDefRegMap(@Self)^.&set := $00000008;
  28554. end;
  28555. function TINT_IEC1.getUSBIE : TBits_1; inline;
  28556. begin
  28557. getUSBIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28558. end;
  28559. procedure TINT_IEC1.setSPI1EIE; inline;
  28560. begin
  28561. pTDefRegMap(@Self)^.&set := $00000010;
  28562. end;
  28563. procedure TINT_IEC1.clearSPI1EIE; inline;
  28564. begin
  28565. pTDefRegMap(@Self)^.clr := $00000010;
  28566. end;
  28567. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  28568. begin
  28569. if thebits = 0 then
  28570. pTDefRegMap(@Self)^.clr := $00000010
  28571. else
  28572. pTDefRegMap(@Self)^.&set := $00000010;
  28573. end;
  28574. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  28575. begin
  28576. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28577. end;
  28578. procedure TINT_IEC1.setSPI1RXIE; inline;
  28579. begin
  28580. pTDefRegMap(@Self)^.&set := $00000020;
  28581. end;
  28582. procedure TINT_IEC1.clearSPI1RXIE; inline;
  28583. begin
  28584. pTDefRegMap(@Self)^.clr := $00000020;
  28585. end;
  28586. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  28587. begin
  28588. if thebits = 0 then
  28589. pTDefRegMap(@Self)^.clr := $00000020
  28590. else
  28591. pTDefRegMap(@Self)^.&set := $00000020;
  28592. end;
  28593. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28594. begin
  28595. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28596. end;
  28597. procedure TINT_IEC1.setSPI1TXIE; inline;
  28598. begin
  28599. pTDefRegMap(@Self)^.&set := $00000040;
  28600. end;
  28601. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28602. begin
  28603. pTDefRegMap(@Self)^.clr := $00000040;
  28604. end;
  28605. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28606. begin
  28607. if thebits = 0 then
  28608. pTDefRegMap(@Self)^.clr := $00000040
  28609. else
  28610. pTDefRegMap(@Self)^.&set := $00000040;
  28611. end;
  28612. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28613. begin
  28614. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28615. end;
  28616. procedure TINT_IEC1.setU1EIE; inline;
  28617. begin
  28618. pTDefRegMap(@Self)^.&set := $00000080;
  28619. end;
  28620. procedure TINT_IEC1.clearU1EIE; inline;
  28621. begin
  28622. pTDefRegMap(@Self)^.clr := $00000080;
  28623. end;
  28624. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28625. begin
  28626. if thebits = 0 then
  28627. pTDefRegMap(@Self)^.clr := $00000080
  28628. else
  28629. pTDefRegMap(@Self)^.&set := $00000080;
  28630. end;
  28631. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28632. begin
  28633. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28634. end;
  28635. procedure TINT_IEC1.setU1RXIE; inline;
  28636. begin
  28637. pTDefRegMap(@Self)^.&set := $00000100;
  28638. end;
  28639. procedure TINT_IEC1.clearU1RXIE; inline;
  28640. begin
  28641. pTDefRegMap(@Self)^.clr := $00000100;
  28642. end;
  28643. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28644. begin
  28645. if thebits = 0 then
  28646. pTDefRegMap(@Self)^.clr := $00000100
  28647. else
  28648. pTDefRegMap(@Self)^.&set := $00000100;
  28649. end;
  28650. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28651. begin
  28652. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28653. end;
  28654. procedure TINT_IEC1.setU1TXIE; inline;
  28655. begin
  28656. pTDefRegMap(@Self)^.&set := $00000200;
  28657. end;
  28658. procedure TINT_IEC1.clearU1TXIE; inline;
  28659. begin
  28660. pTDefRegMap(@Self)^.clr := $00000200;
  28661. end;
  28662. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28663. begin
  28664. if thebits = 0 then
  28665. pTDefRegMap(@Self)^.clr := $00000200
  28666. else
  28667. pTDefRegMap(@Self)^.&set := $00000200;
  28668. end;
  28669. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28670. begin
  28671. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28672. end;
  28673. procedure TINT_IEC1.setI2C1BIE; inline;
  28674. begin
  28675. pTDefRegMap(@Self)^.&set := $00000400;
  28676. end;
  28677. procedure TINT_IEC1.clearI2C1BIE; inline;
  28678. begin
  28679. pTDefRegMap(@Self)^.clr := $00000400;
  28680. end;
  28681. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28682. begin
  28683. if thebits = 0 then
  28684. pTDefRegMap(@Self)^.clr := $00000400
  28685. else
  28686. pTDefRegMap(@Self)^.&set := $00000400;
  28687. end;
  28688. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28689. begin
  28690. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28691. end;
  28692. procedure TINT_IEC1.setI2C1SIE; inline;
  28693. begin
  28694. pTDefRegMap(@Self)^.&set := $00000800;
  28695. end;
  28696. procedure TINT_IEC1.clearI2C1SIE; inline;
  28697. begin
  28698. pTDefRegMap(@Self)^.clr := $00000800;
  28699. end;
  28700. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28701. begin
  28702. if thebits = 0 then
  28703. pTDefRegMap(@Self)^.clr := $00000800
  28704. else
  28705. pTDefRegMap(@Self)^.&set := $00000800;
  28706. end;
  28707. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28708. begin
  28709. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28710. end;
  28711. procedure TINT_IEC1.setI2C1MIE; inline;
  28712. begin
  28713. pTDefRegMap(@Self)^.&set := $00001000;
  28714. end;
  28715. procedure TINT_IEC1.clearI2C1MIE; inline;
  28716. begin
  28717. pTDefRegMap(@Self)^.clr := $00001000;
  28718. end;
  28719. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28720. begin
  28721. if thebits = 0 then
  28722. pTDefRegMap(@Self)^.clr := $00001000
  28723. else
  28724. pTDefRegMap(@Self)^.&set := $00001000;
  28725. end;
  28726. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28727. begin
  28728. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28729. end;
  28730. procedure TINT_IEC1.setCNAIE; inline;
  28731. begin
  28732. pTDefRegMap(@Self)^.&set := $00002000;
  28733. end;
  28734. procedure TINT_IEC1.clearCNAIE; inline;
  28735. begin
  28736. pTDefRegMap(@Self)^.clr := $00002000;
  28737. end;
  28738. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28739. begin
  28740. if thebits = 0 then
  28741. pTDefRegMap(@Self)^.clr := $00002000
  28742. else
  28743. pTDefRegMap(@Self)^.&set := $00002000;
  28744. end;
  28745. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28746. begin
  28747. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28748. end;
  28749. procedure TINT_IEC1.setCNBIE; inline;
  28750. begin
  28751. pTDefRegMap(@Self)^.&set := $00004000;
  28752. end;
  28753. procedure TINT_IEC1.clearCNBIE; inline;
  28754. begin
  28755. pTDefRegMap(@Self)^.clr := $00004000;
  28756. end;
  28757. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28758. begin
  28759. if thebits = 0 then
  28760. pTDefRegMap(@Self)^.clr := $00004000
  28761. else
  28762. pTDefRegMap(@Self)^.&set := $00004000;
  28763. end;
  28764. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28765. begin
  28766. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28767. end;
  28768. procedure TINT_IEC1.setCNCIE; inline;
  28769. begin
  28770. pTDefRegMap(@Self)^.&set := $00008000;
  28771. end;
  28772. procedure TINT_IEC1.clearCNCIE; inline;
  28773. begin
  28774. pTDefRegMap(@Self)^.clr := $00008000;
  28775. end;
  28776. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28777. begin
  28778. if thebits = 0 then
  28779. pTDefRegMap(@Self)^.clr := $00008000
  28780. else
  28781. pTDefRegMap(@Self)^.&set := $00008000;
  28782. end;
  28783. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28784. begin
  28785. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28786. end;
  28787. procedure TINT_IEC1.setPMPIE; inline;
  28788. begin
  28789. pTDefRegMap(@Self)^.&set := $00010000;
  28790. end;
  28791. procedure TINT_IEC1.clearPMPIE; inline;
  28792. begin
  28793. pTDefRegMap(@Self)^.clr := $00010000;
  28794. end;
  28795. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28796. begin
  28797. if thebits = 0 then
  28798. pTDefRegMap(@Self)^.clr := $00010000
  28799. else
  28800. pTDefRegMap(@Self)^.&set := $00010000;
  28801. end;
  28802. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28803. begin
  28804. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28805. end;
  28806. procedure TINT_IEC1.setPMPEIE; inline;
  28807. begin
  28808. pTDefRegMap(@Self)^.&set := $00020000;
  28809. end;
  28810. procedure TINT_IEC1.clearPMPEIE; inline;
  28811. begin
  28812. pTDefRegMap(@Self)^.clr := $00020000;
  28813. end;
  28814. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28815. begin
  28816. if thebits = 0 then
  28817. pTDefRegMap(@Self)^.clr := $00020000
  28818. else
  28819. pTDefRegMap(@Self)^.&set := $00020000;
  28820. end;
  28821. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28822. begin
  28823. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28824. end;
  28825. procedure TINT_IEC1.setSPI2EIE; inline;
  28826. begin
  28827. pTDefRegMap(@Self)^.&set := $00040000;
  28828. end;
  28829. procedure TINT_IEC1.clearSPI2EIE; inline;
  28830. begin
  28831. pTDefRegMap(@Self)^.clr := $00040000;
  28832. end;
  28833. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28834. begin
  28835. if thebits = 0 then
  28836. pTDefRegMap(@Self)^.clr := $00040000
  28837. else
  28838. pTDefRegMap(@Self)^.&set := $00040000;
  28839. end;
  28840. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28841. begin
  28842. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28843. end;
  28844. procedure TINT_IEC1.setSPI2RXIE; inline;
  28845. begin
  28846. pTDefRegMap(@Self)^.&set := $00080000;
  28847. end;
  28848. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28849. begin
  28850. pTDefRegMap(@Self)^.clr := $00080000;
  28851. end;
  28852. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28853. begin
  28854. if thebits = 0 then
  28855. pTDefRegMap(@Self)^.clr := $00080000
  28856. else
  28857. pTDefRegMap(@Self)^.&set := $00080000;
  28858. end;
  28859. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28860. begin
  28861. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28862. end;
  28863. procedure TINT_IEC1.setSPI2TXIE; inline;
  28864. begin
  28865. pTDefRegMap(@Self)^.&set := $00100000;
  28866. end;
  28867. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28868. begin
  28869. pTDefRegMap(@Self)^.clr := $00100000;
  28870. end;
  28871. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28872. begin
  28873. if thebits = 0 then
  28874. pTDefRegMap(@Self)^.clr := $00100000
  28875. else
  28876. pTDefRegMap(@Self)^.&set := $00100000;
  28877. end;
  28878. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28879. begin
  28880. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28881. end;
  28882. procedure TINT_IEC1.setU2EIE; inline;
  28883. begin
  28884. pTDefRegMap(@Self)^.&set := $00200000;
  28885. end;
  28886. procedure TINT_IEC1.clearU2EIE; inline;
  28887. begin
  28888. pTDefRegMap(@Self)^.clr := $00200000;
  28889. end;
  28890. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28891. begin
  28892. if thebits = 0 then
  28893. pTDefRegMap(@Self)^.clr := $00200000
  28894. else
  28895. pTDefRegMap(@Self)^.&set := $00200000;
  28896. end;
  28897. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28898. begin
  28899. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28900. end;
  28901. procedure TINT_IEC1.setU2RXIE; inline;
  28902. begin
  28903. pTDefRegMap(@Self)^.&set := $00400000;
  28904. end;
  28905. procedure TINT_IEC1.clearU2RXIE; inline;
  28906. begin
  28907. pTDefRegMap(@Self)^.clr := $00400000;
  28908. end;
  28909. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28910. begin
  28911. if thebits = 0 then
  28912. pTDefRegMap(@Self)^.clr := $00400000
  28913. else
  28914. pTDefRegMap(@Self)^.&set := $00400000;
  28915. end;
  28916. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28917. begin
  28918. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28919. end;
  28920. procedure TINT_IEC1.setU2TXIE; inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.&set := $00800000;
  28923. end;
  28924. procedure TINT_IEC1.clearU2TXIE; inline;
  28925. begin
  28926. pTDefRegMap(@Self)^.clr := $00800000;
  28927. end;
  28928. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28929. begin
  28930. if thebits = 0 then
  28931. pTDefRegMap(@Self)^.clr := $00800000
  28932. else
  28933. pTDefRegMap(@Self)^.&set := $00800000;
  28934. end;
  28935. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28936. begin
  28937. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28938. end;
  28939. procedure TINT_IEC1.setI2C2BIE; inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.&set := $01000000;
  28942. end;
  28943. procedure TINT_IEC1.clearI2C2BIE; inline;
  28944. begin
  28945. pTDefRegMap(@Self)^.clr := $01000000;
  28946. end;
  28947. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28948. begin
  28949. if thebits = 0 then
  28950. pTDefRegMap(@Self)^.clr := $01000000
  28951. else
  28952. pTDefRegMap(@Self)^.&set := $01000000;
  28953. end;
  28954. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28955. begin
  28956. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28957. end;
  28958. procedure TINT_IEC1.setI2C2SIE; inline;
  28959. begin
  28960. pTDefRegMap(@Self)^.&set := $02000000;
  28961. end;
  28962. procedure TINT_IEC1.clearI2C2SIE; inline;
  28963. begin
  28964. pTDefRegMap(@Self)^.clr := $02000000;
  28965. end;
  28966. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28967. begin
  28968. if thebits = 0 then
  28969. pTDefRegMap(@Self)^.clr := $02000000
  28970. else
  28971. pTDefRegMap(@Self)^.&set := $02000000;
  28972. end;
  28973. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28974. begin
  28975. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28976. end;
  28977. procedure TINT_IEC1.setI2C2MIE; inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.&set := $04000000;
  28980. end;
  28981. procedure TINT_IEC1.clearI2C2MIE; inline;
  28982. begin
  28983. pTDefRegMap(@Self)^.clr := $04000000;
  28984. end;
  28985. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28986. begin
  28987. if thebits = 0 then
  28988. pTDefRegMap(@Self)^.clr := $04000000
  28989. else
  28990. pTDefRegMap(@Self)^.&set := $04000000;
  28991. end;
  28992. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28993. begin
  28994. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28995. end;
  28996. procedure TINT_IEC1.setCTMUIE; inline;
  28997. begin
  28998. pTDefRegMap(@Self)^.&set := $08000000;
  28999. end;
  29000. procedure TINT_IEC1.clearCTMUIE; inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.clr := $08000000;
  29003. end;
  29004. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  29005. begin
  29006. if thebits = 0 then
  29007. pTDefRegMap(@Self)^.clr := $08000000
  29008. else
  29009. pTDefRegMap(@Self)^.&set := $08000000;
  29010. end;
  29011. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  29012. begin
  29013. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29014. end;
  29015. procedure TINT_IEC1.setDMA0IE; inline;
  29016. begin
  29017. pTDefRegMap(@Self)^.&set := $10000000;
  29018. end;
  29019. procedure TINT_IEC1.clearDMA0IE; inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.clr := $10000000;
  29022. end;
  29023. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  29024. begin
  29025. if thebits = 0 then
  29026. pTDefRegMap(@Self)^.clr := $10000000
  29027. else
  29028. pTDefRegMap(@Self)^.&set := $10000000;
  29029. end;
  29030. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  29031. begin
  29032. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  29033. end;
  29034. procedure TINT_IEC1.setDMA1IE; inline;
  29035. begin
  29036. pTDefRegMap(@Self)^.&set := $20000000;
  29037. end;
  29038. procedure TINT_IEC1.clearDMA1IE; inline;
  29039. begin
  29040. pTDefRegMap(@Self)^.clr := $20000000;
  29041. end;
  29042. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  29043. begin
  29044. if thebits = 0 then
  29045. pTDefRegMap(@Self)^.clr := $20000000
  29046. else
  29047. pTDefRegMap(@Self)^.&set := $20000000;
  29048. end;
  29049. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  29050. begin
  29051. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  29052. end;
  29053. procedure TINT_IEC1.setDMA2IE; inline;
  29054. begin
  29055. pTDefRegMap(@Self)^.&set := $40000000;
  29056. end;
  29057. procedure TINT_IEC1.clearDMA2IE; inline;
  29058. begin
  29059. pTDefRegMap(@Self)^.clr := $40000000;
  29060. end;
  29061. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  29062. begin
  29063. if thebits = 0 then
  29064. pTDefRegMap(@Self)^.clr := $40000000
  29065. else
  29066. pTDefRegMap(@Self)^.&set := $40000000;
  29067. end;
  29068. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  29069. begin
  29070. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  29071. end;
  29072. procedure TINT_IEC1.setDMA3IE; inline;
  29073. begin
  29074. pTDefRegMap(@Self)^.&set := $80000000;
  29075. end;
  29076. procedure TINT_IEC1.clearDMA3IE; inline;
  29077. begin
  29078. pTDefRegMap(@Self)^.clr := $80000000;
  29079. end;
  29080. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  29081. begin
  29082. if thebits = 0 then
  29083. pTDefRegMap(@Self)^.clr := $80000000
  29084. else
  29085. pTDefRegMap(@Self)^.&set := $80000000;
  29086. end;
  29087. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  29088. begin
  29089. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  29090. end;
  29091. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  29092. begin
  29093. pTDefRegMap(@Self)^.val := thebits;
  29094. end;
  29095. function TINT_IEC1.getw : TBits_32; inline;
  29096. begin
  29097. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29098. end;
  29099. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29102. end;
  29103. function TINT_IPC0.getCTIS : TBits_2; inline;
  29104. begin
  29105. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29106. end;
  29107. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29110. end;
  29111. function TINT_IPC0.getCTIP : TBits_3; inline;
  29112. begin
  29113. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29114. end;
  29115. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29118. end;
  29119. function TINT_IPC0.getCS0IS : TBits_2; inline;
  29120. begin
  29121. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29122. end;
  29123. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29126. end;
  29127. function TINT_IPC0.getCS0IP : TBits_3; inline;
  29128. begin
  29129. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29130. end;
  29131. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  29132. begin
  29133. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29134. end;
  29135. function TINT_IPC0.getCS1IS : TBits_2; inline;
  29136. begin
  29137. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29138. end;
  29139. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  29140. begin
  29141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29142. end;
  29143. function TINT_IPC0.getCS1IP : TBits_3; inline;
  29144. begin
  29145. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29146. end;
  29147. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  29148. begin
  29149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29150. end;
  29151. function TINT_IPC0.getINT0IS : TBits_2; inline;
  29152. begin
  29153. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29154. end;
  29155. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  29156. begin
  29157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29158. end;
  29159. function TINT_IPC0.getINT0IP : TBits_3; inline;
  29160. begin
  29161. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29162. end;
  29163. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  29164. begin
  29165. pTDefRegMap(@Self)^.val := thebits;
  29166. end;
  29167. function TINT_IPC0.getw : TBits_32; inline;
  29168. begin
  29169. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29170. end;
  29171. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29174. end;
  29175. function TINT_IPC1.getT1IS : TBits_2; inline;
  29176. begin
  29177. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29178. end;
  29179. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29182. end;
  29183. function TINT_IPC1.getT1IP : TBits_3; inline;
  29184. begin
  29185. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29186. end;
  29187. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29190. end;
  29191. function TINT_IPC1.getIC1IS : TBits_2; inline;
  29192. begin
  29193. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29194. end;
  29195. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29198. end;
  29199. function TINT_IPC1.getIC1IP : TBits_3; inline;
  29200. begin
  29201. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29202. end;
  29203. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29206. end;
  29207. function TINT_IPC1.getOC1IS : TBits_2; inline;
  29208. begin
  29209. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29210. end;
  29211. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29214. end;
  29215. function TINT_IPC1.getOC1IP : TBits_3; inline;
  29216. begin
  29217. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29218. end;
  29219. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  29220. begin
  29221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29222. end;
  29223. function TINT_IPC1.getINT1IS : TBits_2; inline;
  29224. begin
  29225. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29226. end;
  29227. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  29228. begin
  29229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29230. end;
  29231. function TINT_IPC1.getINT1IP : TBits_3; inline;
  29232. begin
  29233. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29234. end;
  29235. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  29236. begin
  29237. pTDefRegMap(@Self)^.val := thebits;
  29238. end;
  29239. function TINT_IPC1.getw : TBits_32; inline;
  29240. begin
  29241. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29242. end;
  29243. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  29244. begin
  29245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29246. end;
  29247. function TINT_IPC2.getT2IS : TBits_2; inline;
  29248. begin
  29249. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29250. end;
  29251. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29254. end;
  29255. function TINT_IPC2.getT2IP : TBits_3; inline;
  29256. begin
  29257. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29258. end;
  29259. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29262. end;
  29263. function TINT_IPC2.getIC2IS : TBits_2; inline;
  29264. begin
  29265. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29266. end;
  29267. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29270. end;
  29271. function TINT_IPC2.getIC2IP : TBits_3; inline;
  29272. begin
  29273. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29274. end;
  29275. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29278. end;
  29279. function TINT_IPC2.getOC2IS : TBits_2; inline;
  29280. begin
  29281. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29282. end;
  29283. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29286. end;
  29287. function TINT_IPC2.getOC2IP : TBits_3; inline;
  29288. begin
  29289. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29290. end;
  29291. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29294. end;
  29295. function TINT_IPC2.getINT2IS : TBits_2; inline;
  29296. begin
  29297. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29298. end;
  29299. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  29300. begin
  29301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29302. end;
  29303. function TINT_IPC2.getINT2IP : TBits_3; inline;
  29304. begin
  29305. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29306. end;
  29307. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  29308. begin
  29309. pTDefRegMap(@Self)^.val := thebits;
  29310. end;
  29311. function TINT_IPC2.getw : TBits_32; inline;
  29312. begin
  29313. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29314. end;
  29315. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  29316. begin
  29317. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29318. end;
  29319. function TINT_IPC3.getT3IS : TBits_2; inline;
  29320. begin
  29321. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29322. end;
  29323. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29326. end;
  29327. function TINT_IPC3.getT3IP : TBits_3; inline;
  29328. begin
  29329. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29330. end;
  29331. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29334. end;
  29335. function TINT_IPC3.getIC3IS : TBits_2; inline;
  29336. begin
  29337. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29338. end;
  29339. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  29340. begin
  29341. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29342. end;
  29343. function TINT_IPC3.getIC3IP : TBits_3; inline;
  29344. begin
  29345. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29346. end;
  29347. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29350. end;
  29351. function TINT_IPC3.getOC3IS : TBits_2; inline;
  29352. begin
  29353. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29354. end;
  29355. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29358. end;
  29359. function TINT_IPC3.getOC3IP : TBits_3; inline;
  29360. begin
  29361. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29362. end;
  29363. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  29364. begin
  29365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29366. end;
  29367. function TINT_IPC3.getINT3IS : TBits_2; inline;
  29368. begin
  29369. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29370. end;
  29371. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29374. end;
  29375. function TINT_IPC3.getINT3IP : TBits_3; inline;
  29376. begin
  29377. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29378. end;
  29379. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  29380. begin
  29381. pTDefRegMap(@Self)^.val := thebits;
  29382. end;
  29383. function TINT_IPC3.getw : TBits_32; inline;
  29384. begin
  29385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29386. end;
  29387. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  29388. begin
  29389. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29390. end;
  29391. function TINT_IPC4.getT4IS : TBits_2; inline;
  29392. begin
  29393. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29394. end;
  29395. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  29396. begin
  29397. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29398. end;
  29399. function TINT_IPC4.getT4IP : TBits_3; inline;
  29400. begin
  29401. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29402. end;
  29403. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  29404. begin
  29405. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29406. end;
  29407. function TINT_IPC4.getIC4IS : TBits_2; inline;
  29408. begin
  29409. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29410. end;
  29411. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29414. end;
  29415. function TINT_IPC4.getIC4IP : TBits_3; inline;
  29416. begin
  29417. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29418. end;
  29419. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  29420. begin
  29421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29422. end;
  29423. function TINT_IPC4.getOC4IS : TBits_2; inline;
  29424. begin
  29425. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29426. end;
  29427. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29430. end;
  29431. function TINT_IPC4.getOC4IP : TBits_3; inline;
  29432. begin
  29433. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29434. end;
  29435. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29438. end;
  29439. function TINT_IPC4.getINT4IS : TBits_2; inline;
  29440. begin
  29441. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29442. end;
  29443. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29446. end;
  29447. function TINT_IPC4.getINT4IP : TBits_3; inline;
  29448. begin
  29449. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29450. end;
  29451. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.val := thebits;
  29454. end;
  29455. function TINT_IPC4.getw : TBits_32; inline;
  29456. begin
  29457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29458. end;
  29459. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  29460. begin
  29461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29462. end;
  29463. function TINT_IPC5.getT5IS : TBits_2; inline;
  29464. begin
  29465. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29466. end;
  29467. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  29468. begin
  29469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29470. end;
  29471. function TINT_IPC5.getT5IP : TBits_3; inline;
  29472. begin
  29473. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29474. end;
  29475. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  29476. begin
  29477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29478. end;
  29479. function TINT_IPC5.getIC5IS : TBits_2; inline;
  29480. begin
  29481. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29482. end;
  29483. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29486. end;
  29487. function TINT_IPC5.getIC5IP : TBits_3; inline;
  29488. begin
  29489. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29490. end;
  29491. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  29492. begin
  29493. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29494. end;
  29495. function TINT_IPC5.getOC5IS : TBits_2; inline;
  29496. begin
  29497. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29498. end;
  29499. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  29500. begin
  29501. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29502. end;
  29503. function TINT_IPC5.getOC5IP : TBits_3; inline;
  29504. begin
  29505. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29506. end;
  29507. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  29508. begin
  29509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29510. end;
  29511. function TINT_IPC5.getAD1IS : TBits_2; inline;
  29512. begin
  29513. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29514. end;
  29515. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29518. end;
  29519. function TINT_IPC5.getAD1IP : TBits_3; inline;
  29520. begin
  29521. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29522. end;
  29523. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  29524. begin
  29525. pTDefRegMap(@Self)^.val := thebits;
  29526. end;
  29527. function TINT_IPC5.getw : TBits_32; inline;
  29528. begin
  29529. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29530. end;
  29531. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  29532. begin
  29533. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29534. end;
  29535. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  29536. begin
  29537. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29538. end;
  29539. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  29540. begin
  29541. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29542. end;
  29543. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  29544. begin
  29545. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29546. end;
  29547. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  29548. begin
  29549. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29550. end;
  29551. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  29552. begin
  29553. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29554. end;
  29555. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  29556. begin
  29557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29558. end;
  29559. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  29560. begin
  29561. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29562. end;
  29563. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  29564. begin
  29565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29566. end;
  29567. function TINT_IPC6.getFCEIS : TBits_2; inline;
  29568. begin
  29569. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29570. end;
  29571. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  29572. begin
  29573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29574. end;
  29575. function TINT_IPC6.getFCEIP : TBits_3; inline;
  29576. begin
  29577. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29578. end;
  29579. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  29580. begin
  29581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29582. end;
  29583. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  29584. begin
  29585. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29586. end;
  29587. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29590. end;
  29591. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29592. begin
  29593. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29594. end;
  29595. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.val := thebits;
  29598. end;
  29599. function TINT_IPC6.getw : TBits_32; inline;
  29600. begin
  29601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29602. end;
  29603. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29604. begin
  29605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29606. end;
  29607. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29608. begin
  29609. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29610. end;
  29611. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29612. begin
  29613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29614. end;
  29615. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29616. begin
  29617. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29618. end;
  29619. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29620. begin
  29621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29622. end;
  29623. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29624. begin
  29625. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29626. end;
  29627. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29628. begin
  29629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29630. end;
  29631. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29632. begin
  29633. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29634. end;
  29635. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  29636. begin
  29637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29638. end;
  29639. function TINT_IPC7.getUSBIS : TBits_2; inline;
  29640. begin
  29641. getUSBIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29642. end;
  29643. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29646. end;
  29647. function TINT_IPC7.getUSBIP : TBits_3; inline;
  29648. begin
  29649. getUSBIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29650. end;
  29651. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29654. end;
  29655. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29656. begin
  29657. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29658. end;
  29659. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29662. end;
  29663. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29664. begin
  29665. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29666. end;
  29667. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.val := thebits;
  29670. end;
  29671. function TINT_IPC7.getw : TBits_32; inline;
  29672. begin
  29673. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29674. end;
  29675. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29678. end;
  29679. function TINT_IPC8.getU1IS : TBits_2; inline;
  29680. begin
  29681. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29682. end;
  29683. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29684. begin
  29685. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29686. end;
  29687. function TINT_IPC8.getU1IP : TBits_3; inline;
  29688. begin
  29689. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29690. end;
  29691. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29694. end;
  29695. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29696. begin
  29697. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29698. end;
  29699. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29700. begin
  29701. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29702. end;
  29703. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29704. begin
  29705. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29706. end;
  29707. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29708. begin
  29709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29710. end;
  29711. function TINT_IPC8.getCNIS : TBits_2; inline;
  29712. begin
  29713. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29714. end;
  29715. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29716. begin
  29717. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29718. end;
  29719. function TINT_IPC8.getCNIP : TBits_3; inline;
  29720. begin
  29721. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29722. end;
  29723. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29724. begin
  29725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29726. end;
  29727. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29728. begin
  29729. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29730. end;
  29731. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29732. begin
  29733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29734. end;
  29735. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29736. begin
  29737. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29738. end;
  29739. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29740. begin
  29741. pTDefRegMap(@Self)^.val := thebits;
  29742. end;
  29743. function TINT_IPC8.getw : TBits_32; inline;
  29744. begin
  29745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29746. end;
  29747. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29748. begin
  29749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29750. end;
  29751. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29752. begin
  29753. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29754. end;
  29755. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29756. begin
  29757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29758. end;
  29759. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29760. begin
  29761. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29762. end;
  29763. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29766. end;
  29767. function TINT_IPC9.getU2IS : TBits_2; inline;
  29768. begin
  29769. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29770. end;
  29771. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29772. begin
  29773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29774. end;
  29775. function TINT_IPC9.getU2IP : TBits_3; inline;
  29776. begin
  29777. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29778. end;
  29779. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29780. begin
  29781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29782. end;
  29783. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29784. begin
  29785. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29786. end;
  29787. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29788. begin
  29789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29790. end;
  29791. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29792. begin
  29793. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29794. end;
  29795. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29796. begin
  29797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29798. end;
  29799. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29800. begin
  29801. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29802. end;
  29803. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29804. begin
  29805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29806. end;
  29807. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29808. begin
  29809. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29810. end;
  29811. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29812. begin
  29813. pTDefRegMap(@Self)^.val := thebits;
  29814. end;
  29815. function TINT_IPC9.getw : TBits_32; inline;
  29816. begin
  29817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29818. end;
  29819. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29820. begin
  29821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29822. end;
  29823. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29824. begin
  29825. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29826. end;
  29827. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29828. begin
  29829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29830. end;
  29831. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29832. begin
  29833. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29834. end;
  29835. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29836. begin
  29837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29838. end;
  29839. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29840. begin
  29841. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29842. end;
  29843. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29844. begin
  29845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29846. end;
  29847. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29848. begin
  29849. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29850. end;
  29851. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29852. begin
  29853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29854. end;
  29855. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29856. begin
  29857. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29858. end;
  29859. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29862. end;
  29863. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29864. begin
  29865. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29866. end;
  29867. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29868. begin
  29869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29870. end;
  29871. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29872. begin
  29873. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29874. end;
  29875. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29876. begin
  29877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29878. end;
  29879. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29880. begin
  29881. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29882. end;
  29883. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29884. begin
  29885. pTDefRegMap(@Self)^.val := thebits;
  29886. end;
  29887. function TINT_IPC10.getw : TBits_32; inline;
  29888. begin
  29889. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29890. end;
  29891. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29892. begin
  29893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29894. end;
  29895. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29896. begin
  29897. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29898. end;
  29899. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29900. begin
  29901. pTDefRegMap(@Self)^.&set := $00000040;
  29902. end;
  29903. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29904. begin
  29905. pTDefRegMap(@Self)^.clr := $00000040;
  29906. end;
  29907. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29908. begin
  29909. if thebits = 0 then
  29910. pTDefRegMap(@Self)^.clr := $00000040
  29911. else
  29912. pTDefRegMap(@Self)^.&set := $00000040;
  29913. end;
  29914. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29915. begin
  29916. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29917. end;
  29918. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29919. begin
  29920. pTDefRegMap(@Self)^.&set := $00010000;
  29921. end;
  29922. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29923. begin
  29924. pTDefRegMap(@Self)^.clr := $00010000;
  29925. end;
  29926. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29927. begin
  29928. if thebits = 0 then
  29929. pTDefRegMap(@Self)^.clr := $00010000
  29930. else
  29931. pTDefRegMap(@Self)^.&set := $00010000;
  29932. end;
  29933. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29934. begin
  29935. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29936. end;
  29937. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29938. begin
  29939. pTDefRegMap(@Self)^.&set := $00020000;
  29940. end;
  29941. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29942. begin
  29943. pTDefRegMap(@Self)^.clr := $00020000;
  29944. end;
  29945. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29946. begin
  29947. if thebits = 0 then
  29948. pTDefRegMap(@Self)^.clr := $00020000
  29949. else
  29950. pTDefRegMap(@Self)^.&set := $00020000;
  29951. end;
  29952. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29953. begin
  29954. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29955. end;
  29956. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29957. begin
  29958. pTDefRegMap(@Self)^.&set := $00040000;
  29959. end;
  29960. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29961. begin
  29962. pTDefRegMap(@Self)^.clr := $00040000;
  29963. end;
  29964. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29965. begin
  29966. if thebits = 0 then
  29967. pTDefRegMap(@Self)^.clr := $00040000
  29968. else
  29969. pTDefRegMap(@Self)^.&set := $00040000;
  29970. end;
  29971. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29972. begin
  29973. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29974. end;
  29975. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29976. begin
  29977. pTDefRegMap(@Self)^.&set := $00080000;
  29978. end;
  29979. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29980. begin
  29981. pTDefRegMap(@Self)^.clr := $00080000;
  29982. end;
  29983. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29984. begin
  29985. if thebits = 0 then
  29986. pTDefRegMap(@Self)^.clr := $00080000
  29987. else
  29988. pTDefRegMap(@Self)^.&set := $00080000;
  29989. end;
  29990. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29991. begin
  29992. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29993. end;
  29994. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29995. begin
  29996. pTDefRegMap(@Self)^.&set := $00100000;
  29997. end;
  29998. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29999. begin
  30000. pTDefRegMap(@Self)^.clr := $00100000;
  30001. end;
  30002. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  30003. begin
  30004. if thebits = 0 then
  30005. pTDefRegMap(@Self)^.clr := $00100000
  30006. else
  30007. pTDefRegMap(@Self)^.&set := $00100000;
  30008. end;
  30009. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  30010. begin
  30011. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30012. end;
  30013. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  30014. begin
  30015. pTDefRegMap(@Self)^.&set := $04000000;
  30016. end;
  30017. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  30018. begin
  30019. pTDefRegMap(@Self)^.clr := $04000000;
  30020. end;
  30021. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  30022. begin
  30023. if thebits = 0 then
  30024. pTDefRegMap(@Self)^.clr := $04000000
  30025. else
  30026. pTDefRegMap(@Self)^.&set := $04000000;
  30027. end;
  30028. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  30029. begin
  30030. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  30031. end;
  30032. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  30033. begin
  30034. pTDefRegMap(@Self)^.val := thebits;
  30035. end;
  30036. function TBMX_BMXCON.getw : TBits_32; inline;
  30037. begin
  30038. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30039. end;
  30040. procedure TDMAC_DMACON.setDMABUSY; inline;
  30041. begin
  30042. pTDefRegMap(@Self)^.&set := $00000800;
  30043. end;
  30044. procedure TDMAC_DMACON.clearDMABUSY; inline;
  30045. begin
  30046. pTDefRegMap(@Self)^.clr := $00000800;
  30047. end;
  30048. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  30049. begin
  30050. if thebits = 0 then
  30051. pTDefRegMap(@Self)^.clr := $00000800
  30052. else
  30053. pTDefRegMap(@Self)^.&set := $00000800;
  30054. end;
  30055. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  30056. begin
  30057. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30058. end;
  30059. procedure TDMAC_DMACON.setSUSPEND; inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.&set := $00001000;
  30062. end;
  30063. procedure TDMAC_DMACON.clearSUSPEND; inline;
  30064. begin
  30065. pTDefRegMap(@Self)^.clr := $00001000;
  30066. end;
  30067. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  30068. begin
  30069. if thebits = 0 then
  30070. pTDefRegMap(@Self)^.clr := $00001000
  30071. else
  30072. pTDefRegMap(@Self)^.&set := $00001000;
  30073. end;
  30074. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  30075. begin
  30076. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30077. end;
  30078. procedure TDMAC_DMACON.setON; inline;
  30079. begin
  30080. pTDefRegMap(@Self)^.&set := $00008000;
  30081. end;
  30082. procedure TDMAC_DMACON.clearON; inline;
  30083. begin
  30084. pTDefRegMap(@Self)^.clr := $00008000;
  30085. end;
  30086. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  30087. begin
  30088. if thebits = 0 then
  30089. pTDefRegMap(@Self)^.clr := $00008000
  30090. else
  30091. pTDefRegMap(@Self)^.&set := $00008000;
  30092. end;
  30093. function TDMAC_DMACON.getON : TBits_1; inline;
  30094. begin
  30095. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30096. end;
  30097. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  30098. begin
  30099. pTDefRegMap(@Self)^.val := thebits;
  30100. end;
  30101. function TDMAC_DMACON.getw : TBits_32; inline;
  30102. begin
  30103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30104. end;
  30105. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  30106. begin
  30107. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30108. end;
  30109. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  30110. begin
  30111. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30112. end;
  30113. procedure TDMAC_DMASTAT.setRDWR; inline;
  30114. begin
  30115. pTDefRegMap(@Self)^.&set := $00000008;
  30116. end;
  30117. procedure TDMAC_DMASTAT.clearRDWR; inline;
  30118. begin
  30119. pTDefRegMap(@Self)^.clr := $00000008;
  30120. end;
  30121. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  30122. begin
  30123. if thebits = 0 then
  30124. pTDefRegMap(@Self)^.clr := $00000008
  30125. else
  30126. pTDefRegMap(@Self)^.&set := $00000008;
  30127. end;
  30128. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  30129. begin
  30130. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30131. end;
  30132. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  30133. begin
  30134. pTDefRegMap(@Self)^.val := thebits;
  30135. end;
  30136. function TDMAC_DMASTAT.getw : TBits_32; inline;
  30137. begin
  30138. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30139. end;
  30140. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  30141. begin
  30142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30143. end;
  30144. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  30145. begin
  30146. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30147. end;
  30148. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  30149. begin
  30150. pTDefRegMap(@Self)^.&set := $00000020;
  30151. end;
  30152. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  30153. begin
  30154. pTDefRegMap(@Self)^.clr := $00000020;
  30155. end;
  30156. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  30157. begin
  30158. if thebits = 0 then
  30159. pTDefRegMap(@Self)^.clr := $00000020
  30160. else
  30161. pTDefRegMap(@Self)^.&set := $00000020;
  30162. end;
  30163. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  30164. begin
  30165. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30166. end;
  30167. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  30168. begin
  30169. pTDefRegMap(@Self)^.&set := $00000040;
  30170. end;
  30171. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  30172. begin
  30173. pTDefRegMap(@Self)^.clr := $00000040;
  30174. end;
  30175. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  30176. begin
  30177. if thebits = 0 then
  30178. pTDefRegMap(@Self)^.clr := $00000040
  30179. else
  30180. pTDefRegMap(@Self)^.&set := $00000040;
  30181. end;
  30182. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  30183. begin
  30184. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30185. end;
  30186. procedure TDMAC_DCRCCON.setCRCEN; inline;
  30187. begin
  30188. pTDefRegMap(@Self)^.&set := $00000080;
  30189. end;
  30190. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  30191. begin
  30192. pTDefRegMap(@Self)^.clr := $00000080;
  30193. end;
  30194. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  30195. begin
  30196. if thebits = 0 then
  30197. pTDefRegMap(@Self)^.clr := $00000080
  30198. else
  30199. pTDefRegMap(@Self)^.&set := $00000080;
  30200. end;
  30201. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  30202. begin
  30203. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30204. end;
  30205. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  30206. begin
  30207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  30208. end;
  30209. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  30210. begin
  30211. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  30212. end;
  30213. procedure TDMAC_DCRCCON.setBITO; inline;
  30214. begin
  30215. pTDefRegMap(@Self)^.&set := $01000000;
  30216. end;
  30217. procedure TDMAC_DCRCCON.clearBITO; inline;
  30218. begin
  30219. pTDefRegMap(@Self)^.clr := $01000000;
  30220. end;
  30221. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  30222. begin
  30223. if thebits = 0 then
  30224. pTDefRegMap(@Self)^.clr := $01000000
  30225. else
  30226. pTDefRegMap(@Self)^.&set := $01000000;
  30227. end;
  30228. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  30229. begin
  30230. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30231. end;
  30232. procedure TDMAC_DCRCCON.setWBO; inline;
  30233. begin
  30234. pTDefRegMap(@Self)^.&set := $08000000;
  30235. end;
  30236. procedure TDMAC_DCRCCON.clearWBO; inline;
  30237. begin
  30238. pTDefRegMap(@Self)^.clr := $08000000;
  30239. end;
  30240. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  30241. begin
  30242. if thebits = 0 then
  30243. pTDefRegMap(@Self)^.clr := $08000000
  30244. else
  30245. pTDefRegMap(@Self)^.&set := $08000000;
  30246. end;
  30247. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  30248. begin
  30249. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30250. end;
  30251. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  30252. begin
  30253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  30254. end;
  30255. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  30256. begin
  30257. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  30258. end;
  30259. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  30260. begin
  30261. pTDefRegMap(@Self)^.val := thebits;
  30262. end;
  30263. function TDMAC_DCRCCON.getw : TBits_32; inline;
  30264. begin
  30265. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30266. end;
  30267. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  30268. begin
  30269. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30270. end;
  30271. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  30272. begin
  30273. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30274. end;
  30275. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  30276. begin
  30277. pTDefRegMap(@Self)^.&set := $00000004;
  30278. end;
  30279. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  30280. begin
  30281. pTDefRegMap(@Self)^.clr := $00000004;
  30282. end;
  30283. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  30284. begin
  30285. if thebits = 0 then
  30286. pTDefRegMap(@Self)^.clr := $00000004
  30287. else
  30288. pTDefRegMap(@Self)^.&set := $00000004;
  30289. end;
  30290. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  30291. begin
  30292. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30293. end;
  30294. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  30295. begin
  30296. pTDefRegMap(@Self)^.&set := $00000010;
  30297. end;
  30298. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  30299. begin
  30300. pTDefRegMap(@Self)^.clr := $00000010;
  30301. end;
  30302. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  30303. begin
  30304. if thebits = 0 then
  30305. pTDefRegMap(@Self)^.clr := $00000010
  30306. else
  30307. pTDefRegMap(@Self)^.&set := $00000010;
  30308. end;
  30309. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  30310. begin
  30311. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30312. end;
  30313. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  30314. begin
  30315. pTDefRegMap(@Self)^.&set := $00000020;
  30316. end;
  30317. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  30318. begin
  30319. pTDefRegMap(@Self)^.clr := $00000020;
  30320. end;
  30321. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  30322. begin
  30323. if thebits = 0 then
  30324. pTDefRegMap(@Self)^.clr := $00000020
  30325. else
  30326. pTDefRegMap(@Self)^.&set := $00000020;
  30327. end;
  30328. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  30329. begin
  30330. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30331. end;
  30332. procedure TDMAC0_DCH0CON.setCHAED; inline;
  30333. begin
  30334. pTDefRegMap(@Self)^.&set := $00000040;
  30335. end;
  30336. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  30337. begin
  30338. pTDefRegMap(@Self)^.clr := $00000040;
  30339. end;
  30340. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  30341. begin
  30342. if thebits = 0 then
  30343. pTDefRegMap(@Self)^.clr := $00000040
  30344. else
  30345. pTDefRegMap(@Self)^.&set := $00000040;
  30346. end;
  30347. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  30348. begin
  30349. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30350. end;
  30351. procedure TDMAC0_DCH0CON.setCHEN; inline;
  30352. begin
  30353. pTDefRegMap(@Self)^.&set := $00000080;
  30354. end;
  30355. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  30356. begin
  30357. pTDefRegMap(@Self)^.clr := $00000080;
  30358. end;
  30359. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  30360. begin
  30361. if thebits = 0 then
  30362. pTDefRegMap(@Self)^.clr := $00000080
  30363. else
  30364. pTDefRegMap(@Self)^.&set := $00000080;
  30365. end;
  30366. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  30367. begin
  30368. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30369. end;
  30370. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  30371. begin
  30372. pTDefRegMap(@Self)^.&set := $00000100;
  30373. end;
  30374. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  30375. begin
  30376. pTDefRegMap(@Self)^.clr := $00000100;
  30377. end;
  30378. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  30379. begin
  30380. if thebits = 0 then
  30381. pTDefRegMap(@Self)^.clr := $00000100
  30382. else
  30383. pTDefRegMap(@Self)^.&set := $00000100;
  30384. end;
  30385. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  30386. begin
  30387. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30388. end;
  30389. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  30390. begin
  30391. pTDefRegMap(@Self)^.&set := $00008000;
  30392. end;
  30393. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  30394. begin
  30395. pTDefRegMap(@Self)^.clr := $00008000;
  30396. end;
  30397. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  30398. begin
  30399. if thebits = 0 then
  30400. pTDefRegMap(@Self)^.clr := $00008000
  30401. else
  30402. pTDefRegMap(@Self)^.&set := $00008000;
  30403. end;
  30404. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  30405. begin
  30406. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30407. end;
  30408. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  30409. begin
  30410. pTDefRegMap(@Self)^.val := thebits;
  30411. end;
  30412. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  30413. begin
  30414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30415. end;
  30416. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  30417. begin
  30418. pTDefRegMap(@Self)^.&set := $00000008;
  30419. end;
  30420. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  30421. begin
  30422. pTDefRegMap(@Self)^.clr := $00000008;
  30423. end;
  30424. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  30425. begin
  30426. if thebits = 0 then
  30427. pTDefRegMap(@Self)^.clr := $00000008
  30428. else
  30429. pTDefRegMap(@Self)^.&set := $00000008;
  30430. end;
  30431. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  30432. begin
  30433. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30434. end;
  30435. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  30436. begin
  30437. pTDefRegMap(@Self)^.&set := $00000010;
  30438. end;
  30439. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  30440. begin
  30441. pTDefRegMap(@Self)^.clr := $00000010;
  30442. end;
  30443. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  30444. begin
  30445. if thebits = 0 then
  30446. pTDefRegMap(@Self)^.clr := $00000010
  30447. else
  30448. pTDefRegMap(@Self)^.&set := $00000010;
  30449. end;
  30450. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  30451. begin
  30452. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30453. end;
  30454. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  30455. begin
  30456. pTDefRegMap(@Self)^.&set := $00000020;
  30457. end;
  30458. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  30459. begin
  30460. pTDefRegMap(@Self)^.clr := $00000020;
  30461. end;
  30462. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  30463. begin
  30464. if thebits = 0 then
  30465. pTDefRegMap(@Self)^.clr := $00000020
  30466. else
  30467. pTDefRegMap(@Self)^.&set := $00000020;
  30468. end;
  30469. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  30470. begin
  30471. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30472. end;
  30473. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  30474. begin
  30475. pTDefRegMap(@Self)^.&set := $00000040;
  30476. end;
  30477. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  30478. begin
  30479. pTDefRegMap(@Self)^.clr := $00000040;
  30480. end;
  30481. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  30482. begin
  30483. if thebits = 0 then
  30484. pTDefRegMap(@Self)^.clr := $00000040
  30485. else
  30486. pTDefRegMap(@Self)^.&set := $00000040;
  30487. end;
  30488. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  30489. begin
  30490. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30491. end;
  30492. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  30493. begin
  30494. pTDefRegMap(@Self)^.&set := $00000080;
  30495. end;
  30496. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  30497. begin
  30498. pTDefRegMap(@Self)^.clr := $00000080;
  30499. end;
  30500. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  30501. begin
  30502. if thebits = 0 then
  30503. pTDefRegMap(@Self)^.clr := $00000080
  30504. else
  30505. pTDefRegMap(@Self)^.&set := $00000080;
  30506. end;
  30507. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  30508. begin
  30509. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30510. end;
  30511. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  30512. begin
  30513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30514. end;
  30515. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  30516. begin
  30517. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30518. end;
  30519. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30522. end;
  30523. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  30524. begin
  30525. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30526. end;
  30527. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  30528. begin
  30529. pTDefRegMap(@Self)^.val := thebits;
  30530. end;
  30531. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  30532. begin
  30533. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30534. end;
  30535. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  30536. begin
  30537. pTDefRegMap(@Self)^.&set := $00000001;
  30538. end;
  30539. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  30540. begin
  30541. pTDefRegMap(@Self)^.clr := $00000001;
  30542. end;
  30543. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  30544. begin
  30545. if thebits = 0 then
  30546. pTDefRegMap(@Self)^.clr := $00000001
  30547. else
  30548. pTDefRegMap(@Self)^.&set := $00000001;
  30549. end;
  30550. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  30551. begin
  30552. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30553. end;
  30554. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  30555. begin
  30556. pTDefRegMap(@Self)^.&set := $00000002;
  30557. end;
  30558. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  30559. begin
  30560. pTDefRegMap(@Self)^.clr := $00000002;
  30561. end;
  30562. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  30563. begin
  30564. if thebits = 0 then
  30565. pTDefRegMap(@Self)^.clr := $00000002
  30566. else
  30567. pTDefRegMap(@Self)^.&set := $00000002;
  30568. end;
  30569. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  30570. begin
  30571. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30572. end;
  30573. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  30574. begin
  30575. pTDefRegMap(@Self)^.&set := $00000004;
  30576. end;
  30577. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  30578. begin
  30579. pTDefRegMap(@Self)^.clr := $00000004;
  30580. end;
  30581. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  30582. begin
  30583. if thebits = 0 then
  30584. pTDefRegMap(@Self)^.clr := $00000004
  30585. else
  30586. pTDefRegMap(@Self)^.&set := $00000004;
  30587. end;
  30588. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  30589. begin
  30590. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30591. end;
  30592. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  30593. begin
  30594. pTDefRegMap(@Self)^.&set := $00000008;
  30595. end;
  30596. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  30597. begin
  30598. pTDefRegMap(@Self)^.clr := $00000008;
  30599. end;
  30600. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  30601. begin
  30602. if thebits = 0 then
  30603. pTDefRegMap(@Self)^.clr := $00000008
  30604. else
  30605. pTDefRegMap(@Self)^.&set := $00000008;
  30606. end;
  30607. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30608. begin
  30609. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30610. end;
  30611. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30612. begin
  30613. pTDefRegMap(@Self)^.&set := $00000010;
  30614. end;
  30615. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30616. begin
  30617. pTDefRegMap(@Self)^.clr := $00000010;
  30618. end;
  30619. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30620. begin
  30621. if thebits = 0 then
  30622. pTDefRegMap(@Self)^.clr := $00000010
  30623. else
  30624. pTDefRegMap(@Self)^.&set := $00000010;
  30625. end;
  30626. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30627. begin
  30628. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30629. end;
  30630. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30631. begin
  30632. pTDefRegMap(@Self)^.&set := $00000020;
  30633. end;
  30634. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30635. begin
  30636. pTDefRegMap(@Self)^.clr := $00000020;
  30637. end;
  30638. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30639. begin
  30640. if thebits = 0 then
  30641. pTDefRegMap(@Self)^.clr := $00000020
  30642. else
  30643. pTDefRegMap(@Self)^.&set := $00000020;
  30644. end;
  30645. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30646. begin
  30647. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30648. end;
  30649. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30650. begin
  30651. pTDefRegMap(@Self)^.&set := $00000040;
  30652. end;
  30653. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30654. begin
  30655. pTDefRegMap(@Self)^.clr := $00000040;
  30656. end;
  30657. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30658. begin
  30659. if thebits = 0 then
  30660. pTDefRegMap(@Self)^.clr := $00000040
  30661. else
  30662. pTDefRegMap(@Self)^.&set := $00000040;
  30663. end;
  30664. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30665. begin
  30666. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30667. end;
  30668. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30669. begin
  30670. pTDefRegMap(@Self)^.&set := $00000080;
  30671. end;
  30672. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30673. begin
  30674. pTDefRegMap(@Self)^.clr := $00000080;
  30675. end;
  30676. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30677. begin
  30678. if thebits = 0 then
  30679. pTDefRegMap(@Self)^.clr := $00000080
  30680. else
  30681. pTDefRegMap(@Self)^.&set := $00000080;
  30682. end;
  30683. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30684. begin
  30685. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30686. end;
  30687. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30688. begin
  30689. pTDefRegMap(@Self)^.&set := $00010000;
  30690. end;
  30691. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30692. begin
  30693. pTDefRegMap(@Self)^.clr := $00010000;
  30694. end;
  30695. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30696. begin
  30697. if thebits = 0 then
  30698. pTDefRegMap(@Self)^.clr := $00010000
  30699. else
  30700. pTDefRegMap(@Self)^.&set := $00010000;
  30701. end;
  30702. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30703. begin
  30704. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30705. end;
  30706. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30707. begin
  30708. pTDefRegMap(@Self)^.&set := $00020000;
  30709. end;
  30710. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30711. begin
  30712. pTDefRegMap(@Self)^.clr := $00020000;
  30713. end;
  30714. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30715. begin
  30716. if thebits = 0 then
  30717. pTDefRegMap(@Self)^.clr := $00020000
  30718. else
  30719. pTDefRegMap(@Self)^.&set := $00020000;
  30720. end;
  30721. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30722. begin
  30723. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30724. end;
  30725. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30726. begin
  30727. pTDefRegMap(@Self)^.&set := $00040000;
  30728. end;
  30729. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.clr := $00040000;
  30732. end;
  30733. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30734. begin
  30735. if thebits = 0 then
  30736. pTDefRegMap(@Self)^.clr := $00040000
  30737. else
  30738. pTDefRegMap(@Self)^.&set := $00040000;
  30739. end;
  30740. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30741. begin
  30742. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30743. end;
  30744. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30745. begin
  30746. pTDefRegMap(@Self)^.&set := $00080000;
  30747. end;
  30748. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30749. begin
  30750. pTDefRegMap(@Self)^.clr := $00080000;
  30751. end;
  30752. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30753. begin
  30754. if thebits = 0 then
  30755. pTDefRegMap(@Self)^.clr := $00080000
  30756. else
  30757. pTDefRegMap(@Self)^.&set := $00080000;
  30758. end;
  30759. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30760. begin
  30761. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30762. end;
  30763. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30764. begin
  30765. pTDefRegMap(@Self)^.&set := $00100000;
  30766. end;
  30767. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30768. begin
  30769. pTDefRegMap(@Self)^.clr := $00100000;
  30770. end;
  30771. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30772. begin
  30773. if thebits = 0 then
  30774. pTDefRegMap(@Self)^.clr := $00100000
  30775. else
  30776. pTDefRegMap(@Self)^.&set := $00100000;
  30777. end;
  30778. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30779. begin
  30780. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30781. end;
  30782. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30783. begin
  30784. pTDefRegMap(@Self)^.&set := $00200000;
  30785. end;
  30786. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30787. begin
  30788. pTDefRegMap(@Self)^.clr := $00200000;
  30789. end;
  30790. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30791. begin
  30792. if thebits = 0 then
  30793. pTDefRegMap(@Self)^.clr := $00200000
  30794. else
  30795. pTDefRegMap(@Self)^.&set := $00200000;
  30796. end;
  30797. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30798. begin
  30799. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30800. end;
  30801. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30802. begin
  30803. pTDefRegMap(@Self)^.&set := $00400000;
  30804. end;
  30805. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30806. begin
  30807. pTDefRegMap(@Self)^.clr := $00400000;
  30808. end;
  30809. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30810. begin
  30811. if thebits = 0 then
  30812. pTDefRegMap(@Self)^.clr := $00400000
  30813. else
  30814. pTDefRegMap(@Self)^.&set := $00400000;
  30815. end;
  30816. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30817. begin
  30818. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30819. end;
  30820. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30821. begin
  30822. pTDefRegMap(@Self)^.&set := $00800000;
  30823. end;
  30824. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30825. begin
  30826. pTDefRegMap(@Self)^.clr := $00800000;
  30827. end;
  30828. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30829. begin
  30830. if thebits = 0 then
  30831. pTDefRegMap(@Self)^.clr := $00800000
  30832. else
  30833. pTDefRegMap(@Self)^.&set := $00800000;
  30834. end;
  30835. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30836. begin
  30837. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30838. end;
  30839. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.val := thebits;
  30842. end;
  30843. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30844. begin
  30845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30846. end;
  30847. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30848. begin
  30849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30850. end;
  30851. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30852. begin
  30853. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30854. end;
  30855. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30856. begin
  30857. pTDefRegMap(@Self)^.&set := $00000004;
  30858. end;
  30859. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30860. begin
  30861. pTDefRegMap(@Self)^.clr := $00000004;
  30862. end;
  30863. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30864. begin
  30865. if thebits = 0 then
  30866. pTDefRegMap(@Self)^.clr := $00000004
  30867. else
  30868. pTDefRegMap(@Self)^.&set := $00000004;
  30869. end;
  30870. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30871. begin
  30872. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30873. end;
  30874. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30875. begin
  30876. pTDefRegMap(@Self)^.&set := $00000010;
  30877. end;
  30878. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30879. begin
  30880. pTDefRegMap(@Self)^.clr := $00000010;
  30881. end;
  30882. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30883. begin
  30884. if thebits = 0 then
  30885. pTDefRegMap(@Self)^.clr := $00000010
  30886. else
  30887. pTDefRegMap(@Self)^.&set := $00000010;
  30888. end;
  30889. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30890. begin
  30891. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30892. end;
  30893. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30894. begin
  30895. pTDefRegMap(@Self)^.&set := $00000020;
  30896. end;
  30897. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30898. begin
  30899. pTDefRegMap(@Self)^.clr := $00000020;
  30900. end;
  30901. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30902. begin
  30903. if thebits = 0 then
  30904. pTDefRegMap(@Self)^.clr := $00000020
  30905. else
  30906. pTDefRegMap(@Self)^.&set := $00000020;
  30907. end;
  30908. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30909. begin
  30910. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30911. end;
  30912. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30913. begin
  30914. pTDefRegMap(@Self)^.&set := $00000040;
  30915. end;
  30916. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30917. begin
  30918. pTDefRegMap(@Self)^.clr := $00000040;
  30919. end;
  30920. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30921. begin
  30922. if thebits = 0 then
  30923. pTDefRegMap(@Self)^.clr := $00000040
  30924. else
  30925. pTDefRegMap(@Self)^.&set := $00000040;
  30926. end;
  30927. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30928. begin
  30929. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30930. end;
  30931. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30932. begin
  30933. pTDefRegMap(@Self)^.&set := $00000080;
  30934. end;
  30935. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30936. begin
  30937. pTDefRegMap(@Self)^.clr := $00000080;
  30938. end;
  30939. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30940. begin
  30941. if thebits = 0 then
  30942. pTDefRegMap(@Self)^.clr := $00000080
  30943. else
  30944. pTDefRegMap(@Self)^.&set := $00000080;
  30945. end;
  30946. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30947. begin
  30948. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30949. end;
  30950. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30951. begin
  30952. pTDefRegMap(@Self)^.&set := $00000100;
  30953. end;
  30954. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30955. begin
  30956. pTDefRegMap(@Self)^.clr := $00000100;
  30957. end;
  30958. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30959. begin
  30960. if thebits = 0 then
  30961. pTDefRegMap(@Self)^.clr := $00000100
  30962. else
  30963. pTDefRegMap(@Self)^.&set := $00000100;
  30964. end;
  30965. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30966. begin
  30967. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30968. end;
  30969. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30970. begin
  30971. pTDefRegMap(@Self)^.&set := $00008000;
  30972. end;
  30973. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30974. begin
  30975. pTDefRegMap(@Self)^.clr := $00008000;
  30976. end;
  30977. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30978. begin
  30979. if thebits = 0 then
  30980. pTDefRegMap(@Self)^.clr := $00008000
  30981. else
  30982. pTDefRegMap(@Self)^.&set := $00008000;
  30983. end;
  30984. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30985. begin
  30986. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30987. end;
  30988. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30989. begin
  30990. pTDefRegMap(@Self)^.val := thebits;
  30991. end;
  30992. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30993. begin
  30994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30995. end;
  30996. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30997. begin
  30998. pTDefRegMap(@Self)^.&set := $00000008;
  30999. end;
  31000. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  31001. begin
  31002. pTDefRegMap(@Self)^.clr := $00000008;
  31003. end;
  31004. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  31005. begin
  31006. if thebits = 0 then
  31007. pTDefRegMap(@Self)^.clr := $00000008
  31008. else
  31009. pTDefRegMap(@Self)^.&set := $00000008;
  31010. end;
  31011. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  31012. begin
  31013. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31014. end;
  31015. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.&set := $00000010;
  31018. end;
  31019. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  31020. begin
  31021. pTDefRegMap(@Self)^.clr := $00000010;
  31022. end;
  31023. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  31024. begin
  31025. if thebits = 0 then
  31026. pTDefRegMap(@Self)^.clr := $00000010
  31027. else
  31028. pTDefRegMap(@Self)^.&set := $00000010;
  31029. end;
  31030. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  31031. begin
  31032. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31033. end;
  31034. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.&set := $00000020;
  31037. end;
  31038. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  31039. begin
  31040. pTDefRegMap(@Self)^.clr := $00000020;
  31041. end;
  31042. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  31043. begin
  31044. if thebits = 0 then
  31045. pTDefRegMap(@Self)^.clr := $00000020
  31046. else
  31047. pTDefRegMap(@Self)^.&set := $00000020;
  31048. end;
  31049. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  31050. begin
  31051. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31052. end;
  31053. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.&set := $00000040;
  31056. end;
  31057. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  31058. begin
  31059. pTDefRegMap(@Self)^.clr := $00000040;
  31060. end;
  31061. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  31062. begin
  31063. if thebits = 0 then
  31064. pTDefRegMap(@Self)^.clr := $00000040
  31065. else
  31066. pTDefRegMap(@Self)^.&set := $00000040;
  31067. end;
  31068. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  31069. begin
  31070. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31071. end;
  31072. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  31073. begin
  31074. pTDefRegMap(@Self)^.&set := $00000080;
  31075. end;
  31076. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  31077. begin
  31078. pTDefRegMap(@Self)^.clr := $00000080;
  31079. end;
  31080. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  31081. begin
  31082. if thebits = 0 then
  31083. pTDefRegMap(@Self)^.clr := $00000080
  31084. else
  31085. pTDefRegMap(@Self)^.&set := $00000080;
  31086. end;
  31087. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  31088. begin
  31089. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31090. end;
  31091. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  31092. begin
  31093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31094. end;
  31095. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  31096. begin
  31097. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31098. end;
  31099. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  31100. begin
  31101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31102. end;
  31103. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  31104. begin
  31105. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31106. end;
  31107. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  31108. begin
  31109. pTDefRegMap(@Self)^.val := thebits;
  31110. end;
  31111. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  31112. begin
  31113. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31114. end;
  31115. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  31116. begin
  31117. pTDefRegMap(@Self)^.&set := $00000001;
  31118. end;
  31119. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  31120. begin
  31121. pTDefRegMap(@Self)^.clr := $00000001;
  31122. end;
  31123. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  31124. begin
  31125. if thebits = 0 then
  31126. pTDefRegMap(@Self)^.clr := $00000001
  31127. else
  31128. pTDefRegMap(@Self)^.&set := $00000001;
  31129. end;
  31130. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  31131. begin
  31132. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31133. end;
  31134. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  31135. begin
  31136. pTDefRegMap(@Self)^.&set := $00000002;
  31137. end;
  31138. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  31139. begin
  31140. pTDefRegMap(@Self)^.clr := $00000002;
  31141. end;
  31142. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  31143. begin
  31144. if thebits = 0 then
  31145. pTDefRegMap(@Self)^.clr := $00000002
  31146. else
  31147. pTDefRegMap(@Self)^.&set := $00000002;
  31148. end;
  31149. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  31150. begin
  31151. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31152. end;
  31153. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  31154. begin
  31155. pTDefRegMap(@Self)^.&set := $00000004;
  31156. end;
  31157. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  31158. begin
  31159. pTDefRegMap(@Self)^.clr := $00000004;
  31160. end;
  31161. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  31162. begin
  31163. if thebits = 0 then
  31164. pTDefRegMap(@Self)^.clr := $00000004
  31165. else
  31166. pTDefRegMap(@Self)^.&set := $00000004;
  31167. end;
  31168. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  31169. begin
  31170. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31171. end;
  31172. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  31173. begin
  31174. pTDefRegMap(@Self)^.&set := $00000008;
  31175. end;
  31176. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  31177. begin
  31178. pTDefRegMap(@Self)^.clr := $00000008;
  31179. end;
  31180. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  31181. begin
  31182. if thebits = 0 then
  31183. pTDefRegMap(@Self)^.clr := $00000008
  31184. else
  31185. pTDefRegMap(@Self)^.&set := $00000008;
  31186. end;
  31187. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  31188. begin
  31189. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31190. end;
  31191. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  31192. begin
  31193. pTDefRegMap(@Self)^.&set := $00000010;
  31194. end;
  31195. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  31196. begin
  31197. pTDefRegMap(@Self)^.clr := $00000010;
  31198. end;
  31199. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  31200. begin
  31201. if thebits = 0 then
  31202. pTDefRegMap(@Self)^.clr := $00000010
  31203. else
  31204. pTDefRegMap(@Self)^.&set := $00000010;
  31205. end;
  31206. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  31207. begin
  31208. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31209. end;
  31210. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  31211. begin
  31212. pTDefRegMap(@Self)^.&set := $00000020;
  31213. end;
  31214. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  31215. begin
  31216. pTDefRegMap(@Self)^.clr := $00000020;
  31217. end;
  31218. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  31219. begin
  31220. if thebits = 0 then
  31221. pTDefRegMap(@Self)^.clr := $00000020
  31222. else
  31223. pTDefRegMap(@Self)^.&set := $00000020;
  31224. end;
  31225. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  31226. begin
  31227. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31228. end;
  31229. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  31230. begin
  31231. pTDefRegMap(@Self)^.&set := $00000040;
  31232. end;
  31233. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  31234. begin
  31235. pTDefRegMap(@Self)^.clr := $00000040;
  31236. end;
  31237. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  31238. begin
  31239. if thebits = 0 then
  31240. pTDefRegMap(@Self)^.clr := $00000040
  31241. else
  31242. pTDefRegMap(@Self)^.&set := $00000040;
  31243. end;
  31244. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  31245. begin
  31246. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31247. end;
  31248. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  31249. begin
  31250. pTDefRegMap(@Self)^.&set := $00000080;
  31251. end;
  31252. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  31253. begin
  31254. pTDefRegMap(@Self)^.clr := $00000080;
  31255. end;
  31256. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  31257. begin
  31258. if thebits = 0 then
  31259. pTDefRegMap(@Self)^.clr := $00000080
  31260. else
  31261. pTDefRegMap(@Self)^.&set := $00000080;
  31262. end;
  31263. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  31264. begin
  31265. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31266. end;
  31267. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  31268. begin
  31269. pTDefRegMap(@Self)^.&set := $00010000;
  31270. end;
  31271. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  31272. begin
  31273. pTDefRegMap(@Self)^.clr := $00010000;
  31274. end;
  31275. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  31276. begin
  31277. if thebits = 0 then
  31278. pTDefRegMap(@Self)^.clr := $00010000
  31279. else
  31280. pTDefRegMap(@Self)^.&set := $00010000;
  31281. end;
  31282. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  31283. begin
  31284. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31285. end;
  31286. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  31287. begin
  31288. pTDefRegMap(@Self)^.&set := $00020000;
  31289. end;
  31290. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  31291. begin
  31292. pTDefRegMap(@Self)^.clr := $00020000;
  31293. end;
  31294. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  31295. begin
  31296. if thebits = 0 then
  31297. pTDefRegMap(@Self)^.clr := $00020000
  31298. else
  31299. pTDefRegMap(@Self)^.&set := $00020000;
  31300. end;
  31301. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  31302. begin
  31303. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31304. end;
  31305. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  31306. begin
  31307. pTDefRegMap(@Self)^.&set := $00040000;
  31308. end;
  31309. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  31310. begin
  31311. pTDefRegMap(@Self)^.clr := $00040000;
  31312. end;
  31313. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  31314. begin
  31315. if thebits = 0 then
  31316. pTDefRegMap(@Self)^.clr := $00040000
  31317. else
  31318. pTDefRegMap(@Self)^.&set := $00040000;
  31319. end;
  31320. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  31321. begin
  31322. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31323. end;
  31324. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  31325. begin
  31326. pTDefRegMap(@Self)^.&set := $00080000;
  31327. end;
  31328. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  31329. begin
  31330. pTDefRegMap(@Self)^.clr := $00080000;
  31331. end;
  31332. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  31333. begin
  31334. if thebits = 0 then
  31335. pTDefRegMap(@Self)^.clr := $00080000
  31336. else
  31337. pTDefRegMap(@Self)^.&set := $00080000;
  31338. end;
  31339. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  31340. begin
  31341. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31342. end;
  31343. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  31344. begin
  31345. pTDefRegMap(@Self)^.&set := $00100000;
  31346. end;
  31347. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  31348. begin
  31349. pTDefRegMap(@Self)^.clr := $00100000;
  31350. end;
  31351. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  31352. begin
  31353. if thebits = 0 then
  31354. pTDefRegMap(@Self)^.clr := $00100000
  31355. else
  31356. pTDefRegMap(@Self)^.&set := $00100000;
  31357. end;
  31358. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  31359. begin
  31360. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31361. end;
  31362. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  31363. begin
  31364. pTDefRegMap(@Self)^.&set := $00200000;
  31365. end;
  31366. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  31367. begin
  31368. pTDefRegMap(@Self)^.clr := $00200000;
  31369. end;
  31370. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  31371. begin
  31372. if thebits = 0 then
  31373. pTDefRegMap(@Self)^.clr := $00200000
  31374. else
  31375. pTDefRegMap(@Self)^.&set := $00200000;
  31376. end;
  31377. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  31378. begin
  31379. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31380. end;
  31381. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  31382. begin
  31383. pTDefRegMap(@Self)^.&set := $00400000;
  31384. end;
  31385. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  31386. begin
  31387. pTDefRegMap(@Self)^.clr := $00400000;
  31388. end;
  31389. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  31390. begin
  31391. if thebits = 0 then
  31392. pTDefRegMap(@Self)^.clr := $00400000
  31393. else
  31394. pTDefRegMap(@Self)^.&set := $00400000;
  31395. end;
  31396. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  31397. begin
  31398. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31399. end;
  31400. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  31401. begin
  31402. pTDefRegMap(@Self)^.&set := $00800000;
  31403. end;
  31404. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  31405. begin
  31406. pTDefRegMap(@Self)^.clr := $00800000;
  31407. end;
  31408. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  31409. begin
  31410. if thebits = 0 then
  31411. pTDefRegMap(@Self)^.clr := $00800000
  31412. else
  31413. pTDefRegMap(@Self)^.&set := $00800000;
  31414. end;
  31415. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  31416. begin
  31417. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31418. end;
  31419. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  31420. begin
  31421. pTDefRegMap(@Self)^.val := thebits;
  31422. end;
  31423. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  31424. begin
  31425. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31426. end;
  31427. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  31428. begin
  31429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31430. end;
  31431. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  31432. begin
  31433. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31434. end;
  31435. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  31436. begin
  31437. pTDefRegMap(@Self)^.&set := $00000004;
  31438. end;
  31439. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  31440. begin
  31441. pTDefRegMap(@Self)^.clr := $00000004;
  31442. end;
  31443. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  31444. begin
  31445. if thebits = 0 then
  31446. pTDefRegMap(@Self)^.clr := $00000004
  31447. else
  31448. pTDefRegMap(@Self)^.&set := $00000004;
  31449. end;
  31450. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  31451. begin
  31452. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31453. end;
  31454. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  31455. begin
  31456. pTDefRegMap(@Self)^.&set := $00000010;
  31457. end;
  31458. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  31459. begin
  31460. pTDefRegMap(@Self)^.clr := $00000010;
  31461. end;
  31462. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  31463. begin
  31464. if thebits = 0 then
  31465. pTDefRegMap(@Self)^.clr := $00000010
  31466. else
  31467. pTDefRegMap(@Self)^.&set := $00000010;
  31468. end;
  31469. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  31470. begin
  31471. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31472. end;
  31473. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  31474. begin
  31475. pTDefRegMap(@Self)^.&set := $00000020;
  31476. end;
  31477. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  31478. begin
  31479. pTDefRegMap(@Self)^.clr := $00000020;
  31480. end;
  31481. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  31482. begin
  31483. if thebits = 0 then
  31484. pTDefRegMap(@Self)^.clr := $00000020
  31485. else
  31486. pTDefRegMap(@Self)^.&set := $00000020;
  31487. end;
  31488. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  31489. begin
  31490. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31491. end;
  31492. procedure TDMAC2_DCH2CON.setCHAED; inline;
  31493. begin
  31494. pTDefRegMap(@Self)^.&set := $00000040;
  31495. end;
  31496. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  31497. begin
  31498. pTDefRegMap(@Self)^.clr := $00000040;
  31499. end;
  31500. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  31501. begin
  31502. if thebits = 0 then
  31503. pTDefRegMap(@Self)^.clr := $00000040
  31504. else
  31505. pTDefRegMap(@Self)^.&set := $00000040;
  31506. end;
  31507. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  31508. begin
  31509. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31510. end;
  31511. procedure TDMAC2_DCH2CON.setCHEN; inline;
  31512. begin
  31513. pTDefRegMap(@Self)^.&set := $00000080;
  31514. end;
  31515. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  31516. begin
  31517. pTDefRegMap(@Self)^.clr := $00000080;
  31518. end;
  31519. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  31520. begin
  31521. if thebits = 0 then
  31522. pTDefRegMap(@Self)^.clr := $00000080
  31523. else
  31524. pTDefRegMap(@Self)^.&set := $00000080;
  31525. end;
  31526. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  31527. begin
  31528. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31529. end;
  31530. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  31531. begin
  31532. pTDefRegMap(@Self)^.&set := $00000100;
  31533. end;
  31534. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  31535. begin
  31536. pTDefRegMap(@Self)^.clr := $00000100;
  31537. end;
  31538. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  31539. begin
  31540. if thebits = 0 then
  31541. pTDefRegMap(@Self)^.clr := $00000100
  31542. else
  31543. pTDefRegMap(@Self)^.&set := $00000100;
  31544. end;
  31545. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  31546. begin
  31547. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31548. end;
  31549. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  31550. begin
  31551. pTDefRegMap(@Self)^.&set := $00008000;
  31552. end;
  31553. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  31554. begin
  31555. pTDefRegMap(@Self)^.clr := $00008000;
  31556. end;
  31557. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  31558. begin
  31559. if thebits = 0 then
  31560. pTDefRegMap(@Self)^.clr := $00008000
  31561. else
  31562. pTDefRegMap(@Self)^.&set := $00008000;
  31563. end;
  31564. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  31565. begin
  31566. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31567. end;
  31568. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  31569. begin
  31570. pTDefRegMap(@Self)^.val := thebits;
  31571. end;
  31572. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  31573. begin
  31574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31575. end;
  31576. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  31577. begin
  31578. pTDefRegMap(@Self)^.&set := $00000008;
  31579. end;
  31580. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  31581. begin
  31582. pTDefRegMap(@Self)^.clr := $00000008;
  31583. end;
  31584. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  31585. begin
  31586. if thebits = 0 then
  31587. pTDefRegMap(@Self)^.clr := $00000008
  31588. else
  31589. pTDefRegMap(@Self)^.&set := $00000008;
  31590. end;
  31591. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  31592. begin
  31593. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31594. end;
  31595. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  31596. begin
  31597. pTDefRegMap(@Self)^.&set := $00000010;
  31598. end;
  31599. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  31600. begin
  31601. pTDefRegMap(@Self)^.clr := $00000010;
  31602. end;
  31603. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  31604. begin
  31605. if thebits = 0 then
  31606. pTDefRegMap(@Self)^.clr := $00000010
  31607. else
  31608. pTDefRegMap(@Self)^.&set := $00000010;
  31609. end;
  31610. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31611. begin
  31612. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31613. end;
  31614. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31615. begin
  31616. pTDefRegMap(@Self)^.&set := $00000020;
  31617. end;
  31618. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31619. begin
  31620. pTDefRegMap(@Self)^.clr := $00000020;
  31621. end;
  31622. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31623. begin
  31624. if thebits = 0 then
  31625. pTDefRegMap(@Self)^.clr := $00000020
  31626. else
  31627. pTDefRegMap(@Self)^.&set := $00000020;
  31628. end;
  31629. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31630. begin
  31631. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31632. end;
  31633. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31634. begin
  31635. pTDefRegMap(@Self)^.&set := $00000040;
  31636. end;
  31637. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31638. begin
  31639. pTDefRegMap(@Self)^.clr := $00000040;
  31640. end;
  31641. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31642. begin
  31643. if thebits = 0 then
  31644. pTDefRegMap(@Self)^.clr := $00000040
  31645. else
  31646. pTDefRegMap(@Self)^.&set := $00000040;
  31647. end;
  31648. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31649. begin
  31650. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31651. end;
  31652. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31653. begin
  31654. pTDefRegMap(@Self)^.&set := $00000080;
  31655. end;
  31656. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31657. begin
  31658. pTDefRegMap(@Self)^.clr := $00000080;
  31659. end;
  31660. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31661. begin
  31662. if thebits = 0 then
  31663. pTDefRegMap(@Self)^.clr := $00000080
  31664. else
  31665. pTDefRegMap(@Self)^.&set := $00000080;
  31666. end;
  31667. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31668. begin
  31669. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31670. end;
  31671. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31672. begin
  31673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31674. end;
  31675. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31676. begin
  31677. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31678. end;
  31679. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31680. begin
  31681. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31682. end;
  31683. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31684. begin
  31685. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31686. end;
  31687. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31688. begin
  31689. pTDefRegMap(@Self)^.val := thebits;
  31690. end;
  31691. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31692. begin
  31693. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31694. end;
  31695. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31696. begin
  31697. pTDefRegMap(@Self)^.&set := $00000001;
  31698. end;
  31699. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.clr := $00000001;
  31702. end;
  31703. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31704. begin
  31705. if thebits = 0 then
  31706. pTDefRegMap(@Self)^.clr := $00000001
  31707. else
  31708. pTDefRegMap(@Self)^.&set := $00000001;
  31709. end;
  31710. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31711. begin
  31712. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31713. end;
  31714. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31715. begin
  31716. pTDefRegMap(@Self)^.&set := $00000002;
  31717. end;
  31718. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.clr := $00000002;
  31721. end;
  31722. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31723. begin
  31724. if thebits = 0 then
  31725. pTDefRegMap(@Self)^.clr := $00000002
  31726. else
  31727. pTDefRegMap(@Self)^.&set := $00000002;
  31728. end;
  31729. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31730. begin
  31731. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31732. end;
  31733. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31734. begin
  31735. pTDefRegMap(@Self)^.&set := $00000004;
  31736. end;
  31737. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.clr := $00000004;
  31740. end;
  31741. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31742. begin
  31743. if thebits = 0 then
  31744. pTDefRegMap(@Self)^.clr := $00000004
  31745. else
  31746. pTDefRegMap(@Self)^.&set := $00000004;
  31747. end;
  31748. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31749. begin
  31750. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31751. end;
  31752. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31753. begin
  31754. pTDefRegMap(@Self)^.&set := $00000008;
  31755. end;
  31756. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.clr := $00000008;
  31759. end;
  31760. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31761. begin
  31762. if thebits = 0 then
  31763. pTDefRegMap(@Self)^.clr := $00000008
  31764. else
  31765. pTDefRegMap(@Self)^.&set := $00000008;
  31766. end;
  31767. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31768. begin
  31769. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31770. end;
  31771. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31772. begin
  31773. pTDefRegMap(@Self)^.&set := $00000010;
  31774. end;
  31775. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.clr := $00000010;
  31778. end;
  31779. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31780. begin
  31781. if thebits = 0 then
  31782. pTDefRegMap(@Self)^.clr := $00000010
  31783. else
  31784. pTDefRegMap(@Self)^.&set := $00000010;
  31785. end;
  31786. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31787. begin
  31788. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31789. end;
  31790. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31791. begin
  31792. pTDefRegMap(@Self)^.&set := $00000020;
  31793. end;
  31794. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31795. begin
  31796. pTDefRegMap(@Self)^.clr := $00000020;
  31797. end;
  31798. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31799. begin
  31800. if thebits = 0 then
  31801. pTDefRegMap(@Self)^.clr := $00000020
  31802. else
  31803. pTDefRegMap(@Self)^.&set := $00000020;
  31804. end;
  31805. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31806. begin
  31807. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31808. end;
  31809. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31810. begin
  31811. pTDefRegMap(@Self)^.&set := $00000040;
  31812. end;
  31813. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31814. begin
  31815. pTDefRegMap(@Self)^.clr := $00000040;
  31816. end;
  31817. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31818. begin
  31819. if thebits = 0 then
  31820. pTDefRegMap(@Self)^.clr := $00000040
  31821. else
  31822. pTDefRegMap(@Self)^.&set := $00000040;
  31823. end;
  31824. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31825. begin
  31826. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31827. end;
  31828. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31829. begin
  31830. pTDefRegMap(@Self)^.&set := $00000080;
  31831. end;
  31832. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31833. begin
  31834. pTDefRegMap(@Self)^.clr := $00000080;
  31835. end;
  31836. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31837. begin
  31838. if thebits = 0 then
  31839. pTDefRegMap(@Self)^.clr := $00000080
  31840. else
  31841. pTDefRegMap(@Self)^.&set := $00000080;
  31842. end;
  31843. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31844. begin
  31845. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31846. end;
  31847. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31848. begin
  31849. pTDefRegMap(@Self)^.&set := $00010000;
  31850. end;
  31851. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31852. begin
  31853. pTDefRegMap(@Self)^.clr := $00010000;
  31854. end;
  31855. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31856. begin
  31857. if thebits = 0 then
  31858. pTDefRegMap(@Self)^.clr := $00010000
  31859. else
  31860. pTDefRegMap(@Self)^.&set := $00010000;
  31861. end;
  31862. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31863. begin
  31864. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31865. end;
  31866. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31867. begin
  31868. pTDefRegMap(@Self)^.&set := $00020000;
  31869. end;
  31870. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31871. begin
  31872. pTDefRegMap(@Self)^.clr := $00020000;
  31873. end;
  31874. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31875. begin
  31876. if thebits = 0 then
  31877. pTDefRegMap(@Self)^.clr := $00020000
  31878. else
  31879. pTDefRegMap(@Self)^.&set := $00020000;
  31880. end;
  31881. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31882. begin
  31883. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31884. end;
  31885. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31886. begin
  31887. pTDefRegMap(@Self)^.&set := $00040000;
  31888. end;
  31889. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31890. begin
  31891. pTDefRegMap(@Self)^.clr := $00040000;
  31892. end;
  31893. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31894. begin
  31895. if thebits = 0 then
  31896. pTDefRegMap(@Self)^.clr := $00040000
  31897. else
  31898. pTDefRegMap(@Self)^.&set := $00040000;
  31899. end;
  31900. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31901. begin
  31902. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31903. end;
  31904. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31905. begin
  31906. pTDefRegMap(@Self)^.&set := $00080000;
  31907. end;
  31908. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31909. begin
  31910. pTDefRegMap(@Self)^.clr := $00080000;
  31911. end;
  31912. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31913. begin
  31914. if thebits = 0 then
  31915. pTDefRegMap(@Self)^.clr := $00080000
  31916. else
  31917. pTDefRegMap(@Self)^.&set := $00080000;
  31918. end;
  31919. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31920. begin
  31921. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31922. end;
  31923. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31924. begin
  31925. pTDefRegMap(@Self)^.&set := $00100000;
  31926. end;
  31927. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31928. begin
  31929. pTDefRegMap(@Self)^.clr := $00100000;
  31930. end;
  31931. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31932. begin
  31933. if thebits = 0 then
  31934. pTDefRegMap(@Self)^.clr := $00100000
  31935. else
  31936. pTDefRegMap(@Self)^.&set := $00100000;
  31937. end;
  31938. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31939. begin
  31940. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31941. end;
  31942. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31943. begin
  31944. pTDefRegMap(@Self)^.&set := $00200000;
  31945. end;
  31946. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31947. begin
  31948. pTDefRegMap(@Self)^.clr := $00200000;
  31949. end;
  31950. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31951. begin
  31952. if thebits = 0 then
  31953. pTDefRegMap(@Self)^.clr := $00200000
  31954. else
  31955. pTDefRegMap(@Self)^.&set := $00200000;
  31956. end;
  31957. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31958. begin
  31959. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31960. end;
  31961. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31962. begin
  31963. pTDefRegMap(@Self)^.&set := $00400000;
  31964. end;
  31965. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31966. begin
  31967. pTDefRegMap(@Self)^.clr := $00400000;
  31968. end;
  31969. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31970. begin
  31971. if thebits = 0 then
  31972. pTDefRegMap(@Self)^.clr := $00400000
  31973. else
  31974. pTDefRegMap(@Self)^.&set := $00400000;
  31975. end;
  31976. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31977. begin
  31978. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31979. end;
  31980. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31981. begin
  31982. pTDefRegMap(@Self)^.&set := $00800000;
  31983. end;
  31984. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31985. begin
  31986. pTDefRegMap(@Self)^.clr := $00800000;
  31987. end;
  31988. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31989. begin
  31990. if thebits = 0 then
  31991. pTDefRegMap(@Self)^.clr := $00800000
  31992. else
  31993. pTDefRegMap(@Self)^.&set := $00800000;
  31994. end;
  31995. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31996. begin
  31997. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31998. end;
  31999. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  32000. begin
  32001. pTDefRegMap(@Self)^.val := thebits;
  32002. end;
  32003. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  32004. begin
  32005. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32006. end;
  32007. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  32008. begin
  32009. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  32010. end;
  32011. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  32012. begin
  32013. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  32014. end;
  32015. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  32016. begin
  32017. pTDefRegMap(@Self)^.&set := $00000004;
  32018. end;
  32019. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  32020. begin
  32021. pTDefRegMap(@Self)^.clr := $00000004;
  32022. end;
  32023. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  32024. begin
  32025. if thebits = 0 then
  32026. pTDefRegMap(@Self)^.clr := $00000004
  32027. else
  32028. pTDefRegMap(@Self)^.&set := $00000004;
  32029. end;
  32030. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  32031. begin
  32032. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32033. end;
  32034. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  32035. begin
  32036. pTDefRegMap(@Self)^.&set := $00000010;
  32037. end;
  32038. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  32039. begin
  32040. pTDefRegMap(@Self)^.clr := $00000010;
  32041. end;
  32042. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  32043. begin
  32044. if thebits = 0 then
  32045. pTDefRegMap(@Self)^.clr := $00000010
  32046. else
  32047. pTDefRegMap(@Self)^.&set := $00000010;
  32048. end;
  32049. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  32050. begin
  32051. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32052. end;
  32053. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  32054. begin
  32055. pTDefRegMap(@Self)^.&set := $00000020;
  32056. end;
  32057. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  32058. begin
  32059. pTDefRegMap(@Self)^.clr := $00000020;
  32060. end;
  32061. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  32062. begin
  32063. if thebits = 0 then
  32064. pTDefRegMap(@Self)^.clr := $00000020
  32065. else
  32066. pTDefRegMap(@Self)^.&set := $00000020;
  32067. end;
  32068. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  32069. begin
  32070. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32071. end;
  32072. procedure TDMAC3_DCH3CON.setCHAED; inline;
  32073. begin
  32074. pTDefRegMap(@Self)^.&set := $00000040;
  32075. end;
  32076. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  32077. begin
  32078. pTDefRegMap(@Self)^.clr := $00000040;
  32079. end;
  32080. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  32081. begin
  32082. if thebits = 0 then
  32083. pTDefRegMap(@Self)^.clr := $00000040
  32084. else
  32085. pTDefRegMap(@Self)^.&set := $00000040;
  32086. end;
  32087. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  32088. begin
  32089. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32090. end;
  32091. procedure TDMAC3_DCH3CON.setCHEN; inline;
  32092. begin
  32093. pTDefRegMap(@Self)^.&set := $00000080;
  32094. end;
  32095. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  32096. begin
  32097. pTDefRegMap(@Self)^.clr := $00000080;
  32098. end;
  32099. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  32100. begin
  32101. if thebits = 0 then
  32102. pTDefRegMap(@Self)^.clr := $00000080
  32103. else
  32104. pTDefRegMap(@Self)^.&set := $00000080;
  32105. end;
  32106. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  32107. begin
  32108. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32109. end;
  32110. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  32111. begin
  32112. pTDefRegMap(@Self)^.&set := $00000100;
  32113. end;
  32114. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  32115. begin
  32116. pTDefRegMap(@Self)^.clr := $00000100;
  32117. end;
  32118. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  32119. begin
  32120. if thebits = 0 then
  32121. pTDefRegMap(@Self)^.clr := $00000100
  32122. else
  32123. pTDefRegMap(@Self)^.&set := $00000100;
  32124. end;
  32125. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  32126. begin
  32127. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32128. end;
  32129. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  32130. begin
  32131. pTDefRegMap(@Self)^.&set := $00008000;
  32132. end;
  32133. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  32134. begin
  32135. pTDefRegMap(@Self)^.clr := $00008000;
  32136. end;
  32137. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  32138. begin
  32139. if thebits = 0 then
  32140. pTDefRegMap(@Self)^.clr := $00008000
  32141. else
  32142. pTDefRegMap(@Self)^.&set := $00008000;
  32143. end;
  32144. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  32145. begin
  32146. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32147. end;
  32148. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  32149. begin
  32150. pTDefRegMap(@Self)^.val := thebits;
  32151. end;
  32152. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  32153. begin
  32154. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32155. end;
  32156. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  32157. begin
  32158. pTDefRegMap(@Self)^.&set := $00000008;
  32159. end;
  32160. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  32161. begin
  32162. pTDefRegMap(@Self)^.clr := $00000008;
  32163. end;
  32164. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  32165. begin
  32166. if thebits = 0 then
  32167. pTDefRegMap(@Self)^.clr := $00000008
  32168. else
  32169. pTDefRegMap(@Self)^.&set := $00000008;
  32170. end;
  32171. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  32172. begin
  32173. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32174. end;
  32175. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  32176. begin
  32177. pTDefRegMap(@Self)^.&set := $00000010;
  32178. end;
  32179. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  32180. begin
  32181. pTDefRegMap(@Self)^.clr := $00000010;
  32182. end;
  32183. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  32184. begin
  32185. if thebits = 0 then
  32186. pTDefRegMap(@Self)^.clr := $00000010
  32187. else
  32188. pTDefRegMap(@Self)^.&set := $00000010;
  32189. end;
  32190. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  32191. begin
  32192. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32193. end;
  32194. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  32195. begin
  32196. pTDefRegMap(@Self)^.&set := $00000020;
  32197. end;
  32198. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  32199. begin
  32200. pTDefRegMap(@Self)^.clr := $00000020;
  32201. end;
  32202. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  32203. begin
  32204. if thebits = 0 then
  32205. pTDefRegMap(@Self)^.clr := $00000020
  32206. else
  32207. pTDefRegMap(@Self)^.&set := $00000020;
  32208. end;
  32209. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  32210. begin
  32211. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32212. end;
  32213. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  32214. begin
  32215. pTDefRegMap(@Self)^.&set := $00000040;
  32216. end;
  32217. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  32218. begin
  32219. pTDefRegMap(@Self)^.clr := $00000040;
  32220. end;
  32221. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  32222. begin
  32223. if thebits = 0 then
  32224. pTDefRegMap(@Self)^.clr := $00000040
  32225. else
  32226. pTDefRegMap(@Self)^.&set := $00000040;
  32227. end;
  32228. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  32229. begin
  32230. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32231. end;
  32232. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  32233. begin
  32234. pTDefRegMap(@Self)^.&set := $00000080;
  32235. end;
  32236. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  32237. begin
  32238. pTDefRegMap(@Self)^.clr := $00000080;
  32239. end;
  32240. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  32241. begin
  32242. if thebits = 0 then
  32243. pTDefRegMap(@Self)^.clr := $00000080
  32244. else
  32245. pTDefRegMap(@Self)^.&set := $00000080;
  32246. end;
  32247. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  32248. begin
  32249. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32250. end;
  32251. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  32252. begin
  32253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  32254. end;
  32255. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  32256. begin
  32257. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  32258. end;
  32259. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32262. end;
  32263. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  32264. begin
  32265. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32266. end;
  32267. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  32268. begin
  32269. pTDefRegMap(@Self)^.val := thebits;
  32270. end;
  32271. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  32272. begin
  32273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32274. end;
  32275. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  32276. begin
  32277. pTDefRegMap(@Self)^.&set := $00000001;
  32278. end;
  32279. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  32280. begin
  32281. pTDefRegMap(@Self)^.clr := $00000001;
  32282. end;
  32283. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  32284. begin
  32285. if thebits = 0 then
  32286. pTDefRegMap(@Self)^.clr := $00000001
  32287. else
  32288. pTDefRegMap(@Self)^.&set := $00000001;
  32289. end;
  32290. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  32291. begin
  32292. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32293. end;
  32294. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  32295. begin
  32296. pTDefRegMap(@Self)^.&set := $00000002;
  32297. end;
  32298. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  32299. begin
  32300. pTDefRegMap(@Self)^.clr := $00000002;
  32301. end;
  32302. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  32303. begin
  32304. if thebits = 0 then
  32305. pTDefRegMap(@Self)^.clr := $00000002
  32306. else
  32307. pTDefRegMap(@Self)^.&set := $00000002;
  32308. end;
  32309. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  32310. begin
  32311. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32312. end;
  32313. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  32314. begin
  32315. pTDefRegMap(@Self)^.&set := $00000004;
  32316. end;
  32317. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  32318. begin
  32319. pTDefRegMap(@Self)^.clr := $00000004;
  32320. end;
  32321. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  32322. begin
  32323. if thebits = 0 then
  32324. pTDefRegMap(@Self)^.clr := $00000004
  32325. else
  32326. pTDefRegMap(@Self)^.&set := $00000004;
  32327. end;
  32328. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  32329. begin
  32330. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32331. end;
  32332. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  32333. begin
  32334. pTDefRegMap(@Self)^.&set := $00000008;
  32335. end;
  32336. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  32337. begin
  32338. pTDefRegMap(@Self)^.clr := $00000008;
  32339. end;
  32340. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  32341. begin
  32342. if thebits = 0 then
  32343. pTDefRegMap(@Self)^.clr := $00000008
  32344. else
  32345. pTDefRegMap(@Self)^.&set := $00000008;
  32346. end;
  32347. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  32348. begin
  32349. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32350. end;
  32351. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  32352. begin
  32353. pTDefRegMap(@Self)^.&set := $00000010;
  32354. end;
  32355. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  32356. begin
  32357. pTDefRegMap(@Self)^.clr := $00000010;
  32358. end;
  32359. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  32360. begin
  32361. if thebits = 0 then
  32362. pTDefRegMap(@Self)^.clr := $00000010
  32363. else
  32364. pTDefRegMap(@Self)^.&set := $00000010;
  32365. end;
  32366. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  32367. begin
  32368. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32369. end;
  32370. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  32371. begin
  32372. pTDefRegMap(@Self)^.&set := $00000020;
  32373. end;
  32374. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  32375. begin
  32376. pTDefRegMap(@Self)^.clr := $00000020;
  32377. end;
  32378. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  32379. begin
  32380. if thebits = 0 then
  32381. pTDefRegMap(@Self)^.clr := $00000020
  32382. else
  32383. pTDefRegMap(@Self)^.&set := $00000020;
  32384. end;
  32385. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  32386. begin
  32387. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32388. end;
  32389. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  32390. begin
  32391. pTDefRegMap(@Self)^.&set := $00000040;
  32392. end;
  32393. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  32394. begin
  32395. pTDefRegMap(@Self)^.clr := $00000040;
  32396. end;
  32397. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  32398. begin
  32399. if thebits = 0 then
  32400. pTDefRegMap(@Self)^.clr := $00000040
  32401. else
  32402. pTDefRegMap(@Self)^.&set := $00000040;
  32403. end;
  32404. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  32405. begin
  32406. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32407. end;
  32408. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  32409. begin
  32410. pTDefRegMap(@Self)^.&set := $00000080;
  32411. end;
  32412. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  32413. begin
  32414. pTDefRegMap(@Self)^.clr := $00000080;
  32415. end;
  32416. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  32417. begin
  32418. if thebits = 0 then
  32419. pTDefRegMap(@Self)^.clr := $00000080
  32420. else
  32421. pTDefRegMap(@Self)^.&set := $00000080;
  32422. end;
  32423. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  32424. begin
  32425. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32426. end;
  32427. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  32428. begin
  32429. pTDefRegMap(@Self)^.&set := $00010000;
  32430. end;
  32431. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  32432. begin
  32433. pTDefRegMap(@Self)^.clr := $00010000;
  32434. end;
  32435. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  32436. begin
  32437. if thebits = 0 then
  32438. pTDefRegMap(@Self)^.clr := $00010000
  32439. else
  32440. pTDefRegMap(@Self)^.&set := $00010000;
  32441. end;
  32442. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  32443. begin
  32444. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32445. end;
  32446. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  32447. begin
  32448. pTDefRegMap(@Self)^.&set := $00020000;
  32449. end;
  32450. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  32451. begin
  32452. pTDefRegMap(@Self)^.clr := $00020000;
  32453. end;
  32454. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  32455. begin
  32456. if thebits = 0 then
  32457. pTDefRegMap(@Self)^.clr := $00020000
  32458. else
  32459. pTDefRegMap(@Self)^.&set := $00020000;
  32460. end;
  32461. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  32462. begin
  32463. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32464. end;
  32465. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  32466. begin
  32467. pTDefRegMap(@Self)^.&set := $00040000;
  32468. end;
  32469. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  32470. begin
  32471. pTDefRegMap(@Self)^.clr := $00040000;
  32472. end;
  32473. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  32474. begin
  32475. if thebits = 0 then
  32476. pTDefRegMap(@Self)^.clr := $00040000
  32477. else
  32478. pTDefRegMap(@Self)^.&set := $00040000;
  32479. end;
  32480. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  32481. begin
  32482. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32483. end;
  32484. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  32485. begin
  32486. pTDefRegMap(@Self)^.&set := $00080000;
  32487. end;
  32488. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  32489. begin
  32490. pTDefRegMap(@Self)^.clr := $00080000;
  32491. end;
  32492. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  32493. begin
  32494. if thebits = 0 then
  32495. pTDefRegMap(@Self)^.clr := $00080000
  32496. else
  32497. pTDefRegMap(@Self)^.&set := $00080000;
  32498. end;
  32499. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  32500. begin
  32501. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32502. end;
  32503. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  32504. begin
  32505. pTDefRegMap(@Self)^.&set := $00100000;
  32506. end;
  32507. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  32508. begin
  32509. pTDefRegMap(@Self)^.clr := $00100000;
  32510. end;
  32511. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  32512. begin
  32513. if thebits = 0 then
  32514. pTDefRegMap(@Self)^.clr := $00100000
  32515. else
  32516. pTDefRegMap(@Self)^.&set := $00100000;
  32517. end;
  32518. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  32519. begin
  32520. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32521. end;
  32522. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  32523. begin
  32524. pTDefRegMap(@Self)^.&set := $00200000;
  32525. end;
  32526. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  32527. begin
  32528. pTDefRegMap(@Self)^.clr := $00200000;
  32529. end;
  32530. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  32531. begin
  32532. if thebits = 0 then
  32533. pTDefRegMap(@Self)^.clr := $00200000
  32534. else
  32535. pTDefRegMap(@Self)^.&set := $00200000;
  32536. end;
  32537. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  32538. begin
  32539. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32540. end;
  32541. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  32542. begin
  32543. pTDefRegMap(@Self)^.&set := $00400000;
  32544. end;
  32545. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  32546. begin
  32547. pTDefRegMap(@Self)^.clr := $00400000;
  32548. end;
  32549. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  32550. begin
  32551. if thebits = 0 then
  32552. pTDefRegMap(@Self)^.clr := $00400000
  32553. else
  32554. pTDefRegMap(@Self)^.&set := $00400000;
  32555. end;
  32556. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  32557. begin
  32558. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32559. end;
  32560. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  32561. begin
  32562. pTDefRegMap(@Self)^.&set := $00800000;
  32563. end;
  32564. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  32565. begin
  32566. pTDefRegMap(@Self)^.clr := $00800000;
  32567. end;
  32568. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  32569. begin
  32570. if thebits = 0 then
  32571. pTDefRegMap(@Self)^.clr := $00800000
  32572. else
  32573. pTDefRegMap(@Self)^.&set := $00800000;
  32574. end;
  32575. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  32576. begin
  32577. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32578. end;
  32579. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  32580. begin
  32581. pTDefRegMap(@Self)^.val := thebits;
  32582. end;
  32583. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  32584. begin
  32585. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32586. end;
  32587. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  32588. begin
  32589. pTDefRegMap(@Self)^.&set := $00000001;
  32590. end;
  32591. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  32592. begin
  32593. pTDefRegMap(@Self)^.clr := $00000001;
  32594. end;
  32595. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  32596. begin
  32597. if thebits = 0 then
  32598. pTDefRegMap(@Self)^.clr := $00000001
  32599. else
  32600. pTDefRegMap(@Self)^.&set := $00000001;
  32601. end;
  32602. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  32603. begin
  32604. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32605. end;
  32606. procedure TUSB_U1IR.setUERRIF; inline;
  32607. begin
  32608. pTDefRegMap(@Self)^.&set := $00000002;
  32609. end;
  32610. procedure TUSB_U1IR.clearUERRIF; inline;
  32611. begin
  32612. pTDefRegMap(@Self)^.clr := $00000002;
  32613. end;
  32614. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  32615. begin
  32616. if thebits = 0 then
  32617. pTDefRegMap(@Self)^.clr := $00000002
  32618. else
  32619. pTDefRegMap(@Self)^.&set := $00000002;
  32620. end;
  32621. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  32622. begin
  32623. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32624. end;
  32625. procedure TUSB_U1IR.setSOFIF; inline;
  32626. begin
  32627. pTDefRegMap(@Self)^.&set := $00000004;
  32628. end;
  32629. procedure TUSB_U1IR.clearSOFIF; inline;
  32630. begin
  32631. pTDefRegMap(@Self)^.clr := $00000004;
  32632. end;
  32633. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  32634. begin
  32635. if thebits = 0 then
  32636. pTDefRegMap(@Self)^.clr := $00000004
  32637. else
  32638. pTDefRegMap(@Self)^.&set := $00000004;
  32639. end;
  32640. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  32641. begin
  32642. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32643. end;
  32644. procedure TUSB_U1IR.setTRNIF; inline;
  32645. begin
  32646. pTDefRegMap(@Self)^.&set := $00000008;
  32647. end;
  32648. procedure TUSB_U1IR.clearTRNIF; inline;
  32649. begin
  32650. pTDefRegMap(@Self)^.clr := $00000008;
  32651. end;
  32652. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  32653. begin
  32654. if thebits = 0 then
  32655. pTDefRegMap(@Self)^.clr := $00000008
  32656. else
  32657. pTDefRegMap(@Self)^.&set := $00000008;
  32658. end;
  32659. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  32660. begin
  32661. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32662. end;
  32663. procedure TUSB_U1IR.setIDLEIF; inline;
  32664. begin
  32665. pTDefRegMap(@Self)^.&set := $00000010;
  32666. end;
  32667. procedure TUSB_U1IR.clearIDLEIF; inline;
  32668. begin
  32669. pTDefRegMap(@Self)^.clr := $00000010;
  32670. end;
  32671. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32672. begin
  32673. if thebits = 0 then
  32674. pTDefRegMap(@Self)^.clr := $00000010
  32675. else
  32676. pTDefRegMap(@Self)^.&set := $00000010;
  32677. end;
  32678. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  32679. begin
  32680. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32681. end;
  32682. procedure TUSB_U1IR.setRESUMEIF; inline;
  32683. begin
  32684. pTDefRegMap(@Self)^.&set := $00000020;
  32685. end;
  32686. procedure TUSB_U1IR.clearRESUMEIF; inline;
  32687. begin
  32688. pTDefRegMap(@Self)^.clr := $00000020;
  32689. end;
  32690. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32691. begin
  32692. if thebits = 0 then
  32693. pTDefRegMap(@Self)^.clr := $00000020
  32694. else
  32695. pTDefRegMap(@Self)^.&set := $00000020;
  32696. end;
  32697. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  32698. begin
  32699. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32700. end;
  32701. procedure TUSB_U1IR.setATTACHIF; inline;
  32702. begin
  32703. pTDefRegMap(@Self)^.&set := $00000040;
  32704. end;
  32705. procedure TUSB_U1IR.clearATTACHIF; inline;
  32706. begin
  32707. pTDefRegMap(@Self)^.clr := $00000040;
  32708. end;
  32709. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32710. begin
  32711. if thebits = 0 then
  32712. pTDefRegMap(@Self)^.clr := $00000040
  32713. else
  32714. pTDefRegMap(@Self)^.&set := $00000040;
  32715. end;
  32716. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  32717. begin
  32718. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32719. end;
  32720. procedure TUSB_U1IR.setSTALLIF; inline;
  32721. begin
  32722. pTDefRegMap(@Self)^.&set := $00000080;
  32723. end;
  32724. procedure TUSB_U1IR.clearSTALLIF; inline;
  32725. begin
  32726. pTDefRegMap(@Self)^.clr := $00000080;
  32727. end;
  32728. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32729. begin
  32730. if thebits = 0 then
  32731. pTDefRegMap(@Self)^.clr := $00000080
  32732. else
  32733. pTDefRegMap(@Self)^.&set := $00000080;
  32734. end;
  32735. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  32736. begin
  32737. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32738. end;
  32739. procedure TUSB_U1IR.setDETACHIF; inline;
  32740. begin
  32741. pTDefRegMap(@Self)^.&set := $00000001;
  32742. end;
  32743. procedure TUSB_U1IR.clearDETACHIF; inline;
  32744. begin
  32745. pTDefRegMap(@Self)^.clr := $00000001;
  32746. end;
  32747. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32748. begin
  32749. if thebits = 0 then
  32750. pTDefRegMap(@Self)^.clr := $00000001
  32751. else
  32752. pTDefRegMap(@Self)^.&set := $00000001;
  32753. end;
  32754. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  32755. begin
  32756. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32757. end;
  32758. procedure TUSB_U1IR.setURSTIF; inline;
  32759. begin
  32760. pTDefRegMap(@Self)^.&set := $00000001;
  32761. end;
  32762. procedure TUSB_U1IR.clearURSTIF; inline;
  32763. begin
  32764. pTDefRegMap(@Self)^.clr := $00000001;
  32765. end;
  32766. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  32767. begin
  32768. if thebits = 0 then
  32769. pTDefRegMap(@Self)^.clr := $00000001
  32770. else
  32771. pTDefRegMap(@Self)^.&set := $00000001;
  32772. end;
  32773. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  32774. begin
  32775. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32776. end;
  32777. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  32778. begin
  32779. pTDefRegMap(@Self)^.&set := $00000001;
  32780. end;
  32781. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  32782. begin
  32783. pTDefRegMap(@Self)^.clr := $00000001;
  32784. end;
  32785. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32786. begin
  32787. if thebits = 0 then
  32788. pTDefRegMap(@Self)^.clr := $00000001
  32789. else
  32790. pTDefRegMap(@Self)^.&set := $00000001;
  32791. end;
  32792. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32793. begin
  32794. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32795. end;
  32796. procedure TUSB_U1IE.setUERRIE; inline;
  32797. begin
  32798. pTDefRegMap(@Self)^.&set := $00000002;
  32799. end;
  32800. procedure TUSB_U1IE.clearUERRIE; inline;
  32801. begin
  32802. pTDefRegMap(@Self)^.clr := $00000002;
  32803. end;
  32804. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  32805. begin
  32806. if thebits = 0 then
  32807. pTDefRegMap(@Self)^.clr := $00000002
  32808. else
  32809. pTDefRegMap(@Self)^.&set := $00000002;
  32810. end;
  32811. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  32812. begin
  32813. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32814. end;
  32815. procedure TUSB_U1IE.setSOFIE; inline;
  32816. begin
  32817. pTDefRegMap(@Self)^.&set := $00000004;
  32818. end;
  32819. procedure TUSB_U1IE.clearSOFIE; inline;
  32820. begin
  32821. pTDefRegMap(@Self)^.clr := $00000004;
  32822. end;
  32823. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  32824. begin
  32825. if thebits = 0 then
  32826. pTDefRegMap(@Self)^.clr := $00000004
  32827. else
  32828. pTDefRegMap(@Self)^.&set := $00000004;
  32829. end;
  32830. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  32831. begin
  32832. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32833. end;
  32834. procedure TUSB_U1IE.setTRNIE; inline;
  32835. begin
  32836. pTDefRegMap(@Self)^.&set := $00000008;
  32837. end;
  32838. procedure TUSB_U1IE.clearTRNIE; inline;
  32839. begin
  32840. pTDefRegMap(@Self)^.clr := $00000008;
  32841. end;
  32842. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  32843. begin
  32844. if thebits = 0 then
  32845. pTDefRegMap(@Self)^.clr := $00000008
  32846. else
  32847. pTDefRegMap(@Self)^.&set := $00000008;
  32848. end;
  32849. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  32850. begin
  32851. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32852. end;
  32853. procedure TUSB_U1IE.setIDLEIE; inline;
  32854. begin
  32855. pTDefRegMap(@Self)^.&set := $00000010;
  32856. end;
  32857. procedure TUSB_U1IE.clearIDLEIE; inline;
  32858. begin
  32859. pTDefRegMap(@Self)^.clr := $00000010;
  32860. end;
  32861. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32862. begin
  32863. if thebits = 0 then
  32864. pTDefRegMap(@Self)^.clr := $00000010
  32865. else
  32866. pTDefRegMap(@Self)^.&set := $00000010;
  32867. end;
  32868. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  32869. begin
  32870. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32871. end;
  32872. procedure TUSB_U1IE.setRESUMEIE; inline;
  32873. begin
  32874. pTDefRegMap(@Self)^.&set := $00000020;
  32875. end;
  32876. procedure TUSB_U1IE.clearRESUMEIE; inline;
  32877. begin
  32878. pTDefRegMap(@Self)^.clr := $00000020;
  32879. end;
  32880. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32881. begin
  32882. if thebits = 0 then
  32883. pTDefRegMap(@Self)^.clr := $00000020
  32884. else
  32885. pTDefRegMap(@Self)^.&set := $00000020;
  32886. end;
  32887. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  32888. begin
  32889. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32890. end;
  32891. procedure TUSB_U1IE.setATTACHIE; inline;
  32892. begin
  32893. pTDefRegMap(@Self)^.&set := $00000040;
  32894. end;
  32895. procedure TUSB_U1IE.clearATTACHIE; inline;
  32896. begin
  32897. pTDefRegMap(@Self)^.clr := $00000040;
  32898. end;
  32899. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32900. begin
  32901. if thebits = 0 then
  32902. pTDefRegMap(@Self)^.clr := $00000040
  32903. else
  32904. pTDefRegMap(@Self)^.&set := $00000040;
  32905. end;
  32906. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  32907. begin
  32908. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32909. end;
  32910. procedure TUSB_U1IE.setSTALLIE; inline;
  32911. begin
  32912. pTDefRegMap(@Self)^.&set := $00000080;
  32913. end;
  32914. procedure TUSB_U1IE.clearSTALLIE; inline;
  32915. begin
  32916. pTDefRegMap(@Self)^.clr := $00000080;
  32917. end;
  32918. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32919. begin
  32920. if thebits = 0 then
  32921. pTDefRegMap(@Self)^.clr := $00000080
  32922. else
  32923. pTDefRegMap(@Self)^.&set := $00000080;
  32924. end;
  32925. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  32926. begin
  32927. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32928. end;
  32929. procedure TUSB_U1IE.setDETACHIE; inline;
  32930. begin
  32931. pTDefRegMap(@Self)^.&set := $00000001;
  32932. end;
  32933. procedure TUSB_U1IE.clearDETACHIE; inline;
  32934. begin
  32935. pTDefRegMap(@Self)^.clr := $00000001;
  32936. end;
  32937. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32938. begin
  32939. if thebits = 0 then
  32940. pTDefRegMap(@Self)^.clr := $00000001
  32941. else
  32942. pTDefRegMap(@Self)^.&set := $00000001;
  32943. end;
  32944. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  32945. begin
  32946. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32947. end;
  32948. procedure TUSB_U1IE.setURSTIE; inline;
  32949. begin
  32950. pTDefRegMap(@Self)^.&set := $00000001;
  32951. end;
  32952. procedure TUSB_U1IE.clearURSTIE; inline;
  32953. begin
  32954. pTDefRegMap(@Self)^.clr := $00000001;
  32955. end;
  32956. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  32957. begin
  32958. if thebits = 0 then
  32959. pTDefRegMap(@Self)^.clr := $00000001
  32960. else
  32961. pTDefRegMap(@Self)^.&set := $00000001;
  32962. end;
  32963. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  32964. begin
  32965. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32966. end;
  32967. procedure TUSB_U1EIR.setPIDEF; inline;
  32968. begin
  32969. pTDefRegMap(@Self)^.&set := $00000001;
  32970. end;
  32971. procedure TUSB_U1EIR.clearPIDEF; inline;
  32972. begin
  32973. pTDefRegMap(@Self)^.clr := $00000001;
  32974. end;
  32975. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32976. begin
  32977. if thebits = 0 then
  32978. pTDefRegMap(@Self)^.clr := $00000001
  32979. else
  32980. pTDefRegMap(@Self)^.&set := $00000001;
  32981. end;
  32982. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  32983. begin
  32984. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32985. end;
  32986. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  32987. begin
  32988. pTDefRegMap(@Self)^.&set := $00000002;
  32989. end;
  32990. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  32991. begin
  32992. pTDefRegMap(@Self)^.clr := $00000002;
  32993. end;
  32994. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32995. begin
  32996. if thebits = 0 then
  32997. pTDefRegMap(@Self)^.clr := $00000002
  32998. else
  32999. pTDefRegMap(@Self)^.&set := $00000002;
  33000. end;
  33001. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  33002. begin
  33003. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33004. end;
  33005. procedure TUSB_U1EIR.setCRC16EF; inline;
  33006. begin
  33007. pTDefRegMap(@Self)^.&set := $00000004;
  33008. end;
  33009. procedure TUSB_U1EIR.clearCRC16EF; inline;
  33010. begin
  33011. pTDefRegMap(@Self)^.clr := $00000004;
  33012. end;
  33013. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  33014. begin
  33015. if thebits = 0 then
  33016. pTDefRegMap(@Self)^.clr := $00000004
  33017. else
  33018. pTDefRegMap(@Self)^.&set := $00000004;
  33019. end;
  33020. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  33021. begin
  33022. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33023. end;
  33024. procedure TUSB_U1EIR.setDFN8EF; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.&set := $00000008;
  33027. end;
  33028. procedure TUSB_U1EIR.clearDFN8EF; inline;
  33029. begin
  33030. pTDefRegMap(@Self)^.clr := $00000008;
  33031. end;
  33032. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  33033. begin
  33034. if thebits = 0 then
  33035. pTDefRegMap(@Self)^.clr := $00000008
  33036. else
  33037. pTDefRegMap(@Self)^.&set := $00000008;
  33038. end;
  33039. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  33040. begin
  33041. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33042. end;
  33043. procedure TUSB_U1EIR.setBTOEF; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.&set := $00000010;
  33046. end;
  33047. procedure TUSB_U1EIR.clearBTOEF; inline;
  33048. begin
  33049. pTDefRegMap(@Self)^.clr := $00000010;
  33050. end;
  33051. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  33052. begin
  33053. if thebits = 0 then
  33054. pTDefRegMap(@Self)^.clr := $00000010
  33055. else
  33056. pTDefRegMap(@Self)^.&set := $00000010;
  33057. end;
  33058. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  33059. begin
  33060. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33061. end;
  33062. procedure TUSB_U1EIR.setDMAEF; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.&set := $00000020;
  33065. end;
  33066. procedure TUSB_U1EIR.clearDMAEF; inline;
  33067. begin
  33068. pTDefRegMap(@Self)^.clr := $00000020;
  33069. end;
  33070. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  33071. begin
  33072. if thebits = 0 then
  33073. pTDefRegMap(@Self)^.clr := $00000020
  33074. else
  33075. pTDefRegMap(@Self)^.&set := $00000020;
  33076. end;
  33077. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  33078. begin
  33079. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33080. end;
  33081. procedure TUSB_U1EIR.setBMXEF; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.&set := $00000040;
  33084. end;
  33085. procedure TUSB_U1EIR.clearBMXEF; inline;
  33086. begin
  33087. pTDefRegMap(@Self)^.clr := $00000040;
  33088. end;
  33089. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  33090. begin
  33091. if thebits = 0 then
  33092. pTDefRegMap(@Self)^.clr := $00000040
  33093. else
  33094. pTDefRegMap(@Self)^.&set := $00000040;
  33095. end;
  33096. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  33097. begin
  33098. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33099. end;
  33100. procedure TUSB_U1EIR.setBTSEF; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.&set := $00000080;
  33103. end;
  33104. procedure TUSB_U1EIR.clearBTSEF; inline;
  33105. begin
  33106. pTDefRegMap(@Self)^.clr := $00000080;
  33107. end;
  33108. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  33109. begin
  33110. if thebits = 0 then
  33111. pTDefRegMap(@Self)^.clr := $00000080
  33112. else
  33113. pTDefRegMap(@Self)^.&set := $00000080;
  33114. end;
  33115. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  33116. begin
  33117. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33118. end;
  33119. procedure TUSB_U1EIR.setCRC5EF; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.&set := $00000002;
  33122. end;
  33123. procedure TUSB_U1EIR.clearCRC5EF; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.clr := $00000002;
  33126. end;
  33127. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  33128. begin
  33129. if thebits = 0 then
  33130. pTDefRegMap(@Self)^.clr := $00000002
  33131. else
  33132. pTDefRegMap(@Self)^.&set := $00000002;
  33133. end;
  33134. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  33135. begin
  33136. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33137. end;
  33138. procedure TUSB_U1EIR.setEOFEF; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.&set := $00000002;
  33141. end;
  33142. procedure TUSB_U1EIR.clearEOFEF; inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.clr := $00000002;
  33145. end;
  33146. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  33147. begin
  33148. if thebits = 0 then
  33149. pTDefRegMap(@Self)^.clr := $00000002
  33150. else
  33151. pTDefRegMap(@Self)^.&set := $00000002;
  33152. end;
  33153. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  33154. begin
  33155. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33156. end;
  33157. procedure TUSB_U1EIE.setPIDEE; inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.&set := $00000001;
  33160. end;
  33161. procedure TUSB_U1EIE.clearPIDEE; inline;
  33162. begin
  33163. pTDefRegMap(@Self)^.clr := $00000001;
  33164. end;
  33165. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  33166. begin
  33167. if thebits = 0 then
  33168. pTDefRegMap(@Self)^.clr := $00000001
  33169. else
  33170. pTDefRegMap(@Self)^.&set := $00000001;
  33171. end;
  33172. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  33173. begin
  33174. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33175. end;
  33176. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.&set := $00000002;
  33179. end;
  33180. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  33181. begin
  33182. pTDefRegMap(@Self)^.clr := $00000002;
  33183. end;
  33184. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  33185. begin
  33186. if thebits = 0 then
  33187. pTDefRegMap(@Self)^.clr := $00000002
  33188. else
  33189. pTDefRegMap(@Self)^.&set := $00000002;
  33190. end;
  33191. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  33192. begin
  33193. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33194. end;
  33195. procedure TUSB_U1EIE.setCRC16EE; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.&set := $00000004;
  33198. end;
  33199. procedure TUSB_U1EIE.clearCRC16EE; inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.clr := $00000004;
  33202. end;
  33203. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  33204. begin
  33205. if thebits = 0 then
  33206. pTDefRegMap(@Self)^.clr := $00000004
  33207. else
  33208. pTDefRegMap(@Self)^.&set := $00000004;
  33209. end;
  33210. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  33211. begin
  33212. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33213. end;
  33214. procedure TUSB_U1EIE.setDFN8EE; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.&set := $00000008;
  33217. end;
  33218. procedure TUSB_U1EIE.clearDFN8EE; inline;
  33219. begin
  33220. pTDefRegMap(@Self)^.clr := $00000008;
  33221. end;
  33222. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  33223. begin
  33224. if thebits = 0 then
  33225. pTDefRegMap(@Self)^.clr := $00000008
  33226. else
  33227. pTDefRegMap(@Self)^.&set := $00000008;
  33228. end;
  33229. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  33230. begin
  33231. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33232. end;
  33233. procedure TUSB_U1EIE.setBTOEE; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.&set := $00000010;
  33236. end;
  33237. procedure TUSB_U1EIE.clearBTOEE; inline;
  33238. begin
  33239. pTDefRegMap(@Self)^.clr := $00000010;
  33240. end;
  33241. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  33242. begin
  33243. if thebits = 0 then
  33244. pTDefRegMap(@Self)^.clr := $00000010
  33245. else
  33246. pTDefRegMap(@Self)^.&set := $00000010;
  33247. end;
  33248. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  33249. begin
  33250. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33251. end;
  33252. procedure TUSB_U1EIE.setDMAEE; inline;
  33253. begin
  33254. pTDefRegMap(@Self)^.&set := $00000020;
  33255. end;
  33256. procedure TUSB_U1EIE.clearDMAEE; inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.clr := $00000020;
  33259. end;
  33260. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  33261. begin
  33262. if thebits = 0 then
  33263. pTDefRegMap(@Self)^.clr := $00000020
  33264. else
  33265. pTDefRegMap(@Self)^.&set := $00000020;
  33266. end;
  33267. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  33268. begin
  33269. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33270. end;
  33271. procedure TUSB_U1EIE.setBMXEE; inline;
  33272. begin
  33273. pTDefRegMap(@Self)^.&set := $00000040;
  33274. end;
  33275. procedure TUSB_U1EIE.clearBMXEE; inline;
  33276. begin
  33277. pTDefRegMap(@Self)^.clr := $00000040;
  33278. end;
  33279. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  33280. begin
  33281. if thebits = 0 then
  33282. pTDefRegMap(@Self)^.clr := $00000040
  33283. else
  33284. pTDefRegMap(@Self)^.&set := $00000040;
  33285. end;
  33286. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  33287. begin
  33288. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33289. end;
  33290. procedure TUSB_U1EIE.setBTSEE; inline;
  33291. begin
  33292. pTDefRegMap(@Self)^.&set := $00000080;
  33293. end;
  33294. procedure TUSB_U1EIE.clearBTSEE; inline;
  33295. begin
  33296. pTDefRegMap(@Self)^.clr := $00000080;
  33297. end;
  33298. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  33299. begin
  33300. if thebits = 0 then
  33301. pTDefRegMap(@Self)^.clr := $00000080
  33302. else
  33303. pTDefRegMap(@Self)^.&set := $00000080;
  33304. end;
  33305. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  33306. begin
  33307. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33308. end;
  33309. procedure TUSB_U1EIE.setCRC5EE; inline;
  33310. begin
  33311. pTDefRegMap(@Self)^.&set := $00000002;
  33312. end;
  33313. procedure TUSB_U1EIE.clearCRC5EE; inline;
  33314. begin
  33315. pTDefRegMap(@Self)^.clr := $00000002;
  33316. end;
  33317. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  33318. begin
  33319. if thebits = 0 then
  33320. pTDefRegMap(@Self)^.clr := $00000002
  33321. else
  33322. pTDefRegMap(@Self)^.&set := $00000002;
  33323. end;
  33324. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  33325. begin
  33326. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33327. end;
  33328. procedure TUSB_U1EIE.setEOFEE; inline;
  33329. begin
  33330. pTDefRegMap(@Self)^.&set := $00000002;
  33331. end;
  33332. procedure TUSB_U1EIE.clearEOFEE; inline;
  33333. begin
  33334. pTDefRegMap(@Self)^.clr := $00000002;
  33335. end;
  33336. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  33337. begin
  33338. if thebits = 0 then
  33339. pTDefRegMap(@Self)^.clr := $00000002
  33340. else
  33341. pTDefRegMap(@Self)^.&set := $00000002;
  33342. end;
  33343. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  33344. begin
  33345. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33346. end;
  33347. procedure TUSB_U1STAT.setPPBI; inline;
  33348. begin
  33349. pTDefRegMap(@Self)^.&set := $00000004;
  33350. end;
  33351. procedure TUSB_U1STAT.clearPPBI; inline;
  33352. begin
  33353. pTDefRegMap(@Self)^.clr := $00000004;
  33354. end;
  33355. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  33356. begin
  33357. if thebits = 0 then
  33358. pTDefRegMap(@Self)^.clr := $00000004
  33359. else
  33360. pTDefRegMap(@Self)^.&set := $00000004;
  33361. end;
  33362. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  33363. begin
  33364. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33365. end;
  33366. procedure TUSB_U1STAT.setDIR; inline;
  33367. begin
  33368. pTDefRegMap(@Self)^.&set := $00000008;
  33369. end;
  33370. procedure TUSB_U1STAT.clearDIR; inline;
  33371. begin
  33372. pTDefRegMap(@Self)^.clr := $00000008;
  33373. end;
  33374. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  33375. begin
  33376. if thebits = 0 then
  33377. pTDefRegMap(@Self)^.clr := $00000008
  33378. else
  33379. pTDefRegMap(@Self)^.&set := $00000008;
  33380. end;
  33381. function TUSB_U1STAT.getDIR : TBits_1; inline;
  33382. begin
  33383. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33384. end;
  33385. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  33386. begin
  33387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33388. end;
  33389. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  33390. begin
  33391. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33392. end;
  33393. procedure TUSB_U1STAT.setENDPT0; inline;
  33394. begin
  33395. pTDefRegMap(@Self)^.&set := $00000010;
  33396. end;
  33397. procedure TUSB_U1STAT.clearENDPT0; inline;
  33398. begin
  33399. pTDefRegMap(@Self)^.clr := $00000010;
  33400. end;
  33401. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  33402. begin
  33403. if thebits = 0 then
  33404. pTDefRegMap(@Self)^.clr := $00000010
  33405. else
  33406. pTDefRegMap(@Self)^.&set := $00000010;
  33407. end;
  33408. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  33409. begin
  33410. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33411. end;
  33412. procedure TUSB_U1STAT.setENDPT1; inline;
  33413. begin
  33414. pTDefRegMap(@Self)^.&set := $00000020;
  33415. end;
  33416. procedure TUSB_U1STAT.clearENDPT1; inline;
  33417. begin
  33418. pTDefRegMap(@Self)^.clr := $00000020;
  33419. end;
  33420. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  33421. begin
  33422. if thebits = 0 then
  33423. pTDefRegMap(@Self)^.clr := $00000020
  33424. else
  33425. pTDefRegMap(@Self)^.&set := $00000020;
  33426. end;
  33427. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  33428. begin
  33429. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33430. end;
  33431. procedure TUSB_U1STAT.setENDPT2; inline;
  33432. begin
  33433. pTDefRegMap(@Self)^.&set := $00000040;
  33434. end;
  33435. procedure TUSB_U1STAT.clearENDPT2; inline;
  33436. begin
  33437. pTDefRegMap(@Self)^.clr := $00000040;
  33438. end;
  33439. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  33440. begin
  33441. if thebits = 0 then
  33442. pTDefRegMap(@Self)^.clr := $00000040
  33443. else
  33444. pTDefRegMap(@Self)^.&set := $00000040;
  33445. end;
  33446. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  33447. begin
  33448. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33449. end;
  33450. procedure TUSB_U1STAT.setENDPT3; inline;
  33451. begin
  33452. pTDefRegMap(@Self)^.&set := $00000080;
  33453. end;
  33454. procedure TUSB_U1STAT.clearENDPT3; inline;
  33455. begin
  33456. pTDefRegMap(@Self)^.clr := $00000080;
  33457. end;
  33458. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  33459. begin
  33460. if thebits = 0 then
  33461. pTDefRegMap(@Self)^.clr := $00000080
  33462. else
  33463. pTDefRegMap(@Self)^.&set := $00000080;
  33464. end;
  33465. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  33466. begin
  33467. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33468. end;
  33469. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  33470. begin
  33471. pTDefRegMap(@Self)^.&set := $00000001;
  33472. end;
  33473. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  33474. begin
  33475. pTDefRegMap(@Self)^.clr := $00000001;
  33476. end;
  33477. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  33478. begin
  33479. if thebits = 0 then
  33480. pTDefRegMap(@Self)^.clr := $00000001
  33481. else
  33482. pTDefRegMap(@Self)^.&set := $00000001;
  33483. end;
  33484. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  33485. begin
  33486. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33487. end;
  33488. procedure TUSB_U1CON.setPPBRST; inline;
  33489. begin
  33490. pTDefRegMap(@Self)^.&set := $00000002;
  33491. end;
  33492. procedure TUSB_U1CON.clearPPBRST; inline;
  33493. begin
  33494. pTDefRegMap(@Self)^.clr := $00000002;
  33495. end;
  33496. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  33497. begin
  33498. if thebits = 0 then
  33499. pTDefRegMap(@Self)^.clr := $00000002
  33500. else
  33501. pTDefRegMap(@Self)^.&set := $00000002;
  33502. end;
  33503. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  33504. begin
  33505. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33506. end;
  33507. procedure TUSB_U1CON.setRESUME; inline;
  33508. begin
  33509. pTDefRegMap(@Self)^.&set := $00000004;
  33510. end;
  33511. procedure TUSB_U1CON.clearRESUME; inline;
  33512. begin
  33513. pTDefRegMap(@Self)^.clr := $00000004;
  33514. end;
  33515. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  33516. begin
  33517. if thebits = 0 then
  33518. pTDefRegMap(@Self)^.clr := $00000004
  33519. else
  33520. pTDefRegMap(@Self)^.&set := $00000004;
  33521. end;
  33522. function TUSB_U1CON.getRESUME : TBits_1; inline;
  33523. begin
  33524. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33525. end;
  33526. procedure TUSB_U1CON.setHOSTEN; inline;
  33527. begin
  33528. pTDefRegMap(@Self)^.&set := $00000008;
  33529. end;
  33530. procedure TUSB_U1CON.clearHOSTEN; inline;
  33531. begin
  33532. pTDefRegMap(@Self)^.clr := $00000008;
  33533. end;
  33534. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  33535. begin
  33536. if thebits = 0 then
  33537. pTDefRegMap(@Self)^.clr := $00000008
  33538. else
  33539. pTDefRegMap(@Self)^.&set := $00000008;
  33540. end;
  33541. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  33542. begin
  33543. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33544. end;
  33545. procedure TUSB_U1CON.setUSBRST; inline;
  33546. begin
  33547. pTDefRegMap(@Self)^.&set := $00000010;
  33548. end;
  33549. procedure TUSB_U1CON.clearUSBRST; inline;
  33550. begin
  33551. pTDefRegMap(@Self)^.clr := $00000010;
  33552. end;
  33553. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  33554. begin
  33555. if thebits = 0 then
  33556. pTDefRegMap(@Self)^.clr := $00000010
  33557. else
  33558. pTDefRegMap(@Self)^.&set := $00000010;
  33559. end;
  33560. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  33561. begin
  33562. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33563. end;
  33564. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  33565. begin
  33566. pTDefRegMap(@Self)^.&set := $00000020;
  33567. end;
  33568. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  33569. begin
  33570. pTDefRegMap(@Self)^.clr := $00000020;
  33571. end;
  33572. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  33573. begin
  33574. if thebits = 0 then
  33575. pTDefRegMap(@Self)^.clr := $00000020
  33576. else
  33577. pTDefRegMap(@Self)^.&set := $00000020;
  33578. end;
  33579. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  33580. begin
  33581. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33582. end;
  33583. procedure TUSB_U1CON.setSE0; inline;
  33584. begin
  33585. pTDefRegMap(@Self)^.&set := $00000040;
  33586. end;
  33587. procedure TUSB_U1CON.clearSE0; inline;
  33588. begin
  33589. pTDefRegMap(@Self)^.clr := $00000040;
  33590. end;
  33591. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  33592. begin
  33593. if thebits = 0 then
  33594. pTDefRegMap(@Self)^.clr := $00000040
  33595. else
  33596. pTDefRegMap(@Self)^.&set := $00000040;
  33597. end;
  33598. function TUSB_U1CON.getSE0 : TBits_1; inline;
  33599. begin
  33600. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33601. end;
  33602. procedure TUSB_U1CON.setJSTATE; inline;
  33603. begin
  33604. pTDefRegMap(@Self)^.&set := $00000080;
  33605. end;
  33606. procedure TUSB_U1CON.clearJSTATE; inline;
  33607. begin
  33608. pTDefRegMap(@Self)^.clr := $00000080;
  33609. end;
  33610. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  33611. begin
  33612. if thebits = 0 then
  33613. pTDefRegMap(@Self)^.clr := $00000080
  33614. else
  33615. pTDefRegMap(@Self)^.&set := $00000080;
  33616. end;
  33617. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  33618. begin
  33619. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33620. end;
  33621. procedure TUSB_U1CON.setUSBEN; inline;
  33622. begin
  33623. pTDefRegMap(@Self)^.&set := $00000001;
  33624. end;
  33625. procedure TUSB_U1CON.clearUSBEN; inline;
  33626. begin
  33627. pTDefRegMap(@Self)^.clr := $00000001;
  33628. end;
  33629. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  33630. begin
  33631. if thebits = 0 then
  33632. pTDefRegMap(@Self)^.clr := $00000001
  33633. else
  33634. pTDefRegMap(@Self)^.&set := $00000001;
  33635. end;
  33636. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  33637. begin
  33638. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33639. end;
  33640. procedure TUSB_U1CON.setSOFEN; inline;
  33641. begin
  33642. pTDefRegMap(@Self)^.&set := $00000001;
  33643. end;
  33644. procedure TUSB_U1CON.clearSOFEN; inline;
  33645. begin
  33646. pTDefRegMap(@Self)^.clr := $00000001;
  33647. end;
  33648. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  33649. begin
  33650. if thebits = 0 then
  33651. pTDefRegMap(@Self)^.clr := $00000001
  33652. else
  33653. pTDefRegMap(@Self)^.&set := $00000001;
  33654. end;
  33655. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  33656. begin
  33657. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33658. end;
  33659. procedure TUSB_U1CON.setPKTDIS; inline;
  33660. begin
  33661. pTDefRegMap(@Self)^.&set := $00000020;
  33662. end;
  33663. procedure TUSB_U1CON.clearPKTDIS; inline;
  33664. begin
  33665. pTDefRegMap(@Self)^.clr := $00000020;
  33666. end;
  33667. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33668. begin
  33669. if thebits = 0 then
  33670. pTDefRegMap(@Self)^.clr := $00000020
  33671. else
  33672. pTDefRegMap(@Self)^.&set := $00000020;
  33673. end;
  33674. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  33675. begin
  33676. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33677. end;
  33678. procedure TUSB_U1CON.setTOKBUSY; inline;
  33679. begin
  33680. pTDefRegMap(@Self)^.&set := $00000020;
  33681. end;
  33682. procedure TUSB_U1CON.clearTOKBUSY; inline;
  33683. begin
  33684. pTDefRegMap(@Self)^.clr := $00000020;
  33685. end;
  33686. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33687. begin
  33688. if thebits = 0 then
  33689. pTDefRegMap(@Self)^.clr := $00000020
  33690. else
  33691. pTDefRegMap(@Self)^.&set := $00000020;
  33692. end;
  33693. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  33694. begin
  33695. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33696. end;
  33697. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33698. begin
  33699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33700. end;
  33701. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  33702. begin
  33703. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33704. end;
  33705. procedure TUSB_U1ADDR.setLSPDEN; inline;
  33706. begin
  33707. pTDefRegMap(@Self)^.&set := $00000080;
  33708. end;
  33709. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  33710. begin
  33711. pTDefRegMap(@Self)^.clr := $00000080;
  33712. end;
  33713. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33714. begin
  33715. if thebits = 0 then
  33716. pTDefRegMap(@Self)^.clr := $00000080
  33717. else
  33718. pTDefRegMap(@Self)^.&set := $00000080;
  33719. end;
  33720. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  33721. begin
  33722. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33723. end;
  33724. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  33725. begin
  33726. pTDefRegMap(@Self)^.&set := $00000001;
  33727. end;
  33728. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  33729. begin
  33730. pTDefRegMap(@Self)^.clr := $00000001;
  33731. end;
  33732. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33733. begin
  33734. if thebits = 0 then
  33735. pTDefRegMap(@Self)^.clr := $00000001
  33736. else
  33737. pTDefRegMap(@Self)^.&set := $00000001;
  33738. end;
  33739. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33740. begin
  33741. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33742. end;
  33743. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  33744. begin
  33745. pTDefRegMap(@Self)^.&set := $00000002;
  33746. end;
  33747. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  33748. begin
  33749. pTDefRegMap(@Self)^.clr := $00000002;
  33750. end;
  33751. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33752. begin
  33753. if thebits = 0 then
  33754. pTDefRegMap(@Self)^.clr := $00000002
  33755. else
  33756. pTDefRegMap(@Self)^.&set := $00000002;
  33757. end;
  33758. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33759. begin
  33760. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33761. end;
  33762. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  33763. begin
  33764. pTDefRegMap(@Self)^.&set := $00000004;
  33765. end;
  33766. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  33767. begin
  33768. pTDefRegMap(@Self)^.clr := $00000004;
  33769. end;
  33770. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33771. begin
  33772. if thebits = 0 then
  33773. pTDefRegMap(@Self)^.clr := $00000004
  33774. else
  33775. pTDefRegMap(@Self)^.&set := $00000004;
  33776. end;
  33777. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33778. begin
  33779. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33780. end;
  33781. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  33782. begin
  33783. pTDefRegMap(@Self)^.&set := $00000008;
  33784. end;
  33785. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  33786. begin
  33787. pTDefRegMap(@Self)^.clr := $00000008;
  33788. end;
  33789. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33790. begin
  33791. if thebits = 0 then
  33792. pTDefRegMap(@Self)^.clr := $00000008
  33793. else
  33794. pTDefRegMap(@Self)^.&set := $00000008;
  33795. end;
  33796. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33797. begin
  33798. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33799. end;
  33800. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  33801. begin
  33802. pTDefRegMap(@Self)^.&set := $00000010;
  33803. end;
  33804. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  33805. begin
  33806. pTDefRegMap(@Self)^.clr := $00000010;
  33807. end;
  33808. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33809. begin
  33810. if thebits = 0 then
  33811. pTDefRegMap(@Self)^.clr := $00000010
  33812. else
  33813. pTDefRegMap(@Self)^.&set := $00000010;
  33814. end;
  33815. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33816. begin
  33817. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33818. end;
  33819. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  33820. begin
  33821. pTDefRegMap(@Self)^.&set := $00000020;
  33822. end;
  33823. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  33824. begin
  33825. pTDefRegMap(@Self)^.clr := $00000020;
  33826. end;
  33827. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33828. begin
  33829. if thebits = 0 then
  33830. pTDefRegMap(@Self)^.clr := $00000020
  33831. else
  33832. pTDefRegMap(@Self)^.&set := $00000020;
  33833. end;
  33834. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33835. begin
  33836. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33837. end;
  33838. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  33839. begin
  33840. pTDefRegMap(@Self)^.&set := $00000040;
  33841. end;
  33842. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  33843. begin
  33844. pTDefRegMap(@Self)^.clr := $00000040;
  33845. end;
  33846. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33847. begin
  33848. if thebits = 0 then
  33849. pTDefRegMap(@Self)^.clr := $00000040
  33850. else
  33851. pTDefRegMap(@Self)^.&set := $00000040;
  33852. end;
  33853. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33854. begin
  33855. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33856. end;
  33857. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  33858. begin
  33859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33860. end;
  33861. function TUSB_U1FRML.getFRML : TBits_8; inline;
  33862. begin
  33863. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33864. end;
  33865. procedure TUSB_U1FRML.setFRM0; inline;
  33866. begin
  33867. pTDefRegMap(@Self)^.&set := $00000001;
  33868. end;
  33869. procedure TUSB_U1FRML.clearFRM0; inline;
  33870. begin
  33871. pTDefRegMap(@Self)^.clr := $00000001;
  33872. end;
  33873. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  33874. begin
  33875. if thebits = 0 then
  33876. pTDefRegMap(@Self)^.clr := $00000001
  33877. else
  33878. pTDefRegMap(@Self)^.&set := $00000001;
  33879. end;
  33880. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  33881. begin
  33882. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33883. end;
  33884. procedure TUSB_U1FRML.setFRM1; inline;
  33885. begin
  33886. pTDefRegMap(@Self)^.&set := $00000002;
  33887. end;
  33888. procedure TUSB_U1FRML.clearFRM1; inline;
  33889. begin
  33890. pTDefRegMap(@Self)^.clr := $00000002;
  33891. end;
  33892. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  33893. begin
  33894. if thebits = 0 then
  33895. pTDefRegMap(@Self)^.clr := $00000002
  33896. else
  33897. pTDefRegMap(@Self)^.&set := $00000002;
  33898. end;
  33899. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  33900. begin
  33901. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33902. end;
  33903. procedure TUSB_U1FRML.setFRM2; inline;
  33904. begin
  33905. pTDefRegMap(@Self)^.&set := $00000004;
  33906. end;
  33907. procedure TUSB_U1FRML.clearFRM2; inline;
  33908. begin
  33909. pTDefRegMap(@Self)^.clr := $00000004;
  33910. end;
  33911. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  33912. begin
  33913. if thebits = 0 then
  33914. pTDefRegMap(@Self)^.clr := $00000004
  33915. else
  33916. pTDefRegMap(@Self)^.&set := $00000004;
  33917. end;
  33918. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  33919. begin
  33920. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33921. end;
  33922. procedure TUSB_U1FRML.setFRM3; inline;
  33923. begin
  33924. pTDefRegMap(@Self)^.&set := $00000008;
  33925. end;
  33926. procedure TUSB_U1FRML.clearFRM3; inline;
  33927. begin
  33928. pTDefRegMap(@Self)^.clr := $00000008;
  33929. end;
  33930. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  33931. begin
  33932. if thebits = 0 then
  33933. pTDefRegMap(@Self)^.clr := $00000008
  33934. else
  33935. pTDefRegMap(@Self)^.&set := $00000008;
  33936. end;
  33937. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  33938. begin
  33939. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33940. end;
  33941. procedure TUSB_U1FRML.setFRM4; inline;
  33942. begin
  33943. pTDefRegMap(@Self)^.&set := $00000010;
  33944. end;
  33945. procedure TUSB_U1FRML.clearFRM4; inline;
  33946. begin
  33947. pTDefRegMap(@Self)^.clr := $00000010;
  33948. end;
  33949. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  33950. begin
  33951. if thebits = 0 then
  33952. pTDefRegMap(@Self)^.clr := $00000010
  33953. else
  33954. pTDefRegMap(@Self)^.&set := $00000010;
  33955. end;
  33956. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  33957. begin
  33958. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33959. end;
  33960. procedure TUSB_U1FRML.setFRM5; inline;
  33961. begin
  33962. pTDefRegMap(@Self)^.&set := $00000020;
  33963. end;
  33964. procedure TUSB_U1FRML.clearFRM5; inline;
  33965. begin
  33966. pTDefRegMap(@Self)^.clr := $00000020;
  33967. end;
  33968. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  33969. begin
  33970. if thebits = 0 then
  33971. pTDefRegMap(@Self)^.clr := $00000020
  33972. else
  33973. pTDefRegMap(@Self)^.&set := $00000020;
  33974. end;
  33975. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  33976. begin
  33977. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33978. end;
  33979. procedure TUSB_U1FRML.setFRM6; inline;
  33980. begin
  33981. pTDefRegMap(@Self)^.&set := $00000040;
  33982. end;
  33983. procedure TUSB_U1FRML.clearFRM6; inline;
  33984. begin
  33985. pTDefRegMap(@Self)^.clr := $00000040;
  33986. end;
  33987. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  33988. begin
  33989. if thebits = 0 then
  33990. pTDefRegMap(@Self)^.clr := $00000040
  33991. else
  33992. pTDefRegMap(@Self)^.&set := $00000040;
  33993. end;
  33994. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  33995. begin
  33996. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33997. end;
  33998. procedure TUSB_U1FRML.setFRM7; inline;
  33999. begin
  34000. pTDefRegMap(@Self)^.&set := $00000080;
  34001. end;
  34002. procedure TUSB_U1FRML.clearFRM7; inline;
  34003. begin
  34004. pTDefRegMap(@Self)^.clr := $00000080;
  34005. end;
  34006. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  34007. begin
  34008. if thebits = 0 then
  34009. pTDefRegMap(@Self)^.clr := $00000080
  34010. else
  34011. pTDefRegMap(@Self)^.&set := $00000080;
  34012. end;
  34013. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  34014. begin
  34015. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34016. end;
  34017. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  34018. begin
  34019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  34020. end;
  34021. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  34022. begin
  34023. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  34024. end;
  34025. procedure TUSB_U1FRMH.setFRM8; inline;
  34026. begin
  34027. pTDefRegMap(@Self)^.&set := $00000001;
  34028. end;
  34029. procedure TUSB_U1FRMH.clearFRM8; inline;
  34030. begin
  34031. pTDefRegMap(@Self)^.clr := $00000001;
  34032. end;
  34033. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  34034. begin
  34035. if thebits = 0 then
  34036. pTDefRegMap(@Self)^.clr := $00000001
  34037. else
  34038. pTDefRegMap(@Self)^.&set := $00000001;
  34039. end;
  34040. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  34041. begin
  34042. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34043. end;
  34044. procedure TUSB_U1FRMH.setFRM9; inline;
  34045. begin
  34046. pTDefRegMap(@Self)^.&set := $00000002;
  34047. end;
  34048. procedure TUSB_U1FRMH.clearFRM9; inline;
  34049. begin
  34050. pTDefRegMap(@Self)^.clr := $00000002;
  34051. end;
  34052. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  34053. begin
  34054. if thebits = 0 then
  34055. pTDefRegMap(@Self)^.clr := $00000002
  34056. else
  34057. pTDefRegMap(@Self)^.&set := $00000002;
  34058. end;
  34059. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  34060. begin
  34061. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34062. end;
  34063. procedure TUSB_U1FRMH.setFRM10; inline;
  34064. begin
  34065. pTDefRegMap(@Self)^.&set := $00000004;
  34066. end;
  34067. procedure TUSB_U1FRMH.clearFRM10; inline;
  34068. begin
  34069. pTDefRegMap(@Self)^.clr := $00000004;
  34070. end;
  34071. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  34072. begin
  34073. if thebits = 0 then
  34074. pTDefRegMap(@Self)^.clr := $00000004
  34075. else
  34076. pTDefRegMap(@Self)^.&set := $00000004;
  34077. end;
  34078. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  34079. begin
  34080. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34081. end;
  34082. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  34083. begin
  34084. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  34085. end;
  34086. function TUSB_U1TOK.getEP : TBits_4; inline;
  34087. begin
  34088. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  34089. end;
  34090. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  34091. begin
  34092. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  34093. end;
  34094. function TUSB_U1TOK.getPID : TBits_4; inline;
  34095. begin
  34096. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  34097. end;
  34098. procedure TUSB_U1TOK.setEP0; inline;
  34099. begin
  34100. pTDefRegMap(@Self)^.&set := $00000001;
  34101. end;
  34102. procedure TUSB_U1TOK.clearEP0; inline;
  34103. begin
  34104. pTDefRegMap(@Self)^.clr := $00000001;
  34105. end;
  34106. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  34107. begin
  34108. if thebits = 0 then
  34109. pTDefRegMap(@Self)^.clr := $00000001
  34110. else
  34111. pTDefRegMap(@Self)^.&set := $00000001;
  34112. end;
  34113. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  34114. begin
  34115. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34116. end;
  34117. procedure TUSB_U1TOK.setEP1; inline;
  34118. begin
  34119. pTDefRegMap(@Self)^.&set := $00000002;
  34120. end;
  34121. procedure TUSB_U1TOK.clearEP1; inline;
  34122. begin
  34123. pTDefRegMap(@Self)^.clr := $00000002;
  34124. end;
  34125. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  34126. begin
  34127. if thebits = 0 then
  34128. pTDefRegMap(@Self)^.clr := $00000002
  34129. else
  34130. pTDefRegMap(@Self)^.&set := $00000002;
  34131. end;
  34132. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  34133. begin
  34134. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34135. end;
  34136. procedure TUSB_U1TOK.setEP2; inline;
  34137. begin
  34138. pTDefRegMap(@Self)^.&set := $00000004;
  34139. end;
  34140. procedure TUSB_U1TOK.clearEP2; inline;
  34141. begin
  34142. pTDefRegMap(@Self)^.clr := $00000004;
  34143. end;
  34144. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  34145. begin
  34146. if thebits = 0 then
  34147. pTDefRegMap(@Self)^.clr := $00000004
  34148. else
  34149. pTDefRegMap(@Self)^.&set := $00000004;
  34150. end;
  34151. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  34152. begin
  34153. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34154. end;
  34155. procedure TUSB_U1TOK.setEP3; inline;
  34156. begin
  34157. pTDefRegMap(@Self)^.&set := $00000008;
  34158. end;
  34159. procedure TUSB_U1TOK.clearEP3; inline;
  34160. begin
  34161. pTDefRegMap(@Self)^.clr := $00000008;
  34162. end;
  34163. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  34164. begin
  34165. if thebits = 0 then
  34166. pTDefRegMap(@Self)^.clr := $00000008
  34167. else
  34168. pTDefRegMap(@Self)^.&set := $00000008;
  34169. end;
  34170. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  34171. begin
  34172. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34173. end;
  34174. procedure TUSB_U1TOK.setPID0; inline;
  34175. begin
  34176. pTDefRegMap(@Self)^.&set := $00000010;
  34177. end;
  34178. procedure TUSB_U1TOK.clearPID0; inline;
  34179. begin
  34180. pTDefRegMap(@Self)^.clr := $00000010;
  34181. end;
  34182. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  34183. begin
  34184. if thebits = 0 then
  34185. pTDefRegMap(@Self)^.clr := $00000010
  34186. else
  34187. pTDefRegMap(@Self)^.&set := $00000010;
  34188. end;
  34189. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  34190. begin
  34191. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34192. end;
  34193. procedure TUSB_U1TOK.setPID1; inline;
  34194. begin
  34195. pTDefRegMap(@Self)^.&set := $00000020;
  34196. end;
  34197. procedure TUSB_U1TOK.clearPID1; inline;
  34198. begin
  34199. pTDefRegMap(@Self)^.clr := $00000020;
  34200. end;
  34201. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  34202. begin
  34203. if thebits = 0 then
  34204. pTDefRegMap(@Self)^.clr := $00000020
  34205. else
  34206. pTDefRegMap(@Self)^.&set := $00000020;
  34207. end;
  34208. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  34209. begin
  34210. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34211. end;
  34212. procedure TUSB_U1TOK.setPID2; inline;
  34213. begin
  34214. pTDefRegMap(@Self)^.&set := $00000040;
  34215. end;
  34216. procedure TUSB_U1TOK.clearPID2; inline;
  34217. begin
  34218. pTDefRegMap(@Self)^.clr := $00000040;
  34219. end;
  34220. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  34221. begin
  34222. if thebits = 0 then
  34223. pTDefRegMap(@Self)^.clr := $00000040
  34224. else
  34225. pTDefRegMap(@Self)^.&set := $00000040;
  34226. end;
  34227. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  34228. begin
  34229. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34230. end;
  34231. procedure TUSB_U1TOK.setPID3; inline;
  34232. begin
  34233. pTDefRegMap(@Self)^.&set := $00000080;
  34234. end;
  34235. procedure TUSB_U1TOK.clearPID3; inline;
  34236. begin
  34237. pTDefRegMap(@Self)^.clr := $00000080;
  34238. end;
  34239. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  34240. begin
  34241. if thebits = 0 then
  34242. pTDefRegMap(@Self)^.clr := $00000080
  34243. else
  34244. pTDefRegMap(@Self)^.&set := $00000080;
  34245. end;
  34246. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  34247. begin
  34248. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34249. end;
  34250. procedure TPORTA_ANSELA.setANSA0; inline;
  34251. begin
  34252. pTDefRegMap(@Self)^.&set := $00000001;
  34253. end;
  34254. procedure TPORTA_ANSELA.clearANSA0; inline;
  34255. begin
  34256. pTDefRegMap(@Self)^.clr := $00000001;
  34257. end;
  34258. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  34259. begin
  34260. if thebits = 0 then
  34261. pTDefRegMap(@Self)^.clr := $00000001
  34262. else
  34263. pTDefRegMap(@Self)^.&set := $00000001;
  34264. end;
  34265. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  34266. begin
  34267. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34268. end;
  34269. procedure TPORTA_ANSELA.setANSA1; inline;
  34270. begin
  34271. pTDefRegMap(@Self)^.&set := $00000002;
  34272. end;
  34273. procedure TPORTA_ANSELA.clearANSA1; inline;
  34274. begin
  34275. pTDefRegMap(@Self)^.clr := $00000002;
  34276. end;
  34277. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  34278. begin
  34279. if thebits = 0 then
  34280. pTDefRegMap(@Self)^.clr := $00000002
  34281. else
  34282. pTDefRegMap(@Self)^.&set := $00000002;
  34283. end;
  34284. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  34285. begin
  34286. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34287. end;
  34288. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  34289. begin
  34290. pTDefRegMap(@Self)^.val := thebits;
  34291. end;
  34292. function TPORTA_ANSELA.getw : TBits_32; inline;
  34293. begin
  34294. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34295. end;
  34296. procedure TPORTA_TRISA.setTRISA0; inline;
  34297. begin
  34298. pTDefRegMap(@Self)^.&set := $00000001;
  34299. end;
  34300. procedure TPORTA_TRISA.clearTRISA0; inline;
  34301. begin
  34302. pTDefRegMap(@Self)^.clr := $00000001;
  34303. end;
  34304. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  34305. begin
  34306. if thebits = 0 then
  34307. pTDefRegMap(@Self)^.clr := $00000001
  34308. else
  34309. pTDefRegMap(@Self)^.&set := $00000001;
  34310. end;
  34311. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  34312. begin
  34313. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34314. end;
  34315. procedure TPORTA_TRISA.setTRISA1; inline;
  34316. begin
  34317. pTDefRegMap(@Self)^.&set := $00000002;
  34318. end;
  34319. procedure TPORTA_TRISA.clearTRISA1; inline;
  34320. begin
  34321. pTDefRegMap(@Self)^.clr := $00000002;
  34322. end;
  34323. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  34324. begin
  34325. if thebits = 0 then
  34326. pTDefRegMap(@Self)^.clr := $00000002
  34327. else
  34328. pTDefRegMap(@Self)^.&set := $00000002;
  34329. end;
  34330. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  34331. begin
  34332. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34333. end;
  34334. procedure TPORTA_TRISA.setTRISA2; inline;
  34335. begin
  34336. pTDefRegMap(@Self)^.&set := $00000004;
  34337. end;
  34338. procedure TPORTA_TRISA.clearTRISA2; inline;
  34339. begin
  34340. pTDefRegMap(@Self)^.clr := $00000004;
  34341. end;
  34342. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  34343. begin
  34344. if thebits = 0 then
  34345. pTDefRegMap(@Self)^.clr := $00000004
  34346. else
  34347. pTDefRegMap(@Self)^.&set := $00000004;
  34348. end;
  34349. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  34350. begin
  34351. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34352. end;
  34353. procedure TPORTA_TRISA.setTRISA3; inline;
  34354. begin
  34355. pTDefRegMap(@Self)^.&set := $00000008;
  34356. end;
  34357. procedure TPORTA_TRISA.clearTRISA3; inline;
  34358. begin
  34359. pTDefRegMap(@Self)^.clr := $00000008;
  34360. end;
  34361. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  34362. begin
  34363. if thebits = 0 then
  34364. pTDefRegMap(@Self)^.clr := $00000008
  34365. else
  34366. pTDefRegMap(@Self)^.&set := $00000008;
  34367. end;
  34368. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  34369. begin
  34370. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34371. end;
  34372. procedure TPORTA_TRISA.setTRISA4; inline;
  34373. begin
  34374. pTDefRegMap(@Self)^.&set := $00000010;
  34375. end;
  34376. procedure TPORTA_TRISA.clearTRISA4; inline;
  34377. begin
  34378. pTDefRegMap(@Self)^.clr := $00000010;
  34379. end;
  34380. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  34381. begin
  34382. if thebits = 0 then
  34383. pTDefRegMap(@Self)^.clr := $00000010
  34384. else
  34385. pTDefRegMap(@Self)^.&set := $00000010;
  34386. end;
  34387. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  34388. begin
  34389. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34390. end;
  34391. procedure TPORTA_TRISA.setTRISA7; inline;
  34392. begin
  34393. pTDefRegMap(@Self)^.&set := $00000080;
  34394. end;
  34395. procedure TPORTA_TRISA.clearTRISA7; inline;
  34396. begin
  34397. pTDefRegMap(@Self)^.clr := $00000080;
  34398. end;
  34399. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  34400. begin
  34401. if thebits = 0 then
  34402. pTDefRegMap(@Self)^.clr := $00000080
  34403. else
  34404. pTDefRegMap(@Self)^.&set := $00000080;
  34405. end;
  34406. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  34407. begin
  34408. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34409. end;
  34410. procedure TPORTA_TRISA.setTRISA8; inline;
  34411. begin
  34412. pTDefRegMap(@Self)^.&set := $00000100;
  34413. end;
  34414. procedure TPORTA_TRISA.clearTRISA8; inline;
  34415. begin
  34416. pTDefRegMap(@Self)^.clr := $00000100;
  34417. end;
  34418. procedure TPORTA_TRISA.setTRISA8(thebits : TBits_1); inline;
  34419. begin
  34420. if thebits = 0 then
  34421. pTDefRegMap(@Self)^.clr := $00000100
  34422. else
  34423. pTDefRegMap(@Self)^.&set := $00000100;
  34424. end;
  34425. function TPORTA_TRISA.getTRISA8 : TBits_1; inline;
  34426. begin
  34427. getTRISA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34428. end;
  34429. procedure TPORTA_TRISA.setTRISA9; inline;
  34430. begin
  34431. pTDefRegMap(@Self)^.&set := $00000200;
  34432. end;
  34433. procedure TPORTA_TRISA.clearTRISA9; inline;
  34434. begin
  34435. pTDefRegMap(@Self)^.clr := $00000200;
  34436. end;
  34437. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  34438. begin
  34439. if thebits = 0 then
  34440. pTDefRegMap(@Self)^.clr := $00000200
  34441. else
  34442. pTDefRegMap(@Self)^.&set := $00000200;
  34443. end;
  34444. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  34445. begin
  34446. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34447. end;
  34448. procedure TPORTA_TRISA.setTRISA10; inline;
  34449. begin
  34450. pTDefRegMap(@Self)^.&set := $00000400;
  34451. end;
  34452. procedure TPORTA_TRISA.clearTRISA10; inline;
  34453. begin
  34454. pTDefRegMap(@Self)^.clr := $00000400;
  34455. end;
  34456. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  34457. begin
  34458. if thebits = 0 then
  34459. pTDefRegMap(@Self)^.clr := $00000400
  34460. else
  34461. pTDefRegMap(@Self)^.&set := $00000400;
  34462. end;
  34463. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  34464. begin
  34465. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34466. end;
  34467. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  34468. begin
  34469. pTDefRegMap(@Self)^.val := thebits;
  34470. end;
  34471. function TPORTA_TRISA.getw : TBits_32; inline;
  34472. begin
  34473. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34474. end;
  34475. procedure TPORTA_PORTA.setRA0; inline;
  34476. begin
  34477. pTDefRegMap(@Self)^.&set := $00000001;
  34478. end;
  34479. procedure TPORTA_PORTA.clearRA0; inline;
  34480. begin
  34481. pTDefRegMap(@Self)^.clr := $00000001;
  34482. end;
  34483. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  34484. begin
  34485. if thebits = 0 then
  34486. pTDefRegMap(@Self)^.clr := $00000001
  34487. else
  34488. pTDefRegMap(@Self)^.&set := $00000001;
  34489. end;
  34490. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  34491. begin
  34492. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34493. end;
  34494. procedure TPORTA_PORTA.setRA1; inline;
  34495. begin
  34496. pTDefRegMap(@Self)^.&set := $00000002;
  34497. end;
  34498. procedure TPORTA_PORTA.clearRA1; inline;
  34499. begin
  34500. pTDefRegMap(@Self)^.clr := $00000002;
  34501. end;
  34502. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  34503. begin
  34504. if thebits = 0 then
  34505. pTDefRegMap(@Self)^.clr := $00000002
  34506. else
  34507. pTDefRegMap(@Self)^.&set := $00000002;
  34508. end;
  34509. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  34510. begin
  34511. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34512. end;
  34513. procedure TPORTA_PORTA.setRA2; inline;
  34514. begin
  34515. pTDefRegMap(@Self)^.&set := $00000004;
  34516. end;
  34517. procedure TPORTA_PORTA.clearRA2; inline;
  34518. begin
  34519. pTDefRegMap(@Self)^.clr := $00000004;
  34520. end;
  34521. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  34522. begin
  34523. if thebits = 0 then
  34524. pTDefRegMap(@Self)^.clr := $00000004
  34525. else
  34526. pTDefRegMap(@Self)^.&set := $00000004;
  34527. end;
  34528. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  34529. begin
  34530. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34531. end;
  34532. procedure TPORTA_PORTA.setRA3; inline;
  34533. begin
  34534. pTDefRegMap(@Self)^.&set := $00000008;
  34535. end;
  34536. procedure TPORTA_PORTA.clearRA3; inline;
  34537. begin
  34538. pTDefRegMap(@Self)^.clr := $00000008;
  34539. end;
  34540. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  34541. begin
  34542. if thebits = 0 then
  34543. pTDefRegMap(@Self)^.clr := $00000008
  34544. else
  34545. pTDefRegMap(@Self)^.&set := $00000008;
  34546. end;
  34547. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  34548. begin
  34549. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34550. end;
  34551. procedure TPORTA_PORTA.setRA4; inline;
  34552. begin
  34553. pTDefRegMap(@Self)^.&set := $00000010;
  34554. end;
  34555. procedure TPORTA_PORTA.clearRA4; inline;
  34556. begin
  34557. pTDefRegMap(@Self)^.clr := $00000010;
  34558. end;
  34559. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  34560. begin
  34561. if thebits = 0 then
  34562. pTDefRegMap(@Self)^.clr := $00000010
  34563. else
  34564. pTDefRegMap(@Self)^.&set := $00000010;
  34565. end;
  34566. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  34567. begin
  34568. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34569. end;
  34570. procedure TPORTA_PORTA.setRA7; inline;
  34571. begin
  34572. pTDefRegMap(@Self)^.&set := $00000080;
  34573. end;
  34574. procedure TPORTA_PORTA.clearRA7; inline;
  34575. begin
  34576. pTDefRegMap(@Self)^.clr := $00000080;
  34577. end;
  34578. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  34579. begin
  34580. if thebits = 0 then
  34581. pTDefRegMap(@Self)^.clr := $00000080
  34582. else
  34583. pTDefRegMap(@Self)^.&set := $00000080;
  34584. end;
  34585. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  34586. begin
  34587. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34588. end;
  34589. procedure TPORTA_PORTA.setRA8; inline;
  34590. begin
  34591. pTDefRegMap(@Self)^.&set := $00000100;
  34592. end;
  34593. procedure TPORTA_PORTA.clearRA8; inline;
  34594. begin
  34595. pTDefRegMap(@Self)^.clr := $00000100;
  34596. end;
  34597. procedure TPORTA_PORTA.setRA8(thebits : TBits_1); inline;
  34598. begin
  34599. if thebits = 0 then
  34600. pTDefRegMap(@Self)^.clr := $00000100
  34601. else
  34602. pTDefRegMap(@Self)^.&set := $00000100;
  34603. end;
  34604. function TPORTA_PORTA.getRA8 : TBits_1; inline;
  34605. begin
  34606. getRA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34607. end;
  34608. procedure TPORTA_PORTA.setRA9; inline;
  34609. begin
  34610. pTDefRegMap(@Self)^.&set := $00000200;
  34611. end;
  34612. procedure TPORTA_PORTA.clearRA9; inline;
  34613. begin
  34614. pTDefRegMap(@Self)^.clr := $00000200;
  34615. end;
  34616. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  34617. begin
  34618. if thebits = 0 then
  34619. pTDefRegMap(@Self)^.clr := $00000200
  34620. else
  34621. pTDefRegMap(@Self)^.&set := $00000200;
  34622. end;
  34623. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  34624. begin
  34625. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34626. end;
  34627. procedure TPORTA_PORTA.setRA10; inline;
  34628. begin
  34629. pTDefRegMap(@Self)^.&set := $00000400;
  34630. end;
  34631. procedure TPORTA_PORTA.clearRA10; inline;
  34632. begin
  34633. pTDefRegMap(@Self)^.clr := $00000400;
  34634. end;
  34635. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  34636. begin
  34637. if thebits = 0 then
  34638. pTDefRegMap(@Self)^.clr := $00000400
  34639. else
  34640. pTDefRegMap(@Self)^.&set := $00000400;
  34641. end;
  34642. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  34643. begin
  34644. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34645. end;
  34646. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  34647. begin
  34648. pTDefRegMap(@Self)^.val := thebits;
  34649. end;
  34650. function TPORTA_PORTA.getw : TBits_32; inline;
  34651. begin
  34652. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34653. end;
  34654. procedure TPORTA_LATA.setLATA0; inline;
  34655. begin
  34656. pTDefRegMap(@Self)^.&set := $00000001;
  34657. end;
  34658. procedure TPORTA_LATA.clearLATA0; inline;
  34659. begin
  34660. pTDefRegMap(@Self)^.clr := $00000001;
  34661. end;
  34662. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  34663. begin
  34664. if thebits = 0 then
  34665. pTDefRegMap(@Self)^.clr := $00000001
  34666. else
  34667. pTDefRegMap(@Self)^.&set := $00000001;
  34668. end;
  34669. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  34670. begin
  34671. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34672. end;
  34673. procedure TPORTA_LATA.setLATA1; inline;
  34674. begin
  34675. pTDefRegMap(@Self)^.&set := $00000002;
  34676. end;
  34677. procedure TPORTA_LATA.clearLATA1; inline;
  34678. begin
  34679. pTDefRegMap(@Self)^.clr := $00000002;
  34680. end;
  34681. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  34682. begin
  34683. if thebits = 0 then
  34684. pTDefRegMap(@Self)^.clr := $00000002
  34685. else
  34686. pTDefRegMap(@Self)^.&set := $00000002;
  34687. end;
  34688. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  34689. begin
  34690. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34691. end;
  34692. procedure TPORTA_LATA.setLATA2; inline;
  34693. begin
  34694. pTDefRegMap(@Self)^.&set := $00000004;
  34695. end;
  34696. procedure TPORTA_LATA.clearLATA2; inline;
  34697. begin
  34698. pTDefRegMap(@Self)^.clr := $00000004;
  34699. end;
  34700. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  34701. begin
  34702. if thebits = 0 then
  34703. pTDefRegMap(@Self)^.clr := $00000004
  34704. else
  34705. pTDefRegMap(@Self)^.&set := $00000004;
  34706. end;
  34707. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  34708. begin
  34709. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34710. end;
  34711. procedure TPORTA_LATA.setLATA3; inline;
  34712. begin
  34713. pTDefRegMap(@Self)^.&set := $00000008;
  34714. end;
  34715. procedure TPORTA_LATA.clearLATA3; inline;
  34716. begin
  34717. pTDefRegMap(@Self)^.clr := $00000008;
  34718. end;
  34719. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  34720. begin
  34721. if thebits = 0 then
  34722. pTDefRegMap(@Self)^.clr := $00000008
  34723. else
  34724. pTDefRegMap(@Self)^.&set := $00000008;
  34725. end;
  34726. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  34727. begin
  34728. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34729. end;
  34730. procedure TPORTA_LATA.setLATA4; inline;
  34731. begin
  34732. pTDefRegMap(@Self)^.&set := $00000010;
  34733. end;
  34734. procedure TPORTA_LATA.clearLATA4; inline;
  34735. begin
  34736. pTDefRegMap(@Self)^.clr := $00000010;
  34737. end;
  34738. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  34739. begin
  34740. if thebits = 0 then
  34741. pTDefRegMap(@Self)^.clr := $00000010
  34742. else
  34743. pTDefRegMap(@Self)^.&set := $00000010;
  34744. end;
  34745. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  34746. begin
  34747. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34748. end;
  34749. procedure TPORTA_LATA.setLATA7; inline;
  34750. begin
  34751. pTDefRegMap(@Self)^.&set := $00000080;
  34752. end;
  34753. procedure TPORTA_LATA.clearLATA7; inline;
  34754. begin
  34755. pTDefRegMap(@Self)^.clr := $00000080;
  34756. end;
  34757. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  34758. begin
  34759. if thebits = 0 then
  34760. pTDefRegMap(@Self)^.clr := $00000080
  34761. else
  34762. pTDefRegMap(@Self)^.&set := $00000080;
  34763. end;
  34764. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  34765. begin
  34766. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34767. end;
  34768. procedure TPORTA_LATA.setLATA8; inline;
  34769. begin
  34770. pTDefRegMap(@Self)^.&set := $00000100;
  34771. end;
  34772. procedure TPORTA_LATA.clearLATA8; inline;
  34773. begin
  34774. pTDefRegMap(@Self)^.clr := $00000100;
  34775. end;
  34776. procedure TPORTA_LATA.setLATA8(thebits : TBits_1); inline;
  34777. begin
  34778. if thebits = 0 then
  34779. pTDefRegMap(@Self)^.clr := $00000100
  34780. else
  34781. pTDefRegMap(@Self)^.&set := $00000100;
  34782. end;
  34783. function TPORTA_LATA.getLATA8 : TBits_1; inline;
  34784. begin
  34785. getLATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34786. end;
  34787. procedure TPORTA_LATA.setLATA9; inline;
  34788. begin
  34789. pTDefRegMap(@Self)^.&set := $00000200;
  34790. end;
  34791. procedure TPORTA_LATA.clearLATA9; inline;
  34792. begin
  34793. pTDefRegMap(@Self)^.clr := $00000200;
  34794. end;
  34795. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  34796. begin
  34797. if thebits = 0 then
  34798. pTDefRegMap(@Self)^.clr := $00000200
  34799. else
  34800. pTDefRegMap(@Self)^.&set := $00000200;
  34801. end;
  34802. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  34803. begin
  34804. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34805. end;
  34806. procedure TPORTA_LATA.setLATA10; inline;
  34807. begin
  34808. pTDefRegMap(@Self)^.&set := $00000400;
  34809. end;
  34810. procedure TPORTA_LATA.clearLATA10; inline;
  34811. begin
  34812. pTDefRegMap(@Self)^.clr := $00000400;
  34813. end;
  34814. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  34815. begin
  34816. if thebits = 0 then
  34817. pTDefRegMap(@Self)^.clr := $00000400
  34818. else
  34819. pTDefRegMap(@Self)^.&set := $00000400;
  34820. end;
  34821. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  34822. begin
  34823. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34824. end;
  34825. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  34826. begin
  34827. pTDefRegMap(@Self)^.val := thebits;
  34828. end;
  34829. function TPORTA_LATA.getw : TBits_32; inline;
  34830. begin
  34831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34832. end;
  34833. procedure TPORTA_ODCA.setODCA7; inline;
  34834. begin
  34835. pTDefRegMap(@Self)^.&set := $00000080;
  34836. end;
  34837. procedure TPORTA_ODCA.clearODCA7; inline;
  34838. begin
  34839. pTDefRegMap(@Self)^.clr := $00000080;
  34840. end;
  34841. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  34842. begin
  34843. if thebits = 0 then
  34844. pTDefRegMap(@Self)^.clr := $00000080
  34845. else
  34846. pTDefRegMap(@Self)^.&set := $00000080;
  34847. end;
  34848. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  34849. begin
  34850. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34851. end;
  34852. procedure TPORTA_ODCA.setODCA8; inline;
  34853. begin
  34854. pTDefRegMap(@Self)^.&set := $00000100;
  34855. end;
  34856. procedure TPORTA_ODCA.clearODCA8; inline;
  34857. begin
  34858. pTDefRegMap(@Self)^.clr := $00000100;
  34859. end;
  34860. procedure TPORTA_ODCA.setODCA8(thebits : TBits_1); inline;
  34861. begin
  34862. if thebits = 0 then
  34863. pTDefRegMap(@Self)^.clr := $00000100
  34864. else
  34865. pTDefRegMap(@Self)^.&set := $00000100;
  34866. end;
  34867. function TPORTA_ODCA.getODCA8 : TBits_1; inline;
  34868. begin
  34869. getODCA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34870. end;
  34871. procedure TPORTA_ODCA.setODCA9; inline;
  34872. begin
  34873. pTDefRegMap(@Self)^.&set := $00000200;
  34874. end;
  34875. procedure TPORTA_ODCA.clearODCA9; inline;
  34876. begin
  34877. pTDefRegMap(@Self)^.clr := $00000200;
  34878. end;
  34879. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  34880. begin
  34881. if thebits = 0 then
  34882. pTDefRegMap(@Self)^.clr := $00000200
  34883. else
  34884. pTDefRegMap(@Self)^.&set := $00000200;
  34885. end;
  34886. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  34887. begin
  34888. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34889. end;
  34890. procedure TPORTA_ODCA.setODCA10; inline;
  34891. begin
  34892. pTDefRegMap(@Self)^.&set := $00000400;
  34893. end;
  34894. procedure TPORTA_ODCA.clearODCA10; inline;
  34895. begin
  34896. pTDefRegMap(@Self)^.clr := $00000400;
  34897. end;
  34898. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  34899. begin
  34900. if thebits = 0 then
  34901. pTDefRegMap(@Self)^.clr := $00000400
  34902. else
  34903. pTDefRegMap(@Self)^.&set := $00000400;
  34904. end;
  34905. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  34906. begin
  34907. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34908. end;
  34909. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  34910. begin
  34911. pTDefRegMap(@Self)^.val := thebits;
  34912. end;
  34913. function TPORTA_ODCA.getw : TBits_32; inline;
  34914. begin
  34915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34916. end;
  34917. procedure TPORTA_CNPUA.setCNPUA0; inline;
  34918. begin
  34919. pTDefRegMap(@Self)^.&set := $00000001;
  34920. end;
  34921. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34922. begin
  34923. pTDefRegMap(@Self)^.clr := $00000001;
  34924. end;
  34925. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34926. begin
  34927. if thebits = 0 then
  34928. pTDefRegMap(@Self)^.clr := $00000001
  34929. else
  34930. pTDefRegMap(@Self)^.&set := $00000001;
  34931. end;
  34932. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34933. begin
  34934. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34935. end;
  34936. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34937. begin
  34938. pTDefRegMap(@Self)^.&set := $00000002;
  34939. end;
  34940. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34941. begin
  34942. pTDefRegMap(@Self)^.clr := $00000002;
  34943. end;
  34944. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34945. begin
  34946. if thebits = 0 then
  34947. pTDefRegMap(@Self)^.clr := $00000002
  34948. else
  34949. pTDefRegMap(@Self)^.&set := $00000002;
  34950. end;
  34951. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34952. begin
  34953. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34954. end;
  34955. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34956. begin
  34957. pTDefRegMap(@Self)^.&set := $00000004;
  34958. end;
  34959. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34960. begin
  34961. pTDefRegMap(@Self)^.clr := $00000004;
  34962. end;
  34963. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34964. begin
  34965. if thebits = 0 then
  34966. pTDefRegMap(@Self)^.clr := $00000004
  34967. else
  34968. pTDefRegMap(@Self)^.&set := $00000004;
  34969. end;
  34970. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34971. begin
  34972. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34973. end;
  34974. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34975. begin
  34976. pTDefRegMap(@Self)^.&set := $00000008;
  34977. end;
  34978. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34979. begin
  34980. pTDefRegMap(@Self)^.clr := $00000008;
  34981. end;
  34982. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34983. begin
  34984. if thebits = 0 then
  34985. pTDefRegMap(@Self)^.clr := $00000008
  34986. else
  34987. pTDefRegMap(@Self)^.&set := $00000008;
  34988. end;
  34989. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34990. begin
  34991. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34992. end;
  34993. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34994. begin
  34995. pTDefRegMap(@Self)^.&set := $00000010;
  34996. end;
  34997. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34998. begin
  34999. pTDefRegMap(@Self)^.clr := $00000010;
  35000. end;
  35001. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  35002. begin
  35003. if thebits = 0 then
  35004. pTDefRegMap(@Self)^.clr := $00000010
  35005. else
  35006. pTDefRegMap(@Self)^.&set := $00000010;
  35007. end;
  35008. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  35009. begin
  35010. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35011. end;
  35012. procedure TPORTA_CNPUA.setCNPUA7; inline;
  35013. begin
  35014. pTDefRegMap(@Self)^.&set := $00000080;
  35015. end;
  35016. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  35017. begin
  35018. pTDefRegMap(@Self)^.clr := $00000080;
  35019. end;
  35020. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  35021. begin
  35022. if thebits = 0 then
  35023. pTDefRegMap(@Self)^.clr := $00000080
  35024. else
  35025. pTDefRegMap(@Self)^.&set := $00000080;
  35026. end;
  35027. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  35028. begin
  35029. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35030. end;
  35031. procedure TPORTA_CNPUA.setCNPUA8; inline;
  35032. begin
  35033. pTDefRegMap(@Self)^.&set := $00000100;
  35034. end;
  35035. procedure TPORTA_CNPUA.clearCNPUA8; inline;
  35036. begin
  35037. pTDefRegMap(@Self)^.clr := $00000100;
  35038. end;
  35039. procedure TPORTA_CNPUA.setCNPUA8(thebits : TBits_1); inline;
  35040. begin
  35041. if thebits = 0 then
  35042. pTDefRegMap(@Self)^.clr := $00000100
  35043. else
  35044. pTDefRegMap(@Self)^.&set := $00000100;
  35045. end;
  35046. function TPORTA_CNPUA.getCNPUA8 : TBits_1; inline;
  35047. begin
  35048. getCNPUA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35049. end;
  35050. procedure TPORTA_CNPUA.setCNPUA9; inline;
  35051. begin
  35052. pTDefRegMap(@Self)^.&set := $00000200;
  35053. end;
  35054. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  35055. begin
  35056. pTDefRegMap(@Self)^.clr := $00000200;
  35057. end;
  35058. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  35059. begin
  35060. if thebits = 0 then
  35061. pTDefRegMap(@Self)^.clr := $00000200
  35062. else
  35063. pTDefRegMap(@Self)^.&set := $00000200;
  35064. end;
  35065. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  35066. begin
  35067. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35068. end;
  35069. procedure TPORTA_CNPUA.setCNPUA10; inline;
  35070. begin
  35071. pTDefRegMap(@Self)^.&set := $00000400;
  35072. end;
  35073. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  35074. begin
  35075. pTDefRegMap(@Self)^.clr := $00000400;
  35076. end;
  35077. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  35078. begin
  35079. if thebits = 0 then
  35080. pTDefRegMap(@Self)^.clr := $00000400
  35081. else
  35082. pTDefRegMap(@Self)^.&set := $00000400;
  35083. end;
  35084. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  35085. begin
  35086. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35087. end;
  35088. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  35089. begin
  35090. pTDefRegMap(@Self)^.val := thebits;
  35091. end;
  35092. function TPORTA_CNPUA.getw : TBits_32; inline;
  35093. begin
  35094. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35095. end;
  35096. procedure TPORTA_CNPDA.setCNPDA0; inline;
  35097. begin
  35098. pTDefRegMap(@Self)^.&set := $00000001;
  35099. end;
  35100. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  35101. begin
  35102. pTDefRegMap(@Self)^.clr := $00000001;
  35103. end;
  35104. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  35105. begin
  35106. if thebits = 0 then
  35107. pTDefRegMap(@Self)^.clr := $00000001
  35108. else
  35109. pTDefRegMap(@Self)^.&set := $00000001;
  35110. end;
  35111. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  35112. begin
  35113. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35114. end;
  35115. procedure TPORTA_CNPDA.setCNPDA1; inline;
  35116. begin
  35117. pTDefRegMap(@Self)^.&set := $00000002;
  35118. end;
  35119. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  35120. begin
  35121. pTDefRegMap(@Self)^.clr := $00000002;
  35122. end;
  35123. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  35124. begin
  35125. if thebits = 0 then
  35126. pTDefRegMap(@Self)^.clr := $00000002
  35127. else
  35128. pTDefRegMap(@Self)^.&set := $00000002;
  35129. end;
  35130. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  35131. begin
  35132. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35133. end;
  35134. procedure TPORTA_CNPDA.setCNPDA2; inline;
  35135. begin
  35136. pTDefRegMap(@Self)^.&set := $00000004;
  35137. end;
  35138. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  35139. begin
  35140. pTDefRegMap(@Self)^.clr := $00000004;
  35141. end;
  35142. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  35143. begin
  35144. if thebits = 0 then
  35145. pTDefRegMap(@Self)^.clr := $00000004
  35146. else
  35147. pTDefRegMap(@Self)^.&set := $00000004;
  35148. end;
  35149. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  35150. begin
  35151. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35152. end;
  35153. procedure TPORTA_CNPDA.setCNPDA3; inline;
  35154. begin
  35155. pTDefRegMap(@Self)^.&set := $00000008;
  35156. end;
  35157. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  35158. begin
  35159. pTDefRegMap(@Self)^.clr := $00000008;
  35160. end;
  35161. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  35162. begin
  35163. if thebits = 0 then
  35164. pTDefRegMap(@Self)^.clr := $00000008
  35165. else
  35166. pTDefRegMap(@Self)^.&set := $00000008;
  35167. end;
  35168. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  35169. begin
  35170. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35171. end;
  35172. procedure TPORTA_CNPDA.setCNPDA4; inline;
  35173. begin
  35174. pTDefRegMap(@Self)^.&set := $00000010;
  35175. end;
  35176. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  35177. begin
  35178. pTDefRegMap(@Self)^.clr := $00000010;
  35179. end;
  35180. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  35181. begin
  35182. if thebits = 0 then
  35183. pTDefRegMap(@Self)^.clr := $00000010
  35184. else
  35185. pTDefRegMap(@Self)^.&set := $00000010;
  35186. end;
  35187. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  35188. begin
  35189. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35190. end;
  35191. procedure TPORTA_CNPDA.setCNPDA7; inline;
  35192. begin
  35193. pTDefRegMap(@Self)^.&set := $00000080;
  35194. end;
  35195. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  35196. begin
  35197. pTDefRegMap(@Self)^.clr := $00000080;
  35198. end;
  35199. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  35200. begin
  35201. if thebits = 0 then
  35202. pTDefRegMap(@Self)^.clr := $00000080
  35203. else
  35204. pTDefRegMap(@Self)^.&set := $00000080;
  35205. end;
  35206. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  35207. begin
  35208. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35209. end;
  35210. procedure TPORTA_CNPDA.setCNPDA8; inline;
  35211. begin
  35212. pTDefRegMap(@Self)^.&set := $00000100;
  35213. end;
  35214. procedure TPORTA_CNPDA.clearCNPDA8; inline;
  35215. begin
  35216. pTDefRegMap(@Self)^.clr := $00000100;
  35217. end;
  35218. procedure TPORTA_CNPDA.setCNPDA8(thebits : TBits_1); inline;
  35219. begin
  35220. if thebits = 0 then
  35221. pTDefRegMap(@Self)^.clr := $00000100
  35222. else
  35223. pTDefRegMap(@Self)^.&set := $00000100;
  35224. end;
  35225. function TPORTA_CNPDA.getCNPDA8 : TBits_1; inline;
  35226. begin
  35227. getCNPDA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35228. end;
  35229. procedure TPORTA_CNPDA.setCNPDA9; inline;
  35230. begin
  35231. pTDefRegMap(@Self)^.&set := $00000200;
  35232. end;
  35233. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  35234. begin
  35235. pTDefRegMap(@Self)^.clr := $00000200;
  35236. end;
  35237. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  35238. begin
  35239. if thebits = 0 then
  35240. pTDefRegMap(@Self)^.clr := $00000200
  35241. else
  35242. pTDefRegMap(@Self)^.&set := $00000200;
  35243. end;
  35244. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  35245. begin
  35246. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35247. end;
  35248. procedure TPORTA_CNPDA.setCNPDA10; inline;
  35249. begin
  35250. pTDefRegMap(@Self)^.&set := $00000400;
  35251. end;
  35252. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  35253. begin
  35254. pTDefRegMap(@Self)^.clr := $00000400;
  35255. end;
  35256. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  35257. begin
  35258. if thebits = 0 then
  35259. pTDefRegMap(@Self)^.clr := $00000400
  35260. else
  35261. pTDefRegMap(@Self)^.&set := $00000400;
  35262. end;
  35263. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  35264. begin
  35265. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35266. end;
  35267. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  35268. begin
  35269. pTDefRegMap(@Self)^.val := thebits;
  35270. end;
  35271. function TPORTA_CNPDA.getw : TBits_32; inline;
  35272. begin
  35273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35274. end;
  35275. procedure TPORTA_CNCONA.setSIDL; inline;
  35276. begin
  35277. pTDefRegMap(@Self)^.&set := $00002000;
  35278. end;
  35279. procedure TPORTA_CNCONA.clearSIDL; inline;
  35280. begin
  35281. pTDefRegMap(@Self)^.clr := $00002000;
  35282. end;
  35283. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  35284. begin
  35285. if thebits = 0 then
  35286. pTDefRegMap(@Self)^.clr := $00002000
  35287. else
  35288. pTDefRegMap(@Self)^.&set := $00002000;
  35289. end;
  35290. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  35291. begin
  35292. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35293. end;
  35294. procedure TPORTA_CNCONA.setON; inline;
  35295. begin
  35296. pTDefRegMap(@Self)^.&set := $00008000;
  35297. end;
  35298. procedure TPORTA_CNCONA.clearON; inline;
  35299. begin
  35300. pTDefRegMap(@Self)^.clr := $00008000;
  35301. end;
  35302. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  35303. begin
  35304. if thebits = 0 then
  35305. pTDefRegMap(@Self)^.clr := $00008000
  35306. else
  35307. pTDefRegMap(@Self)^.&set := $00008000;
  35308. end;
  35309. function TPORTA_CNCONA.getON : TBits_1; inline;
  35310. begin
  35311. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35312. end;
  35313. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  35314. begin
  35315. pTDefRegMap(@Self)^.val := thebits;
  35316. end;
  35317. function TPORTA_CNCONA.getw : TBits_32; inline;
  35318. begin
  35319. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35320. end;
  35321. procedure TPORTA_CNENA.setCNIEA0; inline;
  35322. begin
  35323. pTDefRegMap(@Self)^.&set := $00000001;
  35324. end;
  35325. procedure TPORTA_CNENA.clearCNIEA0; inline;
  35326. begin
  35327. pTDefRegMap(@Self)^.clr := $00000001;
  35328. end;
  35329. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  35330. begin
  35331. if thebits = 0 then
  35332. pTDefRegMap(@Self)^.clr := $00000001
  35333. else
  35334. pTDefRegMap(@Self)^.&set := $00000001;
  35335. end;
  35336. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  35337. begin
  35338. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35339. end;
  35340. procedure TPORTA_CNENA.setCNIEA1; inline;
  35341. begin
  35342. pTDefRegMap(@Self)^.&set := $00000002;
  35343. end;
  35344. procedure TPORTA_CNENA.clearCNIEA1; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.clr := $00000002;
  35347. end;
  35348. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  35349. begin
  35350. if thebits = 0 then
  35351. pTDefRegMap(@Self)^.clr := $00000002
  35352. else
  35353. pTDefRegMap(@Self)^.&set := $00000002;
  35354. end;
  35355. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  35356. begin
  35357. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35358. end;
  35359. procedure TPORTA_CNENA.setCNIEA2; inline;
  35360. begin
  35361. pTDefRegMap(@Self)^.&set := $00000004;
  35362. end;
  35363. procedure TPORTA_CNENA.clearCNIEA2; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.clr := $00000004;
  35366. end;
  35367. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  35368. begin
  35369. if thebits = 0 then
  35370. pTDefRegMap(@Self)^.clr := $00000004
  35371. else
  35372. pTDefRegMap(@Self)^.&set := $00000004;
  35373. end;
  35374. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  35375. begin
  35376. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35377. end;
  35378. procedure TPORTA_CNENA.setCNIEA3; inline;
  35379. begin
  35380. pTDefRegMap(@Self)^.&set := $00000008;
  35381. end;
  35382. procedure TPORTA_CNENA.clearCNIEA3; inline;
  35383. begin
  35384. pTDefRegMap(@Self)^.clr := $00000008;
  35385. end;
  35386. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  35387. begin
  35388. if thebits = 0 then
  35389. pTDefRegMap(@Self)^.clr := $00000008
  35390. else
  35391. pTDefRegMap(@Self)^.&set := $00000008;
  35392. end;
  35393. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  35394. begin
  35395. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35396. end;
  35397. procedure TPORTA_CNENA.setCNIEA4; inline;
  35398. begin
  35399. pTDefRegMap(@Self)^.&set := $00000010;
  35400. end;
  35401. procedure TPORTA_CNENA.clearCNIEA4; inline;
  35402. begin
  35403. pTDefRegMap(@Self)^.clr := $00000010;
  35404. end;
  35405. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  35406. begin
  35407. if thebits = 0 then
  35408. pTDefRegMap(@Self)^.clr := $00000010
  35409. else
  35410. pTDefRegMap(@Self)^.&set := $00000010;
  35411. end;
  35412. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  35413. begin
  35414. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35415. end;
  35416. procedure TPORTA_CNENA.setCNIEA7; inline;
  35417. begin
  35418. pTDefRegMap(@Self)^.&set := $00000080;
  35419. end;
  35420. procedure TPORTA_CNENA.clearCNIEA7; inline;
  35421. begin
  35422. pTDefRegMap(@Self)^.clr := $00000080;
  35423. end;
  35424. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  35425. begin
  35426. if thebits = 0 then
  35427. pTDefRegMap(@Self)^.clr := $00000080
  35428. else
  35429. pTDefRegMap(@Self)^.&set := $00000080;
  35430. end;
  35431. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  35432. begin
  35433. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35434. end;
  35435. procedure TPORTA_CNENA.setCNIEA8; inline;
  35436. begin
  35437. pTDefRegMap(@Self)^.&set := $00000100;
  35438. end;
  35439. procedure TPORTA_CNENA.clearCNIEA8; inline;
  35440. begin
  35441. pTDefRegMap(@Self)^.clr := $00000100;
  35442. end;
  35443. procedure TPORTA_CNENA.setCNIEA8(thebits : TBits_1); inline;
  35444. begin
  35445. if thebits = 0 then
  35446. pTDefRegMap(@Self)^.clr := $00000100
  35447. else
  35448. pTDefRegMap(@Self)^.&set := $00000100;
  35449. end;
  35450. function TPORTA_CNENA.getCNIEA8 : TBits_1; inline;
  35451. begin
  35452. getCNIEA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35453. end;
  35454. procedure TPORTA_CNENA.setCNIEA9; inline;
  35455. begin
  35456. pTDefRegMap(@Self)^.&set := $00000200;
  35457. end;
  35458. procedure TPORTA_CNENA.clearCNIEA9; inline;
  35459. begin
  35460. pTDefRegMap(@Self)^.clr := $00000200;
  35461. end;
  35462. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  35463. begin
  35464. if thebits = 0 then
  35465. pTDefRegMap(@Self)^.clr := $00000200
  35466. else
  35467. pTDefRegMap(@Self)^.&set := $00000200;
  35468. end;
  35469. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  35470. begin
  35471. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35472. end;
  35473. procedure TPORTA_CNENA.setCNIEA10; inline;
  35474. begin
  35475. pTDefRegMap(@Self)^.&set := $00000400;
  35476. end;
  35477. procedure TPORTA_CNENA.clearCNIEA10; inline;
  35478. begin
  35479. pTDefRegMap(@Self)^.clr := $00000400;
  35480. end;
  35481. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  35482. begin
  35483. if thebits = 0 then
  35484. pTDefRegMap(@Self)^.clr := $00000400
  35485. else
  35486. pTDefRegMap(@Self)^.&set := $00000400;
  35487. end;
  35488. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  35489. begin
  35490. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35491. end;
  35492. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  35493. begin
  35494. pTDefRegMap(@Self)^.val := thebits;
  35495. end;
  35496. function TPORTA_CNENA.getw : TBits_32; inline;
  35497. begin
  35498. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35499. end;
  35500. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  35501. begin
  35502. pTDefRegMap(@Self)^.&set := $00000001;
  35503. end;
  35504. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  35505. begin
  35506. pTDefRegMap(@Self)^.clr := $00000001;
  35507. end;
  35508. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  35509. begin
  35510. if thebits = 0 then
  35511. pTDefRegMap(@Self)^.clr := $00000001
  35512. else
  35513. pTDefRegMap(@Self)^.&set := $00000001;
  35514. end;
  35515. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  35516. begin
  35517. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35518. end;
  35519. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  35520. begin
  35521. pTDefRegMap(@Self)^.&set := $00000002;
  35522. end;
  35523. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  35524. begin
  35525. pTDefRegMap(@Self)^.clr := $00000002;
  35526. end;
  35527. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  35528. begin
  35529. if thebits = 0 then
  35530. pTDefRegMap(@Self)^.clr := $00000002
  35531. else
  35532. pTDefRegMap(@Self)^.&set := $00000002;
  35533. end;
  35534. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  35535. begin
  35536. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35537. end;
  35538. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  35539. begin
  35540. pTDefRegMap(@Self)^.&set := $00000004;
  35541. end;
  35542. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  35543. begin
  35544. pTDefRegMap(@Self)^.clr := $00000004;
  35545. end;
  35546. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  35547. begin
  35548. if thebits = 0 then
  35549. pTDefRegMap(@Self)^.clr := $00000004
  35550. else
  35551. pTDefRegMap(@Self)^.&set := $00000004;
  35552. end;
  35553. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  35554. begin
  35555. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35556. end;
  35557. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  35558. begin
  35559. pTDefRegMap(@Self)^.&set := $00000008;
  35560. end;
  35561. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  35562. begin
  35563. pTDefRegMap(@Self)^.clr := $00000008;
  35564. end;
  35565. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  35566. begin
  35567. if thebits = 0 then
  35568. pTDefRegMap(@Self)^.clr := $00000008
  35569. else
  35570. pTDefRegMap(@Self)^.&set := $00000008;
  35571. end;
  35572. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  35573. begin
  35574. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35575. end;
  35576. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  35577. begin
  35578. pTDefRegMap(@Self)^.&set := $00000010;
  35579. end;
  35580. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  35581. begin
  35582. pTDefRegMap(@Self)^.clr := $00000010;
  35583. end;
  35584. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  35585. begin
  35586. if thebits = 0 then
  35587. pTDefRegMap(@Self)^.clr := $00000010
  35588. else
  35589. pTDefRegMap(@Self)^.&set := $00000010;
  35590. end;
  35591. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  35592. begin
  35593. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35594. end;
  35595. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  35596. begin
  35597. pTDefRegMap(@Self)^.&set := $00000080;
  35598. end;
  35599. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  35600. begin
  35601. pTDefRegMap(@Self)^.clr := $00000080;
  35602. end;
  35603. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  35604. begin
  35605. if thebits = 0 then
  35606. pTDefRegMap(@Self)^.clr := $00000080
  35607. else
  35608. pTDefRegMap(@Self)^.&set := $00000080;
  35609. end;
  35610. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  35611. begin
  35612. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35613. end;
  35614. procedure TPORTA_CNSTATA.setCNSTATA8; inline;
  35615. begin
  35616. pTDefRegMap(@Self)^.&set := $00000100;
  35617. end;
  35618. procedure TPORTA_CNSTATA.clearCNSTATA8; inline;
  35619. begin
  35620. pTDefRegMap(@Self)^.clr := $00000100;
  35621. end;
  35622. procedure TPORTA_CNSTATA.setCNSTATA8(thebits : TBits_1); inline;
  35623. begin
  35624. if thebits = 0 then
  35625. pTDefRegMap(@Self)^.clr := $00000100
  35626. else
  35627. pTDefRegMap(@Self)^.&set := $00000100;
  35628. end;
  35629. function TPORTA_CNSTATA.getCNSTATA8 : TBits_1; inline;
  35630. begin
  35631. getCNSTATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35632. end;
  35633. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  35634. begin
  35635. pTDefRegMap(@Self)^.&set := $00000200;
  35636. end;
  35637. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  35638. begin
  35639. pTDefRegMap(@Self)^.clr := $00000200;
  35640. end;
  35641. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  35642. begin
  35643. if thebits = 0 then
  35644. pTDefRegMap(@Self)^.clr := $00000200
  35645. else
  35646. pTDefRegMap(@Self)^.&set := $00000200;
  35647. end;
  35648. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  35649. begin
  35650. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35651. end;
  35652. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  35653. begin
  35654. pTDefRegMap(@Self)^.&set := $00000400;
  35655. end;
  35656. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  35657. begin
  35658. pTDefRegMap(@Self)^.clr := $00000400;
  35659. end;
  35660. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  35661. begin
  35662. if thebits = 0 then
  35663. pTDefRegMap(@Self)^.clr := $00000400
  35664. else
  35665. pTDefRegMap(@Self)^.&set := $00000400;
  35666. end;
  35667. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  35668. begin
  35669. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35670. end;
  35671. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  35672. begin
  35673. pTDefRegMap(@Self)^.val := thebits;
  35674. end;
  35675. function TPORTA_CNSTATA.getw : TBits_32; inline;
  35676. begin
  35677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35678. end;
  35679. procedure TPORTB_ANSELB.setANSB0; inline;
  35680. begin
  35681. pTDefRegMap(@Self)^.&set := $00000001;
  35682. end;
  35683. procedure TPORTB_ANSELB.clearANSB0; inline;
  35684. begin
  35685. pTDefRegMap(@Self)^.clr := $00000001;
  35686. end;
  35687. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  35688. begin
  35689. if thebits = 0 then
  35690. pTDefRegMap(@Self)^.clr := $00000001
  35691. else
  35692. pTDefRegMap(@Self)^.&set := $00000001;
  35693. end;
  35694. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  35695. begin
  35696. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35697. end;
  35698. procedure TPORTB_ANSELB.setANSB1; inline;
  35699. begin
  35700. pTDefRegMap(@Self)^.&set := $00000002;
  35701. end;
  35702. procedure TPORTB_ANSELB.clearANSB1; inline;
  35703. begin
  35704. pTDefRegMap(@Self)^.clr := $00000002;
  35705. end;
  35706. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  35707. begin
  35708. if thebits = 0 then
  35709. pTDefRegMap(@Self)^.clr := $00000002
  35710. else
  35711. pTDefRegMap(@Self)^.&set := $00000002;
  35712. end;
  35713. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  35714. begin
  35715. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35716. end;
  35717. procedure TPORTB_ANSELB.setANSB2; inline;
  35718. begin
  35719. pTDefRegMap(@Self)^.&set := $00000004;
  35720. end;
  35721. procedure TPORTB_ANSELB.clearANSB2; inline;
  35722. begin
  35723. pTDefRegMap(@Self)^.clr := $00000004;
  35724. end;
  35725. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  35726. begin
  35727. if thebits = 0 then
  35728. pTDefRegMap(@Self)^.clr := $00000004
  35729. else
  35730. pTDefRegMap(@Self)^.&set := $00000004;
  35731. end;
  35732. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  35733. begin
  35734. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35735. end;
  35736. procedure TPORTB_ANSELB.setANSB3; inline;
  35737. begin
  35738. pTDefRegMap(@Self)^.&set := $00000008;
  35739. end;
  35740. procedure TPORTB_ANSELB.clearANSB3; inline;
  35741. begin
  35742. pTDefRegMap(@Self)^.clr := $00000008;
  35743. end;
  35744. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  35745. begin
  35746. if thebits = 0 then
  35747. pTDefRegMap(@Self)^.clr := $00000008
  35748. else
  35749. pTDefRegMap(@Self)^.&set := $00000008;
  35750. end;
  35751. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  35752. begin
  35753. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35754. end;
  35755. procedure TPORTB_ANSELB.setANSB13; inline;
  35756. begin
  35757. pTDefRegMap(@Self)^.&set := $00002000;
  35758. end;
  35759. procedure TPORTB_ANSELB.clearANSB13; inline;
  35760. begin
  35761. pTDefRegMap(@Self)^.clr := $00002000;
  35762. end;
  35763. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  35764. begin
  35765. if thebits = 0 then
  35766. pTDefRegMap(@Self)^.clr := $00002000
  35767. else
  35768. pTDefRegMap(@Self)^.&set := $00002000;
  35769. end;
  35770. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  35771. begin
  35772. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35773. end;
  35774. procedure TPORTB_ANSELB.setANSB14; inline;
  35775. begin
  35776. pTDefRegMap(@Self)^.&set := $00004000;
  35777. end;
  35778. procedure TPORTB_ANSELB.clearANSB14; inline;
  35779. begin
  35780. pTDefRegMap(@Self)^.clr := $00004000;
  35781. end;
  35782. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  35783. begin
  35784. if thebits = 0 then
  35785. pTDefRegMap(@Self)^.clr := $00004000
  35786. else
  35787. pTDefRegMap(@Self)^.&set := $00004000;
  35788. end;
  35789. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  35790. begin
  35791. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35792. end;
  35793. procedure TPORTB_ANSELB.setANSB15; inline;
  35794. begin
  35795. pTDefRegMap(@Self)^.&set := $00008000;
  35796. end;
  35797. procedure TPORTB_ANSELB.clearANSB15; inline;
  35798. begin
  35799. pTDefRegMap(@Self)^.clr := $00008000;
  35800. end;
  35801. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  35802. begin
  35803. if thebits = 0 then
  35804. pTDefRegMap(@Self)^.clr := $00008000
  35805. else
  35806. pTDefRegMap(@Self)^.&set := $00008000;
  35807. end;
  35808. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  35809. begin
  35810. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35811. end;
  35812. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  35813. begin
  35814. pTDefRegMap(@Self)^.val := thebits;
  35815. end;
  35816. function TPORTB_ANSELB.getw : TBits_32; inline;
  35817. begin
  35818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35819. end;
  35820. procedure TPORTB_TRISB.setTRISB0; inline;
  35821. begin
  35822. pTDefRegMap(@Self)^.&set := $00000001;
  35823. end;
  35824. procedure TPORTB_TRISB.clearTRISB0; inline;
  35825. begin
  35826. pTDefRegMap(@Self)^.clr := $00000001;
  35827. end;
  35828. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  35829. begin
  35830. if thebits = 0 then
  35831. pTDefRegMap(@Self)^.clr := $00000001
  35832. else
  35833. pTDefRegMap(@Self)^.&set := $00000001;
  35834. end;
  35835. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  35836. begin
  35837. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35838. end;
  35839. procedure TPORTB_TRISB.setTRISB1; inline;
  35840. begin
  35841. pTDefRegMap(@Self)^.&set := $00000002;
  35842. end;
  35843. procedure TPORTB_TRISB.clearTRISB1; inline;
  35844. begin
  35845. pTDefRegMap(@Self)^.clr := $00000002;
  35846. end;
  35847. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  35848. begin
  35849. if thebits = 0 then
  35850. pTDefRegMap(@Self)^.clr := $00000002
  35851. else
  35852. pTDefRegMap(@Self)^.&set := $00000002;
  35853. end;
  35854. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  35855. begin
  35856. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35857. end;
  35858. procedure TPORTB_TRISB.setTRISB2; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.&set := $00000004;
  35861. end;
  35862. procedure TPORTB_TRISB.clearTRISB2; inline;
  35863. begin
  35864. pTDefRegMap(@Self)^.clr := $00000004;
  35865. end;
  35866. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  35867. begin
  35868. if thebits = 0 then
  35869. pTDefRegMap(@Self)^.clr := $00000004
  35870. else
  35871. pTDefRegMap(@Self)^.&set := $00000004;
  35872. end;
  35873. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  35874. begin
  35875. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35876. end;
  35877. procedure TPORTB_TRISB.setTRISB3; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.&set := $00000008;
  35880. end;
  35881. procedure TPORTB_TRISB.clearTRISB3; inline;
  35882. begin
  35883. pTDefRegMap(@Self)^.clr := $00000008;
  35884. end;
  35885. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  35886. begin
  35887. if thebits = 0 then
  35888. pTDefRegMap(@Self)^.clr := $00000008
  35889. else
  35890. pTDefRegMap(@Self)^.&set := $00000008;
  35891. end;
  35892. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  35893. begin
  35894. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35895. end;
  35896. procedure TPORTB_TRISB.setTRISB4; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.&set := $00000010;
  35899. end;
  35900. procedure TPORTB_TRISB.clearTRISB4; inline;
  35901. begin
  35902. pTDefRegMap(@Self)^.clr := $00000010;
  35903. end;
  35904. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  35905. begin
  35906. if thebits = 0 then
  35907. pTDefRegMap(@Self)^.clr := $00000010
  35908. else
  35909. pTDefRegMap(@Self)^.&set := $00000010;
  35910. end;
  35911. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  35912. begin
  35913. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35914. end;
  35915. procedure TPORTB_TRISB.setTRISB5; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.&set := $00000020;
  35918. end;
  35919. procedure TPORTB_TRISB.clearTRISB5; inline;
  35920. begin
  35921. pTDefRegMap(@Self)^.clr := $00000020;
  35922. end;
  35923. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  35924. begin
  35925. if thebits = 0 then
  35926. pTDefRegMap(@Self)^.clr := $00000020
  35927. else
  35928. pTDefRegMap(@Self)^.&set := $00000020;
  35929. end;
  35930. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  35931. begin
  35932. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35933. end;
  35934. procedure TPORTB_TRISB.setTRISB7; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.&set := $00000080;
  35937. end;
  35938. procedure TPORTB_TRISB.clearTRISB7; inline;
  35939. begin
  35940. pTDefRegMap(@Self)^.clr := $00000080;
  35941. end;
  35942. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  35943. begin
  35944. if thebits = 0 then
  35945. pTDefRegMap(@Self)^.clr := $00000080
  35946. else
  35947. pTDefRegMap(@Self)^.&set := $00000080;
  35948. end;
  35949. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  35950. begin
  35951. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35952. end;
  35953. procedure TPORTB_TRISB.setTRISB8; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.&set := $00000100;
  35956. end;
  35957. procedure TPORTB_TRISB.clearTRISB8; inline;
  35958. begin
  35959. pTDefRegMap(@Self)^.clr := $00000100;
  35960. end;
  35961. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  35962. begin
  35963. if thebits = 0 then
  35964. pTDefRegMap(@Self)^.clr := $00000100
  35965. else
  35966. pTDefRegMap(@Self)^.&set := $00000100;
  35967. end;
  35968. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  35969. begin
  35970. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35971. end;
  35972. procedure TPORTB_TRISB.setTRISB9; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.&set := $00000200;
  35975. end;
  35976. procedure TPORTB_TRISB.clearTRISB9; inline;
  35977. begin
  35978. pTDefRegMap(@Self)^.clr := $00000200;
  35979. end;
  35980. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  35981. begin
  35982. if thebits = 0 then
  35983. pTDefRegMap(@Self)^.clr := $00000200
  35984. else
  35985. pTDefRegMap(@Self)^.&set := $00000200;
  35986. end;
  35987. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  35988. begin
  35989. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35990. end;
  35991. procedure TPORTB_TRISB.setTRISB10; inline;
  35992. begin
  35993. pTDefRegMap(@Self)^.&set := $00000400;
  35994. end;
  35995. procedure TPORTB_TRISB.clearTRISB10; inline;
  35996. begin
  35997. pTDefRegMap(@Self)^.clr := $00000400;
  35998. end;
  35999. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  36000. begin
  36001. if thebits = 0 then
  36002. pTDefRegMap(@Self)^.clr := $00000400
  36003. else
  36004. pTDefRegMap(@Self)^.&set := $00000400;
  36005. end;
  36006. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  36007. begin
  36008. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36009. end;
  36010. procedure TPORTB_TRISB.setTRISB11; inline;
  36011. begin
  36012. pTDefRegMap(@Self)^.&set := $00000800;
  36013. end;
  36014. procedure TPORTB_TRISB.clearTRISB11; inline;
  36015. begin
  36016. pTDefRegMap(@Self)^.clr := $00000800;
  36017. end;
  36018. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  36019. begin
  36020. if thebits = 0 then
  36021. pTDefRegMap(@Self)^.clr := $00000800
  36022. else
  36023. pTDefRegMap(@Self)^.&set := $00000800;
  36024. end;
  36025. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  36026. begin
  36027. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36028. end;
  36029. procedure TPORTB_TRISB.setTRISB13; inline;
  36030. begin
  36031. pTDefRegMap(@Self)^.&set := $00002000;
  36032. end;
  36033. procedure TPORTB_TRISB.clearTRISB13; inline;
  36034. begin
  36035. pTDefRegMap(@Self)^.clr := $00002000;
  36036. end;
  36037. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  36038. begin
  36039. if thebits = 0 then
  36040. pTDefRegMap(@Self)^.clr := $00002000
  36041. else
  36042. pTDefRegMap(@Self)^.&set := $00002000;
  36043. end;
  36044. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  36045. begin
  36046. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36047. end;
  36048. procedure TPORTB_TRISB.setTRISB14; inline;
  36049. begin
  36050. pTDefRegMap(@Self)^.&set := $00004000;
  36051. end;
  36052. procedure TPORTB_TRISB.clearTRISB14; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.clr := $00004000;
  36055. end;
  36056. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  36057. begin
  36058. if thebits = 0 then
  36059. pTDefRegMap(@Self)^.clr := $00004000
  36060. else
  36061. pTDefRegMap(@Self)^.&set := $00004000;
  36062. end;
  36063. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  36064. begin
  36065. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36066. end;
  36067. procedure TPORTB_TRISB.setTRISB15; inline;
  36068. begin
  36069. pTDefRegMap(@Self)^.&set := $00008000;
  36070. end;
  36071. procedure TPORTB_TRISB.clearTRISB15; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.clr := $00008000;
  36074. end;
  36075. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  36076. begin
  36077. if thebits = 0 then
  36078. pTDefRegMap(@Self)^.clr := $00008000
  36079. else
  36080. pTDefRegMap(@Self)^.&set := $00008000;
  36081. end;
  36082. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  36083. begin
  36084. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36085. end;
  36086. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  36087. begin
  36088. pTDefRegMap(@Self)^.val := thebits;
  36089. end;
  36090. function TPORTB_TRISB.getw : TBits_32; inline;
  36091. begin
  36092. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36093. end;
  36094. procedure TPORTB_PORTB.setRB0; inline;
  36095. begin
  36096. pTDefRegMap(@Self)^.&set := $00000001;
  36097. end;
  36098. procedure TPORTB_PORTB.clearRB0; inline;
  36099. begin
  36100. pTDefRegMap(@Self)^.clr := $00000001;
  36101. end;
  36102. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  36103. begin
  36104. if thebits = 0 then
  36105. pTDefRegMap(@Self)^.clr := $00000001
  36106. else
  36107. pTDefRegMap(@Self)^.&set := $00000001;
  36108. end;
  36109. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  36110. begin
  36111. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36112. end;
  36113. procedure TPORTB_PORTB.setRB1; inline;
  36114. begin
  36115. pTDefRegMap(@Self)^.&set := $00000002;
  36116. end;
  36117. procedure TPORTB_PORTB.clearRB1; inline;
  36118. begin
  36119. pTDefRegMap(@Self)^.clr := $00000002;
  36120. end;
  36121. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  36122. begin
  36123. if thebits = 0 then
  36124. pTDefRegMap(@Self)^.clr := $00000002
  36125. else
  36126. pTDefRegMap(@Self)^.&set := $00000002;
  36127. end;
  36128. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  36129. begin
  36130. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36131. end;
  36132. procedure TPORTB_PORTB.setRB2; inline;
  36133. begin
  36134. pTDefRegMap(@Self)^.&set := $00000004;
  36135. end;
  36136. procedure TPORTB_PORTB.clearRB2; inline;
  36137. begin
  36138. pTDefRegMap(@Self)^.clr := $00000004;
  36139. end;
  36140. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  36141. begin
  36142. if thebits = 0 then
  36143. pTDefRegMap(@Self)^.clr := $00000004
  36144. else
  36145. pTDefRegMap(@Self)^.&set := $00000004;
  36146. end;
  36147. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  36148. begin
  36149. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36150. end;
  36151. procedure TPORTB_PORTB.setRB3; inline;
  36152. begin
  36153. pTDefRegMap(@Self)^.&set := $00000008;
  36154. end;
  36155. procedure TPORTB_PORTB.clearRB3; inline;
  36156. begin
  36157. pTDefRegMap(@Self)^.clr := $00000008;
  36158. end;
  36159. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  36160. begin
  36161. if thebits = 0 then
  36162. pTDefRegMap(@Self)^.clr := $00000008
  36163. else
  36164. pTDefRegMap(@Self)^.&set := $00000008;
  36165. end;
  36166. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  36167. begin
  36168. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36169. end;
  36170. procedure TPORTB_PORTB.setRB4; inline;
  36171. begin
  36172. pTDefRegMap(@Self)^.&set := $00000010;
  36173. end;
  36174. procedure TPORTB_PORTB.clearRB4; inline;
  36175. begin
  36176. pTDefRegMap(@Self)^.clr := $00000010;
  36177. end;
  36178. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  36179. begin
  36180. if thebits = 0 then
  36181. pTDefRegMap(@Self)^.clr := $00000010
  36182. else
  36183. pTDefRegMap(@Self)^.&set := $00000010;
  36184. end;
  36185. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  36186. begin
  36187. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36188. end;
  36189. procedure TPORTB_PORTB.setRB5; inline;
  36190. begin
  36191. pTDefRegMap(@Self)^.&set := $00000020;
  36192. end;
  36193. procedure TPORTB_PORTB.clearRB5; inline;
  36194. begin
  36195. pTDefRegMap(@Self)^.clr := $00000020;
  36196. end;
  36197. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  36198. begin
  36199. if thebits = 0 then
  36200. pTDefRegMap(@Self)^.clr := $00000020
  36201. else
  36202. pTDefRegMap(@Self)^.&set := $00000020;
  36203. end;
  36204. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  36205. begin
  36206. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36207. end;
  36208. procedure TPORTB_PORTB.setRB7; inline;
  36209. begin
  36210. pTDefRegMap(@Self)^.&set := $00000080;
  36211. end;
  36212. procedure TPORTB_PORTB.clearRB7; inline;
  36213. begin
  36214. pTDefRegMap(@Self)^.clr := $00000080;
  36215. end;
  36216. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  36217. begin
  36218. if thebits = 0 then
  36219. pTDefRegMap(@Self)^.clr := $00000080
  36220. else
  36221. pTDefRegMap(@Self)^.&set := $00000080;
  36222. end;
  36223. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  36224. begin
  36225. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36226. end;
  36227. procedure TPORTB_PORTB.setRB8; inline;
  36228. begin
  36229. pTDefRegMap(@Self)^.&set := $00000100;
  36230. end;
  36231. procedure TPORTB_PORTB.clearRB8; inline;
  36232. begin
  36233. pTDefRegMap(@Self)^.clr := $00000100;
  36234. end;
  36235. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  36236. begin
  36237. if thebits = 0 then
  36238. pTDefRegMap(@Self)^.clr := $00000100
  36239. else
  36240. pTDefRegMap(@Self)^.&set := $00000100;
  36241. end;
  36242. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  36243. begin
  36244. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36245. end;
  36246. procedure TPORTB_PORTB.setRB9; inline;
  36247. begin
  36248. pTDefRegMap(@Self)^.&set := $00000200;
  36249. end;
  36250. procedure TPORTB_PORTB.clearRB9; inline;
  36251. begin
  36252. pTDefRegMap(@Self)^.clr := $00000200;
  36253. end;
  36254. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  36255. begin
  36256. if thebits = 0 then
  36257. pTDefRegMap(@Self)^.clr := $00000200
  36258. else
  36259. pTDefRegMap(@Self)^.&set := $00000200;
  36260. end;
  36261. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  36262. begin
  36263. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36264. end;
  36265. procedure TPORTB_PORTB.setRB10; inline;
  36266. begin
  36267. pTDefRegMap(@Self)^.&set := $00000400;
  36268. end;
  36269. procedure TPORTB_PORTB.clearRB10; inline;
  36270. begin
  36271. pTDefRegMap(@Self)^.clr := $00000400;
  36272. end;
  36273. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  36274. begin
  36275. if thebits = 0 then
  36276. pTDefRegMap(@Self)^.clr := $00000400
  36277. else
  36278. pTDefRegMap(@Self)^.&set := $00000400;
  36279. end;
  36280. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  36281. begin
  36282. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36283. end;
  36284. procedure TPORTB_PORTB.setRB11; inline;
  36285. begin
  36286. pTDefRegMap(@Self)^.&set := $00000800;
  36287. end;
  36288. procedure TPORTB_PORTB.clearRB11; inline;
  36289. begin
  36290. pTDefRegMap(@Self)^.clr := $00000800;
  36291. end;
  36292. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  36293. begin
  36294. if thebits = 0 then
  36295. pTDefRegMap(@Self)^.clr := $00000800
  36296. else
  36297. pTDefRegMap(@Self)^.&set := $00000800;
  36298. end;
  36299. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  36300. begin
  36301. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36302. end;
  36303. procedure TPORTB_PORTB.setRB13; inline;
  36304. begin
  36305. pTDefRegMap(@Self)^.&set := $00002000;
  36306. end;
  36307. procedure TPORTB_PORTB.clearRB13; inline;
  36308. begin
  36309. pTDefRegMap(@Self)^.clr := $00002000;
  36310. end;
  36311. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  36312. begin
  36313. if thebits = 0 then
  36314. pTDefRegMap(@Self)^.clr := $00002000
  36315. else
  36316. pTDefRegMap(@Self)^.&set := $00002000;
  36317. end;
  36318. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  36319. begin
  36320. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36321. end;
  36322. procedure TPORTB_PORTB.setRB14; inline;
  36323. begin
  36324. pTDefRegMap(@Self)^.&set := $00004000;
  36325. end;
  36326. procedure TPORTB_PORTB.clearRB14; inline;
  36327. begin
  36328. pTDefRegMap(@Self)^.clr := $00004000;
  36329. end;
  36330. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  36331. begin
  36332. if thebits = 0 then
  36333. pTDefRegMap(@Self)^.clr := $00004000
  36334. else
  36335. pTDefRegMap(@Self)^.&set := $00004000;
  36336. end;
  36337. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  36338. begin
  36339. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36340. end;
  36341. procedure TPORTB_PORTB.setRB15; inline;
  36342. begin
  36343. pTDefRegMap(@Self)^.&set := $00008000;
  36344. end;
  36345. procedure TPORTB_PORTB.clearRB15; inline;
  36346. begin
  36347. pTDefRegMap(@Self)^.clr := $00008000;
  36348. end;
  36349. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  36350. begin
  36351. if thebits = 0 then
  36352. pTDefRegMap(@Self)^.clr := $00008000
  36353. else
  36354. pTDefRegMap(@Self)^.&set := $00008000;
  36355. end;
  36356. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  36357. begin
  36358. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36359. end;
  36360. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  36361. begin
  36362. pTDefRegMap(@Self)^.val := thebits;
  36363. end;
  36364. function TPORTB_PORTB.getw : TBits_32; inline;
  36365. begin
  36366. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36367. end;
  36368. procedure TPORTB_LATB.setLATB0; inline;
  36369. begin
  36370. pTDefRegMap(@Self)^.&set := $00000001;
  36371. end;
  36372. procedure TPORTB_LATB.clearLATB0; inline;
  36373. begin
  36374. pTDefRegMap(@Self)^.clr := $00000001;
  36375. end;
  36376. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  36377. begin
  36378. if thebits = 0 then
  36379. pTDefRegMap(@Self)^.clr := $00000001
  36380. else
  36381. pTDefRegMap(@Self)^.&set := $00000001;
  36382. end;
  36383. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  36384. begin
  36385. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36386. end;
  36387. procedure TPORTB_LATB.setLATB1; inline;
  36388. begin
  36389. pTDefRegMap(@Self)^.&set := $00000002;
  36390. end;
  36391. procedure TPORTB_LATB.clearLATB1; inline;
  36392. begin
  36393. pTDefRegMap(@Self)^.clr := $00000002;
  36394. end;
  36395. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  36396. begin
  36397. if thebits = 0 then
  36398. pTDefRegMap(@Self)^.clr := $00000002
  36399. else
  36400. pTDefRegMap(@Self)^.&set := $00000002;
  36401. end;
  36402. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  36403. begin
  36404. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36405. end;
  36406. procedure TPORTB_LATB.setLATB2; inline;
  36407. begin
  36408. pTDefRegMap(@Self)^.&set := $00000004;
  36409. end;
  36410. procedure TPORTB_LATB.clearLATB2; inline;
  36411. begin
  36412. pTDefRegMap(@Self)^.clr := $00000004;
  36413. end;
  36414. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  36415. begin
  36416. if thebits = 0 then
  36417. pTDefRegMap(@Self)^.clr := $00000004
  36418. else
  36419. pTDefRegMap(@Self)^.&set := $00000004;
  36420. end;
  36421. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  36422. begin
  36423. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36424. end;
  36425. procedure TPORTB_LATB.setLATB3; inline;
  36426. begin
  36427. pTDefRegMap(@Self)^.&set := $00000008;
  36428. end;
  36429. procedure TPORTB_LATB.clearLATB3; inline;
  36430. begin
  36431. pTDefRegMap(@Self)^.clr := $00000008;
  36432. end;
  36433. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  36434. begin
  36435. if thebits = 0 then
  36436. pTDefRegMap(@Self)^.clr := $00000008
  36437. else
  36438. pTDefRegMap(@Self)^.&set := $00000008;
  36439. end;
  36440. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  36441. begin
  36442. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36443. end;
  36444. procedure TPORTB_LATB.setLATB4; inline;
  36445. begin
  36446. pTDefRegMap(@Self)^.&set := $00000010;
  36447. end;
  36448. procedure TPORTB_LATB.clearLATB4; inline;
  36449. begin
  36450. pTDefRegMap(@Self)^.clr := $00000010;
  36451. end;
  36452. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  36453. begin
  36454. if thebits = 0 then
  36455. pTDefRegMap(@Self)^.clr := $00000010
  36456. else
  36457. pTDefRegMap(@Self)^.&set := $00000010;
  36458. end;
  36459. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  36460. begin
  36461. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36462. end;
  36463. procedure TPORTB_LATB.setLATB5; inline;
  36464. begin
  36465. pTDefRegMap(@Self)^.&set := $00000020;
  36466. end;
  36467. procedure TPORTB_LATB.clearLATB5; inline;
  36468. begin
  36469. pTDefRegMap(@Self)^.clr := $00000020;
  36470. end;
  36471. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  36472. begin
  36473. if thebits = 0 then
  36474. pTDefRegMap(@Self)^.clr := $00000020
  36475. else
  36476. pTDefRegMap(@Self)^.&set := $00000020;
  36477. end;
  36478. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  36479. begin
  36480. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36481. end;
  36482. procedure TPORTB_LATB.setLATB7; inline;
  36483. begin
  36484. pTDefRegMap(@Self)^.&set := $00000080;
  36485. end;
  36486. procedure TPORTB_LATB.clearLATB7; inline;
  36487. begin
  36488. pTDefRegMap(@Self)^.clr := $00000080;
  36489. end;
  36490. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  36491. begin
  36492. if thebits = 0 then
  36493. pTDefRegMap(@Self)^.clr := $00000080
  36494. else
  36495. pTDefRegMap(@Self)^.&set := $00000080;
  36496. end;
  36497. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  36498. begin
  36499. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36500. end;
  36501. procedure TPORTB_LATB.setLATB8; inline;
  36502. begin
  36503. pTDefRegMap(@Self)^.&set := $00000100;
  36504. end;
  36505. procedure TPORTB_LATB.clearLATB8; inline;
  36506. begin
  36507. pTDefRegMap(@Self)^.clr := $00000100;
  36508. end;
  36509. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  36510. begin
  36511. if thebits = 0 then
  36512. pTDefRegMap(@Self)^.clr := $00000100
  36513. else
  36514. pTDefRegMap(@Self)^.&set := $00000100;
  36515. end;
  36516. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  36517. begin
  36518. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36519. end;
  36520. procedure TPORTB_LATB.setLATB9; inline;
  36521. begin
  36522. pTDefRegMap(@Self)^.&set := $00000200;
  36523. end;
  36524. procedure TPORTB_LATB.clearLATB9; inline;
  36525. begin
  36526. pTDefRegMap(@Self)^.clr := $00000200;
  36527. end;
  36528. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  36529. begin
  36530. if thebits = 0 then
  36531. pTDefRegMap(@Self)^.clr := $00000200
  36532. else
  36533. pTDefRegMap(@Self)^.&set := $00000200;
  36534. end;
  36535. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  36536. begin
  36537. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36538. end;
  36539. procedure TPORTB_LATB.setLATB10; inline;
  36540. begin
  36541. pTDefRegMap(@Self)^.&set := $00000400;
  36542. end;
  36543. procedure TPORTB_LATB.clearLATB10; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.clr := $00000400;
  36546. end;
  36547. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  36548. begin
  36549. if thebits = 0 then
  36550. pTDefRegMap(@Self)^.clr := $00000400
  36551. else
  36552. pTDefRegMap(@Self)^.&set := $00000400;
  36553. end;
  36554. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  36555. begin
  36556. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36557. end;
  36558. procedure TPORTB_LATB.setLATB11; inline;
  36559. begin
  36560. pTDefRegMap(@Self)^.&set := $00000800;
  36561. end;
  36562. procedure TPORTB_LATB.clearLATB11; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.clr := $00000800;
  36565. end;
  36566. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  36567. begin
  36568. if thebits = 0 then
  36569. pTDefRegMap(@Self)^.clr := $00000800
  36570. else
  36571. pTDefRegMap(@Self)^.&set := $00000800;
  36572. end;
  36573. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  36574. begin
  36575. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36576. end;
  36577. procedure TPORTB_LATB.setLATB13; inline;
  36578. begin
  36579. pTDefRegMap(@Self)^.&set := $00002000;
  36580. end;
  36581. procedure TPORTB_LATB.clearLATB13; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.clr := $00002000;
  36584. end;
  36585. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  36586. begin
  36587. if thebits = 0 then
  36588. pTDefRegMap(@Self)^.clr := $00002000
  36589. else
  36590. pTDefRegMap(@Self)^.&set := $00002000;
  36591. end;
  36592. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  36593. begin
  36594. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36595. end;
  36596. procedure TPORTB_LATB.setLATB14; inline;
  36597. begin
  36598. pTDefRegMap(@Self)^.&set := $00004000;
  36599. end;
  36600. procedure TPORTB_LATB.clearLATB14; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.clr := $00004000;
  36603. end;
  36604. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  36605. begin
  36606. if thebits = 0 then
  36607. pTDefRegMap(@Self)^.clr := $00004000
  36608. else
  36609. pTDefRegMap(@Self)^.&set := $00004000;
  36610. end;
  36611. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  36612. begin
  36613. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36614. end;
  36615. procedure TPORTB_LATB.setLATB15; inline;
  36616. begin
  36617. pTDefRegMap(@Self)^.&set := $00008000;
  36618. end;
  36619. procedure TPORTB_LATB.clearLATB15; inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.clr := $00008000;
  36622. end;
  36623. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  36624. begin
  36625. if thebits = 0 then
  36626. pTDefRegMap(@Self)^.clr := $00008000
  36627. else
  36628. pTDefRegMap(@Self)^.&set := $00008000;
  36629. end;
  36630. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  36631. begin
  36632. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36633. end;
  36634. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  36635. begin
  36636. pTDefRegMap(@Self)^.val := thebits;
  36637. end;
  36638. function TPORTB_LATB.getw : TBits_32; inline;
  36639. begin
  36640. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36641. end;
  36642. procedure TPORTB_ODCB.setODCB4; inline;
  36643. begin
  36644. pTDefRegMap(@Self)^.&set := $00000010;
  36645. end;
  36646. procedure TPORTB_ODCB.clearODCB4; inline;
  36647. begin
  36648. pTDefRegMap(@Self)^.clr := $00000010;
  36649. end;
  36650. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  36651. begin
  36652. if thebits = 0 then
  36653. pTDefRegMap(@Self)^.clr := $00000010
  36654. else
  36655. pTDefRegMap(@Self)^.&set := $00000010;
  36656. end;
  36657. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  36658. begin
  36659. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36660. end;
  36661. procedure TPORTB_ODCB.setODCB5; inline;
  36662. begin
  36663. pTDefRegMap(@Self)^.&set := $00000020;
  36664. end;
  36665. procedure TPORTB_ODCB.clearODCB5; inline;
  36666. begin
  36667. pTDefRegMap(@Self)^.clr := $00000020;
  36668. end;
  36669. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  36670. begin
  36671. if thebits = 0 then
  36672. pTDefRegMap(@Self)^.clr := $00000020
  36673. else
  36674. pTDefRegMap(@Self)^.&set := $00000020;
  36675. end;
  36676. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  36677. begin
  36678. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36679. end;
  36680. procedure TPORTB_ODCB.setODCB7; inline;
  36681. begin
  36682. pTDefRegMap(@Self)^.&set := $00000080;
  36683. end;
  36684. procedure TPORTB_ODCB.clearODCB7; inline;
  36685. begin
  36686. pTDefRegMap(@Self)^.clr := $00000080;
  36687. end;
  36688. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  36689. begin
  36690. if thebits = 0 then
  36691. pTDefRegMap(@Self)^.clr := $00000080
  36692. else
  36693. pTDefRegMap(@Self)^.&set := $00000080;
  36694. end;
  36695. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  36696. begin
  36697. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36698. end;
  36699. procedure TPORTB_ODCB.setODCB8; inline;
  36700. begin
  36701. pTDefRegMap(@Self)^.&set := $00000100;
  36702. end;
  36703. procedure TPORTB_ODCB.clearODCB8; inline;
  36704. begin
  36705. pTDefRegMap(@Self)^.clr := $00000100;
  36706. end;
  36707. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  36708. begin
  36709. if thebits = 0 then
  36710. pTDefRegMap(@Self)^.clr := $00000100
  36711. else
  36712. pTDefRegMap(@Self)^.&set := $00000100;
  36713. end;
  36714. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  36715. begin
  36716. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36717. end;
  36718. procedure TPORTB_ODCB.setODCB9; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.&set := $00000200;
  36721. end;
  36722. procedure TPORTB_ODCB.clearODCB9; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.clr := $00000200;
  36725. end;
  36726. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  36727. begin
  36728. if thebits = 0 then
  36729. pTDefRegMap(@Self)^.clr := $00000200
  36730. else
  36731. pTDefRegMap(@Self)^.&set := $00000200;
  36732. end;
  36733. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  36734. begin
  36735. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36736. end;
  36737. procedure TPORTB_ODCB.setODCB10; inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.&set := $00000400;
  36740. end;
  36741. procedure TPORTB_ODCB.clearODCB10; inline;
  36742. begin
  36743. pTDefRegMap(@Self)^.clr := $00000400;
  36744. end;
  36745. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  36746. begin
  36747. if thebits = 0 then
  36748. pTDefRegMap(@Self)^.clr := $00000400
  36749. else
  36750. pTDefRegMap(@Self)^.&set := $00000400;
  36751. end;
  36752. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  36753. begin
  36754. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36755. end;
  36756. procedure TPORTB_ODCB.setODCB11; inline;
  36757. begin
  36758. pTDefRegMap(@Self)^.&set := $00000800;
  36759. end;
  36760. procedure TPORTB_ODCB.clearODCB11; inline;
  36761. begin
  36762. pTDefRegMap(@Self)^.clr := $00000800;
  36763. end;
  36764. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  36765. begin
  36766. if thebits = 0 then
  36767. pTDefRegMap(@Self)^.clr := $00000800
  36768. else
  36769. pTDefRegMap(@Self)^.&set := $00000800;
  36770. end;
  36771. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  36772. begin
  36773. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36774. end;
  36775. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  36776. begin
  36777. pTDefRegMap(@Self)^.val := thebits;
  36778. end;
  36779. function TPORTB_ODCB.getw : TBits_32; inline;
  36780. begin
  36781. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36782. end;
  36783. procedure TPORTB_CNPUB.setCNPUB0; inline;
  36784. begin
  36785. pTDefRegMap(@Self)^.&set := $00000001;
  36786. end;
  36787. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  36788. begin
  36789. pTDefRegMap(@Self)^.clr := $00000001;
  36790. end;
  36791. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  36792. begin
  36793. if thebits = 0 then
  36794. pTDefRegMap(@Self)^.clr := $00000001
  36795. else
  36796. pTDefRegMap(@Self)^.&set := $00000001;
  36797. end;
  36798. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  36799. begin
  36800. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36801. end;
  36802. procedure TPORTB_CNPUB.setCNPUB1; inline;
  36803. begin
  36804. pTDefRegMap(@Self)^.&set := $00000002;
  36805. end;
  36806. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  36807. begin
  36808. pTDefRegMap(@Self)^.clr := $00000002;
  36809. end;
  36810. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  36811. begin
  36812. if thebits = 0 then
  36813. pTDefRegMap(@Self)^.clr := $00000002
  36814. else
  36815. pTDefRegMap(@Self)^.&set := $00000002;
  36816. end;
  36817. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  36818. begin
  36819. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36820. end;
  36821. procedure TPORTB_CNPUB.setCNPUB2; inline;
  36822. begin
  36823. pTDefRegMap(@Self)^.&set := $00000004;
  36824. end;
  36825. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  36826. begin
  36827. pTDefRegMap(@Self)^.clr := $00000004;
  36828. end;
  36829. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  36830. begin
  36831. if thebits = 0 then
  36832. pTDefRegMap(@Self)^.clr := $00000004
  36833. else
  36834. pTDefRegMap(@Self)^.&set := $00000004;
  36835. end;
  36836. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  36837. begin
  36838. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36839. end;
  36840. procedure TPORTB_CNPUB.setCNPUB3; inline;
  36841. begin
  36842. pTDefRegMap(@Self)^.&set := $00000008;
  36843. end;
  36844. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  36845. begin
  36846. pTDefRegMap(@Self)^.clr := $00000008;
  36847. end;
  36848. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  36849. begin
  36850. if thebits = 0 then
  36851. pTDefRegMap(@Self)^.clr := $00000008
  36852. else
  36853. pTDefRegMap(@Self)^.&set := $00000008;
  36854. end;
  36855. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  36856. begin
  36857. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36858. end;
  36859. procedure TPORTB_CNPUB.setCNPUB4; inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.&set := $00000010;
  36862. end;
  36863. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  36864. begin
  36865. pTDefRegMap(@Self)^.clr := $00000010;
  36866. end;
  36867. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  36868. begin
  36869. if thebits = 0 then
  36870. pTDefRegMap(@Self)^.clr := $00000010
  36871. else
  36872. pTDefRegMap(@Self)^.&set := $00000010;
  36873. end;
  36874. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  36875. begin
  36876. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36877. end;
  36878. procedure TPORTB_CNPUB.setCNPUB5; inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.&set := $00000020;
  36881. end;
  36882. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  36883. begin
  36884. pTDefRegMap(@Self)^.clr := $00000020;
  36885. end;
  36886. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  36887. begin
  36888. if thebits = 0 then
  36889. pTDefRegMap(@Self)^.clr := $00000020
  36890. else
  36891. pTDefRegMap(@Self)^.&set := $00000020;
  36892. end;
  36893. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  36894. begin
  36895. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36896. end;
  36897. procedure TPORTB_CNPUB.setCNPUB7; inline;
  36898. begin
  36899. pTDefRegMap(@Self)^.&set := $00000080;
  36900. end;
  36901. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  36902. begin
  36903. pTDefRegMap(@Self)^.clr := $00000080;
  36904. end;
  36905. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  36906. begin
  36907. if thebits = 0 then
  36908. pTDefRegMap(@Self)^.clr := $00000080
  36909. else
  36910. pTDefRegMap(@Self)^.&set := $00000080;
  36911. end;
  36912. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  36913. begin
  36914. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36915. end;
  36916. procedure TPORTB_CNPUB.setCNPUB8; inline;
  36917. begin
  36918. pTDefRegMap(@Self)^.&set := $00000100;
  36919. end;
  36920. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  36921. begin
  36922. pTDefRegMap(@Self)^.clr := $00000100;
  36923. end;
  36924. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  36925. begin
  36926. if thebits = 0 then
  36927. pTDefRegMap(@Self)^.clr := $00000100
  36928. else
  36929. pTDefRegMap(@Self)^.&set := $00000100;
  36930. end;
  36931. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  36932. begin
  36933. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36934. end;
  36935. procedure TPORTB_CNPUB.setCNPUB9; inline;
  36936. begin
  36937. pTDefRegMap(@Self)^.&set := $00000200;
  36938. end;
  36939. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  36940. begin
  36941. pTDefRegMap(@Self)^.clr := $00000200;
  36942. end;
  36943. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  36944. begin
  36945. if thebits = 0 then
  36946. pTDefRegMap(@Self)^.clr := $00000200
  36947. else
  36948. pTDefRegMap(@Self)^.&set := $00000200;
  36949. end;
  36950. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  36951. begin
  36952. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36953. end;
  36954. procedure TPORTB_CNPUB.setCNPUB10; inline;
  36955. begin
  36956. pTDefRegMap(@Self)^.&set := $00000400;
  36957. end;
  36958. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  36959. begin
  36960. pTDefRegMap(@Self)^.clr := $00000400;
  36961. end;
  36962. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  36963. begin
  36964. if thebits = 0 then
  36965. pTDefRegMap(@Self)^.clr := $00000400
  36966. else
  36967. pTDefRegMap(@Self)^.&set := $00000400;
  36968. end;
  36969. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  36970. begin
  36971. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36972. end;
  36973. procedure TPORTB_CNPUB.setCNPUB11; inline;
  36974. begin
  36975. pTDefRegMap(@Self)^.&set := $00000800;
  36976. end;
  36977. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  36978. begin
  36979. pTDefRegMap(@Self)^.clr := $00000800;
  36980. end;
  36981. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  36982. begin
  36983. if thebits = 0 then
  36984. pTDefRegMap(@Self)^.clr := $00000800
  36985. else
  36986. pTDefRegMap(@Self)^.&set := $00000800;
  36987. end;
  36988. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  36989. begin
  36990. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36991. end;
  36992. procedure TPORTB_CNPUB.setCNPUB13; inline;
  36993. begin
  36994. pTDefRegMap(@Self)^.&set := $00002000;
  36995. end;
  36996. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  36997. begin
  36998. pTDefRegMap(@Self)^.clr := $00002000;
  36999. end;
  37000. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  37001. begin
  37002. if thebits = 0 then
  37003. pTDefRegMap(@Self)^.clr := $00002000
  37004. else
  37005. pTDefRegMap(@Self)^.&set := $00002000;
  37006. end;
  37007. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  37008. begin
  37009. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37010. end;
  37011. procedure TPORTB_CNPUB.setCNPUB14; inline;
  37012. begin
  37013. pTDefRegMap(@Self)^.&set := $00004000;
  37014. end;
  37015. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  37016. begin
  37017. pTDefRegMap(@Self)^.clr := $00004000;
  37018. end;
  37019. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  37020. begin
  37021. if thebits = 0 then
  37022. pTDefRegMap(@Self)^.clr := $00004000
  37023. else
  37024. pTDefRegMap(@Self)^.&set := $00004000;
  37025. end;
  37026. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  37027. begin
  37028. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37029. end;
  37030. procedure TPORTB_CNPUB.setCNPUB15; inline;
  37031. begin
  37032. pTDefRegMap(@Self)^.&set := $00008000;
  37033. end;
  37034. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  37035. begin
  37036. pTDefRegMap(@Self)^.clr := $00008000;
  37037. end;
  37038. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  37039. begin
  37040. if thebits = 0 then
  37041. pTDefRegMap(@Self)^.clr := $00008000
  37042. else
  37043. pTDefRegMap(@Self)^.&set := $00008000;
  37044. end;
  37045. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  37046. begin
  37047. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37048. end;
  37049. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  37050. begin
  37051. pTDefRegMap(@Self)^.val := thebits;
  37052. end;
  37053. function TPORTB_CNPUB.getw : TBits_32; inline;
  37054. begin
  37055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37056. end;
  37057. procedure TPORTB_CNPDB.setCNPDB0; inline;
  37058. begin
  37059. pTDefRegMap(@Self)^.&set := $00000001;
  37060. end;
  37061. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  37062. begin
  37063. pTDefRegMap(@Self)^.clr := $00000001;
  37064. end;
  37065. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  37066. begin
  37067. if thebits = 0 then
  37068. pTDefRegMap(@Self)^.clr := $00000001
  37069. else
  37070. pTDefRegMap(@Self)^.&set := $00000001;
  37071. end;
  37072. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  37073. begin
  37074. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37075. end;
  37076. procedure TPORTB_CNPDB.setCNPDB1; inline;
  37077. begin
  37078. pTDefRegMap(@Self)^.&set := $00000002;
  37079. end;
  37080. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  37081. begin
  37082. pTDefRegMap(@Self)^.clr := $00000002;
  37083. end;
  37084. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  37085. begin
  37086. if thebits = 0 then
  37087. pTDefRegMap(@Self)^.clr := $00000002
  37088. else
  37089. pTDefRegMap(@Self)^.&set := $00000002;
  37090. end;
  37091. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  37092. begin
  37093. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37094. end;
  37095. procedure TPORTB_CNPDB.setCNPDB2; inline;
  37096. begin
  37097. pTDefRegMap(@Self)^.&set := $00000004;
  37098. end;
  37099. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  37100. begin
  37101. pTDefRegMap(@Self)^.clr := $00000004;
  37102. end;
  37103. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  37104. begin
  37105. if thebits = 0 then
  37106. pTDefRegMap(@Self)^.clr := $00000004
  37107. else
  37108. pTDefRegMap(@Self)^.&set := $00000004;
  37109. end;
  37110. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  37111. begin
  37112. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37113. end;
  37114. procedure TPORTB_CNPDB.setCNPDB3; inline;
  37115. begin
  37116. pTDefRegMap(@Self)^.&set := $00000008;
  37117. end;
  37118. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  37119. begin
  37120. pTDefRegMap(@Self)^.clr := $00000008;
  37121. end;
  37122. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  37123. begin
  37124. if thebits = 0 then
  37125. pTDefRegMap(@Self)^.clr := $00000008
  37126. else
  37127. pTDefRegMap(@Self)^.&set := $00000008;
  37128. end;
  37129. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  37130. begin
  37131. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37132. end;
  37133. procedure TPORTB_CNPDB.setCNPDB4; inline;
  37134. begin
  37135. pTDefRegMap(@Self)^.&set := $00000010;
  37136. end;
  37137. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  37138. begin
  37139. pTDefRegMap(@Self)^.clr := $00000010;
  37140. end;
  37141. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  37142. begin
  37143. if thebits = 0 then
  37144. pTDefRegMap(@Self)^.clr := $00000010
  37145. else
  37146. pTDefRegMap(@Self)^.&set := $00000010;
  37147. end;
  37148. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  37149. begin
  37150. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37151. end;
  37152. procedure TPORTB_CNPDB.setCNPDB5; inline;
  37153. begin
  37154. pTDefRegMap(@Self)^.&set := $00000020;
  37155. end;
  37156. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  37157. begin
  37158. pTDefRegMap(@Self)^.clr := $00000020;
  37159. end;
  37160. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  37161. begin
  37162. if thebits = 0 then
  37163. pTDefRegMap(@Self)^.clr := $00000020
  37164. else
  37165. pTDefRegMap(@Self)^.&set := $00000020;
  37166. end;
  37167. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  37168. begin
  37169. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37170. end;
  37171. procedure TPORTB_CNPDB.setCNPDB7; inline;
  37172. begin
  37173. pTDefRegMap(@Self)^.&set := $00000080;
  37174. end;
  37175. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  37176. begin
  37177. pTDefRegMap(@Self)^.clr := $00000080;
  37178. end;
  37179. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  37180. begin
  37181. if thebits = 0 then
  37182. pTDefRegMap(@Self)^.clr := $00000080
  37183. else
  37184. pTDefRegMap(@Self)^.&set := $00000080;
  37185. end;
  37186. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  37187. begin
  37188. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37189. end;
  37190. procedure TPORTB_CNPDB.setCNPDB8; inline;
  37191. begin
  37192. pTDefRegMap(@Self)^.&set := $00000100;
  37193. end;
  37194. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  37195. begin
  37196. pTDefRegMap(@Self)^.clr := $00000100;
  37197. end;
  37198. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  37199. begin
  37200. if thebits = 0 then
  37201. pTDefRegMap(@Self)^.clr := $00000100
  37202. else
  37203. pTDefRegMap(@Self)^.&set := $00000100;
  37204. end;
  37205. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  37206. begin
  37207. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37208. end;
  37209. procedure TPORTB_CNPDB.setCNPDB9; inline;
  37210. begin
  37211. pTDefRegMap(@Self)^.&set := $00000200;
  37212. end;
  37213. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  37214. begin
  37215. pTDefRegMap(@Self)^.clr := $00000200;
  37216. end;
  37217. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  37218. begin
  37219. if thebits = 0 then
  37220. pTDefRegMap(@Self)^.clr := $00000200
  37221. else
  37222. pTDefRegMap(@Self)^.&set := $00000200;
  37223. end;
  37224. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  37225. begin
  37226. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37227. end;
  37228. procedure TPORTB_CNPDB.setCNPDB10; inline;
  37229. begin
  37230. pTDefRegMap(@Self)^.&set := $00000400;
  37231. end;
  37232. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  37233. begin
  37234. pTDefRegMap(@Self)^.clr := $00000400;
  37235. end;
  37236. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  37237. begin
  37238. if thebits = 0 then
  37239. pTDefRegMap(@Self)^.clr := $00000400
  37240. else
  37241. pTDefRegMap(@Self)^.&set := $00000400;
  37242. end;
  37243. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  37244. begin
  37245. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37246. end;
  37247. procedure TPORTB_CNPDB.setCNPDB11; inline;
  37248. begin
  37249. pTDefRegMap(@Self)^.&set := $00000800;
  37250. end;
  37251. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  37252. begin
  37253. pTDefRegMap(@Self)^.clr := $00000800;
  37254. end;
  37255. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  37256. begin
  37257. if thebits = 0 then
  37258. pTDefRegMap(@Self)^.clr := $00000800
  37259. else
  37260. pTDefRegMap(@Self)^.&set := $00000800;
  37261. end;
  37262. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  37263. begin
  37264. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37265. end;
  37266. procedure TPORTB_CNPDB.setCNPDB13; inline;
  37267. begin
  37268. pTDefRegMap(@Self)^.&set := $00002000;
  37269. end;
  37270. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  37271. begin
  37272. pTDefRegMap(@Self)^.clr := $00002000;
  37273. end;
  37274. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  37275. begin
  37276. if thebits = 0 then
  37277. pTDefRegMap(@Self)^.clr := $00002000
  37278. else
  37279. pTDefRegMap(@Self)^.&set := $00002000;
  37280. end;
  37281. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  37282. begin
  37283. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37284. end;
  37285. procedure TPORTB_CNPDB.setCNPDB14; inline;
  37286. begin
  37287. pTDefRegMap(@Self)^.&set := $00004000;
  37288. end;
  37289. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  37290. begin
  37291. pTDefRegMap(@Self)^.clr := $00004000;
  37292. end;
  37293. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  37294. begin
  37295. if thebits = 0 then
  37296. pTDefRegMap(@Self)^.clr := $00004000
  37297. else
  37298. pTDefRegMap(@Self)^.&set := $00004000;
  37299. end;
  37300. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  37301. begin
  37302. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37303. end;
  37304. procedure TPORTB_CNPDB.setCNPDB15; inline;
  37305. begin
  37306. pTDefRegMap(@Self)^.&set := $00008000;
  37307. end;
  37308. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  37309. begin
  37310. pTDefRegMap(@Self)^.clr := $00008000;
  37311. end;
  37312. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  37313. begin
  37314. if thebits = 0 then
  37315. pTDefRegMap(@Self)^.clr := $00008000
  37316. else
  37317. pTDefRegMap(@Self)^.&set := $00008000;
  37318. end;
  37319. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  37320. begin
  37321. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37322. end;
  37323. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  37324. begin
  37325. pTDefRegMap(@Self)^.val := thebits;
  37326. end;
  37327. function TPORTB_CNPDB.getw : TBits_32; inline;
  37328. begin
  37329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37330. end;
  37331. procedure TPORTB_CNCONB.setSIDL; inline;
  37332. begin
  37333. pTDefRegMap(@Self)^.&set := $00002000;
  37334. end;
  37335. procedure TPORTB_CNCONB.clearSIDL; inline;
  37336. begin
  37337. pTDefRegMap(@Self)^.clr := $00002000;
  37338. end;
  37339. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  37340. begin
  37341. if thebits = 0 then
  37342. pTDefRegMap(@Self)^.clr := $00002000
  37343. else
  37344. pTDefRegMap(@Self)^.&set := $00002000;
  37345. end;
  37346. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  37347. begin
  37348. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37349. end;
  37350. procedure TPORTB_CNCONB.setON; inline;
  37351. begin
  37352. pTDefRegMap(@Self)^.&set := $00008000;
  37353. end;
  37354. procedure TPORTB_CNCONB.clearON; inline;
  37355. begin
  37356. pTDefRegMap(@Self)^.clr := $00008000;
  37357. end;
  37358. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  37359. begin
  37360. if thebits = 0 then
  37361. pTDefRegMap(@Self)^.clr := $00008000
  37362. else
  37363. pTDefRegMap(@Self)^.&set := $00008000;
  37364. end;
  37365. function TPORTB_CNCONB.getON : TBits_1; inline;
  37366. begin
  37367. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37368. end;
  37369. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  37370. begin
  37371. pTDefRegMap(@Self)^.val := thebits;
  37372. end;
  37373. function TPORTB_CNCONB.getw : TBits_32; inline;
  37374. begin
  37375. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37376. end;
  37377. procedure TPORTB_CNENB.setCNIEB0; inline;
  37378. begin
  37379. pTDefRegMap(@Self)^.&set := $00000001;
  37380. end;
  37381. procedure TPORTB_CNENB.clearCNIEB0; inline;
  37382. begin
  37383. pTDefRegMap(@Self)^.clr := $00000001;
  37384. end;
  37385. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  37386. begin
  37387. if thebits = 0 then
  37388. pTDefRegMap(@Self)^.clr := $00000001
  37389. else
  37390. pTDefRegMap(@Self)^.&set := $00000001;
  37391. end;
  37392. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  37393. begin
  37394. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37395. end;
  37396. procedure TPORTB_CNENB.setCNIEB1; inline;
  37397. begin
  37398. pTDefRegMap(@Self)^.&set := $00000002;
  37399. end;
  37400. procedure TPORTB_CNENB.clearCNIEB1; inline;
  37401. begin
  37402. pTDefRegMap(@Self)^.clr := $00000002;
  37403. end;
  37404. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  37405. begin
  37406. if thebits = 0 then
  37407. pTDefRegMap(@Self)^.clr := $00000002
  37408. else
  37409. pTDefRegMap(@Self)^.&set := $00000002;
  37410. end;
  37411. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  37412. begin
  37413. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37414. end;
  37415. procedure TPORTB_CNENB.setCNIEB2; inline;
  37416. begin
  37417. pTDefRegMap(@Self)^.&set := $00000004;
  37418. end;
  37419. procedure TPORTB_CNENB.clearCNIEB2; inline;
  37420. begin
  37421. pTDefRegMap(@Self)^.clr := $00000004;
  37422. end;
  37423. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  37424. begin
  37425. if thebits = 0 then
  37426. pTDefRegMap(@Self)^.clr := $00000004
  37427. else
  37428. pTDefRegMap(@Self)^.&set := $00000004;
  37429. end;
  37430. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  37431. begin
  37432. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37433. end;
  37434. procedure TPORTB_CNENB.setCNIEB3; inline;
  37435. begin
  37436. pTDefRegMap(@Self)^.&set := $00000008;
  37437. end;
  37438. procedure TPORTB_CNENB.clearCNIEB3; inline;
  37439. begin
  37440. pTDefRegMap(@Self)^.clr := $00000008;
  37441. end;
  37442. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  37443. begin
  37444. if thebits = 0 then
  37445. pTDefRegMap(@Self)^.clr := $00000008
  37446. else
  37447. pTDefRegMap(@Self)^.&set := $00000008;
  37448. end;
  37449. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  37450. begin
  37451. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37452. end;
  37453. procedure TPORTB_CNENB.setCNIEB4; inline;
  37454. begin
  37455. pTDefRegMap(@Self)^.&set := $00000010;
  37456. end;
  37457. procedure TPORTB_CNENB.clearCNIEB4; inline;
  37458. begin
  37459. pTDefRegMap(@Self)^.clr := $00000010;
  37460. end;
  37461. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  37462. begin
  37463. if thebits = 0 then
  37464. pTDefRegMap(@Self)^.clr := $00000010
  37465. else
  37466. pTDefRegMap(@Self)^.&set := $00000010;
  37467. end;
  37468. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  37469. begin
  37470. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37471. end;
  37472. procedure TPORTB_CNENB.setCNIEB5; inline;
  37473. begin
  37474. pTDefRegMap(@Self)^.&set := $00000020;
  37475. end;
  37476. procedure TPORTB_CNENB.clearCNIEB5; inline;
  37477. begin
  37478. pTDefRegMap(@Self)^.clr := $00000020;
  37479. end;
  37480. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  37481. begin
  37482. if thebits = 0 then
  37483. pTDefRegMap(@Self)^.clr := $00000020
  37484. else
  37485. pTDefRegMap(@Self)^.&set := $00000020;
  37486. end;
  37487. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  37488. begin
  37489. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37490. end;
  37491. procedure TPORTB_CNENB.setCNIEB7; inline;
  37492. begin
  37493. pTDefRegMap(@Self)^.&set := $00000080;
  37494. end;
  37495. procedure TPORTB_CNENB.clearCNIEB7; inline;
  37496. begin
  37497. pTDefRegMap(@Self)^.clr := $00000080;
  37498. end;
  37499. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  37500. begin
  37501. if thebits = 0 then
  37502. pTDefRegMap(@Self)^.clr := $00000080
  37503. else
  37504. pTDefRegMap(@Self)^.&set := $00000080;
  37505. end;
  37506. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  37507. begin
  37508. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37509. end;
  37510. procedure TPORTB_CNENB.setCNIEB8; inline;
  37511. begin
  37512. pTDefRegMap(@Self)^.&set := $00000100;
  37513. end;
  37514. procedure TPORTB_CNENB.clearCNIEB8; inline;
  37515. begin
  37516. pTDefRegMap(@Self)^.clr := $00000100;
  37517. end;
  37518. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  37519. begin
  37520. if thebits = 0 then
  37521. pTDefRegMap(@Self)^.clr := $00000100
  37522. else
  37523. pTDefRegMap(@Self)^.&set := $00000100;
  37524. end;
  37525. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  37526. begin
  37527. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37528. end;
  37529. procedure TPORTB_CNENB.setCNIEB9; inline;
  37530. begin
  37531. pTDefRegMap(@Self)^.&set := $00000200;
  37532. end;
  37533. procedure TPORTB_CNENB.clearCNIEB9; inline;
  37534. begin
  37535. pTDefRegMap(@Self)^.clr := $00000200;
  37536. end;
  37537. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  37538. begin
  37539. if thebits = 0 then
  37540. pTDefRegMap(@Self)^.clr := $00000200
  37541. else
  37542. pTDefRegMap(@Self)^.&set := $00000200;
  37543. end;
  37544. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  37545. begin
  37546. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37547. end;
  37548. procedure TPORTB_CNENB.setCNIEB10; inline;
  37549. begin
  37550. pTDefRegMap(@Self)^.&set := $00000400;
  37551. end;
  37552. procedure TPORTB_CNENB.clearCNIEB10; inline;
  37553. begin
  37554. pTDefRegMap(@Self)^.clr := $00000400;
  37555. end;
  37556. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  37557. begin
  37558. if thebits = 0 then
  37559. pTDefRegMap(@Self)^.clr := $00000400
  37560. else
  37561. pTDefRegMap(@Self)^.&set := $00000400;
  37562. end;
  37563. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  37564. begin
  37565. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37566. end;
  37567. procedure TPORTB_CNENB.setCNIEB11; inline;
  37568. begin
  37569. pTDefRegMap(@Self)^.&set := $00000800;
  37570. end;
  37571. procedure TPORTB_CNENB.clearCNIEB11; inline;
  37572. begin
  37573. pTDefRegMap(@Self)^.clr := $00000800;
  37574. end;
  37575. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  37576. begin
  37577. if thebits = 0 then
  37578. pTDefRegMap(@Self)^.clr := $00000800
  37579. else
  37580. pTDefRegMap(@Self)^.&set := $00000800;
  37581. end;
  37582. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  37583. begin
  37584. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37585. end;
  37586. procedure TPORTB_CNENB.setCNIEB13; inline;
  37587. begin
  37588. pTDefRegMap(@Self)^.&set := $00002000;
  37589. end;
  37590. procedure TPORTB_CNENB.clearCNIEB13; inline;
  37591. begin
  37592. pTDefRegMap(@Self)^.clr := $00002000;
  37593. end;
  37594. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  37595. begin
  37596. if thebits = 0 then
  37597. pTDefRegMap(@Self)^.clr := $00002000
  37598. else
  37599. pTDefRegMap(@Self)^.&set := $00002000;
  37600. end;
  37601. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  37602. begin
  37603. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37604. end;
  37605. procedure TPORTB_CNENB.setCNIEB14; inline;
  37606. begin
  37607. pTDefRegMap(@Self)^.&set := $00004000;
  37608. end;
  37609. procedure TPORTB_CNENB.clearCNIEB14; inline;
  37610. begin
  37611. pTDefRegMap(@Self)^.clr := $00004000;
  37612. end;
  37613. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  37614. begin
  37615. if thebits = 0 then
  37616. pTDefRegMap(@Self)^.clr := $00004000
  37617. else
  37618. pTDefRegMap(@Self)^.&set := $00004000;
  37619. end;
  37620. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  37621. begin
  37622. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37623. end;
  37624. procedure TPORTB_CNENB.setCNIEB15; inline;
  37625. begin
  37626. pTDefRegMap(@Self)^.&set := $00008000;
  37627. end;
  37628. procedure TPORTB_CNENB.clearCNIEB15; inline;
  37629. begin
  37630. pTDefRegMap(@Self)^.clr := $00008000;
  37631. end;
  37632. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  37633. begin
  37634. if thebits = 0 then
  37635. pTDefRegMap(@Self)^.clr := $00008000
  37636. else
  37637. pTDefRegMap(@Self)^.&set := $00008000;
  37638. end;
  37639. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  37640. begin
  37641. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37642. end;
  37643. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  37644. begin
  37645. pTDefRegMap(@Self)^.val := thebits;
  37646. end;
  37647. function TPORTB_CNENB.getw : TBits_32; inline;
  37648. begin
  37649. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37650. end;
  37651. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  37652. begin
  37653. pTDefRegMap(@Self)^.&set := $00000001;
  37654. end;
  37655. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  37656. begin
  37657. pTDefRegMap(@Self)^.clr := $00000001;
  37658. end;
  37659. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  37660. begin
  37661. if thebits = 0 then
  37662. pTDefRegMap(@Self)^.clr := $00000001
  37663. else
  37664. pTDefRegMap(@Self)^.&set := $00000001;
  37665. end;
  37666. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  37667. begin
  37668. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37669. end;
  37670. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  37671. begin
  37672. pTDefRegMap(@Self)^.&set := $00000002;
  37673. end;
  37674. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  37675. begin
  37676. pTDefRegMap(@Self)^.clr := $00000002;
  37677. end;
  37678. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  37679. begin
  37680. if thebits = 0 then
  37681. pTDefRegMap(@Self)^.clr := $00000002
  37682. else
  37683. pTDefRegMap(@Self)^.&set := $00000002;
  37684. end;
  37685. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  37686. begin
  37687. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37688. end;
  37689. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  37690. begin
  37691. pTDefRegMap(@Self)^.&set := $00000004;
  37692. end;
  37693. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  37694. begin
  37695. pTDefRegMap(@Self)^.clr := $00000004;
  37696. end;
  37697. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  37698. begin
  37699. if thebits = 0 then
  37700. pTDefRegMap(@Self)^.clr := $00000004
  37701. else
  37702. pTDefRegMap(@Self)^.&set := $00000004;
  37703. end;
  37704. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  37705. begin
  37706. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37707. end;
  37708. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  37709. begin
  37710. pTDefRegMap(@Self)^.&set := $00000008;
  37711. end;
  37712. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  37713. begin
  37714. pTDefRegMap(@Self)^.clr := $00000008;
  37715. end;
  37716. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  37717. begin
  37718. if thebits = 0 then
  37719. pTDefRegMap(@Self)^.clr := $00000008
  37720. else
  37721. pTDefRegMap(@Self)^.&set := $00000008;
  37722. end;
  37723. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  37724. begin
  37725. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37726. end;
  37727. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  37728. begin
  37729. pTDefRegMap(@Self)^.&set := $00000010;
  37730. end;
  37731. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  37732. begin
  37733. pTDefRegMap(@Self)^.clr := $00000010;
  37734. end;
  37735. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  37736. begin
  37737. if thebits = 0 then
  37738. pTDefRegMap(@Self)^.clr := $00000010
  37739. else
  37740. pTDefRegMap(@Self)^.&set := $00000010;
  37741. end;
  37742. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  37743. begin
  37744. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37745. end;
  37746. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  37747. begin
  37748. pTDefRegMap(@Self)^.&set := $00000020;
  37749. end;
  37750. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  37751. begin
  37752. pTDefRegMap(@Self)^.clr := $00000020;
  37753. end;
  37754. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  37755. begin
  37756. if thebits = 0 then
  37757. pTDefRegMap(@Self)^.clr := $00000020
  37758. else
  37759. pTDefRegMap(@Self)^.&set := $00000020;
  37760. end;
  37761. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  37762. begin
  37763. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37764. end;
  37765. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  37766. begin
  37767. pTDefRegMap(@Self)^.&set := $00000080;
  37768. end;
  37769. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  37770. begin
  37771. pTDefRegMap(@Self)^.clr := $00000080;
  37772. end;
  37773. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  37774. begin
  37775. if thebits = 0 then
  37776. pTDefRegMap(@Self)^.clr := $00000080
  37777. else
  37778. pTDefRegMap(@Self)^.&set := $00000080;
  37779. end;
  37780. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  37781. begin
  37782. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37783. end;
  37784. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  37785. begin
  37786. pTDefRegMap(@Self)^.&set := $00000100;
  37787. end;
  37788. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  37789. begin
  37790. pTDefRegMap(@Self)^.clr := $00000100;
  37791. end;
  37792. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  37793. begin
  37794. if thebits = 0 then
  37795. pTDefRegMap(@Self)^.clr := $00000100
  37796. else
  37797. pTDefRegMap(@Self)^.&set := $00000100;
  37798. end;
  37799. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  37800. begin
  37801. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37802. end;
  37803. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  37804. begin
  37805. pTDefRegMap(@Self)^.&set := $00000200;
  37806. end;
  37807. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  37808. begin
  37809. pTDefRegMap(@Self)^.clr := $00000200;
  37810. end;
  37811. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  37812. begin
  37813. if thebits = 0 then
  37814. pTDefRegMap(@Self)^.clr := $00000200
  37815. else
  37816. pTDefRegMap(@Self)^.&set := $00000200;
  37817. end;
  37818. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  37819. begin
  37820. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37821. end;
  37822. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  37823. begin
  37824. pTDefRegMap(@Self)^.&set := $00000400;
  37825. end;
  37826. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  37827. begin
  37828. pTDefRegMap(@Self)^.clr := $00000400;
  37829. end;
  37830. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  37831. begin
  37832. if thebits = 0 then
  37833. pTDefRegMap(@Self)^.clr := $00000400
  37834. else
  37835. pTDefRegMap(@Self)^.&set := $00000400;
  37836. end;
  37837. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  37838. begin
  37839. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37840. end;
  37841. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  37842. begin
  37843. pTDefRegMap(@Self)^.&set := $00000800;
  37844. end;
  37845. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  37846. begin
  37847. pTDefRegMap(@Self)^.clr := $00000800;
  37848. end;
  37849. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  37850. begin
  37851. if thebits = 0 then
  37852. pTDefRegMap(@Self)^.clr := $00000800
  37853. else
  37854. pTDefRegMap(@Self)^.&set := $00000800;
  37855. end;
  37856. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  37857. begin
  37858. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37859. end;
  37860. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  37861. begin
  37862. pTDefRegMap(@Self)^.&set := $00002000;
  37863. end;
  37864. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  37865. begin
  37866. pTDefRegMap(@Self)^.clr := $00002000;
  37867. end;
  37868. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  37869. begin
  37870. if thebits = 0 then
  37871. pTDefRegMap(@Self)^.clr := $00002000
  37872. else
  37873. pTDefRegMap(@Self)^.&set := $00002000;
  37874. end;
  37875. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  37876. begin
  37877. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37878. end;
  37879. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  37880. begin
  37881. pTDefRegMap(@Self)^.&set := $00004000;
  37882. end;
  37883. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  37884. begin
  37885. pTDefRegMap(@Self)^.clr := $00004000;
  37886. end;
  37887. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  37888. begin
  37889. if thebits = 0 then
  37890. pTDefRegMap(@Self)^.clr := $00004000
  37891. else
  37892. pTDefRegMap(@Self)^.&set := $00004000;
  37893. end;
  37894. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  37895. begin
  37896. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37897. end;
  37898. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  37899. begin
  37900. pTDefRegMap(@Self)^.&set := $00008000;
  37901. end;
  37902. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  37903. begin
  37904. pTDefRegMap(@Self)^.clr := $00008000;
  37905. end;
  37906. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  37907. begin
  37908. if thebits = 0 then
  37909. pTDefRegMap(@Self)^.clr := $00008000
  37910. else
  37911. pTDefRegMap(@Self)^.&set := $00008000;
  37912. end;
  37913. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  37914. begin
  37915. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37916. end;
  37917. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  37918. begin
  37919. pTDefRegMap(@Self)^.val := thebits;
  37920. end;
  37921. function TPORTB_CNSTATB.getw : TBits_32; inline;
  37922. begin
  37923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37924. end;
  37925. procedure TPORTC_ANSELC.setANSC0; inline;
  37926. begin
  37927. pTDefRegMap(@Self)^.&set := $00000001;
  37928. end;
  37929. procedure TPORTC_ANSELC.clearANSC0; inline;
  37930. begin
  37931. pTDefRegMap(@Self)^.clr := $00000001;
  37932. end;
  37933. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  37934. begin
  37935. if thebits = 0 then
  37936. pTDefRegMap(@Self)^.clr := $00000001
  37937. else
  37938. pTDefRegMap(@Self)^.&set := $00000001;
  37939. end;
  37940. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  37941. begin
  37942. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37943. end;
  37944. procedure TPORTC_ANSELC.setANSC1; inline;
  37945. begin
  37946. pTDefRegMap(@Self)^.&set := $00000002;
  37947. end;
  37948. procedure TPORTC_ANSELC.clearANSC1; inline;
  37949. begin
  37950. pTDefRegMap(@Self)^.clr := $00000002;
  37951. end;
  37952. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  37953. begin
  37954. if thebits = 0 then
  37955. pTDefRegMap(@Self)^.clr := $00000002
  37956. else
  37957. pTDefRegMap(@Self)^.&set := $00000002;
  37958. end;
  37959. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  37960. begin
  37961. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37962. end;
  37963. procedure TPORTC_ANSELC.setANSC2; inline;
  37964. begin
  37965. pTDefRegMap(@Self)^.&set := $00000004;
  37966. end;
  37967. procedure TPORTC_ANSELC.clearANSC2; inline;
  37968. begin
  37969. pTDefRegMap(@Self)^.clr := $00000004;
  37970. end;
  37971. procedure TPORTC_ANSELC.setANSC2(thebits : TBits_1); inline;
  37972. begin
  37973. if thebits = 0 then
  37974. pTDefRegMap(@Self)^.clr := $00000004
  37975. else
  37976. pTDefRegMap(@Self)^.&set := $00000004;
  37977. end;
  37978. function TPORTC_ANSELC.getANSC2 : TBits_1; inline;
  37979. begin
  37980. getANSC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37981. end;
  37982. procedure TPORTC_ANSELC.setANSC3; inline;
  37983. begin
  37984. pTDefRegMap(@Self)^.&set := $00000008;
  37985. end;
  37986. procedure TPORTC_ANSELC.clearANSC3; inline;
  37987. begin
  37988. pTDefRegMap(@Self)^.clr := $00000008;
  37989. end;
  37990. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  37991. begin
  37992. if thebits = 0 then
  37993. pTDefRegMap(@Self)^.clr := $00000008
  37994. else
  37995. pTDefRegMap(@Self)^.&set := $00000008;
  37996. end;
  37997. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  37998. begin
  37999. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38000. end;
  38001. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  38002. begin
  38003. pTDefRegMap(@Self)^.val := thebits;
  38004. end;
  38005. function TPORTC_ANSELC.getw : TBits_32; inline;
  38006. begin
  38007. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38008. end;
  38009. procedure TPORTC_TRISC.setTRISC0; inline;
  38010. begin
  38011. pTDefRegMap(@Self)^.&set := $00000001;
  38012. end;
  38013. procedure TPORTC_TRISC.clearTRISC0; inline;
  38014. begin
  38015. pTDefRegMap(@Self)^.clr := $00000001;
  38016. end;
  38017. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  38018. begin
  38019. if thebits = 0 then
  38020. pTDefRegMap(@Self)^.clr := $00000001
  38021. else
  38022. pTDefRegMap(@Self)^.&set := $00000001;
  38023. end;
  38024. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  38025. begin
  38026. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38027. end;
  38028. procedure TPORTC_TRISC.setTRISC1; inline;
  38029. begin
  38030. pTDefRegMap(@Self)^.&set := $00000002;
  38031. end;
  38032. procedure TPORTC_TRISC.clearTRISC1; inline;
  38033. begin
  38034. pTDefRegMap(@Self)^.clr := $00000002;
  38035. end;
  38036. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  38037. begin
  38038. if thebits = 0 then
  38039. pTDefRegMap(@Self)^.clr := $00000002
  38040. else
  38041. pTDefRegMap(@Self)^.&set := $00000002;
  38042. end;
  38043. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  38044. begin
  38045. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38046. end;
  38047. procedure TPORTC_TRISC.setTRISC2; inline;
  38048. begin
  38049. pTDefRegMap(@Self)^.&set := $00000004;
  38050. end;
  38051. procedure TPORTC_TRISC.clearTRISC2; inline;
  38052. begin
  38053. pTDefRegMap(@Self)^.clr := $00000004;
  38054. end;
  38055. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  38056. begin
  38057. if thebits = 0 then
  38058. pTDefRegMap(@Self)^.clr := $00000004
  38059. else
  38060. pTDefRegMap(@Self)^.&set := $00000004;
  38061. end;
  38062. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  38063. begin
  38064. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38065. end;
  38066. procedure TPORTC_TRISC.setTRISC3; inline;
  38067. begin
  38068. pTDefRegMap(@Self)^.&set := $00000008;
  38069. end;
  38070. procedure TPORTC_TRISC.clearTRISC3; inline;
  38071. begin
  38072. pTDefRegMap(@Self)^.clr := $00000008;
  38073. end;
  38074. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  38075. begin
  38076. if thebits = 0 then
  38077. pTDefRegMap(@Self)^.clr := $00000008
  38078. else
  38079. pTDefRegMap(@Self)^.&set := $00000008;
  38080. end;
  38081. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  38082. begin
  38083. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38084. end;
  38085. procedure TPORTC_TRISC.setTRISC4; inline;
  38086. begin
  38087. pTDefRegMap(@Self)^.&set := $00000010;
  38088. end;
  38089. procedure TPORTC_TRISC.clearTRISC4; inline;
  38090. begin
  38091. pTDefRegMap(@Self)^.clr := $00000010;
  38092. end;
  38093. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  38094. begin
  38095. if thebits = 0 then
  38096. pTDefRegMap(@Self)^.clr := $00000010
  38097. else
  38098. pTDefRegMap(@Self)^.&set := $00000010;
  38099. end;
  38100. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  38101. begin
  38102. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38103. end;
  38104. procedure TPORTC_TRISC.setTRISC5; inline;
  38105. begin
  38106. pTDefRegMap(@Self)^.&set := $00000020;
  38107. end;
  38108. procedure TPORTC_TRISC.clearTRISC5; inline;
  38109. begin
  38110. pTDefRegMap(@Self)^.clr := $00000020;
  38111. end;
  38112. procedure TPORTC_TRISC.setTRISC5(thebits : TBits_1); inline;
  38113. begin
  38114. if thebits = 0 then
  38115. pTDefRegMap(@Self)^.clr := $00000020
  38116. else
  38117. pTDefRegMap(@Self)^.&set := $00000020;
  38118. end;
  38119. function TPORTC_TRISC.getTRISC5 : TBits_1; inline;
  38120. begin
  38121. getTRISC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38122. end;
  38123. procedure TPORTC_TRISC.setTRISC6; inline;
  38124. begin
  38125. pTDefRegMap(@Self)^.&set := $00000040;
  38126. end;
  38127. procedure TPORTC_TRISC.clearTRISC6; inline;
  38128. begin
  38129. pTDefRegMap(@Self)^.clr := $00000040;
  38130. end;
  38131. procedure TPORTC_TRISC.setTRISC6(thebits : TBits_1); inline;
  38132. begin
  38133. if thebits = 0 then
  38134. pTDefRegMap(@Self)^.clr := $00000040
  38135. else
  38136. pTDefRegMap(@Self)^.&set := $00000040;
  38137. end;
  38138. function TPORTC_TRISC.getTRISC6 : TBits_1; inline;
  38139. begin
  38140. getTRISC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38141. end;
  38142. procedure TPORTC_TRISC.setTRISC7; inline;
  38143. begin
  38144. pTDefRegMap(@Self)^.&set := $00000080;
  38145. end;
  38146. procedure TPORTC_TRISC.clearTRISC7; inline;
  38147. begin
  38148. pTDefRegMap(@Self)^.clr := $00000080;
  38149. end;
  38150. procedure TPORTC_TRISC.setTRISC7(thebits : TBits_1); inline;
  38151. begin
  38152. if thebits = 0 then
  38153. pTDefRegMap(@Self)^.clr := $00000080
  38154. else
  38155. pTDefRegMap(@Self)^.&set := $00000080;
  38156. end;
  38157. function TPORTC_TRISC.getTRISC7 : TBits_1; inline;
  38158. begin
  38159. getTRISC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38160. end;
  38161. procedure TPORTC_TRISC.setTRISC8; inline;
  38162. begin
  38163. pTDefRegMap(@Self)^.&set := $00000100;
  38164. end;
  38165. procedure TPORTC_TRISC.clearTRISC8; inline;
  38166. begin
  38167. pTDefRegMap(@Self)^.clr := $00000100;
  38168. end;
  38169. procedure TPORTC_TRISC.setTRISC8(thebits : TBits_1); inline;
  38170. begin
  38171. if thebits = 0 then
  38172. pTDefRegMap(@Self)^.clr := $00000100
  38173. else
  38174. pTDefRegMap(@Self)^.&set := $00000100;
  38175. end;
  38176. function TPORTC_TRISC.getTRISC8 : TBits_1; inline;
  38177. begin
  38178. getTRISC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38179. end;
  38180. procedure TPORTC_TRISC.setTRISC9; inline;
  38181. begin
  38182. pTDefRegMap(@Self)^.&set := $00000200;
  38183. end;
  38184. procedure TPORTC_TRISC.clearTRISC9; inline;
  38185. begin
  38186. pTDefRegMap(@Self)^.clr := $00000200;
  38187. end;
  38188. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  38189. begin
  38190. if thebits = 0 then
  38191. pTDefRegMap(@Self)^.clr := $00000200
  38192. else
  38193. pTDefRegMap(@Self)^.&set := $00000200;
  38194. end;
  38195. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  38196. begin
  38197. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38198. end;
  38199. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  38200. begin
  38201. pTDefRegMap(@Self)^.val := thebits;
  38202. end;
  38203. function TPORTC_TRISC.getw : TBits_32; inline;
  38204. begin
  38205. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38206. end;
  38207. procedure TPORTC_PORTC.setRC0; inline;
  38208. begin
  38209. pTDefRegMap(@Self)^.&set := $00000001;
  38210. end;
  38211. procedure TPORTC_PORTC.clearRC0; inline;
  38212. begin
  38213. pTDefRegMap(@Self)^.clr := $00000001;
  38214. end;
  38215. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  38216. begin
  38217. if thebits = 0 then
  38218. pTDefRegMap(@Self)^.clr := $00000001
  38219. else
  38220. pTDefRegMap(@Self)^.&set := $00000001;
  38221. end;
  38222. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  38223. begin
  38224. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38225. end;
  38226. procedure TPORTC_PORTC.setRC1; inline;
  38227. begin
  38228. pTDefRegMap(@Self)^.&set := $00000002;
  38229. end;
  38230. procedure TPORTC_PORTC.clearRC1; inline;
  38231. begin
  38232. pTDefRegMap(@Self)^.clr := $00000002;
  38233. end;
  38234. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  38235. begin
  38236. if thebits = 0 then
  38237. pTDefRegMap(@Self)^.clr := $00000002
  38238. else
  38239. pTDefRegMap(@Self)^.&set := $00000002;
  38240. end;
  38241. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  38242. begin
  38243. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38244. end;
  38245. procedure TPORTC_PORTC.setRC2; inline;
  38246. begin
  38247. pTDefRegMap(@Self)^.&set := $00000004;
  38248. end;
  38249. procedure TPORTC_PORTC.clearRC2; inline;
  38250. begin
  38251. pTDefRegMap(@Self)^.clr := $00000004;
  38252. end;
  38253. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  38254. begin
  38255. if thebits = 0 then
  38256. pTDefRegMap(@Self)^.clr := $00000004
  38257. else
  38258. pTDefRegMap(@Self)^.&set := $00000004;
  38259. end;
  38260. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  38261. begin
  38262. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38263. end;
  38264. procedure TPORTC_PORTC.setRC3; inline;
  38265. begin
  38266. pTDefRegMap(@Self)^.&set := $00000008;
  38267. end;
  38268. procedure TPORTC_PORTC.clearRC3; inline;
  38269. begin
  38270. pTDefRegMap(@Self)^.clr := $00000008;
  38271. end;
  38272. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  38273. begin
  38274. if thebits = 0 then
  38275. pTDefRegMap(@Self)^.clr := $00000008
  38276. else
  38277. pTDefRegMap(@Self)^.&set := $00000008;
  38278. end;
  38279. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  38280. begin
  38281. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38282. end;
  38283. procedure TPORTC_PORTC.setRC4; inline;
  38284. begin
  38285. pTDefRegMap(@Self)^.&set := $00000010;
  38286. end;
  38287. procedure TPORTC_PORTC.clearRC4; inline;
  38288. begin
  38289. pTDefRegMap(@Self)^.clr := $00000010;
  38290. end;
  38291. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  38292. begin
  38293. if thebits = 0 then
  38294. pTDefRegMap(@Self)^.clr := $00000010
  38295. else
  38296. pTDefRegMap(@Self)^.&set := $00000010;
  38297. end;
  38298. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  38299. begin
  38300. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38301. end;
  38302. procedure TPORTC_PORTC.setRC5; inline;
  38303. begin
  38304. pTDefRegMap(@Self)^.&set := $00000020;
  38305. end;
  38306. procedure TPORTC_PORTC.clearRC5; inline;
  38307. begin
  38308. pTDefRegMap(@Self)^.clr := $00000020;
  38309. end;
  38310. procedure TPORTC_PORTC.setRC5(thebits : TBits_1); inline;
  38311. begin
  38312. if thebits = 0 then
  38313. pTDefRegMap(@Self)^.clr := $00000020
  38314. else
  38315. pTDefRegMap(@Self)^.&set := $00000020;
  38316. end;
  38317. function TPORTC_PORTC.getRC5 : TBits_1; inline;
  38318. begin
  38319. getRC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38320. end;
  38321. procedure TPORTC_PORTC.setRC6; inline;
  38322. begin
  38323. pTDefRegMap(@Self)^.&set := $00000040;
  38324. end;
  38325. procedure TPORTC_PORTC.clearRC6; inline;
  38326. begin
  38327. pTDefRegMap(@Self)^.clr := $00000040;
  38328. end;
  38329. procedure TPORTC_PORTC.setRC6(thebits : TBits_1); inline;
  38330. begin
  38331. if thebits = 0 then
  38332. pTDefRegMap(@Self)^.clr := $00000040
  38333. else
  38334. pTDefRegMap(@Self)^.&set := $00000040;
  38335. end;
  38336. function TPORTC_PORTC.getRC6 : TBits_1; inline;
  38337. begin
  38338. getRC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38339. end;
  38340. procedure TPORTC_PORTC.setRC7; inline;
  38341. begin
  38342. pTDefRegMap(@Self)^.&set := $00000080;
  38343. end;
  38344. procedure TPORTC_PORTC.clearRC7; inline;
  38345. begin
  38346. pTDefRegMap(@Self)^.clr := $00000080;
  38347. end;
  38348. procedure TPORTC_PORTC.setRC7(thebits : TBits_1); inline;
  38349. begin
  38350. if thebits = 0 then
  38351. pTDefRegMap(@Self)^.clr := $00000080
  38352. else
  38353. pTDefRegMap(@Self)^.&set := $00000080;
  38354. end;
  38355. function TPORTC_PORTC.getRC7 : TBits_1; inline;
  38356. begin
  38357. getRC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38358. end;
  38359. procedure TPORTC_PORTC.setRC8; inline;
  38360. begin
  38361. pTDefRegMap(@Self)^.&set := $00000100;
  38362. end;
  38363. procedure TPORTC_PORTC.clearRC8; inline;
  38364. begin
  38365. pTDefRegMap(@Self)^.clr := $00000100;
  38366. end;
  38367. procedure TPORTC_PORTC.setRC8(thebits : TBits_1); inline;
  38368. begin
  38369. if thebits = 0 then
  38370. pTDefRegMap(@Self)^.clr := $00000100
  38371. else
  38372. pTDefRegMap(@Self)^.&set := $00000100;
  38373. end;
  38374. function TPORTC_PORTC.getRC8 : TBits_1; inline;
  38375. begin
  38376. getRC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38377. end;
  38378. procedure TPORTC_PORTC.setRC9; inline;
  38379. begin
  38380. pTDefRegMap(@Self)^.&set := $00000200;
  38381. end;
  38382. procedure TPORTC_PORTC.clearRC9; inline;
  38383. begin
  38384. pTDefRegMap(@Self)^.clr := $00000200;
  38385. end;
  38386. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  38387. begin
  38388. if thebits = 0 then
  38389. pTDefRegMap(@Self)^.clr := $00000200
  38390. else
  38391. pTDefRegMap(@Self)^.&set := $00000200;
  38392. end;
  38393. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  38394. begin
  38395. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38396. end;
  38397. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  38398. begin
  38399. pTDefRegMap(@Self)^.val := thebits;
  38400. end;
  38401. function TPORTC_PORTC.getw : TBits_32; inline;
  38402. begin
  38403. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38404. end;
  38405. procedure TPORTC_LATC.setLATC0; inline;
  38406. begin
  38407. pTDefRegMap(@Self)^.&set := $00000001;
  38408. end;
  38409. procedure TPORTC_LATC.clearLATC0; inline;
  38410. begin
  38411. pTDefRegMap(@Self)^.clr := $00000001;
  38412. end;
  38413. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  38414. begin
  38415. if thebits = 0 then
  38416. pTDefRegMap(@Self)^.clr := $00000001
  38417. else
  38418. pTDefRegMap(@Self)^.&set := $00000001;
  38419. end;
  38420. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  38421. begin
  38422. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38423. end;
  38424. procedure TPORTC_LATC.setLATC1; inline;
  38425. begin
  38426. pTDefRegMap(@Self)^.&set := $00000002;
  38427. end;
  38428. procedure TPORTC_LATC.clearLATC1; inline;
  38429. begin
  38430. pTDefRegMap(@Self)^.clr := $00000002;
  38431. end;
  38432. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  38433. begin
  38434. if thebits = 0 then
  38435. pTDefRegMap(@Self)^.clr := $00000002
  38436. else
  38437. pTDefRegMap(@Self)^.&set := $00000002;
  38438. end;
  38439. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  38440. begin
  38441. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38442. end;
  38443. procedure TPORTC_LATC.setLATC2; inline;
  38444. begin
  38445. pTDefRegMap(@Self)^.&set := $00000004;
  38446. end;
  38447. procedure TPORTC_LATC.clearLATC2; inline;
  38448. begin
  38449. pTDefRegMap(@Self)^.clr := $00000004;
  38450. end;
  38451. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  38452. begin
  38453. if thebits = 0 then
  38454. pTDefRegMap(@Self)^.clr := $00000004
  38455. else
  38456. pTDefRegMap(@Self)^.&set := $00000004;
  38457. end;
  38458. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  38459. begin
  38460. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38461. end;
  38462. procedure TPORTC_LATC.setLATC3; inline;
  38463. begin
  38464. pTDefRegMap(@Self)^.&set := $00000008;
  38465. end;
  38466. procedure TPORTC_LATC.clearLATC3; inline;
  38467. begin
  38468. pTDefRegMap(@Self)^.clr := $00000008;
  38469. end;
  38470. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  38471. begin
  38472. if thebits = 0 then
  38473. pTDefRegMap(@Self)^.clr := $00000008
  38474. else
  38475. pTDefRegMap(@Self)^.&set := $00000008;
  38476. end;
  38477. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  38478. begin
  38479. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38480. end;
  38481. procedure TPORTC_LATC.setLATC4; inline;
  38482. begin
  38483. pTDefRegMap(@Self)^.&set := $00000010;
  38484. end;
  38485. procedure TPORTC_LATC.clearLATC4; inline;
  38486. begin
  38487. pTDefRegMap(@Self)^.clr := $00000010;
  38488. end;
  38489. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  38490. begin
  38491. if thebits = 0 then
  38492. pTDefRegMap(@Self)^.clr := $00000010
  38493. else
  38494. pTDefRegMap(@Self)^.&set := $00000010;
  38495. end;
  38496. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  38497. begin
  38498. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38499. end;
  38500. procedure TPORTC_LATC.setLATC5; inline;
  38501. begin
  38502. pTDefRegMap(@Self)^.&set := $00000020;
  38503. end;
  38504. procedure TPORTC_LATC.clearLATC5; inline;
  38505. begin
  38506. pTDefRegMap(@Self)^.clr := $00000020;
  38507. end;
  38508. procedure TPORTC_LATC.setLATC5(thebits : TBits_1); inline;
  38509. begin
  38510. if thebits = 0 then
  38511. pTDefRegMap(@Self)^.clr := $00000020
  38512. else
  38513. pTDefRegMap(@Self)^.&set := $00000020;
  38514. end;
  38515. function TPORTC_LATC.getLATC5 : TBits_1; inline;
  38516. begin
  38517. getLATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38518. end;
  38519. procedure TPORTC_LATC.setLATC6; inline;
  38520. begin
  38521. pTDefRegMap(@Self)^.&set := $00000040;
  38522. end;
  38523. procedure TPORTC_LATC.clearLATC6; inline;
  38524. begin
  38525. pTDefRegMap(@Self)^.clr := $00000040;
  38526. end;
  38527. procedure TPORTC_LATC.setLATC6(thebits : TBits_1); inline;
  38528. begin
  38529. if thebits = 0 then
  38530. pTDefRegMap(@Self)^.clr := $00000040
  38531. else
  38532. pTDefRegMap(@Self)^.&set := $00000040;
  38533. end;
  38534. function TPORTC_LATC.getLATC6 : TBits_1; inline;
  38535. begin
  38536. getLATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38537. end;
  38538. procedure TPORTC_LATC.setLATC7; inline;
  38539. begin
  38540. pTDefRegMap(@Self)^.&set := $00000080;
  38541. end;
  38542. procedure TPORTC_LATC.clearLATC7; inline;
  38543. begin
  38544. pTDefRegMap(@Self)^.clr := $00000080;
  38545. end;
  38546. procedure TPORTC_LATC.setLATC7(thebits : TBits_1); inline;
  38547. begin
  38548. if thebits = 0 then
  38549. pTDefRegMap(@Self)^.clr := $00000080
  38550. else
  38551. pTDefRegMap(@Self)^.&set := $00000080;
  38552. end;
  38553. function TPORTC_LATC.getLATC7 : TBits_1; inline;
  38554. begin
  38555. getLATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38556. end;
  38557. procedure TPORTC_LATC.setLATC8; inline;
  38558. begin
  38559. pTDefRegMap(@Self)^.&set := $00000100;
  38560. end;
  38561. procedure TPORTC_LATC.clearLATC8; inline;
  38562. begin
  38563. pTDefRegMap(@Self)^.clr := $00000100;
  38564. end;
  38565. procedure TPORTC_LATC.setLATC8(thebits : TBits_1); inline;
  38566. begin
  38567. if thebits = 0 then
  38568. pTDefRegMap(@Self)^.clr := $00000100
  38569. else
  38570. pTDefRegMap(@Self)^.&set := $00000100;
  38571. end;
  38572. function TPORTC_LATC.getLATC8 : TBits_1; inline;
  38573. begin
  38574. getLATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38575. end;
  38576. procedure TPORTC_LATC.setLATC9; inline;
  38577. begin
  38578. pTDefRegMap(@Self)^.&set := $00000200;
  38579. end;
  38580. procedure TPORTC_LATC.clearLATC9; inline;
  38581. begin
  38582. pTDefRegMap(@Self)^.clr := $00000200;
  38583. end;
  38584. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  38585. begin
  38586. if thebits = 0 then
  38587. pTDefRegMap(@Self)^.clr := $00000200
  38588. else
  38589. pTDefRegMap(@Self)^.&set := $00000200;
  38590. end;
  38591. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  38592. begin
  38593. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38594. end;
  38595. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  38596. begin
  38597. pTDefRegMap(@Self)^.val := thebits;
  38598. end;
  38599. function TPORTC_LATC.getw : TBits_32; inline;
  38600. begin
  38601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38602. end;
  38603. procedure TPORTC_ODCC.setODCC4; inline;
  38604. begin
  38605. pTDefRegMap(@Self)^.&set := $00000010;
  38606. end;
  38607. procedure TPORTC_ODCC.clearODCC4; inline;
  38608. begin
  38609. pTDefRegMap(@Self)^.clr := $00000010;
  38610. end;
  38611. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  38612. begin
  38613. if thebits = 0 then
  38614. pTDefRegMap(@Self)^.clr := $00000010
  38615. else
  38616. pTDefRegMap(@Self)^.&set := $00000010;
  38617. end;
  38618. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  38619. begin
  38620. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38621. end;
  38622. procedure TPORTC_ODCC.setODCC5; inline;
  38623. begin
  38624. pTDefRegMap(@Self)^.&set := $00000020;
  38625. end;
  38626. procedure TPORTC_ODCC.clearODCC5; inline;
  38627. begin
  38628. pTDefRegMap(@Self)^.clr := $00000020;
  38629. end;
  38630. procedure TPORTC_ODCC.setODCC5(thebits : TBits_1); inline;
  38631. begin
  38632. if thebits = 0 then
  38633. pTDefRegMap(@Self)^.clr := $00000020
  38634. else
  38635. pTDefRegMap(@Self)^.&set := $00000020;
  38636. end;
  38637. function TPORTC_ODCC.getODCC5 : TBits_1; inline;
  38638. begin
  38639. getODCC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38640. end;
  38641. procedure TPORTC_ODCC.setODCC6; inline;
  38642. begin
  38643. pTDefRegMap(@Self)^.&set := $00000040;
  38644. end;
  38645. procedure TPORTC_ODCC.clearODCC6; inline;
  38646. begin
  38647. pTDefRegMap(@Self)^.clr := $00000040;
  38648. end;
  38649. procedure TPORTC_ODCC.setODCC6(thebits : TBits_1); inline;
  38650. begin
  38651. if thebits = 0 then
  38652. pTDefRegMap(@Self)^.clr := $00000040
  38653. else
  38654. pTDefRegMap(@Self)^.&set := $00000040;
  38655. end;
  38656. function TPORTC_ODCC.getODCC6 : TBits_1; inline;
  38657. begin
  38658. getODCC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38659. end;
  38660. procedure TPORTC_ODCC.setODCC7; inline;
  38661. begin
  38662. pTDefRegMap(@Self)^.&set := $00000080;
  38663. end;
  38664. procedure TPORTC_ODCC.clearODCC7; inline;
  38665. begin
  38666. pTDefRegMap(@Self)^.clr := $00000080;
  38667. end;
  38668. procedure TPORTC_ODCC.setODCC7(thebits : TBits_1); inline;
  38669. begin
  38670. if thebits = 0 then
  38671. pTDefRegMap(@Self)^.clr := $00000080
  38672. else
  38673. pTDefRegMap(@Self)^.&set := $00000080;
  38674. end;
  38675. function TPORTC_ODCC.getODCC7 : TBits_1; inline;
  38676. begin
  38677. getODCC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38678. end;
  38679. procedure TPORTC_ODCC.setODCC8; inline;
  38680. begin
  38681. pTDefRegMap(@Self)^.&set := $00000100;
  38682. end;
  38683. procedure TPORTC_ODCC.clearODCC8; inline;
  38684. begin
  38685. pTDefRegMap(@Self)^.clr := $00000100;
  38686. end;
  38687. procedure TPORTC_ODCC.setODCC8(thebits : TBits_1); inline;
  38688. begin
  38689. if thebits = 0 then
  38690. pTDefRegMap(@Self)^.clr := $00000100
  38691. else
  38692. pTDefRegMap(@Self)^.&set := $00000100;
  38693. end;
  38694. function TPORTC_ODCC.getODCC8 : TBits_1; inline;
  38695. begin
  38696. getODCC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38697. end;
  38698. procedure TPORTC_ODCC.setODCC9; inline;
  38699. begin
  38700. pTDefRegMap(@Self)^.&set := $00000200;
  38701. end;
  38702. procedure TPORTC_ODCC.clearODCC9; inline;
  38703. begin
  38704. pTDefRegMap(@Self)^.clr := $00000200;
  38705. end;
  38706. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  38707. begin
  38708. if thebits = 0 then
  38709. pTDefRegMap(@Self)^.clr := $00000200
  38710. else
  38711. pTDefRegMap(@Self)^.&set := $00000200;
  38712. end;
  38713. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  38714. begin
  38715. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38716. end;
  38717. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  38718. begin
  38719. pTDefRegMap(@Self)^.val := thebits;
  38720. end;
  38721. function TPORTC_ODCC.getw : TBits_32; inline;
  38722. begin
  38723. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38724. end;
  38725. procedure TPORTC_CNPUC.setCNPUC0; inline;
  38726. begin
  38727. pTDefRegMap(@Self)^.&set := $00000001;
  38728. end;
  38729. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  38730. begin
  38731. pTDefRegMap(@Self)^.clr := $00000001;
  38732. end;
  38733. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  38734. begin
  38735. if thebits = 0 then
  38736. pTDefRegMap(@Self)^.clr := $00000001
  38737. else
  38738. pTDefRegMap(@Self)^.&set := $00000001;
  38739. end;
  38740. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  38741. begin
  38742. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38743. end;
  38744. procedure TPORTC_CNPUC.setCNPUC1; inline;
  38745. begin
  38746. pTDefRegMap(@Self)^.&set := $00000002;
  38747. end;
  38748. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  38749. begin
  38750. pTDefRegMap(@Self)^.clr := $00000002;
  38751. end;
  38752. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  38753. begin
  38754. if thebits = 0 then
  38755. pTDefRegMap(@Self)^.clr := $00000002
  38756. else
  38757. pTDefRegMap(@Self)^.&set := $00000002;
  38758. end;
  38759. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  38760. begin
  38761. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38762. end;
  38763. procedure TPORTC_CNPUC.setCNPUC2; inline;
  38764. begin
  38765. pTDefRegMap(@Self)^.&set := $00000004;
  38766. end;
  38767. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  38768. begin
  38769. pTDefRegMap(@Self)^.clr := $00000004;
  38770. end;
  38771. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  38772. begin
  38773. if thebits = 0 then
  38774. pTDefRegMap(@Self)^.clr := $00000004
  38775. else
  38776. pTDefRegMap(@Self)^.&set := $00000004;
  38777. end;
  38778. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  38779. begin
  38780. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38781. end;
  38782. procedure TPORTC_CNPUC.setCNPUC3; inline;
  38783. begin
  38784. pTDefRegMap(@Self)^.&set := $00000008;
  38785. end;
  38786. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  38787. begin
  38788. pTDefRegMap(@Self)^.clr := $00000008;
  38789. end;
  38790. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  38791. begin
  38792. if thebits = 0 then
  38793. pTDefRegMap(@Self)^.clr := $00000008
  38794. else
  38795. pTDefRegMap(@Self)^.&set := $00000008;
  38796. end;
  38797. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  38798. begin
  38799. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38800. end;
  38801. procedure TPORTC_CNPUC.setCNPUC4; inline;
  38802. begin
  38803. pTDefRegMap(@Self)^.&set := $00000010;
  38804. end;
  38805. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  38806. begin
  38807. pTDefRegMap(@Self)^.clr := $00000010;
  38808. end;
  38809. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  38810. begin
  38811. if thebits = 0 then
  38812. pTDefRegMap(@Self)^.clr := $00000010
  38813. else
  38814. pTDefRegMap(@Self)^.&set := $00000010;
  38815. end;
  38816. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  38817. begin
  38818. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38819. end;
  38820. procedure TPORTC_CNPUC.setCNPUC5; inline;
  38821. begin
  38822. pTDefRegMap(@Self)^.&set := $00000020;
  38823. end;
  38824. procedure TPORTC_CNPUC.clearCNPUC5; inline;
  38825. begin
  38826. pTDefRegMap(@Self)^.clr := $00000020;
  38827. end;
  38828. procedure TPORTC_CNPUC.setCNPUC5(thebits : TBits_1); inline;
  38829. begin
  38830. if thebits = 0 then
  38831. pTDefRegMap(@Self)^.clr := $00000020
  38832. else
  38833. pTDefRegMap(@Self)^.&set := $00000020;
  38834. end;
  38835. function TPORTC_CNPUC.getCNPUC5 : TBits_1; inline;
  38836. begin
  38837. getCNPUC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38838. end;
  38839. procedure TPORTC_CNPUC.setCNPUC6; inline;
  38840. begin
  38841. pTDefRegMap(@Self)^.&set := $00000040;
  38842. end;
  38843. procedure TPORTC_CNPUC.clearCNPUC6; inline;
  38844. begin
  38845. pTDefRegMap(@Self)^.clr := $00000040;
  38846. end;
  38847. procedure TPORTC_CNPUC.setCNPUC6(thebits : TBits_1); inline;
  38848. begin
  38849. if thebits = 0 then
  38850. pTDefRegMap(@Self)^.clr := $00000040
  38851. else
  38852. pTDefRegMap(@Self)^.&set := $00000040;
  38853. end;
  38854. function TPORTC_CNPUC.getCNPUC6 : TBits_1; inline;
  38855. begin
  38856. getCNPUC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38857. end;
  38858. procedure TPORTC_CNPUC.setCNPUC7; inline;
  38859. begin
  38860. pTDefRegMap(@Self)^.&set := $00000080;
  38861. end;
  38862. procedure TPORTC_CNPUC.clearCNPUC7; inline;
  38863. begin
  38864. pTDefRegMap(@Self)^.clr := $00000080;
  38865. end;
  38866. procedure TPORTC_CNPUC.setCNPUC7(thebits : TBits_1); inline;
  38867. begin
  38868. if thebits = 0 then
  38869. pTDefRegMap(@Self)^.clr := $00000080
  38870. else
  38871. pTDefRegMap(@Self)^.&set := $00000080;
  38872. end;
  38873. function TPORTC_CNPUC.getCNPUC7 : TBits_1; inline;
  38874. begin
  38875. getCNPUC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38876. end;
  38877. procedure TPORTC_CNPUC.setCNPUC8; inline;
  38878. begin
  38879. pTDefRegMap(@Self)^.&set := $00000100;
  38880. end;
  38881. procedure TPORTC_CNPUC.clearCNPUC8; inline;
  38882. begin
  38883. pTDefRegMap(@Self)^.clr := $00000100;
  38884. end;
  38885. procedure TPORTC_CNPUC.setCNPUC8(thebits : TBits_1); inline;
  38886. begin
  38887. if thebits = 0 then
  38888. pTDefRegMap(@Self)^.clr := $00000100
  38889. else
  38890. pTDefRegMap(@Self)^.&set := $00000100;
  38891. end;
  38892. function TPORTC_CNPUC.getCNPUC8 : TBits_1; inline;
  38893. begin
  38894. getCNPUC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38895. end;
  38896. procedure TPORTC_CNPUC.setCNPUC9; inline;
  38897. begin
  38898. pTDefRegMap(@Self)^.&set := $00000200;
  38899. end;
  38900. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  38901. begin
  38902. pTDefRegMap(@Self)^.clr := $00000200;
  38903. end;
  38904. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  38905. begin
  38906. if thebits = 0 then
  38907. pTDefRegMap(@Self)^.clr := $00000200
  38908. else
  38909. pTDefRegMap(@Self)^.&set := $00000200;
  38910. end;
  38911. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  38912. begin
  38913. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38914. end;
  38915. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  38916. begin
  38917. pTDefRegMap(@Self)^.val := thebits;
  38918. end;
  38919. function TPORTC_CNPUC.getw : TBits_32; inline;
  38920. begin
  38921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38922. end;
  38923. procedure TPORTC_CNPDC.setCNPDC0; inline;
  38924. begin
  38925. pTDefRegMap(@Self)^.&set := $00000001;
  38926. end;
  38927. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  38928. begin
  38929. pTDefRegMap(@Self)^.clr := $00000001;
  38930. end;
  38931. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  38932. begin
  38933. if thebits = 0 then
  38934. pTDefRegMap(@Self)^.clr := $00000001
  38935. else
  38936. pTDefRegMap(@Self)^.&set := $00000001;
  38937. end;
  38938. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  38939. begin
  38940. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38941. end;
  38942. procedure TPORTC_CNPDC.setCNPDC1; inline;
  38943. begin
  38944. pTDefRegMap(@Self)^.&set := $00000002;
  38945. end;
  38946. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  38947. begin
  38948. pTDefRegMap(@Self)^.clr := $00000002;
  38949. end;
  38950. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  38951. begin
  38952. if thebits = 0 then
  38953. pTDefRegMap(@Self)^.clr := $00000002
  38954. else
  38955. pTDefRegMap(@Self)^.&set := $00000002;
  38956. end;
  38957. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  38958. begin
  38959. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38960. end;
  38961. procedure TPORTC_CNPDC.setCNPDC2; inline;
  38962. begin
  38963. pTDefRegMap(@Self)^.&set := $00000004;
  38964. end;
  38965. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  38966. begin
  38967. pTDefRegMap(@Self)^.clr := $00000004;
  38968. end;
  38969. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  38970. begin
  38971. if thebits = 0 then
  38972. pTDefRegMap(@Self)^.clr := $00000004
  38973. else
  38974. pTDefRegMap(@Self)^.&set := $00000004;
  38975. end;
  38976. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  38977. begin
  38978. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38979. end;
  38980. procedure TPORTC_CNPDC.setCNPDC3; inline;
  38981. begin
  38982. pTDefRegMap(@Self)^.&set := $00000008;
  38983. end;
  38984. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  38985. begin
  38986. pTDefRegMap(@Self)^.clr := $00000008;
  38987. end;
  38988. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  38989. begin
  38990. if thebits = 0 then
  38991. pTDefRegMap(@Self)^.clr := $00000008
  38992. else
  38993. pTDefRegMap(@Self)^.&set := $00000008;
  38994. end;
  38995. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  38996. begin
  38997. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38998. end;
  38999. procedure TPORTC_CNPDC.setCNPDC4; inline;
  39000. begin
  39001. pTDefRegMap(@Self)^.&set := $00000010;
  39002. end;
  39003. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  39004. begin
  39005. pTDefRegMap(@Self)^.clr := $00000010;
  39006. end;
  39007. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  39008. begin
  39009. if thebits = 0 then
  39010. pTDefRegMap(@Self)^.clr := $00000010
  39011. else
  39012. pTDefRegMap(@Self)^.&set := $00000010;
  39013. end;
  39014. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  39015. begin
  39016. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39017. end;
  39018. procedure TPORTC_CNPDC.setCNPDC5; inline;
  39019. begin
  39020. pTDefRegMap(@Self)^.&set := $00000020;
  39021. end;
  39022. procedure TPORTC_CNPDC.clearCNPDC5; inline;
  39023. begin
  39024. pTDefRegMap(@Self)^.clr := $00000020;
  39025. end;
  39026. procedure TPORTC_CNPDC.setCNPDC5(thebits : TBits_1); inline;
  39027. begin
  39028. if thebits = 0 then
  39029. pTDefRegMap(@Self)^.clr := $00000020
  39030. else
  39031. pTDefRegMap(@Self)^.&set := $00000020;
  39032. end;
  39033. function TPORTC_CNPDC.getCNPDC5 : TBits_1; inline;
  39034. begin
  39035. getCNPDC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39036. end;
  39037. procedure TPORTC_CNPDC.setCNPDC6; inline;
  39038. begin
  39039. pTDefRegMap(@Self)^.&set := $00000040;
  39040. end;
  39041. procedure TPORTC_CNPDC.clearCNPDC6; inline;
  39042. begin
  39043. pTDefRegMap(@Self)^.clr := $00000040;
  39044. end;
  39045. procedure TPORTC_CNPDC.setCNPDC6(thebits : TBits_1); inline;
  39046. begin
  39047. if thebits = 0 then
  39048. pTDefRegMap(@Self)^.clr := $00000040
  39049. else
  39050. pTDefRegMap(@Self)^.&set := $00000040;
  39051. end;
  39052. function TPORTC_CNPDC.getCNPDC6 : TBits_1; inline;
  39053. begin
  39054. getCNPDC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39055. end;
  39056. procedure TPORTC_CNPDC.setCNPDC7; inline;
  39057. begin
  39058. pTDefRegMap(@Self)^.&set := $00000080;
  39059. end;
  39060. procedure TPORTC_CNPDC.clearCNPDC7; inline;
  39061. begin
  39062. pTDefRegMap(@Self)^.clr := $00000080;
  39063. end;
  39064. procedure TPORTC_CNPDC.setCNPDC7(thebits : TBits_1); inline;
  39065. begin
  39066. if thebits = 0 then
  39067. pTDefRegMap(@Self)^.clr := $00000080
  39068. else
  39069. pTDefRegMap(@Self)^.&set := $00000080;
  39070. end;
  39071. function TPORTC_CNPDC.getCNPDC7 : TBits_1; inline;
  39072. begin
  39073. getCNPDC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39074. end;
  39075. procedure TPORTC_CNPDC.setCNPDC8; inline;
  39076. begin
  39077. pTDefRegMap(@Self)^.&set := $00000100;
  39078. end;
  39079. procedure TPORTC_CNPDC.clearCNPDC8; inline;
  39080. begin
  39081. pTDefRegMap(@Self)^.clr := $00000100;
  39082. end;
  39083. procedure TPORTC_CNPDC.setCNPDC8(thebits : TBits_1); inline;
  39084. begin
  39085. if thebits = 0 then
  39086. pTDefRegMap(@Self)^.clr := $00000100
  39087. else
  39088. pTDefRegMap(@Self)^.&set := $00000100;
  39089. end;
  39090. function TPORTC_CNPDC.getCNPDC8 : TBits_1; inline;
  39091. begin
  39092. getCNPDC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39093. end;
  39094. procedure TPORTC_CNPDC.setCNPDC9; inline;
  39095. begin
  39096. pTDefRegMap(@Self)^.&set := $00000200;
  39097. end;
  39098. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  39099. begin
  39100. pTDefRegMap(@Self)^.clr := $00000200;
  39101. end;
  39102. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  39103. begin
  39104. if thebits = 0 then
  39105. pTDefRegMap(@Self)^.clr := $00000200
  39106. else
  39107. pTDefRegMap(@Self)^.&set := $00000200;
  39108. end;
  39109. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  39110. begin
  39111. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39112. end;
  39113. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  39114. begin
  39115. pTDefRegMap(@Self)^.val := thebits;
  39116. end;
  39117. function TPORTC_CNPDC.getw : TBits_32; inline;
  39118. begin
  39119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39120. end;
  39121. procedure TPORTC_CNCONC.setSIDL; inline;
  39122. begin
  39123. pTDefRegMap(@Self)^.&set := $00002000;
  39124. end;
  39125. procedure TPORTC_CNCONC.clearSIDL; inline;
  39126. begin
  39127. pTDefRegMap(@Self)^.clr := $00002000;
  39128. end;
  39129. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  39130. begin
  39131. if thebits = 0 then
  39132. pTDefRegMap(@Self)^.clr := $00002000
  39133. else
  39134. pTDefRegMap(@Self)^.&set := $00002000;
  39135. end;
  39136. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  39137. begin
  39138. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39139. end;
  39140. procedure TPORTC_CNCONC.setON; inline;
  39141. begin
  39142. pTDefRegMap(@Self)^.&set := $00008000;
  39143. end;
  39144. procedure TPORTC_CNCONC.clearON; inline;
  39145. begin
  39146. pTDefRegMap(@Self)^.clr := $00008000;
  39147. end;
  39148. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  39149. begin
  39150. if thebits = 0 then
  39151. pTDefRegMap(@Self)^.clr := $00008000
  39152. else
  39153. pTDefRegMap(@Self)^.&set := $00008000;
  39154. end;
  39155. function TPORTC_CNCONC.getON : TBits_1; inline;
  39156. begin
  39157. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39158. end;
  39159. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  39160. begin
  39161. pTDefRegMap(@Self)^.val := thebits;
  39162. end;
  39163. function TPORTC_CNCONC.getw : TBits_32; inline;
  39164. begin
  39165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39166. end;
  39167. procedure TPORTC_CNENC.setCNIEC0; inline;
  39168. begin
  39169. pTDefRegMap(@Self)^.&set := $00000001;
  39170. end;
  39171. procedure TPORTC_CNENC.clearCNIEC0; inline;
  39172. begin
  39173. pTDefRegMap(@Self)^.clr := $00000001;
  39174. end;
  39175. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  39176. begin
  39177. if thebits = 0 then
  39178. pTDefRegMap(@Self)^.clr := $00000001
  39179. else
  39180. pTDefRegMap(@Self)^.&set := $00000001;
  39181. end;
  39182. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  39183. begin
  39184. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39185. end;
  39186. procedure TPORTC_CNENC.setCNIEC1; inline;
  39187. begin
  39188. pTDefRegMap(@Self)^.&set := $00000002;
  39189. end;
  39190. procedure TPORTC_CNENC.clearCNIEC1; inline;
  39191. begin
  39192. pTDefRegMap(@Self)^.clr := $00000002;
  39193. end;
  39194. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  39195. begin
  39196. if thebits = 0 then
  39197. pTDefRegMap(@Self)^.clr := $00000002
  39198. else
  39199. pTDefRegMap(@Self)^.&set := $00000002;
  39200. end;
  39201. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  39202. begin
  39203. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39204. end;
  39205. procedure TPORTC_CNENC.setCNIEC2; inline;
  39206. begin
  39207. pTDefRegMap(@Self)^.&set := $00000004;
  39208. end;
  39209. procedure TPORTC_CNENC.clearCNIEC2; inline;
  39210. begin
  39211. pTDefRegMap(@Self)^.clr := $00000004;
  39212. end;
  39213. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  39214. begin
  39215. if thebits = 0 then
  39216. pTDefRegMap(@Self)^.clr := $00000004
  39217. else
  39218. pTDefRegMap(@Self)^.&set := $00000004;
  39219. end;
  39220. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  39221. begin
  39222. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39223. end;
  39224. procedure TPORTC_CNENC.setCNIEC3; inline;
  39225. begin
  39226. pTDefRegMap(@Self)^.&set := $00000008;
  39227. end;
  39228. procedure TPORTC_CNENC.clearCNIEC3; inline;
  39229. begin
  39230. pTDefRegMap(@Self)^.clr := $00000008;
  39231. end;
  39232. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  39233. begin
  39234. if thebits = 0 then
  39235. pTDefRegMap(@Self)^.clr := $00000008
  39236. else
  39237. pTDefRegMap(@Self)^.&set := $00000008;
  39238. end;
  39239. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  39240. begin
  39241. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39242. end;
  39243. procedure TPORTC_CNENC.setCNIEC4; inline;
  39244. begin
  39245. pTDefRegMap(@Self)^.&set := $00000010;
  39246. end;
  39247. procedure TPORTC_CNENC.clearCNIEC4; inline;
  39248. begin
  39249. pTDefRegMap(@Self)^.clr := $00000010;
  39250. end;
  39251. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  39252. begin
  39253. if thebits = 0 then
  39254. pTDefRegMap(@Self)^.clr := $00000010
  39255. else
  39256. pTDefRegMap(@Self)^.&set := $00000010;
  39257. end;
  39258. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  39259. begin
  39260. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39261. end;
  39262. procedure TPORTC_CNENC.setCNIEC5; inline;
  39263. begin
  39264. pTDefRegMap(@Self)^.&set := $00000020;
  39265. end;
  39266. procedure TPORTC_CNENC.clearCNIEC5; inline;
  39267. begin
  39268. pTDefRegMap(@Self)^.clr := $00000020;
  39269. end;
  39270. procedure TPORTC_CNENC.setCNIEC5(thebits : TBits_1); inline;
  39271. begin
  39272. if thebits = 0 then
  39273. pTDefRegMap(@Self)^.clr := $00000020
  39274. else
  39275. pTDefRegMap(@Self)^.&set := $00000020;
  39276. end;
  39277. function TPORTC_CNENC.getCNIEC5 : TBits_1; inline;
  39278. begin
  39279. getCNIEC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39280. end;
  39281. procedure TPORTC_CNENC.setCNIEC6; inline;
  39282. begin
  39283. pTDefRegMap(@Self)^.&set := $00000040;
  39284. end;
  39285. procedure TPORTC_CNENC.clearCNIEC6; inline;
  39286. begin
  39287. pTDefRegMap(@Self)^.clr := $00000040;
  39288. end;
  39289. procedure TPORTC_CNENC.setCNIEC6(thebits : TBits_1); inline;
  39290. begin
  39291. if thebits = 0 then
  39292. pTDefRegMap(@Self)^.clr := $00000040
  39293. else
  39294. pTDefRegMap(@Self)^.&set := $00000040;
  39295. end;
  39296. function TPORTC_CNENC.getCNIEC6 : TBits_1; inline;
  39297. begin
  39298. getCNIEC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39299. end;
  39300. procedure TPORTC_CNENC.setCNIEC7; inline;
  39301. begin
  39302. pTDefRegMap(@Self)^.&set := $00000080;
  39303. end;
  39304. procedure TPORTC_CNENC.clearCNIEC7; inline;
  39305. begin
  39306. pTDefRegMap(@Self)^.clr := $00000080;
  39307. end;
  39308. procedure TPORTC_CNENC.setCNIEC7(thebits : TBits_1); inline;
  39309. begin
  39310. if thebits = 0 then
  39311. pTDefRegMap(@Self)^.clr := $00000080
  39312. else
  39313. pTDefRegMap(@Self)^.&set := $00000080;
  39314. end;
  39315. function TPORTC_CNENC.getCNIEC7 : TBits_1; inline;
  39316. begin
  39317. getCNIEC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39318. end;
  39319. procedure TPORTC_CNENC.setCNIEC8; inline;
  39320. begin
  39321. pTDefRegMap(@Self)^.&set := $00000100;
  39322. end;
  39323. procedure TPORTC_CNENC.clearCNIEC8; inline;
  39324. begin
  39325. pTDefRegMap(@Self)^.clr := $00000100;
  39326. end;
  39327. procedure TPORTC_CNENC.setCNIEC8(thebits : TBits_1); inline;
  39328. begin
  39329. if thebits = 0 then
  39330. pTDefRegMap(@Self)^.clr := $00000100
  39331. else
  39332. pTDefRegMap(@Self)^.&set := $00000100;
  39333. end;
  39334. function TPORTC_CNENC.getCNIEC8 : TBits_1; inline;
  39335. begin
  39336. getCNIEC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39337. end;
  39338. procedure TPORTC_CNENC.setCNIEC9; inline;
  39339. begin
  39340. pTDefRegMap(@Self)^.&set := $00000200;
  39341. end;
  39342. procedure TPORTC_CNENC.clearCNIEC9; inline;
  39343. begin
  39344. pTDefRegMap(@Self)^.clr := $00000200;
  39345. end;
  39346. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  39347. begin
  39348. if thebits = 0 then
  39349. pTDefRegMap(@Self)^.clr := $00000200
  39350. else
  39351. pTDefRegMap(@Self)^.&set := $00000200;
  39352. end;
  39353. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  39354. begin
  39355. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39356. end;
  39357. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  39358. begin
  39359. pTDefRegMap(@Self)^.val := thebits;
  39360. end;
  39361. function TPORTC_CNENC.getw : TBits_32; inline;
  39362. begin
  39363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39364. end;
  39365. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  39366. begin
  39367. pTDefRegMap(@Self)^.&set := $00000001;
  39368. end;
  39369. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  39370. begin
  39371. pTDefRegMap(@Self)^.clr := $00000001;
  39372. end;
  39373. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  39374. begin
  39375. if thebits = 0 then
  39376. pTDefRegMap(@Self)^.clr := $00000001
  39377. else
  39378. pTDefRegMap(@Self)^.&set := $00000001;
  39379. end;
  39380. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  39381. begin
  39382. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39383. end;
  39384. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  39385. begin
  39386. pTDefRegMap(@Self)^.&set := $00000002;
  39387. end;
  39388. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  39389. begin
  39390. pTDefRegMap(@Self)^.clr := $00000002;
  39391. end;
  39392. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  39393. begin
  39394. if thebits = 0 then
  39395. pTDefRegMap(@Self)^.clr := $00000002
  39396. else
  39397. pTDefRegMap(@Self)^.&set := $00000002;
  39398. end;
  39399. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  39400. begin
  39401. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39402. end;
  39403. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  39404. begin
  39405. pTDefRegMap(@Self)^.&set := $00000004;
  39406. end;
  39407. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  39408. begin
  39409. pTDefRegMap(@Self)^.clr := $00000004;
  39410. end;
  39411. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  39412. begin
  39413. if thebits = 0 then
  39414. pTDefRegMap(@Self)^.clr := $00000004
  39415. else
  39416. pTDefRegMap(@Self)^.&set := $00000004;
  39417. end;
  39418. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  39419. begin
  39420. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39421. end;
  39422. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  39423. begin
  39424. pTDefRegMap(@Self)^.&set := $00000008;
  39425. end;
  39426. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  39427. begin
  39428. pTDefRegMap(@Self)^.clr := $00000008;
  39429. end;
  39430. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  39431. begin
  39432. if thebits = 0 then
  39433. pTDefRegMap(@Self)^.clr := $00000008
  39434. else
  39435. pTDefRegMap(@Self)^.&set := $00000008;
  39436. end;
  39437. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  39438. begin
  39439. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39440. end;
  39441. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  39442. begin
  39443. pTDefRegMap(@Self)^.&set := $00000010;
  39444. end;
  39445. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  39446. begin
  39447. pTDefRegMap(@Self)^.clr := $00000010;
  39448. end;
  39449. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  39450. begin
  39451. if thebits = 0 then
  39452. pTDefRegMap(@Self)^.clr := $00000010
  39453. else
  39454. pTDefRegMap(@Self)^.&set := $00000010;
  39455. end;
  39456. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  39457. begin
  39458. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39459. end;
  39460. procedure TPORTC_CNSTATC.setCNSTATC5; inline;
  39461. begin
  39462. pTDefRegMap(@Self)^.&set := $00000020;
  39463. end;
  39464. procedure TPORTC_CNSTATC.clearCNSTATC5; inline;
  39465. begin
  39466. pTDefRegMap(@Self)^.clr := $00000020;
  39467. end;
  39468. procedure TPORTC_CNSTATC.setCNSTATC5(thebits : TBits_1); inline;
  39469. begin
  39470. if thebits = 0 then
  39471. pTDefRegMap(@Self)^.clr := $00000020
  39472. else
  39473. pTDefRegMap(@Self)^.&set := $00000020;
  39474. end;
  39475. function TPORTC_CNSTATC.getCNSTATC5 : TBits_1; inline;
  39476. begin
  39477. getCNSTATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39478. end;
  39479. procedure TPORTC_CNSTATC.setCNSTATC6; inline;
  39480. begin
  39481. pTDefRegMap(@Self)^.&set := $00000040;
  39482. end;
  39483. procedure TPORTC_CNSTATC.clearCNSTATC6; inline;
  39484. begin
  39485. pTDefRegMap(@Self)^.clr := $00000040;
  39486. end;
  39487. procedure TPORTC_CNSTATC.setCNSTATC6(thebits : TBits_1); inline;
  39488. begin
  39489. if thebits = 0 then
  39490. pTDefRegMap(@Self)^.clr := $00000040
  39491. else
  39492. pTDefRegMap(@Self)^.&set := $00000040;
  39493. end;
  39494. function TPORTC_CNSTATC.getCNSTATC6 : TBits_1; inline;
  39495. begin
  39496. getCNSTATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39497. end;
  39498. procedure TPORTC_CNSTATC.setCNSTATC7; inline;
  39499. begin
  39500. pTDefRegMap(@Self)^.&set := $00000080;
  39501. end;
  39502. procedure TPORTC_CNSTATC.clearCNSTATC7; inline;
  39503. begin
  39504. pTDefRegMap(@Self)^.clr := $00000080;
  39505. end;
  39506. procedure TPORTC_CNSTATC.setCNSTATC7(thebits : TBits_1); inline;
  39507. begin
  39508. if thebits = 0 then
  39509. pTDefRegMap(@Self)^.clr := $00000080
  39510. else
  39511. pTDefRegMap(@Self)^.&set := $00000080;
  39512. end;
  39513. function TPORTC_CNSTATC.getCNSTATC7 : TBits_1; inline;
  39514. begin
  39515. getCNSTATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39516. end;
  39517. procedure TPORTC_CNSTATC.setCNSTATC8; inline;
  39518. begin
  39519. pTDefRegMap(@Self)^.&set := $00000100;
  39520. end;
  39521. procedure TPORTC_CNSTATC.clearCNSTATC8; inline;
  39522. begin
  39523. pTDefRegMap(@Self)^.clr := $00000100;
  39524. end;
  39525. procedure TPORTC_CNSTATC.setCNSTATC8(thebits : TBits_1); inline;
  39526. begin
  39527. if thebits = 0 then
  39528. pTDefRegMap(@Self)^.clr := $00000100
  39529. else
  39530. pTDefRegMap(@Self)^.&set := $00000100;
  39531. end;
  39532. function TPORTC_CNSTATC.getCNSTATC8 : TBits_1; inline;
  39533. begin
  39534. getCNSTATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39535. end;
  39536. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  39537. begin
  39538. pTDefRegMap(@Self)^.&set := $00000200;
  39539. end;
  39540. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  39541. begin
  39542. pTDefRegMap(@Self)^.clr := $00000200;
  39543. end;
  39544. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  39545. begin
  39546. if thebits = 0 then
  39547. pTDefRegMap(@Self)^.clr := $00000200
  39548. else
  39549. pTDefRegMap(@Self)^.&set := $00000200;
  39550. end;
  39551. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  39552. begin
  39553. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39554. end;
  39555. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  39556. begin
  39557. pTDefRegMap(@Self)^.val := thebits;
  39558. end;
  39559. function TPORTC_CNSTATC.getw : TBits_32; inline;
  39560. begin
  39561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39562. end;
  39563. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  39564. begin
  39565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39566. end;
  39567. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  39568. begin
  39569. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39570. end;
  39571. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  39572. begin
  39573. pTDefRegMap(@Self)^.&set := $10000000;
  39574. end;
  39575. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  39576. begin
  39577. pTDefRegMap(@Self)^.clr := $10000000;
  39578. end;
  39579. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  39580. begin
  39581. if thebits = 0 then
  39582. pTDefRegMap(@Self)^.clr := $10000000
  39583. else
  39584. pTDefRegMap(@Self)^.&set := $10000000;
  39585. end;
  39586. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  39587. begin
  39588. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39589. end;
  39590. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  39591. begin
  39592. pTDefRegMap(@Self)^.&set := $20000000;
  39593. end;
  39594. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  39595. begin
  39596. pTDefRegMap(@Self)^.clr := $20000000;
  39597. end;
  39598. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  39599. begin
  39600. if thebits = 0 then
  39601. pTDefRegMap(@Self)^.clr := $20000000
  39602. else
  39603. pTDefRegMap(@Self)^.&set := $20000000;
  39604. end;
  39605. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  39606. begin
  39607. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  39608. end;
  39609. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  39610. begin
  39611. pTDefRegMap(@Self)^.&set := $40000000;
  39612. end;
  39613. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  39614. begin
  39615. pTDefRegMap(@Self)^.clr := $40000000;
  39616. end;
  39617. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  39618. begin
  39619. if thebits = 0 then
  39620. pTDefRegMap(@Self)^.clr := $40000000
  39621. else
  39622. pTDefRegMap(@Self)^.&set := $40000000;
  39623. end;
  39624. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  39625. begin
  39626. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  39627. end;
  39628. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  39629. begin
  39630. pTDefRegMap(@Self)^.&set := $80000000;
  39631. end;
  39632. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  39633. begin
  39634. pTDefRegMap(@Self)^.clr := $80000000;
  39635. end;
  39636. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  39637. begin
  39638. if thebits = 0 then
  39639. pTDefRegMap(@Self)^.clr := $80000000
  39640. else
  39641. pTDefRegMap(@Self)^.&set := $80000000;
  39642. end;
  39643. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  39644. begin
  39645. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  39646. end;
  39647. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  39648. begin
  39649. pTDefRegMap(@Self)^.val := thebits;
  39650. end;
  39651. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  39652. begin
  39653. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39654. end;
  39655. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  39656. begin
  39657. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  39658. end;
  39659. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  39660. begin
  39661. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  39662. end;
  39663. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  39664. begin
  39665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  39666. end;
  39667. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  39668. begin
  39669. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  39670. end;
  39671. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  39672. begin
  39673. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  39674. end;
  39675. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  39676. begin
  39677. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  39678. end;
  39679. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.&set := $00008000;
  39682. end;
  39683. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  39684. begin
  39685. pTDefRegMap(@Self)^.clr := $00008000;
  39686. end;
  39687. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  39688. begin
  39689. if thebits = 0 then
  39690. pTDefRegMap(@Self)^.clr := $00008000
  39691. else
  39692. pTDefRegMap(@Self)^.&set := $00008000;
  39693. end;
  39694. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  39695. begin
  39696. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39697. end;
  39698. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  39701. end;
  39702. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  39703. begin
  39704. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  39705. end;
  39706. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  39707. begin
  39708. pTDefRegMap(@Self)^.val := thebits;
  39709. end;
  39710. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  39711. begin
  39712. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39713. end;
  39714. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  39715. begin
  39716. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  39717. end;
  39718. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  39719. begin
  39720. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  39721. end;
  39722. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  39723. begin
  39724. pTDefRegMap(@Self)^.&set := $00000020;
  39725. end;
  39726. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  39727. begin
  39728. pTDefRegMap(@Self)^.clr := $00000020;
  39729. end;
  39730. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  39731. begin
  39732. if thebits = 0 then
  39733. pTDefRegMap(@Self)^.clr := $00000020
  39734. else
  39735. pTDefRegMap(@Self)^.&set := $00000020;
  39736. end;
  39737. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  39738. begin
  39739. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39740. end;
  39741. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  39742. begin
  39743. pTDefRegMap(@Self)^.&set := $00000080;
  39744. end;
  39745. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  39746. begin
  39747. pTDefRegMap(@Self)^.clr := $00000080;
  39748. end;
  39749. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  39750. begin
  39751. if thebits = 0 then
  39752. pTDefRegMap(@Self)^.clr := $00000080
  39753. else
  39754. pTDefRegMap(@Self)^.&set := $00000080;
  39755. end;
  39756. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  39757. begin
  39758. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39759. end;
  39760. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  39761. begin
  39762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  39763. end;
  39764. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  39765. begin
  39766. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  39767. end;
  39768. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  39769. begin
  39770. pTDefRegMap(@Self)^.&set := $00000400;
  39771. end;
  39772. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  39773. begin
  39774. pTDefRegMap(@Self)^.clr := $00000400;
  39775. end;
  39776. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  39777. begin
  39778. if thebits = 0 then
  39779. pTDefRegMap(@Self)^.clr := $00000400
  39780. else
  39781. pTDefRegMap(@Self)^.&set := $00000400;
  39782. end;
  39783. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  39784. begin
  39785. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39786. end;
  39787. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  39788. begin
  39789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  39790. end;
  39791. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  39792. begin
  39793. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  39794. end;
  39795. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  39796. begin
  39797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  39798. end;
  39799. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  39800. begin
  39801. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  39802. end;
  39803. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  39804. begin
  39805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  39806. end;
  39807. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  39808. begin
  39809. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  39810. end;
  39811. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  39812. begin
  39813. pTDefRegMap(@Self)^.&set := $00400000;
  39814. end;
  39815. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  39816. begin
  39817. pTDefRegMap(@Self)^.clr := $00400000;
  39818. end;
  39819. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  39820. begin
  39821. if thebits = 0 then
  39822. pTDefRegMap(@Self)^.clr := $00400000
  39823. else
  39824. pTDefRegMap(@Self)^.&set := $00400000;
  39825. end;
  39826. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  39827. begin
  39828. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39829. end;
  39830. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  39831. begin
  39832. pTDefRegMap(@Self)^.&set := $00800000;
  39833. end;
  39834. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  39835. begin
  39836. pTDefRegMap(@Self)^.clr := $00800000;
  39837. end;
  39838. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  39839. begin
  39840. if thebits = 0 then
  39841. pTDefRegMap(@Self)^.clr := $00800000
  39842. else
  39843. pTDefRegMap(@Self)^.&set := $00800000;
  39844. end;
  39845. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  39846. begin
  39847. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39848. end;
  39849. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  39850. begin
  39851. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  39852. end;
  39853. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  39854. begin
  39855. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  39856. end;
  39857. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  39858. begin
  39859. pTDefRegMap(@Self)^.val := thebits;
  39860. end;
  39861. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  39862. begin
  39863. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39864. end;
  39865. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  39866. begin
  39867. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39868. end;
  39869. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  39870. begin
  39871. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39872. end;
  39873. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  39874. begin
  39875. pTDefRegMap(@Self)^.&set := $00000004;
  39876. end;
  39877. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  39878. begin
  39879. pTDefRegMap(@Self)^.clr := $00000004;
  39880. end;
  39881. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  39882. begin
  39883. if thebits = 0 then
  39884. pTDefRegMap(@Self)^.clr := $00000004
  39885. else
  39886. pTDefRegMap(@Self)^.&set := $00000004;
  39887. end;
  39888. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  39889. begin
  39890. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39891. end;
  39892. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  39893. begin
  39894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  39895. end;
  39896. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  39897. begin
  39898. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  39899. end;
  39900. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  39901. begin
  39902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  39903. end;
  39904. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  39905. begin
  39906. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  39907. end;
  39908. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  39909. begin
  39910. pTDefRegMap(@Self)^.&set := $01000000;
  39911. end;
  39912. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  39913. begin
  39914. pTDefRegMap(@Self)^.clr := $01000000;
  39915. end;
  39916. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  39917. begin
  39918. if thebits = 0 then
  39919. pTDefRegMap(@Self)^.clr := $01000000
  39920. else
  39921. pTDefRegMap(@Self)^.&set := $01000000;
  39922. end;
  39923. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  39924. begin
  39925. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  39926. end;
  39927. procedure TDEVCFG_DEVCFG0.setCP; inline;
  39928. begin
  39929. pTDefRegMap(@Self)^.&set := $10000000;
  39930. end;
  39931. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  39932. begin
  39933. pTDefRegMap(@Self)^.clr := $10000000;
  39934. end;
  39935. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  39936. begin
  39937. if thebits = 0 then
  39938. pTDefRegMap(@Self)^.clr := $10000000
  39939. else
  39940. pTDefRegMap(@Self)^.&set := $10000000;
  39941. end;
  39942. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  39943. begin
  39944. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39945. end;
  39946. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  39947. begin
  39948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39949. end;
  39950. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  39951. begin
  39952. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39953. end;
  39954. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  39955. begin
  39956. pTDefRegMap(@Self)^.val := thebits;
  39957. end;
  39958. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  39959. begin
  39960. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39961. end;
  39962. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  39963. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  39964. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  39965. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  39966. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  39967. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  39968. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  39969. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  39970. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  39971. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  39972. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  39973. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  39974. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  39975. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  39976. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  39977. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  39978. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  39979. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  39980. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  39981. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  39982. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  39983. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  39984. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  39985. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  39986. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  39987. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  39988. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  39989. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  39990. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  39991. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  39992. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  39993. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  39994. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  39995. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  39996. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  39997. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  39998. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  39999. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  40000. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  40001. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  40002. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  40003. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  40004. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  40005. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  40006. procedure Vectors; assembler; nostackframe;
  40007. label interrupt_vectors;
  40008. asm
  40009. .section ".init.interrupt_vectors,\"ax\",@progbits"
  40010. interrupt_vectors:
  40011. j _CORE_TIMER_VECTOR_interrupt
  40012. nop
  40013. nop
  40014. nop
  40015. nop
  40016. nop
  40017. nop
  40018. nop
  40019. j _CORE_SOFTWARE_0_VECTOR_interrupt
  40020. nop
  40021. nop
  40022. nop
  40023. nop
  40024. nop
  40025. nop
  40026. nop
  40027. j _CORE_SOFTWARE_1_VECTOR_interrupt
  40028. nop
  40029. nop
  40030. nop
  40031. nop
  40032. nop
  40033. nop
  40034. nop
  40035. j _EXTERNAL_0_VECTOR_interrupt
  40036. nop
  40037. nop
  40038. nop
  40039. nop
  40040. nop
  40041. nop
  40042. nop
  40043. j _TIMER_1_VECTOR_interrupt
  40044. nop
  40045. nop
  40046. nop
  40047. nop
  40048. nop
  40049. nop
  40050. nop
  40051. j _INPUT_CAPTURE_1_VECTOR_interrupt
  40052. nop
  40053. nop
  40054. nop
  40055. nop
  40056. nop
  40057. nop
  40058. nop
  40059. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  40060. nop
  40061. nop
  40062. nop
  40063. nop
  40064. nop
  40065. nop
  40066. nop
  40067. j _EXTERNAL_1_VECTOR_interrupt
  40068. nop
  40069. nop
  40070. nop
  40071. nop
  40072. nop
  40073. nop
  40074. nop
  40075. j _TIMER_2_VECTOR_interrupt
  40076. nop
  40077. nop
  40078. nop
  40079. nop
  40080. nop
  40081. nop
  40082. nop
  40083. j _INPUT_CAPTURE_2_VECTOR_interrupt
  40084. nop
  40085. nop
  40086. nop
  40087. nop
  40088. nop
  40089. nop
  40090. nop
  40091. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  40092. nop
  40093. nop
  40094. nop
  40095. nop
  40096. nop
  40097. nop
  40098. nop
  40099. j _EXTERNAL_2_VECTOR_interrupt
  40100. nop
  40101. nop
  40102. nop
  40103. nop
  40104. nop
  40105. nop
  40106. nop
  40107. j _TIMER_3_VECTOR_interrupt
  40108. nop
  40109. nop
  40110. nop
  40111. nop
  40112. nop
  40113. nop
  40114. nop
  40115. j _INPUT_CAPTURE_3_VECTOR_interrupt
  40116. nop
  40117. nop
  40118. nop
  40119. nop
  40120. nop
  40121. nop
  40122. nop
  40123. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  40124. nop
  40125. nop
  40126. nop
  40127. nop
  40128. nop
  40129. nop
  40130. nop
  40131. j _EXTERNAL_3_VECTOR_interrupt
  40132. nop
  40133. nop
  40134. nop
  40135. nop
  40136. nop
  40137. nop
  40138. nop
  40139. j _TIMER_4_VECTOR_interrupt
  40140. nop
  40141. nop
  40142. nop
  40143. nop
  40144. nop
  40145. nop
  40146. nop
  40147. j _INPUT_CAPTURE_4_VECTOR_interrupt
  40148. nop
  40149. nop
  40150. nop
  40151. nop
  40152. nop
  40153. nop
  40154. nop
  40155. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  40156. nop
  40157. nop
  40158. nop
  40159. nop
  40160. nop
  40161. nop
  40162. nop
  40163. j _EXTERNAL_4_VECTOR_interrupt
  40164. nop
  40165. nop
  40166. nop
  40167. nop
  40168. nop
  40169. nop
  40170. nop
  40171. j _TIMER_5_VECTOR_interrupt
  40172. nop
  40173. nop
  40174. nop
  40175. nop
  40176. nop
  40177. nop
  40178. nop
  40179. j _INPUT_CAPTURE_5_VECTOR_interrupt
  40180. nop
  40181. nop
  40182. nop
  40183. nop
  40184. nop
  40185. nop
  40186. nop
  40187. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  40188. nop
  40189. nop
  40190. nop
  40191. nop
  40192. nop
  40193. nop
  40194. nop
  40195. j _ADC_VECTOR_interrupt
  40196. nop
  40197. nop
  40198. nop
  40199. nop
  40200. nop
  40201. nop
  40202. nop
  40203. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40204. nop
  40205. nop
  40206. nop
  40207. nop
  40208. nop
  40209. nop
  40210. nop
  40211. j _RTCC_VECTOR_interrupt
  40212. nop
  40213. nop
  40214. nop
  40215. nop
  40216. nop
  40217. nop
  40218. nop
  40219. j _FCE_VECTOR_interrupt
  40220. nop
  40221. nop
  40222. nop
  40223. nop
  40224. nop
  40225. nop
  40226. nop
  40227. j _COMPARATOR_1_VECTOR_interrupt
  40228. nop
  40229. nop
  40230. nop
  40231. nop
  40232. nop
  40233. nop
  40234. nop
  40235. j _COMPARATOR_2_VECTOR_interrupt
  40236. nop
  40237. nop
  40238. nop
  40239. nop
  40240. nop
  40241. nop
  40242. nop
  40243. j _COMPARATOR_3_VECTOR_interrupt
  40244. nop
  40245. nop
  40246. nop
  40247. nop
  40248. nop
  40249. nop
  40250. nop
  40251. j _USB_1_VECTOR_interrupt
  40252. nop
  40253. nop
  40254. nop
  40255. nop
  40256. nop
  40257. nop
  40258. nop
  40259. j _SPI_1_VECTOR_interrupt
  40260. nop
  40261. nop
  40262. nop
  40263. nop
  40264. nop
  40265. nop
  40266. nop
  40267. j _UART_1_VECTOR_interrupt
  40268. nop
  40269. nop
  40270. nop
  40271. nop
  40272. nop
  40273. nop
  40274. nop
  40275. j _I2C_1_VECTOR_interrupt
  40276. nop
  40277. nop
  40278. nop
  40279. nop
  40280. nop
  40281. nop
  40282. nop
  40283. j _CHANGE_NOTICE_VECTOR_interrupt
  40284. nop
  40285. nop
  40286. nop
  40287. nop
  40288. nop
  40289. nop
  40290. nop
  40291. j _PMP_VECTOR_interrupt
  40292. nop
  40293. nop
  40294. nop
  40295. nop
  40296. nop
  40297. nop
  40298. nop
  40299. j _SPI_2_VECTOR_interrupt
  40300. nop
  40301. nop
  40302. nop
  40303. nop
  40304. nop
  40305. nop
  40306. nop
  40307. j _UART_2_VECTOR_interrupt
  40308. nop
  40309. nop
  40310. nop
  40311. nop
  40312. nop
  40313. nop
  40314. nop
  40315. j _I2C_2_VECTOR_interrupt
  40316. nop
  40317. nop
  40318. nop
  40319. nop
  40320. nop
  40321. nop
  40322. nop
  40323. j _CTMU_VECTOR_interrupt
  40324. nop
  40325. nop
  40326. nop
  40327. nop
  40328. nop
  40329. nop
  40330. nop
  40331. j _DMA_0_VECTOR_interrupt
  40332. nop
  40333. nop
  40334. nop
  40335. nop
  40336. nop
  40337. nop
  40338. nop
  40339. j _DMA_1_VECTOR_interrupt
  40340. nop
  40341. nop
  40342. nop
  40343. nop
  40344. nop
  40345. nop
  40346. nop
  40347. j _DMA_2_VECTOR_interrupt
  40348. nop
  40349. nop
  40350. nop
  40351. nop
  40352. nop
  40353. nop
  40354. nop
  40355. j _DMA_3_VECTOR_interrupt
  40356. nop
  40357. nop
  40358. nop
  40359. nop
  40360. nop
  40361. nop
  40362. nop
  40363. .weak _CORE_TIMER_VECTOR_interrupt
  40364. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  40365. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  40366. .weak _EXTERNAL_0_VECTOR_interrupt
  40367. .weak _TIMER_1_VECTOR_interrupt
  40368. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  40369. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  40370. .weak _EXTERNAL_1_VECTOR_interrupt
  40371. .weak _TIMER_2_VECTOR_interrupt
  40372. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  40373. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  40374. .weak _EXTERNAL_2_VECTOR_interrupt
  40375. .weak _TIMER_3_VECTOR_interrupt
  40376. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  40377. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  40378. .weak _EXTERNAL_3_VECTOR_interrupt
  40379. .weak _TIMER_4_VECTOR_interrupt
  40380. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  40381. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  40382. .weak _EXTERNAL_4_VECTOR_interrupt
  40383. .weak _TIMER_5_VECTOR_interrupt
  40384. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  40385. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  40386. .weak _ADC_VECTOR_interrupt
  40387. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40388. .weak _RTCC_VECTOR_interrupt
  40389. .weak _FCE_VECTOR_interrupt
  40390. .weak _COMPARATOR_1_VECTOR_interrupt
  40391. .weak _COMPARATOR_2_VECTOR_interrupt
  40392. .weak _COMPARATOR_3_VECTOR_interrupt
  40393. .weak _USB_1_VECTOR_interrupt
  40394. .weak _SPI_1_VECTOR_interrupt
  40395. .weak _UART_1_VECTOR_interrupt
  40396. .weak _I2C_1_VECTOR_interrupt
  40397. .weak _CHANGE_NOTICE_VECTOR_interrupt
  40398. .weak _PMP_VECTOR_interrupt
  40399. .weak _SPI_2_VECTOR_interrupt
  40400. .weak _UART_2_VECTOR_interrupt
  40401. .weak _I2C_2_VECTOR_interrupt
  40402. .weak _CTMU_VECTOR_interrupt
  40403. .weak _DMA_0_VECTOR_interrupt
  40404. .weak _DMA_1_VECTOR_interrupt
  40405. .weak _DMA_2_VECTOR_interrupt
  40406. .weak _DMA_3_VECTOR_interrupt
  40407. .text
  40408. end;
  40409. end.