pic32mx170f256d.pp 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899
  1. unit pic32mx170f256d;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. type
  5167. TCFGRegisters = record
  5168. CFGCON : longWord;
  5169. DDPCON : longWord;
  5170. DEVID : longWord;
  5171. SYSKEY : longWord;
  5172. SYSKEYCLR : longWord;
  5173. SYSKEYSET : longWord;
  5174. SYSKEYINV : longWord;
  5175. PMD1 : longWord;
  5176. PMD1CLR : longWord;
  5177. PMD1SET : longWord;
  5178. PMD1INV : longWord;
  5179. PMD2 : longWord;
  5180. PMD2CLR : longWord;
  5181. PMD2SET : longWord;
  5182. PMD2INV : longWord;
  5183. PMD3 : longWord;
  5184. PMD3CLR : longWord;
  5185. PMD3SET : longWord;
  5186. PMD3INV : longWord;
  5187. PMD4 : longWord;
  5188. PMD4CLR : longWord;
  5189. PMD4SET : longWord;
  5190. PMD4INV : longWord;
  5191. PMD5 : longWord;
  5192. PMD5CLR : longWord;
  5193. PMD5SET : longWord;
  5194. PMD5INV : longWord;
  5195. PMD6 : longWord;
  5196. PMD6CLR : longWord;
  5197. PMD6SET : longWord;
  5198. PMD6INV : longWord;
  5199. end;
  5200. TNVM_NVMCON = record
  5201. private
  5202. function getLVDERR : TBits_1; inline;
  5203. function getLVDSTAT : TBits_1; inline;
  5204. function getNVMOP : TBits_4; inline;
  5205. function getNVMOP0 : TBits_1; inline;
  5206. function getNVMOP1 : TBits_1; inline;
  5207. function getNVMOP2 : TBits_1; inline;
  5208. function getNVMOP3 : TBits_1; inline;
  5209. function getPROGOP : TBits_4; inline;
  5210. function getPROGOP0 : TBits_1; inline;
  5211. function getPROGOP1 : TBits_1; inline;
  5212. function getPROGOP2 : TBits_1; inline;
  5213. function getPROGOP3 : TBits_1; inline;
  5214. function getWR : TBits_1; inline;
  5215. function getWREN : TBits_1; inline;
  5216. function getWRERR : TBits_1; inline;
  5217. function getw : TBits_32; inline;
  5218. procedure setLVDERR(thebits : TBits_1); inline;
  5219. procedure setLVDSTAT(thebits : TBits_1); inline;
  5220. procedure setNVMOP(thebits : TBits_4); inline;
  5221. procedure setNVMOP0(thebits : TBits_1); inline;
  5222. procedure setNVMOP1(thebits : TBits_1); inline;
  5223. procedure setNVMOP2(thebits : TBits_1); inline;
  5224. procedure setNVMOP3(thebits : TBits_1); inline;
  5225. procedure setPROGOP(thebits : TBits_4); inline;
  5226. procedure setPROGOP0(thebits : TBits_1); inline;
  5227. procedure setPROGOP1(thebits : TBits_1); inline;
  5228. procedure setPROGOP2(thebits : TBits_1); inline;
  5229. procedure setPROGOP3(thebits : TBits_1); inline;
  5230. procedure setWR(thebits : TBits_1); inline;
  5231. procedure setWREN(thebits : TBits_1); inline;
  5232. procedure setWRERR(thebits : TBits_1); inline;
  5233. procedure setw(thebits : TBits_32); inline;
  5234. public
  5235. procedure clearLVDERR; inline;
  5236. procedure clearLVDSTAT; inline;
  5237. procedure clearNVMOP0; inline;
  5238. procedure clearNVMOP1; inline;
  5239. procedure clearNVMOP2; inline;
  5240. procedure clearNVMOP3; inline;
  5241. procedure clearPROGOP0; inline;
  5242. procedure clearPROGOP1; inline;
  5243. procedure clearPROGOP2; inline;
  5244. procedure clearPROGOP3; inline;
  5245. procedure clearWR; inline;
  5246. procedure clearWREN; inline;
  5247. procedure clearWRERR; inline;
  5248. procedure setLVDERR; inline;
  5249. procedure setLVDSTAT; inline;
  5250. procedure setNVMOP0; inline;
  5251. procedure setNVMOP1; inline;
  5252. procedure setNVMOP2; inline;
  5253. procedure setNVMOP3; inline;
  5254. procedure setPROGOP0; inline;
  5255. procedure setPROGOP1; inline;
  5256. procedure setPROGOP2; inline;
  5257. procedure setPROGOP3; inline;
  5258. procedure setWR; inline;
  5259. procedure setWREN; inline;
  5260. procedure setWRERR; inline;
  5261. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5262. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5263. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5264. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5265. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5266. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5267. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5268. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5269. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5270. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5271. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5272. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5273. property WR : TBits_1 read getWR write setWR;
  5274. property WREN : TBits_1 read getWREN write setWREN;
  5275. property WRERR : TBits_1 read getWRERR write setWRERR;
  5276. property w : TBits_32 read getw write setw;
  5277. end;
  5278. type
  5279. TNVMRegisters = record
  5280. NVMCONbits : TNVM_NVMCON;
  5281. NVMCON : longWord;
  5282. NVMCONCLR : longWord;
  5283. NVMCONSET : longWord;
  5284. NVMCONINV : longWord;
  5285. NVMKEY : longWord;
  5286. NVMADDR : longWord;
  5287. NVMADDRCLR : longWord;
  5288. NVMADDRSET : longWord;
  5289. NVMADDRINV : longWord;
  5290. NVMDATA : longWord;
  5291. NVMSRCADDR : longWord;
  5292. end;
  5293. TRCON_RCON = record
  5294. private
  5295. function getBOR : TBits_1; inline;
  5296. function getCMR : TBits_1; inline;
  5297. function getEXTR : TBits_1; inline;
  5298. function getIDLE : TBits_1; inline;
  5299. function getPOR : TBits_1; inline;
  5300. function getSLEEP : TBits_1; inline;
  5301. function getSWR : TBits_1; inline;
  5302. function getVREGS : TBits_1; inline;
  5303. function getWDTO : TBits_1; inline;
  5304. function getw : TBits_32; inline;
  5305. procedure setBOR(thebits : TBits_1); inline;
  5306. procedure setCMR(thebits : TBits_1); inline;
  5307. procedure setEXTR(thebits : TBits_1); inline;
  5308. procedure setIDLE(thebits : TBits_1); inline;
  5309. procedure setPOR(thebits : TBits_1); inline;
  5310. procedure setSLEEP(thebits : TBits_1); inline;
  5311. procedure setSWR(thebits : TBits_1); inline;
  5312. procedure setVREGS(thebits : TBits_1); inline;
  5313. procedure setWDTO(thebits : TBits_1); inline;
  5314. procedure setw(thebits : TBits_32); inline;
  5315. public
  5316. procedure clearBOR; inline;
  5317. procedure clearCMR; inline;
  5318. procedure clearEXTR; inline;
  5319. procedure clearIDLE; inline;
  5320. procedure clearPOR; inline;
  5321. procedure clearSLEEP; inline;
  5322. procedure clearSWR; inline;
  5323. procedure clearVREGS; inline;
  5324. procedure clearWDTO; inline;
  5325. procedure setBOR; inline;
  5326. procedure setCMR; inline;
  5327. procedure setEXTR; inline;
  5328. procedure setIDLE; inline;
  5329. procedure setPOR; inline;
  5330. procedure setSLEEP; inline;
  5331. procedure setSWR; inline;
  5332. procedure setVREGS; inline;
  5333. procedure setWDTO; inline;
  5334. property BOR : TBits_1 read getBOR write setBOR;
  5335. property CMR : TBits_1 read getCMR write setCMR;
  5336. property EXTR : TBits_1 read getEXTR write setEXTR;
  5337. property IDLE : TBits_1 read getIDLE write setIDLE;
  5338. property POR : TBits_1 read getPOR write setPOR;
  5339. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5340. property SWR : TBits_1 read getSWR write setSWR;
  5341. property VREGS : TBits_1 read getVREGS write setVREGS;
  5342. property WDTO : TBits_1 read getWDTO write setWDTO;
  5343. property w : TBits_32 read getw write setw;
  5344. end;
  5345. TRCON_RSWRST = record
  5346. private
  5347. function getSWRST : TBits_1; inline;
  5348. function getw : TBits_32; inline;
  5349. procedure setSWRST(thebits : TBits_1); inline;
  5350. procedure setw(thebits : TBits_32); inline;
  5351. public
  5352. procedure clearSWRST; inline;
  5353. procedure setSWRST; inline;
  5354. property SWRST : TBits_1 read getSWRST write setSWRST;
  5355. property w : TBits_32 read getw write setw;
  5356. end;
  5357. type
  5358. TRCONRegisters = record
  5359. RCONbits : TRCON_RCON;
  5360. RCON : longWord;
  5361. RCONCLR : longWord;
  5362. RCONSET : longWord;
  5363. RCONINV : longWord;
  5364. RSWRSTbits : TRCON_RSWRST;
  5365. RSWRST : longWord;
  5366. RSWRSTCLR : longWord;
  5367. RSWRSTSET : longWord;
  5368. RSWRSTINV : longWord;
  5369. INT1R : longWord;
  5370. INT2R : longWord;
  5371. INT3R : longWord;
  5372. INT4R : longWord;
  5373. T2CKR : longWord;
  5374. T3CKR : longWord;
  5375. T4CKR : longWord;
  5376. T5CKR : longWord;
  5377. IC1R : longWord;
  5378. IC2R : longWord;
  5379. IC3R : longWord;
  5380. IC4R : longWord;
  5381. IC5R : longWord;
  5382. OCFAR : longWord;
  5383. OCFBR : longWord;
  5384. U1RXR : longWord;
  5385. U1CTSR : longWord;
  5386. U2RXR : longWord;
  5387. U2CTSR : longWord;
  5388. SDI1R : longWord;
  5389. SS1R : longWord;
  5390. SDI2R : longWord;
  5391. SS2R : longWord;
  5392. REFCLKIR : longWord;
  5393. RPA0R : longWord;
  5394. RPA1R : longWord;
  5395. RPA2R : longWord;
  5396. RPA3R : longWord;
  5397. RPA4R : longWord;
  5398. RPA8R : longWord;
  5399. RPA9R : longWord;
  5400. RPB0R : longWord;
  5401. RPB1R : longWord;
  5402. RPB2R : longWord;
  5403. RPB3R : longWord;
  5404. RPB4R : longWord;
  5405. RPB5R : longWord;
  5406. RPB6R : longWord;
  5407. RPB7R : longWord;
  5408. RPB8R : longWord;
  5409. RPB9R : longWord;
  5410. RPB10R : longWord;
  5411. RPB11R : longWord;
  5412. RPB12R : longWord;
  5413. RPB13R : longWord;
  5414. RPB14R : longWord;
  5415. RPB15R : longWord;
  5416. RPC0R : longWord;
  5417. RPC1R : longWord;
  5418. RPC2R : longWord;
  5419. RPC3R : longWord;
  5420. RPC4R : longWord;
  5421. RPC5R : longWord;
  5422. RPC6R : longWord;
  5423. RPC7R : longWord;
  5424. RPC8R : longWord;
  5425. RPC9R : longWord;
  5426. end;
  5427. TINT_INTCON = record
  5428. private
  5429. function getINT0EP : TBits_1; inline;
  5430. function getINT1EP : TBits_1; inline;
  5431. function getINT2EP : TBits_1; inline;
  5432. function getINT3EP : TBits_1; inline;
  5433. function getINT4EP : TBits_1; inline;
  5434. function getMVEC : TBits_1; inline;
  5435. function getSS0 : TBits_1; inline;
  5436. function getTPC : TBits_3; inline;
  5437. function getw : TBits_32; inline;
  5438. procedure setINT0EP(thebits : TBits_1); inline;
  5439. procedure setINT1EP(thebits : TBits_1); inline;
  5440. procedure setINT2EP(thebits : TBits_1); inline;
  5441. procedure setINT3EP(thebits : TBits_1); inline;
  5442. procedure setINT4EP(thebits : TBits_1); inline;
  5443. procedure setMVEC(thebits : TBits_1); inline;
  5444. procedure setSS0(thebits : TBits_1); inline;
  5445. procedure setTPC(thebits : TBits_3); inline;
  5446. procedure setw(thebits : TBits_32); inline;
  5447. public
  5448. procedure clearINT0EP; inline;
  5449. procedure clearINT1EP; inline;
  5450. procedure clearINT2EP; inline;
  5451. procedure clearINT3EP; inline;
  5452. procedure clearINT4EP; inline;
  5453. procedure clearMVEC; inline;
  5454. procedure clearSS0; inline;
  5455. procedure setINT0EP; inline;
  5456. procedure setINT1EP; inline;
  5457. procedure setINT2EP; inline;
  5458. procedure setINT3EP; inline;
  5459. procedure setINT4EP; inline;
  5460. procedure setMVEC; inline;
  5461. procedure setSS0; inline;
  5462. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5463. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5464. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5465. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5466. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5467. property MVEC : TBits_1 read getMVEC write setMVEC;
  5468. property SS0 : TBits_1 read getSS0 write setSS0;
  5469. property TPC : TBits_3 read getTPC write setTPC;
  5470. property w : TBits_32 read getw write setw;
  5471. end;
  5472. TINT_IFS0 = record
  5473. private
  5474. function getAD1IF : TBits_1; inline;
  5475. function getCS0IF : TBits_1; inline;
  5476. function getCS1IF : TBits_1; inline;
  5477. function getCTIF : TBits_1; inline;
  5478. function getFCEIF : TBits_1; inline;
  5479. function getFSCMIF : TBits_1; inline;
  5480. function getIC1EIF : TBits_1; inline;
  5481. function getIC1IF : TBits_1; inline;
  5482. function getIC2EIF : TBits_1; inline;
  5483. function getIC2IF : TBits_1; inline;
  5484. function getIC3EIF : TBits_1; inline;
  5485. function getIC3IF : TBits_1; inline;
  5486. function getIC4EIF : TBits_1; inline;
  5487. function getIC4IF : TBits_1; inline;
  5488. function getIC5EIF : TBits_1; inline;
  5489. function getIC5IF : TBits_1; inline;
  5490. function getINT0IF : TBits_1; inline;
  5491. function getINT1IF : TBits_1; inline;
  5492. function getINT2IF : TBits_1; inline;
  5493. function getINT3IF : TBits_1; inline;
  5494. function getINT4IF : TBits_1; inline;
  5495. function getOC1IF : TBits_1; inline;
  5496. function getOC2IF : TBits_1; inline;
  5497. function getOC3IF : TBits_1; inline;
  5498. function getOC4IF : TBits_1; inline;
  5499. function getOC5IF : TBits_1; inline;
  5500. function getRTCCIF : TBits_1; inline;
  5501. function getT1IF : TBits_1; inline;
  5502. function getT2IF : TBits_1; inline;
  5503. function getT3IF : TBits_1; inline;
  5504. function getT4IF : TBits_1; inline;
  5505. function getT5IF : TBits_1; inline;
  5506. function getw : TBits_32; inline;
  5507. procedure setAD1IF(thebits : TBits_1); inline;
  5508. procedure setCS0IF(thebits : TBits_1); inline;
  5509. procedure setCS1IF(thebits : TBits_1); inline;
  5510. procedure setCTIF(thebits : TBits_1); inline;
  5511. procedure setFCEIF(thebits : TBits_1); inline;
  5512. procedure setFSCMIF(thebits : TBits_1); inline;
  5513. procedure setIC1EIF(thebits : TBits_1); inline;
  5514. procedure setIC1IF(thebits : TBits_1); inline;
  5515. procedure setIC2EIF(thebits : TBits_1); inline;
  5516. procedure setIC2IF(thebits : TBits_1); inline;
  5517. procedure setIC3EIF(thebits : TBits_1); inline;
  5518. procedure setIC3IF(thebits : TBits_1); inline;
  5519. procedure setIC4EIF(thebits : TBits_1); inline;
  5520. procedure setIC4IF(thebits : TBits_1); inline;
  5521. procedure setIC5EIF(thebits : TBits_1); inline;
  5522. procedure setIC5IF(thebits : TBits_1); inline;
  5523. procedure setINT0IF(thebits : TBits_1); inline;
  5524. procedure setINT1IF(thebits : TBits_1); inline;
  5525. procedure setINT2IF(thebits : TBits_1); inline;
  5526. procedure setINT3IF(thebits : TBits_1); inline;
  5527. procedure setINT4IF(thebits : TBits_1); inline;
  5528. procedure setOC1IF(thebits : TBits_1); inline;
  5529. procedure setOC2IF(thebits : TBits_1); inline;
  5530. procedure setOC3IF(thebits : TBits_1); inline;
  5531. procedure setOC4IF(thebits : TBits_1); inline;
  5532. procedure setOC5IF(thebits : TBits_1); inline;
  5533. procedure setRTCCIF(thebits : TBits_1); inline;
  5534. procedure setT1IF(thebits : TBits_1); inline;
  5535. procedure setT2IF(thebits : TBits_1); inline;
  5536. procedure setT3IF(thebits : TBits_1); inline;
  5537. procedure setT4IF(thebits : TBits_1); inline;
  5538. procedure setT5IF(thebits : TBits_1); inline;
  5539. procedure setw(thebits : TBits_32); inline;
  5540. public
  5541. procedure clearAD1IF; inline;
  5542. procedure clearCS0IF; inline;
  5543. procedure clearCS1IF; inline;
  5544. procedure clearCTIF; inline;
  5545. procedure clearFCEIF; inline;
  5546. procedure clearFSCMIF; inline;
  5547. procedure clearIC1EIF; inline;
  5548. procedure clearIC1IF; inline;
  5549. procedure clearIC2EIF; inline;
  5550. procedure clearIC2IF; inline;
  5551. procedure clearIC3EIF; inline;
  5552. procedure clearIC3IF; inline;
  5553. procedure clearIC4EIF; inline;
  5554. procedure clearIC4IF; inline;
  5555. procedure clearIC5EIF; inline;
  5556. procedure clearIC5IF; inline;
  5557. procedure clearINT0IF; inline;
  5558. procedure clearINT1IF; inline;
  5559. procedure clearINT2IF; inline;
  5560. procedure clearINT3IF; inline;
  5561. procedure clearINT4IF; inline;
  5562. procedure clearOC1IF; inline;
  5563. procedure clearOC2IF; inline;
  5564. procedure clearOC3IF; inline;
  5565. procedure clearOC4IF; inline;
  5566. procedure clearOC5IF; inline;
  5567. procedure clearRTCCIF; inline;
  5568. procedure clearT1IF; inline;
  5569. procedure clearT2IF; inline;
  5570. procedure clearT3IF; inline;
  5571. procedure clearT4IF; inline;
  5572. procedure clearT5IF; inline;
  5573. procedure setAD1IF; inline;
  5574. procedure setCS0IF; inline;
  5575. procedure setCS1IF; inline;
  5576. procedure setCTIF; inline;
  5577. procedure setFCEIF; inline;
  5578. procedure setFSCMIF; inline;
  5579. procedure setIC1EIF; inline;
  5580. procedure setIC1IF; inline;
  5581. procedure setIC2EIF; inline;
  5582. procedure setIC2IF; inline;
  5583. procedure setIC3EIF; inline;
  5584. procedure setIC3IF; inline;
  5585. procedure setIC4EIF; inline;
  5586. procedure setIC4IF; inline;
  5587. procedure setIC5EIF; inline;
  5588. procedure setIC5IF; inline;
  5589. procedure setINT0IF; inline;
  5590. procedure setINT1IF; inline;
  5591. procedure setINT2IF; inline;
  5592. procedure setINT3IF; inline;
  5593. procedure setINT4IF; inline;
  5594. procedure setOC1IF; inline;
  5595. procedure setOC2IF; inline;
  5596. procedure setOC3IF; inline;
  5597. procedure setOC4IF; inline;
  5598. procedure setOC5IF; inline;
  5599. procedure setRTCCIF; inline;
  5600. procedure setT1IF; inline;
  5601. procedure setT2IF; inline;
  5602. procedure setT3IF; inline;
  5603. procedure setT4IF; inline;
  5604. procedure setT5IF; inline;
  5605. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5606. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5607. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5608. property CTIF : TBits_1 read getCTIF write setCTIF;
  5609. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5610. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5611. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5612. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5613. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5614. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5615. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5616. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5617. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5618. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5619. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5620. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5621. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5622. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5623. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5624. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5625. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5626. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5627. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5628. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5629. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5630. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5631. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5632. property T1IF : TBits_1 read getT1IF write setT1IF;
  5633. property T2IF : TBits_1 read getT2IF write setT2IF;
  5634. property T3IF : TBits_1 read getT3IF write setT3IF;
  5635. property T4IF : TBits_1 read getT4IF write setT4IF;
  5636. property T5IF : TBits_1 read getT5IF write setT5IF;
  5637. property w : TBits_32 read getw write setw;
  5638. end;
  5639. TINT_IFS1 = record
  5640. private
  5641. function getCMP1IF : TBits_1; inline;
  5642. function getCMP2IF : TBits_1; inline;
  5643. function getCMP3IF : TBits_1; inline;
  5644. function getCNAIF : TBits_1; inline;
  5645. function getCNBIF : TBits_1; inline;
  5646. function getCNCIF : TBits_1; inline;
  5647. function getCTMUIF : TBits_1; inline;
  5648. function getDMA0IF : TBits_1; inline;
  5649. function getDMA1IF : TBits_1; inline;
  5650. function getDMA2IF : TBits_1; inline;
  5651. function getDMA3IF : TBits_1; inline;
  5652. function getI2C1BIF : TBits_1; inline;
  5653. function getI2C1MIF : TBits_1; inline;
  5654. function getI2C1SIF : TBits_1; inline;
  5655. function getI2C2BIF : TBits_1; inline;
  5656. function getI2C2MIF : TBits_1; inline;
  5657. function getI2C2SIF : TBits_1; inline;
  5658. function getPMPEIF : TBits_1; inline;
  5659. function getPMPIF : TBits_1; inline;
  5660. function getSPI1EIF : TBits_1; inline;
  5661. function getSPI1RXIF : TBits_1; inline;
  5662. function getSPI1TXIF : TBits_1; inline;
  5663. function getSPI2EIF : TBits_1; inline;
  5664. function getSPI2RXIF : TBits_1; inline;
  5665. function getSPI2TXIF : TBits_1; inline;
  5666. function getU1EIF : TBits_1; inline;
  5667. function getU1RXIF : TBits_1; inline;
  5668. function getU1TXIF : TBits_1; inline;
  5669. function getU2EIF : TBits_1; inline;
  5670. function getU2RXIF : TBits_1; inline;
  5671. function getU2TXIF : TBits_1; inline;
  5672. function getw : TBits_32; inline;
  5673. procedure setCMP1IF(thebits : TBits_1); inline;
  5674. procedure setCMP2IF(thebits : TBits_1); inline;
  5675. procedure setCMP3IF(thebits : TBits_1); inline;
  5676. procedure setCNAIF(thebits : TBits_1); inline;
  5677. procedure setCNBIF(thebits : TBits_1); inline;
  5678. procedure setCNCIF(thebits : TBits_1); inline;
  5679. procedure setCTMUIF(thebits : TBits_1); inline;
  5680. procedure setDMA0IF(thebits : TBits_1); inline;
  5681. procedure setDMA1IF(thebits : TBits_1); inline;
  5682. procedure setDMA2IF(thebits : TBits_1); inline;
  5683. procedure setDMA3IF(thebits : TBits_1); inline;
  5684. procedure setI2C1BIF(thebits : TBits_1); inline;
  5685. procedure setI2C1MIF(thebits : TBits_1); inline;
  5686. procedure setI2C1SIF(thebits : TBits_1); inline;
  5687. procedure setI2C2BIF(thebits : TBits_1); inline;
  5688. procedure setI2C2MIF(thebits : TBits_1); inline;
  5689. procedure setI2C2SIF(thebits : TBits_1); inline;
  5690. procedure setPMPEIF(thebits : TBits_1); inline;
  5691. procedure setPMPIF(thebits : TBits_1); inline;
  5692. procedure setSPI1EIF(thebits : TBits_1); inline;
  5693. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5694. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5695. procedure setSPI2EIF(thebits : TBits_1); inline;
  5696. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5697. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5698. procedure setU1EIF(thebits : TBits_1); inline;
  5699. procedure setU1RXIF(thebits : TBits_1); inline;
  5700. procedure setU1TXIF(thebits : TBits_1); inline;
  5701. procedure setU2EIF(thebits : TBits_1); inline;
  5702. procedure setU2RXIF(thebits : TBits_1); inline;
  5703. procedure setU2TXIF(thebits : TBits_1); inline;
  5704. procedure setw(thebits : TBits_32); inline;
  5705. public
  5706. procedure clearCMP1IF; inline;
  5707. procedure clearCMP2IF; inline;
  5708. procedure clearCMP3IF; inline;
  5709. procedure clearCNAIF; inline;
  5710. procedure clearCNBIF; inline;
  5711. procedure clearCNCIF; inline;
  5712. procedure clearCTMUIF; inline;
  5713. procedure clearDMA0IF; inline;
  5714. procedure clearDMA1IF; inline;
  5715. procedure clearDMA2IF; inline;
  5716. procedure clearDMA3IF; inline;
  5717. procedure clearI2C1BIF; inline;
  5718. procedure clearI2C1MIF; inline;
  5719. procedure clearI2C1SIF; inline;
  5720. procedure clearI2C2BIF; inline;
  5721. procedure clearI2C2MIF; inline;
  5722. procedure clearI2C2SIF; inline;
  5723. procedure clearPMPEIF; inline;
  5724. procedure clearPMPIF; inline;
  5725. procedure clearSPI1EIF; inline;
  5726. procedure clearSPI1RXIF; inline;
  5727. procedure clearSPI1TXIF; inline;
  5728. procedure clearSPI2EIF; inline;
  5729. procedure clearSPI2RXIF; inline;
  5730. procedure clearSPI2TXIF; inline;
  5731. procedure clearU1EIF; inline;
  5732. procedure clearU1RXIF; inline;
  5733. procedure clearU1TXIF; inline;
  5734. procedure clearU2EIF; inline;
  5735. procedure clearU2RXIF; inline;
  5736. procedure clearU2TXIF; inline;
  5737. procedure setCMP1IF; inline;
  5738. procedure setCMP2IF; inline;
  5739. procedure setCMP3IF; inline;
  5740. procedure setCNAIF; inline;
  5741. procedure setCNBIF; inline;
  5742. procedure setCNCIF; inline;
  5743. procedure setCTMUIF; inline;
  5744. procedure setDMA0IF; inline;
  5745. procedure setDMA1IF; inline;
  5746. procedure setDMA2IF; inline;
  5747. procedure setDMA3IF; inline;
  5748. procedure setI2C1BIF; inline;
  5749. procedure setI2C1MIF; inline;
  5750. procedure setI2C1SIF; inline;
  5751. procedure setI2C2BIF; inline;
  5752. procedure setI2C2MIF; inline;
  5753. procedure setI2C2SIF; inline;
  5754. procedure setPMPEIF; inline;
  5755. procedure setPMPIF; inline;
  5756. procedure setSPI1EIF; inline;
  5757. procedure setSPI1RXIF; inline;
  5758. procedure setSPI1TXIF; inline;
  5759. procedure setSPI2EIF; inline;
  5760. procedure setSPI2RXIF; inline;
  5761. procedure setSPI2TXIF; inline;
  5762. procedure setU1EIF; inline;
  5763. procedure setU1RXIF; inline;
  5764. procedure setU1TXIF; inline;
  5765. procedure setU2EIF; inline;
  5766. procedure setU2RXIF; inline;
  5767. procedure setU2TXIF; inline;
  5768. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5769. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5770. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5771. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5772. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5773. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5774. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5775. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5776. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5777. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5778. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5779. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5780. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5781. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5782. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5783. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5784. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5785. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5786. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5787. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5788. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5789. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5790. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5791. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5792. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5793. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5794. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5795. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5796. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5797. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5798. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5799. property w : TBits_32 read getw write setw;
  5800. end;
  5801. TINT_IEC0 = record
  5802. private
  5803. function getAD1IE : TBits_1; inline;
  5804. function getCS0IE : TBits_1; inline;
  5805. function getCS1IE : TBits_1; inline;
  5806. function getCTIE : TBits_1; inline;
  5807. function getFCEIE : TBits_1; inline;
  5808. function getFSCMIE : TBits_1; inline;
  5809. function getIC1EIE : TBits_1; inline;
  5810. function getIC1IE : TBits_1; inline;
  5811. function getIC2EIE : TBits_1; inline;
  5812. function getIC2IE : TBits_1; inline;
  5813. function getIC3EIE : TBits_1; inline;
  5814. function getIC3IE : TBits_1; inline;
  5815. function getIC4EIE : TBits_1; inline;
  5816. function getIC4IE : TBits_1; inline;
  5817. function getIC5EIE : TBits_1; inline;
  5818. function getIC5IE : TBits_1; inline;
  5819. function getINT0IE : TBits_1; inline;
  5820. function getINT1IE : TBits_1; inline;
  5821. function getINT2IE : TBits_1; inline;
  5822. function getINT3IE : TBits_1; inline;
  5823. function getINT4IE : TBits_1; inline;
  5824. function getOC1IE : TBits_1; inline;
  5825. function getOC2IE : TBits_1; inline;
  5826. function getOC3IE : TBits_1; inline;
  5827. function getOC4IE : TBits_1; inline;
  5828. function getOC5IE : TBits_1; inline;
  5829. function getRTCCIE : TBits_1; inline;
  5830. function getT1IE : TBits_1; inline;
  5831. function getT2IE : TBits_1; inline;
  5832. function getT3IE : TBits_1; inline;
  5833. function getT4IE : TBits_1; inline;
  5834. function getT5IE : TBits_1; inline;
  5835. function getw : TBits_32; inline;
  5836. procedure setAD1IE(thebits : TBits_1); inline;
  5837. procedure setCS0IE(thebits : TBits_1); inline;
  5838. procedure setCS1IE(thebits : TBits_1); inline;
  5839. procedure setCTIE(thebits : TBits_1); inline;
  5840. procedure setFCEIE(thebits : TBits_1); inline;
  5841. procedure setFSCMIE(thebits : TBits_1); inline;
  5842. procedure setIC1EIE(thebits : TBits_1); inline;
  5843. procedure setIC1IE(thebits : TBits_1); inline;
  5844. procedure setIC2EIE(thebits : TBits_1); inline;
  5845. procedure setIC2IE(thebits : TBits_1); inline;
  5846. procedure setIC3EIE(thebits : TBits_1); inline;
  5847. procedure setIC3IE(thebits : TBits_1); inline;
  5848. procedure setIC4EIE(thebits : TBits_1); inline;
  5849. procedure setIC4IE(thebits : TBits_1); inline;
  5850. procedure setIC5EIE(thebits : TBits_1); inline;
  5851. procedure setIC5IE(thebits : TBits_1); inline;
  5852. procedure setINT0IE(thebits : TBits_1); inline;
  5853. procedure setINT1IE(thebits : TBits_1); inline;
  5854. procedure setINT2IE(thebits : TBits_1); inline;
  5855. procedure setINT3IE(thebits : TBits_1); inline;
  5856. procedure setINT4IE(thebits : TBits_1); inline;
  5857. procedure setOC1IE(thebits : TBits_1); inline;
  5858. procedure setOC2IE(thebits : TBits_1); inline;
  5859. procedure setOC3IE(thebits : TBits_1); inline;
  5860. procedure setOC4IE(thebits : TBits_1); inline;
  5861. procedure setOC5IE(thebits : TBits_1); inline;
  5862. procedure setRTCCIE(thebits : TBits_1); inline;
  5863. procedure setT1IE(thebits : TBits_1); inline;
  5864. procedure setT2IE(thebits : TBits_1); inline;
  5865. procedure setT3IE(thebits : TBits_1); inline;
  5866. procedure setT4IE(thebits : TBits_1); inline;
  5867. procedure setT5IE(thebits : TBits_1); inline;
  5868. procedure setw(thebits : TBits_32); inline;
  5869. public
  5870. procedure clearAD1IE; inline;
  5871. procedure clearCS0IE; inline;
  5872. procedure clearCS1IE; inline;
  5873. procedure clearCTIE; inline;
  5874. procedure clearFCEIE; inline;
  5875. procedure clearFSCMIE; inline;
  5876. procedure clearIC1EIE; inline;
  5877. procedure clearIC1IE; inline;
  5878. procedure clearIC2EIE; inline;
  5879. procedure clearIC2IE; inline;
  5880. procedure clearIC3EIE; inline;
  5881. procedure clearIC3IE; inline;
  5882. procedure clearIC4EIE; inline;
  5883. procedure clearIC4IE; inline;
  5884. procedure clearIC5EIE; inline;
  5885. procedure clearIC5IE; inline;
  5886. procedure clearINT0IE; inline;
  5887. procedure clearINT1IE; inline;
  5888. procedure clearINT2IE; inline;
  5889. procedure clearINT3IE; inline;
  5890. procedure clearINT4IE; inline;
  5891. procedure clearOC1IE; inline;
  5892. procedure clearOC2IE; inline;
  5893. procedure clearOC3IE; inline;
  5894. procedure clearOC4IE; inline;
  5895. procedure clearOC5IE; inline;
  5896. procedure clearRTCCIE; inline;
  5897. procedure clearT1IE; inline;
  5898. procedure clearT2IE; inline;
  5899. procedure clearT3IE; inline;
  5900. procedure clearT4IE; inline;
  5901. procedure clearT5IE; inline;
  5902. procedure setAD1IE; inline;
  5903. procedure setCS0IE; inline;
  5904. procedure setCS1IE; inline;
  5905. procedure setCTIE; inline;
  5906. procedure setFCEIE; inline;
  5907. procedure setFSCMIE; inline;
  5908. procedure setIC1EIE; inline;
  5909. procedure setIC1IE; inline;
  5910. procedure setIC2EIE; inline;
  5911. procedure setIC2IE; inline;
  5912. procedure setIC3EIE; inline;
  5913. procedure setIC3IE; inline;
  5914. procedure setIC4EIE; inline;
  5915. procedure setIC4IE; inline;
  5916. procedure setIC5EIE; inline;
  5917. procedure setIC5IE; inline;
  5918. procedure setINT0IE; inline;
  5919. procedure setINT1IE; inline;
  5920. procedure setINT2IE; inline;
  5921. procedure setINT3IE; inline;
  5922. procedure setINT4IE; inline;
  5923. procedure setOC1IE; inline;
  5924. procedure setOC2IE; inline;
  5925. procedure setOC3IE; inline;
  5926. procedure setOC4IE; inline;
  5927. procedure setOC5IE; inline;
  5928. procedure setRTCCIE; inline;
  5929. procedure setT1IE; inline;
  5930. procedure setT2IE; inline;
  5931. procedure setT3IE; inline;
  5932. procedure setT4IE; inline;
  5933. procedure setT5IE; inline;
  5934. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5935. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5936. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5937. property CTIE : TBits_1 read getCTIE write setCTIE;
  5938. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5939. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5940. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5941. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5942. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5943. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5944. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5945. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5946. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5947. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5948. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5949. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5950. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5951. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  5952. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  5953. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  5954. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  5955. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  5956. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  5957. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  5958. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  5959. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  5960. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  5961. property T1IE : TBits_1 read getT1IE write setT1IE;
  5962. property T2IE : TBits_1 read getT2IE write setT2IE;
  5963. property T3IE : TBits_1 read getT3IE write setT3IE;
  5964. property T4IE : TBits_1 read getT4IE write setT4IE;
  5965. property T5IE : TBits_1 read getT5IE write setT5IE;
  5966. property w : TBits_32 read getw write setw;
  5967. end;
  5968. TINT_IEC1 = record
  5969. private
  5970. function getCMP1IE : TBits_1; inline;
  5971. function getCMP2IE : TBits_1; inline;
  5972. function getCMP3IE : TBits_1; inline;
  5973. function getCNAIE : TBits_1; inline;
  5974. function getCNBIE : TBits_1; inline;
  5975. function getCNCIE : TBits_1; inline;
  5976. function getCTMUIE : TBits_1; inline;
  5977. function getDMA0IE : TBits_1; inline;
  5978. function getDMA1IE : TBits_1; inline;
  5979. function getDMA2IE : TBits_1; inline;
  5980. function getDMA3IE : TBits_1; inline;
  5981. function getI2C1BIE : TBits_1; inline;
  5982. function getI2C1MIE : TBits_1; inline;
  5983. function getI2C1SIE : TBits_1; inline;
  5984. function getI2C2BIE : TBits_1; inline;
  5985. function getI2C2MIE : TBits_1; inline;
  5986. function getI2C2SIE : TBits_1; inline;
  5987. function getPMPEIE : TBits_1; inline;
  5988. function getPMPIE : TBits_1; inline;
  5989. function getSPI1EIE : TBits_1; inline;
  5990. function getSPI1RXIE : TBits_1; inline;
  5991. function getSPI1TXIE : TBits_1; inline;
  5992. function getSPI2EIE : TBits_1; inline;
  5993. function getSPI2RXIE : TBits_1; inline;
  5994. function getSPI2TXIE : TBits_1; inline;
  5995. function getU1EIE : TBits_1; inline;
  5996. function getU1RXIE : TBits_1; inline;
  5997. function getU1TXIE : TBits_1; inline;
  5998. function getU2EIE : TBits_1; inline;
  5999. function getU2RXIE : TBits_1; inline;
  6000. function getU2TXIE : TBits_1; inline;
  6001. function getw : TBits_32; inline;
  6002. procedure setCMP1IE(thebits : TBits_1); inline;
  6003. procedure setCMP2IE(thebits : TBits_1); inline;
  6004. procedure setCMP3IE(thebits : TBits_1); inline;
  6005. procedure setCNAIE(thebits : TBits_1); inline;
  6006. procedure setCNBIE(thebits : TBits_1); inline;
  6007. procedure setCNCIE(thebits : TBits_1); inline;
  6008. procedure setCTMUIE(thebits : TBits_1); inline;
  6009. procedure setDMA0IE(thebits : TBits_1); inline;
  6010. procedure setDMA1IE(thebits : TBits_1); inline;
  6011. procedure setDMA2IE(thebits : TBits_1); inline;
  6012. procedure setDMA3IE(thebits : TBits_1); inline;
  6013. procedure setI2C1BIE(thebits : TBits_1); inline;
  6014. procedure setI2C1MIE(thebits : TBits_1); inline;
  6015. procedure setI2C1SIE(thebits : TBits_1); inline;
  6016. procedure setI2C2BIE(thebits : TBits_1); inline;
  6017. procedure setI2C2MIE(thebits : TBits_1); inline;
  6018. procedure setI2C2SIE(thebits : TBits_1); inline;
  6019. procedure setPMPEIE(thebits : TBits_1); inline;
  6020. procedure setPMPIE(thebits : TBits_1); inline;
  6021. procedure setSPI1EIE(thebits : TBits_1); inline;
  6022. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6023. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6024. procedure setSPI2EIE(thebits : TBits_1); inline;
  6025. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6026. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6027. procedure setU1EIE(thebits : TBits_1); inline;
  6028. procedure setU1RXIE(thebits : TBits_1); inline;
  6029. procedure setU1TXIE(thebits : TBits_1); inline;
  6030. procedure setU2EIE(thebits : TBits_1); inline;
  6031. procedure setU2RXIE(thebits : TBits_1); inline;
  6032. procedure setU2TXIE(thebits : TBits_1); inline;
  6033. procedure setw(thebits : TBits_32); inline;
  6034. public
  6035. procedure clearCMP1IE; inline;
  6036. procedure clearCMP2IE; inline;
  6037. procedure clearCMP3IE; inline;
  6038. procedure clearCNAIE; inline;
  6039. procedure clearCNBIE; inline;
  6040. procedure clearCNCIE; inline;
  6041. procedure clearCTMUIE; inline;
  6042. procedure clearDMA0IE; inline;
  6043. procedure clearDMA1IE; inline;
  6044. procedure clearDMA2IE; inline;
  6045. procedure clearDMA3IE; inline;
  6046. procedure clearI2C1BIE; inline;
  6047. procedure clearI2C1MIE; inline;
  6048. procedure clearI2C1SIE; inline;
  6049. procedure clearI2C2BIE; inline;
  6050. procedure clearI2C2MIE; inline;
  6051. procedure clearI2C2SIE; inline;
  6052. procedure clearPMPEIE; inline;
  6053. procedure clearPMPIE; inline;
  6054. procedure clearSPI1EIE; inline;
  6055. procedure clearSPI1RXIE; inline;
  6056. procedure clearSPI1TXIE; inline;
  6057. procedure clearSPI2EIE; inline;
  6058. procedure clearSPI2RXIE; inline;
  6059. procedure clearSPI2TXIE; inline;
  6060. procedure clearU1EIE; inline;
  6061. procedure clearU1RXIE; inline;
  6062. procedure clearU1TXIE; inline;
  6063. procedure clearU2EIE; inline;
  6064. procedure clearU2RXIE; inline;
  6065. procedure clearU2TXIE; inline;
  6066. procedure setCMP1IE; inline;
  6067. procedure setCMP2IE; inline;
  6068. procedure setCMP3IE; inline;
  6069. procedure setCNAIE; inline;
  6070. procedure setCNBIE; inline;
  6071. procedure setCNCIE; inline;
  6072. procedure setCTMUIE; inline;
  6073. procedure setDMA0IE; inline;
  6074. procedure setDMA1IE; inline;
  6075. procedure setDMA2IE; inline;
  6076. procedure setDMA3IE; inline;
  6077. procedure setI2C1BIE; inline;
  6078. procedure setI2C1MIE; inline;
  6079. procedure setI2C1SIE; inline;
  6080. procedure setI2C2BIE; inline;
  6081. procedure setI2C2MIE; inline;
  6082. procedure setI2C2SIE; inline;
  6083. procedure setPMPEIE; inline;
  6084. procedure setPMPIE; inline;
  6085. procedure setSPI1EIE; inline;
  6086. procedure setSPI1RXIE; inline;
  6087. procedure setSPI1TXIE; inline;
  6088. procedure setSPI2EIE; inline;
  6089. procedure setSPI2RXIE; inline;
  6090. procedure setSPI2TXIE; inline;
  6091. procedure setU1EIE; inline;
  6092. procedure setU1RXIE; inline;
  6093. procedure setU1TXIE; inline;
  6094. procedure setU2EIE; inline;
  6095. procedure setU2RXIE; inline;
  6096. procedure setU2TXIE; inline;
  6097. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6098. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6099. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6100. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6101. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6102. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6103. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6104. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6105. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6106. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6107. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6108. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6109. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6110. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6111. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6112. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6113. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6114. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6115. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6116. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6117. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6118. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6119. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6120. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6121. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6122. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6123. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6124. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6125. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6126. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6127. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6128. property w : TBits_32 read getw write setw;
  6129. end;
  6130. TINT_IPC0 = record
  6131. private
  6132. function getCS0IP : TBits_3; inline;
  6133. function getCS0IS : TBits_2; inline;
  6134. function getCS1IP : TBits_3; inline;
  6135. function getCS1IS : TBits_2; inline;
  6136. function getCTIP : TBits_3; inline;
  6137. function getCTIS : TBits_2; inline;
  6138. function getINT0IP : TBits_3; inline;
  6139. function getINT0IS : TBits_2; inline;
  6140. function getw : TBits_32; inline;
  6141. procedure setCS0IP(thebits : TBits_3); inline;
  6142. procedure setCS0IS(thebits : TBits_2); inline;
  6143. procedure setCS1IP(thebits : TBits_3); inline;
  6144. procedure setCS1IS(thebits : TBits_2); inline;
  6145. procedure setCTIP(thebits : TBits_3); inline;
  6146. procedure setCTIS(thebits : TBits_2); inline;
  6147. procedure setINT0IP(thebits : TBits_3); inline;
  6148. procedure setINT0IS(thebits : TBits_2); inline;
  6149. procedure setw(thebits : TBits_32); inline;
  6150. public
  6151. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6152. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6153. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6154. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6155. property CTIP : TBits_3 read getCTIP write setCTIP;
  6156. property CTIS : TBits_2 read getCTIS write setCTIS;
  6157. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6158. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6159. property w : TBits_32 read getw write setw;
  6160. end;
  6161. TINT_IPC1 = record
  6162. private
  6163. function getIC1IP : TBits_3; inline;
  6164. function getIC1IS : TBits_2; inline;
  6165. function getINT1IP : TBits_3; inline;
  6166. function getINT1IS : TBits_2; inline;
  6167. function getOC1IP : TBits_3; inline;
  6168. function getOC1IS : TBits_2; inline;
  6169. function getT1IP : TBits_3; inline;
  6170. function getT1IS : TBits_2; inline;
  6171. function getw : TBits_32; inline;
  6172. procedure setIC1IP(thebits : TBits_3); inline;
  6173. procedure setIC1IS(thebits : TBits_2); inline;
  6174. procedure setINT1IP(thebits : TBits_3); inline;
  6175. procedure setINT1IS(thebits : TBits_2); inline;
  6176. procedure setOC1IP(thebits : TBits_3); inline;
  6177. procedure setOC1IS(thebits : TBits_2); inline;
  6178. procedure setT1IP(thebits : TBits_3); inline;
  6179. procedure setT1IS(thebits : TBits_2); inline;
  6180. procedure setw(thebits : TBits_32); inline;
  6181. public
  6182. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6183. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6184. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6185. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6186. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6187. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6188. property T1IP : TBits_3 read getT1IP write setT1IP;
  6189. property T1IS : TBits_2 read getT1IS write setT1IS;
  6190. property w : TBits_32 read getw write setw;
  6191. end;
  6192. TINT_IPC2 = record
  6193. private
  6194. function getIC2IP : TBits_3; inline;
  6195. function getIC2IS : TBits_2; inline;
  6196. function getINT2IP : TBits_3; inline;
  6197. function getINT2IS : TBits_2; inline;
  6198. function getOC2IP : TBits_3; inline;
  6199. function getOC2IS : TBits_2; inline;
  6200. function getT2IP : TBits_3; inline;
  6201. function getT2IS : TBits_2; inline;
  6202. function getw : TBits_32; inline;
  6203. procedure setIC2IP(thebits : TBits_3); inline;
  6204. procedure setIC2IS(thebits : TBits_2); inline;
  6205. procedure setINT2IP(thebits : TBits_3); inline;
  6206. procedure setINT2IS(thebits : TBits_2); inline;
  6207. procedure setOC2IP(thebits : TBits_3); inline;
  6208. procedure setOC2IS(thebits : TBits_2); inline;
  6209. procedure setT2IP(thebits : TBits_3); inline;
  6210. procedure setT2IS(thebits : TBits_2); inline;
  6211. procedure setw(thebits : TBits_32); inline;
  6212. public
  6213. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6214. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6215. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6216. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6217. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6218. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6219. property T2IP : TBits_3 read getT2IP write setT2IP;
  6220. property T2IS : TBits_2 read getT2IS write setT2IS;
  6221. property w : TBits_32 read getw write setw;
  6222. end;
  6223. TINT_IPC3 = record
  6224. private
  6225. function getIC3IP : TBits_3; inline;
  6226. function getIC3IS : TBits_2; inline;
  6227. function getINT3IP : TBits_3; inline;
  6228. function getINT3IS : TBits_2; inline;
  6229. function getOC3IP : TBits_3; inline;
  6230. function getOC3IS : TBits_2; inline;
  6231. function getT3IP : TBits_3; inline;
  6232. function getT3IS : TBits_2; inline;
  6233. function getw : TBits_32; inline;
  6234. procedure setIC3IP(thebits : TBits_3); inline;
  6235. procedure setIC3IS(thebits : TBits_2); inline;
  6236. procedure setINT3IP(thebits : TBits_3); inline;
  6237. procedure setINT3IS(thebits : TBits_2); inline;
  6238. procedure setOC3IP(thebits : TBits_3); inline;
  6239. procedure setOC3IS(thebits : TBits_2); inline;
  6240. procedure setT3IP(thebits : TBits_3); inline;
  6241. procedure setT3IS(thebits : TBits_2); inline;
  6242. procedure setw(thebits : TBits_32); inline;
  6243. public
  6244. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6245. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6246. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6247. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6248. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6249. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6250. property T3IP : TBits_3 read getT3IP write setT3IP;
  6251. property T3IS : TBits_2 read getT3IS write setT3IS;
  6252. property w : TBits_32 read getw write setw;
  6253. end;
  6254. TINT_IPC4 = record
  6255. private
  6256. function getIC4IP : TBits_3; inline;
  6257. function getIC4IS : TBits_2; inline;
  6258. function getINT4IP : TBits_3; inline;
  6259. function getINT4IS : TBits_2; inline;
  6260. function getOC4IP : TBits_3; inline;
  6261. function getOC4IS : TBits_2; inline;
  6262. function getT4IP : TBits_3; inline;
  6263. function getT4IS : TBits_2; inline;
  6264. function getw : TBits_32; inline;
  6265. procedure setIC4IP(thebits : TBits_3); inline;
  6266. procedure setIC4IS(thebits : TBits_2); inline;
  6267. procedure setINT4IP(thebits : TBits_3); inline;
  6268. procedure setINT4IS(thebits : TBits_2); inline;
  6269. procedure setOC4IP(thebits : TBits_3); inline;
  6270. procedure setOC4IS(thebits : TBits_2); inline;
  6271. procedure setT4IP(thebits : TBits_3); inline;
  6272. procedure setT4IS(thebits : TBits_2); inline;
  6273. procedure setw(thebits : TBits_32); inline;
  6274. public
  6275. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6276. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6277. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6278. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6279. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6280. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6281. property T4IP : TBits_3 read getT4IP write setT4IP;
  6282. property T4IS : TBits_2 read getT4IS write setT4IS;
  6283. property w : TBits_32 read getw write setw;
  6284. end;
  6285. TINT_IPC5 = record
  6286. private
  6287. function getAD1IP : TBits_3; inline;
  6288. function getAD1IS : TBits_2; inline;
  6289. function getIC5IP : TBits_3; inline;
  6290. function getIC5IS : TBits_2; inline;
  6291. function getOC5IP : TBits_3; inline;
  6292. function getOC5IS : TBits_2; inline;
  6293. function getT5IP : TBits_3; inline;
  6294. function getT5IS : TBits_2; inline;
  6295. function getw : TBits_32; inline;
  6296. procedure setAD1IP(thebits : TBits_3); inline;
  6297. procedure setAD1IS(thebits : TBits_2); inline;
  6298. procedure setIC5IP(thebits : TBits_3); inline;
  6299. procedure setIC5IS(thebits : TBits_2); inline;
  6300. procedure setOC5IP(thebits : TBits_3); inline;
  6301. procedure setOC5IS(thebits : TBits_2); inline;
  6302. procedure setT5IP(thebits : TBits_3); inline;
  6303. procedure setT5IS(thebits : TBits_2); inline;
  6304. procedure setw(thebits : TBits_32); inline;
  6305. public
  6306. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6307. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6308. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6309. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6310. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6311. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6312. property T5IP : TBits_3 read getT5IP write setT5IP;
  6313. property T5IS : TBits_2 read getT5IS write setT5IS;
  6314. property w : TBits_32 read getw write setw;
  6315. end;
  6316. TINT_IPC6 = record
  6317. private
  6318. function getCMP1IP : TBits_3; inline;
  6319. function getCMP1IS : TBits_2; inline;
  6320. function getFCEIP : TBits_3; inline;
  6321. function getFCEIS : TBits_2; inline;
  6322. function getFSCMIP : TBits_3; inline;
  6323. function getFSCMIS : TBits_2; inline;
  6324. function getRTCCIP : TBits_3; inline;
  6325. function getRTCCIS : TBits_2; inline;
  6326. function getw : TBits_32; inline;
  6327. procedure setCMP1IP(thebits : TBits_3); inline;
  6328. procedure setCMP1IS(thebits : TBits_2); inline;
  6329. procedure setFCEIP(thebits : TBits_3); inline;
  6330. procedure setFCEIS(thebits : TBits_2); inline;
  6331. procedure setFSCMIP(thebits : TBits_3); inline;
  6332. procedure setFSCMIS(thebits : TBits_2); inline;
  6333. procedure setRTCCIP(thebits : TBits_3); inline;
  6334. procedure setRTCCIS(thebits : TBits_2); inline;
  6335. procedure setw(thebits : TBits_32); inline;
  6336. public
  6337. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6338. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6339. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6340. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6341. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6342. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6343. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6344. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6345. property w : TBits_32 read getw write setw;
  6346. end;
  6347. TINT_IPC7 = record
  6348. private
  6349. function getCMP2IP : TBits_3; inline;
  6350. function getCMP2IS : TBits_2; inline;
  6351. function getCMP3IP : TBits_3; inline;
  6352. function getCMP3IS : TBits_2; inline;
  6353. function getSPI1IP : TBits_3; inline;
  6354. function getSPI1IS : TBits_2; inline;
  6355. function getw : TBits_32; inline;
  6356. procedure setCMP2IP(thebits : TBits_3); inline;
  6357. procedure setCMP2IS(thebits : TBits_2); inline;
  6358. procedure setCMP3IP(thebits : TBits_3); inline;
  6359. procedure setCMP3IS(thebits : TBits_2); inline;
  6360. procedure setSPI1IP(thebits : TBits_3); inline;
  6361. procedure setSPI1IS(thebits : TBits_2); inline;
  6362. procedure setw(thebits : TBits_32); inline;
  6363. public
  6364. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6365. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6366. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6367. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6368. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6369. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6370. property w : TBits_32 read getw write setw;
  6371. end;
  6372. TINT_IPC8 = record
  6373. private
  6374. function getCNIP : TBits_3; inline;
  6375. function getCNIS : TBits_2; inline;
  6376. function getI2C1IP : TBits_3; inline;
  6377. function getI2C1IS : TBits_2; inline;
  6378. function getPMPIP : TBits_3; inline;
  6379. function getPMPIS : TBits_2; inline;
  6380. function getU1IP : TBits_3; inline;
  6381. function getU1IS : TBits_2; inline;
  6382. function getw : TBits_32; inline;
  6383. procedure setCNIP(thebits : TBits_3); inline;
  6384. procedure setCNIS(thebits : TBits_2); inline;
  6385. procedure setI2C1IP(thebits : TBits_3); inline;
  6386. procedure setI2C1IS(thebits : TBits_2); inline;
  6387. procedure setPMPIP(thebits : TBits_3); inline;
  6388. procedure setPMPIS(thebits : TBits_2); inline;
  6389. procedure setU1IP(thebits : TBits_3); inline;
  6390. procedure setU1IS(thebits : TBits_2); inline;
  6391. procedure setw(thebits : TBits_32); inline;
  6392. public
  6393. property CNIP : TBits_3 read getCNIP write setCNIP;
  6394. property CNIS : TBits_2 read getCNIS write setCNIS;
  6395. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6396. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6397. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6398. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6399. property U1IP : TBits_3 read getU1IP write setU1IP;
  6400. property U1IS : TBits_2 read getU1IS write setU1IS;
  6401. property w : TBits_32 read getw write setw;
  6402. end;
  6403. TINT_IPC9 = record
  6404. private
  6405. function getCTMUIP : TBits_3; inline;
  6406. function getCTMUIS : TBits_2; inline;
  6407. function getI2C2IP : TBits_3; inline;
  6408. function getI2C2IS : TBits_2; inline;
  6409. function getSPI2IP : TBits_3; inline;
  6410. function getSPI2IS : TBits_2; inline;
  6411. function getU2IP : TBits_3; inline;
  6412. function getU2IS : TBits_2; inline;
  6413. function getw : TBits_32; inline;
  6414. procedure setCTMUIP(thebits : TBits_3); inline;
  6415. procedure setCTMUIS(thebits : TBits_2); inline;
  6416. procedure setI2C2IP(thebits : TBits_3); inline;
  6417. procedure setI2C2IS(thebits : TBits_2); inline;
  6418. procedure setSPI2IP(thebits : TBits_3); inline;
  6419. procedure setSPI2IS(thebits : TBits_2); inline;
  6420. procedure setU2IP(thebits : TBits_3); inline;
  6421. procedure setU2IS(thebits : TBits_2); inline;
  6422. procedure setw(thebits : TBits_32); inline;
  6423. public
  6424. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6425. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6426. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6427. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6428. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6429. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6430. property U2IP : TBits_3 read getU2IP write setU2IP;
  6431. property U2IS : TBits_2 read getU2IS write setU2IS;
  6432. property w : TBits_32 read getw write setw;
  6433. end;
  6434. TINT_IPC10 = record
  6435. private
  6436. function getDMA0IP : TBits_3; inline;
  6437. function getDMA0IS : TBits_2; inline;
  6438. function getDMA1IP : TBits_3; inline;
  6439. function getDMA1IS : TBits_2; inline;
  6440. function getDMA2IP : TBits_3; inline;
  6441. function getDMA2IS : TBits_2; inline;
  6442. function getDMA3IP : TBits_3; inline;
  6443. function getDMA3IS : TBits_2; inline;
  6444. function getw : TBits_32; inline;
  6445. procedure setDMA0IP(thebits : TBits_3); inline;
  6446. procedure setDMA0IS(thebits : TBits_2); inline;
  6447. procedure setDMA1IP(thebits : TBits_3); inline;
  6448. procedure setDMA1IS(thebits : TBits_2); inline;
  6449. procedure setDMA2IP(thebits : TBits_3); inline;
  6450. procedure setDMA2IS(thebits : TBits_2); inline;
  6451. procedure setDMA3IP(thebits : TBits_3); inline;
  6452. procedure setDMA3IS(thebits : TBits_2); inline;
  6453. procedure setw(thebits : TBits_32); inline;
  6454. public
  6455. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6456. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6457. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6458. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6459. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6460. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6461. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6462. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6463. property w : TBits_32 read getw write setw;
  6464. end;
  6465. type
  6466. TINTRegisters = record
  6467. INTCONbits : TINT_INTCON;
  6468. INTCON : longWord;
  6469. INTCONCLR : longWord;
  6470. INTCONSET : longWord;
  6471. INTCONINV : longWord;
  6472. INTSTAT : longWord;
  6473. IPTMR : longWord;
  6474. IPTMRCLR : longWord;
  6475. IPTMRSET : longWord;
  6476. IPTMRINV : longWord;
  6477. IFS0bits : TINT_IFS0;
  6478. IFS0 : longWord;
  6479. IFS0CLR : longWord;
  6480. IFS0SET : longWord;
  6481. IFS0INV : longWord;
  6482. IFS1bits : TINT_IFS1;
  6483. IFS1 : longWord;
  6484. IFS1CLR : longWord;
  6485. IFS1SET : longWord;
  6486. IFS1INV : longWord;
  6487. IEC0bits : TINT_IEC0;
  6488. IEC0 : longWord;
  6489. IEC0CLR : longWord;
  6490. IEC0SET : longWord;
  6491. IEC0INV : longWord;
  6492. IEC1bits : TINT_IEC1;
  6493. IEC1 : longWord;
  6494. IEC1CLR : longWord;
  6495. IEC1SET : longWord;
  6496. IEC1INV : longWord;
  6497. IPC0bits : TINT_IPC0;
  6498. IPC0 : longWord;
  6499. IPC0CLR : longWord;
  6500. IPC0SET : longWord;
  6501. IPC0INV : longWord;
  6502. IPC1bits : TINT_IPC1;
  6503. IPC1 : longWord;
  6504. IPC1CLR : longWord;
  6505. IPC1SET : longWord;
  6506. IPC1INV : longWord;
  6507. IPC2bits : TINT_IPC2;
  6508. IPC2 : longWord;
  6509. IPC2CLR : longWord;
  6510. IPC2SET : longWord;
  6511. IPC2INV : longWord;
  6512. IPC3bits : TINT_IPC3;
  6513. IPC3 : longWord;
  6514. IPC3CLR : longWord;
  6515. IPC3SET : longWord;
  6516. IPC3INV : longWord;
  6517. IPC4bits : TINT_IPC4;
  6518. IPC4 : longWord;
  6519. IPC4CLR : longWord;
  6520. IPC4SET : longWord;
  6521. IPC4INV : longWord;
  6522. IPC5bits : TINT_IPC5;
  6523. IPC5 : longWord;
  6524. IPC5CLR : longWord;
  6525. IPC5SET : longWord;
  6526. IPC5INV : longWord;
  6527. IPC6bits : TINT_IPC6;
  6528. IPC6 : longWord;
  6529. IPC6CLR : longWord;
  6530. IPC6SET : longWord;
  6531. IPC6INV : longWord;
  6532. IPC7bits : TINT_IPC7;
  6533. IPC7 : longWord;
  6534. IPC7CLR : longWord;
  6535. IPC7SET : longWord;
  6536. IPC7INV : longWord;
  6537. IPC8bits : TINT_IPC8;
  6538. IPC8 : longWord;
  6539. IPC8CLR : longWord;
  6540. IPC8SET : longWord;
  6541. IPC8INV : longWord;
  6542. IPC9bits : TINT_IPC9;
  6543. IPC9 : longWord;
  6544. IPC9CLR : longWord;
  6545. IPC9SET : longWord;
  6546. IPC9INV : longWord;
  6547. IPC10bits : TINT_IPC10;
  6548. IPC10 : longWord;
  6549. IPC10CLR : longWord;
  6550. IPC10SET : longWord;
  6551. IPC10INV : longWord;
  6552. end;
  6553. TBMX_BMXCON = record
  6554. private
  6555. function getBMXARB : TBits_3; inline;
  6556. function getBMXCHEDMA : TBits_1; inline;
  6557. function getBMXERRDMA : TBits_1; inline;
  6558. function getBMXERRDS : TBits_1; inline;
  6559. function getBMXERRICD : TBits_1; inline;
  6560. function getBMXERRIS : TBits_1; inline;
  6561. function getBMXERRIXI : TBits_1; inline;
  6562. function getBMXWSDRM : TBits_1; inline;
  6563. function getw : TBits_32; inline;
  6564. procedure setBMXARB(thebits : TBits_3); inline;
  6565. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6566. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6567. procedure setBMXERRDS(thebits : TBits_1); inline;
  6568. procedure setBMXERRICD(thebits : TBits_1); inline;
  6569. procedure setBMXERRIS(thebits : TBits_1); inline;
  6570. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6571. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6572. procedure setw(thebits : TBits_32); inline;
  6573. public
  6574. procedure clearBMXCHEDMA; inline;
  6575. procedure clearBMXERRDMA; inline;
  6576. procedure clearBMXERRDS; inline;
  6577. procedure clearBMXERRICD; inline;
  6578. procedure clearBMXERRIS; inline;
  6579. procedure clearBMXERRIXI; inline;
  6580. procedure clearBMXWSDRM; inline;
  6581. procedure setBMXCHEDMA; inline;
  6582. procedure setBMXERRDMA; inline;
  6583. procedure setBMXERRDS; inline;
  6584. procedure setBMXERRICD; inline;
  6585. procedure setBMXERRIS; inline;
  6586. procedure setBMXERRIXI; inline;
  6587. procedure setBMXWSDRM; inline;
  6588. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6589. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6590. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6591. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6592. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6593. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6594. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6595. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6596. property w : TBits_32 read getw write setw;
  6597. end;
  6598. type
  6599. TBMXRegisters = record
  6600. BMXCONbits : TBMX_BMXCON;
  6601. BMXCON : longWord;
  6602. BMXCONCLR : longWord;
  6603. BMXCONSET : longWord;
  6604. BMXCONINV : longWord;
  6605. BMXDKPBA : longWord;
  6606. BMXDKPBACLR : longWord;
  6607. BMXDKPBASET : longWord;
  6608. BMXDKPBAINV : longWord;
  6609. BMXDUDBA : longWord;
  6610. BMXDUDBACLR : longWord;
  6611. BMXDUDBASET : longWord;
  6612. BMXDUDBAINV : longWord;
  6613. BMXDUPBA : longWord;
  6614. BMXDUPBACLR : longWord;
  6615. BMXDUPBASET : longWord;
  6616. BMXDUPBAINV : longWord;
  6617. BMXDRMSZ : longWord;
  6618. BMXPUPBA : longWord;
  6619. BMXPUPBACLR : longWord;
  6620. BMXPUPBASET : longWord;
  6621. BMXPUPBAINV : longWord;
  6622. BMXPFMSZ : longWord;
  6623. BMXBOOTSZ : longWord;
  6624. end;
  6625. TDMAC_DMACON = record
  6626. private
  6627. function getDMABUSY : TBits_1; inline;
  6628. function getON : TBits_1; inline;
  6629. function getSUSPEND : TBits_1; inline;
  6630. function getw : TBits_32; inline;
  6631. procedure setDMABUSY(thebits : TBits_1); inline;
  6632. procedure setON(thebits : TBits_1); inline;
  6633. procedure setSUSPEND(thebits : TBits_1); inline;
  6634. procedure setw(thebits : TBits_32); inline;
  6635. public
  6636. procedure clearDMABUSY; inline;
  6637. procedure clearON; inline;
  6638. procedure clearSUSPEND; inline;
  6639. procedure setDMABUSY; inline;
  6640. procedure setON; inline;
  6641. procedure setSUSPEND; inline;
  6642. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6643. property ON : TBits_1 read getON write setON;
  6644. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6645. property w : TBits_32 read getw write setw;
  6646. end;
  6647. TDMAC_DMASTAT = record
  6648. private
  6649. function getDMACH : TBits_3; inline;
  6650. function getRDWR : TBits_1; inline;
  6651. function getw : TBits_32; inline;
  6652. procedure setDMACH(thebits : TBits_3); inline;
  6653. procedure setRDWR(thebits : TBits_1); inline;
  6654. procedure setw(thebits : TBits_32); inline;
  6655. public
  6656. procedure clearRDWR; inline;
  6657. procedure setRDWR; inline;
  6658. property DMACH : TBits_3 read getDMACH write setDMACH;
  6659. property RDWR : TBits_1 read getRDWR write setRDWR;
  6660. property w : TBits_32 read getw write setw;
  6661. end;
  6662. TDMAC_DCRCCON = record
  6663. private
  6664. function getBITO : TBits_1; inline;
  6665. function getBYTO : TBits_2; inline;
  6666. function getCRCAPP : TBits_1; inline;
  6667. function getCRCCH : TBits_3; inline;
  6668. function getCRCEN : TBits_1; inline;
  6669. function getCRCTYP : TBits_1; inline;
  6670. function getPLEN : TBits_5; inline;
  6671. function getWBO : TBits_1; inline;
  6672. function getw : TBits_32; inline;
  6673. procedure setBITO(thebits : TBits_1); inline;
  6674. procedure setBYTO(thebits : TBits_2); inline;
  6675. procedure setCRCAPP(thebits : TBits_1); inline;
  6676. procedure setCRCCH(thebits : TBits_3); inline;
  6677. procedure setCRCEN(thebits : TBits_1); inline;
  6678. procedure setCRCTYP(thebits : TBits_1); inline;
  6679. procedure setPLEN(thebits : TBits_5); inline;
  6680. procedure setWBO(thebits : TBits_1); inline;
  6681. procedure setw(thebits : TBits_32); inline;
  6682. public
  6683. procedure clearBITO; inline;
  6684. procedure clearCRCAPP; inline;
  6685. procedure clearCRCEN; inline;
  6686. procedure clearCRCTYP; inline;
  6687. procedure clearWBO; inline;
  6688. procedure setBITO; inline;
  6689. procedure setCRCAPP; inline;
  6690. procedure setCRCEN; inline;
  6691. procedure setCRCTYP; inline;
  6692. procedure setWBO; inline;
  6693. property BITO : TBits_1 read getBITO write setBITO;
  6694. property BYTO : TBits_2 read getBYTO write setBYTO;
  6695. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6696. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6697. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6698. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6699. property PLEN : TBits_5 read getPLEN write setPLEN;
  6700. property WBO : TBits_1 read getWBO write setWBO;
  6701. property w : TBits_32 read getw write setw;
  6702. end;
  6703. type
  6704. TDMACRegisters = record
  6705. DMACONbits : TDMAC_DMACON;
  6706. DMACON : longWord;
  6707. DMACONCLR : longWord;
  6708. DMACONSET : longWord;
  6709. DMACONINV : longWord;
  6710. DMASTATbits : TDMAC_DMASTAT;
  6711. DMASTAT : longWord;
  6712. DMASTATCLR : longWord;
  6713. DMASTATSET : longWord;
  6714. DMASTATINV : longWord;
  6715. DMAADDR : longWord;
  6716. DMAADDRCLR : longWord;
  6717. DMAADDRSET : longWord;
  6718. DMAADDRINV : longWord;
  6719. DCRCCONbits : TDMAC_DCRCCON;
  6720. DCRCCON : longWord;
  6721. DCRCCONCLR : longWord;
  6722. DCRCCONSET : longWord;
  6723. DCRCCONINV : longWord;
  6724. DCRCDATA : longWord;
  6725. DCRCDATACLR : longWord;
  6726. DCRCDATASET : longWord;
  6727. DCRCDATAINV : longWord;
  6728. DCRCXOR : longWord;
  6729. DCRCXORCLR : longWord;
  6730. DCRCXORSET : longWord;
  6731. DCRCXORINV : longWord;
  6732. end;
  6733. TDMAC0_DCH0CON = record
  6734. private
  6735. function getCHAED : TBits_1; inline;
  6736. function getCHAEN : TBits_1; inline;
  6737. function getCHBUSY : TBits_1; inline;
  6738. function getCHCHN : TBits_1; inline;
  6739. function getCHCHNS : TBits_1; inline;
  6740. function getCHEDET : TBits_1; inline;
  6741. function getCHEN : TBits_1; inline;
  6742. function getCHPRI : TBits_2; inline;
  6743. function getw : TBits_32; inline;
  6744. procedure setCHAED(thebits : TBits_1); inline;
  6745. procedure setCHAEN(thebits : TBits_1); inline;
  6746. procedure setCHBUSY(thebits : TBits_1); inline;
  6747. procedure setCHCHN(thebits : TBits_1); inline;
  6748. procedure setCHCHNS(thebits : TBits_1); inline;
  6749. procedure setCHEDET(thebits : TBits_1); inline;
  6750. procedure setCHEN(thebits : TBits_1); inline;
  6751. procedure setCHPRI(thebits : TBits_2); inline;
  6752. procedure setw(thebits : TBits_32); inline;
  6753. public
  6754. procedure clearCHAED; inline;
  6755. procedure clearCHAEN; inline;
  6756. procedure clearCHBUSY; inline;
  6757. procedure clearCHCHN; inline;
  6758. procedure clearCHCHNS; inline;
  6759. procedure clearCHEDET; inline;
  6760. procedure clearCHEN; inline;
  6761. procedure setCHAED; inline;
  6762. procedure setCHAEN; inline;
  6763. procedure setCHBUSY; inline;
  6764. procedure setCHCHN; inline;
  6765. procedure setCHCHNS; inline;
  6766. procedure setCHEDET; inline;
  6767. procedure setCHEN; inline;
  6768. property CHAED : TBits_1 read getCHAED write setCHAED;
  6769. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6770. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6771. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6772. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6773. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6774. property CHEN : TBits_1 read getCHEN write setCHEN;
  6775. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6776. property w : TBits_32 read getw write setw;
  6777. end;
  6778. TDMAC0_DCH0ECON = record
  6779. private
  6780. function getAIRQEN : TBits_1; inline;
  6781. function getCABORT : TBits_1; inline;
  6782. function getCFORCE : TBits_1; inline;
  6783. function getCHAIRQ : TBits_8; inline;
  6784. function getCHSIRQ : TBits_8; inline;
  6785. function getPATEN : TBits_1; inline;
  6786. function getSIRQEN : TBits_1; inline;
  6787. function getw : TBits_32; inline;
  6788. procedure setAIRQEN(thebits : TBits_1); inline;
  6789. procedure setCABORT(thebits : TBits_1); inline;
  6790. procedure setCFORCE(thebits : TBits_1); inline;
  6791. procedure setCHAIRQ(thebits : TBits_8); inline;
  6792. procedure setCHSIRQ(thebits : TBits_8); inline;
  6793. procedure setPATEN(thebits : TBits_1); inline;
  6794. procedure setSIRQEN(thebits : TBits_1); inline;
  6795. procedure setw(thebits : TBits_32); inline;
  6796. public
  6797. procedure clearAIRQEN; inline;
  6798. procedure clearCABORT; inline;
  6799. procedure clearCFORCE; inline;
  6800. procedure clearPATEN; inline;
  6801. procedure clearSIRQEN; inline;
  6802. procedure setAIRQEN; inline;
  6803. procedure setCABORT; inline;
  6804. procedure setCFORCE; inline;
  6805. procedure setPATEN; inline;
  6806. procedure setSIRQEN; inline;
  6807. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6808. property CABORT : TBits_1 read getCABORT write setCABORT;
  6809. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6810. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6811. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6812. property PATEN : TBits_1 read getPATEN write setPATEN;
  6813. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6814. property w : TBits_32 read getw write setw;
  6815. end;
  6816. TDMAC0_DCH0INT = record
  6817. private
  6818. function getCHBCIE : TBits_1; inline;
  6819. function getCHBCIF : TBits_1; inline;
  6820. function getCHCCIE : TBits_1; inline;
  6821. function getCHCCIF : TBits_1; inline;
  6822. function getCHDDIE : TBits_1; inline;
  6823. function getCHDDIF : TBits_1; inline;
  6824. function getCHDHIE : TBits_1; inline;
  6825. function getCHDHIF : TBits_1; inline;
  6826. function getCHERIE : TBits_1; inline;
  6827. function getCHERIF : TBits_1; inline;
  6828. function getCHSDIE : TBits_1; inline;
  6829. function getCHSDIF : TBits_1; inline;
  6830. function getCHSHIE : TBits_1; inline;
  6831. function getCHSHIF : TBits_1; inline;
  6832. function getCHTAIE : TBits_1; inline;
  6833. function getCHTAIF : TBits_1; inline;
  6834. function getw : TBits_32; inline;
  6835. procedure setCHBCIE(thebits : TBits_1); inline;
  6836. procedure setCHBCIF(thebits : TBits_1); inline;
  6837. procedure setCHCCIE(thebits : TBits_1); inline;
  6838. procedure setCHCCIF(thebits : TBits_1); inline;
  6839. procedure setCHDDIE(thebits : TBits_1); inline;
  6840. procedure setCHDDIF(thebits : TBits_1); inline;
  6841. procedure setCHDHIE(thebits : TBits_1); inline;
  6842. procedure setCHDHIF(thebits : TBits_1); inline;
  6843. procedure setCHERIE(thebits : TBits_1); inline;
  6844. procedure setCHERIF(thebits : TBits_1); inline;
  6845. procedure setCHSDIE(thebits : TBits_1); inline;
  6846. procedure setCHSDIF(thebits : TBits_1); inline;
  6847. procedure setCHSHIE(thebits : TBits_1); inline;
  6848. procedure setCHSHIF(thebits : TBits_1); inline;
  6849. procedure setCHTAIE(thebits : TBits_1); inline;
  6850. procedure setCHTAIF(thebits : TBits_1); inline;
  6851. procedure setw(thebits : TBits_32); inline;
  6852. public
  6853. procedure clearCHBCIE; inline;
  6854. procedure clearCHBCIF; inline;
  6855. procedure clearCHCCIE; inline;
  6856. procedure clearCHCCIF; inline;
  6857. procedure clearCHDDIE; inline;
  6858. procedure clearCHDDIF; inline;
  6859. procedure clearCHDHIE; inline;
  6860. procedure clearCHDHIF; inline;
  6861. procedure clearCHERIE; inline;
  6862. procedure clearCHERIF; inline;
  6863. procedure clearCHSDIE; inline;
  6864. procedure clearCHSDIF; inline;
  6865. procedure clearCHSHIE; inline;
  6866. procedure clearCHSHIF; inline;
  6867. procedure clearCHTAIE; inline;
  6868. procedure clearCHTAIF; inline;
  6869. procedure setCHBCIE; inline;
  6870. procedure setCHBCIF; inline;
  6871. procedure setCHCCIE; inline;
  6872. procedure setCHCCIF; inline;
  6873. procedure setCHDDIE; inline;
  6874. procedure setCHDDIF; inline;
  6875. procedure setCHDHIE; inline;
  6876. procedure setCHDHIF; inline;
  6877. procedure setCHERIE; inline;
  6878. procedure setCHERIF; inline;
  6879. procedure setCHSDIE; inline;
  6880. procedure setCHSDIF; inline;
  6881. procedure setCHSHIE; inline;
  6882. procedure setCHSHIF; inline;
  6883. procedure setCHTAIE; inline;
  6884. procedure setCHTAIF; inline;
  6885. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6886. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6887. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6888. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6889. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6890. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6891. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6892. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6893. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6894. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6895. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6896. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6897. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6898. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6899. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6900. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6901. property w : TBits_32 read getw write setw;
  6902. end;
  6903. type
  6904. TDMAC0Registers = record
  6905. DCH0CONbits : TDMAC0_DCH0CON;
  6906. DCH0CON : longWord;
  6907. DCH0CONCLR : longWord;
  6908. DCH0CONSET : longWord;
  6909. DCH0CONINV : longWord;
  6910. DCH0ECONbits : TDMAC0_DCH0ECON;
  6911. DCH0ECON : longWord;
  6912. DCH0ECONCLR : longWord;
  6913. DCH0ECONSET : longWord;
  6914. DCH0ECONINV : longWord;
  6915. DCH0INTbits : TDMAC0_DCH0INT;
  6916. DCH0INT : longWord;
  6917. DCH0INTCLR : longWord;
  6918. DCH0INTSET : longWord;
  6919. DCH0INTINV : longWord;
  6920. DCH0SSA : longWord;
  6921. DCH0SSACLR : longWord;
  6922. DCH0SSASET : longWord;
  6923. DCH0SSAINV : longWord;
  6924. DCH0DSA : longWord;
  6925. DCH0DSACLR : longWord;
  6926. DCH0DSASET : longWord;
  6927. DCH0DSAINV : longWord;
  6928. DCH0SSIZ : longWord;
  6929. DCH0SSIZCLR : longWord;
  6930. DCH0SSIZSET : longWord;
  6931. DCH0SSIZINV : longWord;
  6932. DCH0DSIZ : longWord;
  6933. DCH0DSIZCLR : longWord;
  6934. DCH0DSIZSET : longWord;
  6935. DCH0DSIZINV : longWord;
  6936. DCH0SPTR : longWord;
  6937. DCH0SPTRCLR : longWord;
  6938. DCH0SPTRSET : longWord;
  6939. DCH0SPTRINV : longWord;
  6940. DCH0DPTR : longWord;
  6941. DCH0DPTRCLR : longWord;
  6942. DCH0DPTRSET : longWord;
  6943. DCH0DPTRINV : longWord;
  6944. DCH0CSIZ : longWord;
  6945. DCH0CSIZCLR : longWord;
  6946. DCH0CSIZSET : longWord;
  6947. DCH0CSIZINV : longWord;
  6948. DCH0CPTR : longWord;
  6949. DCH0CPTRCLR : longWord;
  6950. DCH0CPTRSET : longWord;
  6951. DCH0CPTRINV : longWord;
  6952. DCH0DAT : longWord;
  6953. DCH0DATCLR : longWord;
  6954. DCH0DATSET : longWord;
  6955. DCH0DATINV : longWord;
  6956. end;
  6957. TDMAC1_DCH1CON = record
  6958. private
  6959. function getCHAED : TBits_1; inline;
  6960. function getCHAEN : TBits_1; inline;
  6961. function getCHBUSY : TBits_1; inline;
  6962. function getCHCHN : TBits_1; inline;
  6963. function getCHCHNS : TBits_1; inline;
  6964. function getCHEDET : TBits_1; inline;
  6965. function getCHEN : TBits_1; inline;
  6966. function getCHPRI : TBits_2; inline;
  6967. function getw : TBits_32; inline;
  6968. procedure setCHAED(thebits : TBits_1); inline;
  6969. procedure setCHAEN(thebits : TBits_1); inline;
  6970. procedure setCHBUSY(thebits : TBits_1); inline;
  6971. procedure setCHCHN(thebits : TBits_1); inline;
  6972. procedure setCHCHNS(thebits : TBits_1); inline;
  6973. procedure setCHEDET(thebits : TBits_1); inline;
  6974. procedure setCHEN(thebits : TBits_1); inline;
  6975. procedure setCHPRI(thebits : TBits_2); inline;
  6976. procedure setw(thebits : TBits_32); inline;
  6977. public
  6978. procedure clearCHAED; inline;
  6979. procedure clearCHAEN; inline;
  6980. procedure clearCHBUSY; inline;
  6981. procedure clearCHCHN; inline;
  6982. procedure clearCHCHNS; inline;
  6983. procedure clearCHEDET; inline;
  6984. procedure clearCHEN; inline;
  6985. procedure setCHAED; inline;
  6986. procedure setCHAEN; inline;
  6987. procedure setCHBUSY; inline;
  6988. procedure setCHCHN; inline;
  6989. procedure setCHCHNS; inline;
  6990. procedure setCHEDET; inline;
  6991. procedure setCHEN; inline;
  6992. property CHAED : TBits_1 read getCHAED write setCHAED;
  6993. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6994. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6995. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6996. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6997. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6998. property CHEN : TBits_1 read getCHEN write setCHEN;
  6999. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7000. property w : TBits_32 read getw write setw;
  7001. end;
  7002. TDMAC1_DCH1ECON = record
  7003. private
  7004. function getAIRQEN : TBits_1; inline;
  7005. function getCABORT : TBits_1; inline;
  7006. function getCFORCE : TBits_1; inline;
  7007. function getCHAIRQ : TBits_8; inline;
  7008. function getCHSIRQ : TBits_8; inline;
  7009. function getPATEN : TBits_1; inline;
  7010. function getSIRQEN : TBits_1; inline;
  7011. function getw : TBits_32; inline;
  7012. procedure setAIRQEN(thebits : TBits_1); inline;
  7013. procedure setCABORT(thebits : TBits_1); inline;
  7014. procedure setCFORCE(thebits : TBits_1); inline;
  7015. procedure setCHAIRQ(thebits : TBits_8); inline;
  7016. procedure setCHSIRQ(thebits : TBits_8); inline;
  7017. procedure setPATEN(thebits : TBits_1); inline;
  7018. procedure setSIRQEN(thebits : TBits_1); inline;
  7019. procedure setw(thebits : TBits_32); inline;
  7020. public
  7021. procedure clearAIRQEN; inline;
  7022. procedure clearCABORT; inline;
  7023. procedure clearCFORCE; inline;
  7024. procedure clearPATEN; inline;
  7025. procedure clearSIRQEN; inline;
  7026. procedure setAIRQEN; inline;
  7027. procedure setCABORT; inline;
  7028. procedure setCFORCE; inline;
  7029. procedure setPATEN; inline;
  7030. procedure setSIRQEN; inline;
  7031. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7032. property CABORT : TBits_1 read getCABORT write setCABORT;
  7033. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7034. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7035. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7036. property PATEN : TBits_1 read getPATEN write setPATEN;
  7037. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7038. property w : TBits_32 read getw write setw;
  7039. end;
  7040. TDMAC1_DCH1INT = record
  7041. private
  7042. function getCHBCIE : TBits_1; inline;
  7043. function getCHBCIF : TBits_1; inline;
  7044. function getCHCCIE : TBits_1; inline;
  7045. function getCHCCIF : TBits_1; inline;
  7046. function getCHDDIE : TBits_1; inline;
  7047. function getCHDDIF : TBits_1; inline;
  7048. function getCHDHIE : TBits_1; inline;
  7049. function getCHDHIF : TBits_1; inline;
  7050. function getCHERIE : TBits_1; inline;
  7051. function getCHERIF : TBits_1; inline;
  7052. function getCHSDIE : TBits_1; inline;
  7053. function getCHSDIF : TBits_1; inline;
  7054. function getCHSHIE : TBits_1; inline;
  7055. function getCHSHIF : TBits_1; inline;
  7056. function getCHTAIE : TBits_1; inline;
  7057. function getCHTAIF : TBits_1; inline;
  7058. function getw : TBits_32; inline;
  7059. procedure setCHBCIE(thebits : TBits_1); inline;
  7060. procedure setCHBCIF(thebits : TBits_1); inline;
  7061. procedure setCHCCIE(thebits : TBits_1); inline;
  7062. procedure setCHCCIF(thebits : TBits_1); inline;
  7063. procedure setCHDDIE(thebits : TBits_1); inline;
  7064. procedure setCHDDIF(thebits : TBits_1); inline;
  7065. procedure setCHDHIE(thebits : TBits_1); inline;
  7066. procedure setCHDHIF(thebits : TBits_1); inline;
  7067. procedure setCHERIE(thebits : TBits_1); inline;
  7068. procedure setCHERIF(thebits : TBits_1); inline;
  7069. procedure setCHSDIE(thebits : TBits_1); inline;
  7070. procedure setCHSDIF(thebits : TBits_1); inline;
  7071. procedure setCHSHIE(thebits : TBits_1); inline;
  7072. procedure setCHSHIF(thebits : TBits_1); inline;
  7073. procedure setCHTAIE(thebits : TBits_1); inline;
  7074. procedure setCHTAIF(thebits : TBits_1); inline;
  7075. procedure setw(thebits : TBits_32); inline;
  7076. public
  7077. procedure clearCHBCIE; inline;
  7078. procedure clearCHBCIF; inline;
  7079. procedure clearCHCCIE; inline;
  7080. procedure clearCHCCIF; inline;
  7081. procedure clearCHDDIE; inline;
  7082. procedure clearCHDDIF; inline;
  7083. procedure clearCHDHIE; inline;
  7084. procedure clearCHDHIF; inline;
  7085. procedure clearCHERIE; inline;
  7086. procedure clearCHERIF; inline;
  7087. procedure clearCHSDIE; inline;
  7088. procedure clearCHSDIF; inline;
  7089. procedure clearCHSHIE; inline;
  7090. procedure clearCHSHIF; inline;
  7091. procedure clearCHTAIE; inline;
  7092. procedure clearCHTAIF; inline;
  7093. procedure setCHBCIE; inline;
  7094. procedure setCHBCIF; inline;
  7095. procedure setCHCCIE; inline;
  7096. procedure setCHCCIF; inline;
  7097. procedure setCHDDIE; inline;
  7098. procedure setCHDDIF; inline;
  7099. procedure setCHDHIE; inline;
  7100. procedure setCHDHIF; inline;
  7101. procedure setCHERIE; inline;
  7102. procedure setCHERIF; inline;
  7103. procedure setCHSDIE; inline;
  7104. procedure setCHSDIF; inline;
  7105. procedure setCHSHIE; inline;
  7106. procedure setCHSHIF; inline;
  7107. procedure setCHTAIE; inline;
  7108. procedure setCHTAIF; inline;
  7109. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7110. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7111. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7112. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7113. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7114. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7115. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7116. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7117. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7118. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7119. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7120. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7121. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7122. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7123. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7124. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7125. property w : TBits_32 read getw write setw;
  7126. end;
  7127. type
  7128. TDMAC1Registers = record
  7129. DCH1CONbits : TDMAC1_DCH1CON;
  7130. DCH1CON : longWord;
  7131. DCH1CONCLR : longWord;
  7132. DCH1CONSET : longWord;
  7133. DCH1CONINV : longWord;
  7134. DCH1ECONbits : TDMAC1_DCH1ECON;
  7135. DCH1ECON : longWord;
  7136. DCH1ECONCLR : longWord;
  7137. DCH1ECONSET : longWord;
  7138. DCH1ECONINV : longWord;
  7139. DCH1INTbits : TDMAC1_DCH1INT;
  7140. DCH1INT : longWord;
  7141. DCH1INTCLR : longWord;
  7142. DCH1INTSET : longWord;
  7143. DCH1INTINV : longWord;
  7144. DCH1SSA : longWord;
  7145. DCH1SSACLR : longWord;
  7146. DCH1SSASET : longWord;
  7147. DCH1SSAINV : longWord;
  7148. DCH1DSA : longWord;
  7149. DCH1DSACLR : longWord;
  7150. DCH1DSASET : longWord;
  7151. DCH1DSAINV : longWord;
  7152. DCH1SSIZ : longWord;
  7153. DCH1SSIZCLR : longWord;
  7154. DCH1SSIZSET : longWord;
  7155. DCH1SSIZINV : longWord;
  7156. DCH1DSIZ : longWord;
  7157. DCH1DSIZCLR : longWord;
  7158. DCH1DSIZSET : longWord;
  7159. DCH1DSIZINV : longWord;
  7160. DCH1SPTR : longWord;
  7161. DCH1SPTRCLR : longWord;
  7162. DCH1SPTRSET : longWord;
  7163. DCH1SPTRINV : longWord;
  7164. DCH1DPTR : longWord;
  7165. DCH1DPTRCLR : longWord;
  7166. DCH1DPTRSET : longWord;
  7167. DCH1DPTRINV : longWord;
  7168. DCH1CSIZ : longWord;
  7169. DCH1CSIZCLR : longWord;
  7170. DCH1CSIZSET : longWord;
  7171. DCH1CSIZINV : longWord;
  7172. DCH1CPTR : longWord;
  7173. DCH1CPTRCLR : longWord;
  7174. DCH1CPTRSET : longWord;
  7175. DCH1CPTRINV : longWord;
  7176. DCH1DAT : longWord;
  7177. DCH1DATCLR : longWord;
  7178. DCH1DATSET : longWord;
  7179. DCH1DATINV : longWord;
  7180. end;
  7181. TDMAC2_DCH2CON = record
  7182. private
  7183. function getCHAED : TBits_1; inline;
  7184. function getCHAEN : TBits_1; inline;
  7185. function getCHBUSY : TBits_1; inline;
  7186. function getCHCHN : TBits_1; inline;
  7187. function getCHCHNS : TBits_1; inline;
  7188. function getCHEDET : TBits_1; inline;
  7189. function getCHEN : TBits_1; inline;
  7190. function getCHPRI : TBits_2; inline;
  7191. function getw : TBits_32; inline;
  7192. procedure setCHAED(thebits : TBits_1); inline;
  7193. procedure setCHAEN(thebits : TBits_1); inline;
  7194. procedure setCHBUSY(thebits : TBits_1); inline;
  7195. procedure setCHCHN(thebits : TBits_1); inline;
  7196. procedure setCHCHNS(thebits : TBits_1); inline;
  7197. procedure setCHEDET(thebits : TBits_1); inline;
  7198. procedure setCHEN(thebits : TBits_1); inline;
  7199. procedure setCHPRI(thebits : TBits_2); inline;
  7200. procedure setw(thebits : TBits_32); inline;
  7201. public
  7202. procedure clearCHAED; inline;
  7203. procedure clearCHAEN; inline;
  7204. procedure clearCHBUSY; inline;
  7205. procedure clearCHCHN; inline;
  7206. procedure clearCHCHNS; inline;
  7207. procedure clearCHEDET; inline;
  7208. procedure clearCHEN; inline;
  7209. procedure setCHAED; inline;
  7210. procedure setCHAEN; inline;
  7211. procedure setCHBUSY; inline;
  7212. procedure setCHCHN; inline;
  7213. procedure setCHCHNS; inline;
  7214. procedure setCHEDET; inline;
  7215. procedure setCHEN; inline;
  7216. property CHAED : TBits_1 read getCHAED write setCHAED;
  7217. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7218. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7219. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7220. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7221. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7222. property CHEN : TBits_1 read getCHEN write setCHEN;
  7223. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7224. property w : TBits_32 read getw write setw;
  7225. end;
  7226. TDMAC2_DCH2ECON = record
  7227. private
  7228. function getAIRQEN : TBits_1; inline;
  7229. function getCABORT : TBits_1; inline;
  7230. function getCFORCE : TBits_1; inline;
  7231. function getCHAIRQ : TBits_8; inline;
  7232. function getCHSIRQ : TBits_8; inline;
  7233. function getPATEN : TBits_1; inline;
  7234. function getSIRQEN : TBits_1; inline;
  7235. function getw : TBits_32; inline;
  7236. procedure setAIRQEN(thebits : TBits_1); inline;
  7237. procedure setCABORT(thebits : TBits_1); inline;
  7238. procedure setCFORCE(thebits : TBits_1); inline;
  7239. procedure setCHAIRQ(thebits : TBits_8); inline;
  7240. procedure setCHSIRQ(thebits : TBits_8); inline;
  7241. procedure setPATEN(thebits : TBits_1); inline;
  7242. procedure setSIRQEN(thebits : TBits_1); inline;
  7243. procedure setw(thebits : TBits_32); inline;
  7244. public
  7245. procedure clearAIRQEN; inline;
  7246. procedure clearCABORT; inline;
  7247. procedure clearCFORCE; inline;
  7248. procedure clearPATEN; inline;
  7249. procedure clearSIRQEN; inline;
  7250. procedure setAIRQEN; inline;
  7251. procedure setCABORT; inline;
  7252. procedure setCFORCE; inline;
  7253. procedure setPATEN; inline;
  7254. procedure setSIRQEN; inline;
  7255. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7256. property CABORT : TBits_1 read getCABORT write setCABORT;
  7257. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7258. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7259. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7260. property PATEN : TBits_1 read getPATEN write setPATEN;
  7261. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7262. property w : TBits_32 read getw write setw;
  7263. end;
  7264. TDMAC2_DCH2INT = record
  7265. private
  7266. function getCHBCIE : TBits_1; inline;
  7267. function getCHBCIF : TBits_1; inline;
  7268. function getCHCCIE : TBits_1; inline;
  7269. function getCHCCIF : TBits_1; inline;
  7270. function getCHDDIE : TBits_1; inline;
  7271. function getCHDDIF : TBits_1; inline;
  7272. function getCHDHIE : TBits_1; inline;
  7273. function getCHDHIF : TBits_1; inline;
  7274. function getCHERIE : TBits_1; inline;
  7275. function getCHERIF : TBits_1; inline;
  7276. function getCHSDIE : TBits_1; inline;
  7277. function getCHSDIF : TBits_1; inline;
  7278. function getCHSHIE : TBits_1; inline;
  7279. function getCHSHIF : TBits_1; inline;
  7280. function getCHTAIE : TBits_1; inline;
  7281. function getCHTAIF : TBits_1; inline;
  7282. function getw : TBits_32; inline;
  7283. procedure setCHBCIE(thebits : TBits_1); inline;
  7284. procedure setCHBCIF(thebits : TBits_1); inline;
  7285. procedure setCHCCIE(thebits : TBits_1); inline;
  7286. procedure setCHCCIF(thebits : TBits_1); inline;
  7287. procedure setCHDDIE(thebits : TBits_1); inline;
  7288. procedure setCHDDIF(thebits : TBits_1); inline;
  7289. procedure setCHDHIE(thebits : TBits_1); inline;
  7290. procedure setCHDHIF(thebits : TBits_1); inline;
  7291. procedure setCHERIE(thebits : TBits_1); inline;
  7292. procedure setCHERIF(thebits : TBits_1); inline;
  7293. procedure setCHSDIE(thebits : TBits_1); inline;
  7294. procedure setCHSDIF(thebits : TBits_1); inline;
  7295. procedure setCHSHIE(thebits : TBits_1); inline;
  7296. procedure setCHSHIF(thebits : TBits_1); inline;
  7297. procedure setCHTAIE(thebits : TBits_1); inline;
  7298. procedure setCHTAIF(thebits : TBits_1); inline;
  7299. procedure setw(thebits : TBits_32); inline;
  7300. public
  7301. procedure clearCHBCIE; inline;
  7302. procedure clearCHBCIF; inline;
  7303. procedure clearCHCCIE; inline;
  7304. procedure clearCHCCIF; inline;
  7305. procedure clearCHDDIE; inline;
  7306. procedure clearCHDDIF; inline;
  7307. procedure clearCHDHIE; inline;
  7308. procedure clearCHDHIF; inline;
  7309. procedure clearCHERIE; inline;
  7310. procedure clearCHERIF; inline;
  7311. procedure clearCHSDIE; inline;
  7312. procedure clearCHSDIF; inline;
  7313. procedure clearCHSHIE; inline;
  7314. procedure clearCHSHIF; inline;
  7315. procedure clearCHTAIE; inline;
  7316. procedure clearCHTAIF; inline;
  7317. procedure setCHBCIE; inline;
  7318. procedure setCHBCIF; inline;
  7319. procedure setCHCCIE; inline;
  7320. procedure setCHCCIF; inline;
  7321. procedure setCHDDIE; inline;
  7322. procedure setCHDDIF; inline;
  7323. procedure setCHDHIE; inline;
  7324. procedure setCHDHIF; inline;
  7325. procedure setCHERIE; inline;
  7326. procedure setCHERIF; inline;
  7327. procedure setCHSDIE; inline;
  7328. procedure setCHSDIF; inline;
  7329. procedure setCHSHIE; inline;
  7330. procedure setCHSHIF; inline;
  7331. procedure setCHTAIE; inline;
  7332. procedure setCHTAIF; inline;
  7333. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7334. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7335. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7336. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7337. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7338. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7339. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7340. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7341. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7342. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7343. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7344. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7345. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7346. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7347. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7348. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7349. property w : TBits_32 read getw write setw;
  7350. end;
  7351. type
  7352. TDMAC2Registers = record
  7353. DCH2CONbits : TDMAC2_DCH2CON;
  7354. DCH2CON : longWord;
  7355. DCH2CONCLR : longWord;
  7356. DCH2CONSET : longWord;
  7357. DCH2CONINV : longWord;
  7358. DCH2ECONbits : TDMAC2_DCH2ECON;
  7359. DCH2ECON : longWord;
  7360. DCH2ECONCLR : longWord;
  7361. DCH2ECONSET : longWord;
  7362. DCH2ECONINV : longWord;
  7363. DCH2INTbits : TDMAC2_DCH2INT;
  7364. DCH2INT : longWord;
  7365. DCH2INTCLR : longWord;
  7366. DCH2INTSET : longWord;
  7367. DCH2INTINV : longWord;
  7368. DCH2SSA : longWord;
  7369. DCH2SSACLR : longWord;
  7370. DCH2SSASET : longWord;
  7371. DCH2SSAINV : longWord;
  7372. DCH2DSA : longWord;
  7373. DCH2DSACLR : longWord;
  7374. DCH2DSASET : longWord;
  7375. DCH2DSAINV : longWord;
  7376. DCH2SSIZ : longWord;
  7377. DCH2SSIZCLR : longWord;
  7378. DCH2SSIZSET : longWord;
  7379. DCH2SSIZINV : longWord;
  7380. DCH2DSIZ : longWord;
  7381. DCH2DSIZCLR : longWord;
  7382. DCH2DSIZSET : longWord;
  7383. DCH2DSIZINV : longWord;
  7384. DCH2SPTR : longWord;
  7385. DCH2SPTRCLR : longWord;
  7386. DCH2SPTRSET : longWord;
  7387. DCH2SPTRINV : longWord;
  7388. DCH2DPTR : longWord;
  7389. DCH2DPTRCLR : longWord;
  7390. DCH2DPTRSET : longWord;
  7391. DCH2DPTRINV : longWord;
  7392. DCH2CSIZ : longWord;
  7393. DCH2CSIZCLR : longWord;
  7394. DCH2CSIZSET : longWord;
  7395. DCH2CSIZINV : longWord;
  7396. DCH2CPTR : longWord;
  7397. DCH2CPTRCLR : longWord;
  7398. DCH2CPTRSET : longWord;
  7399. DCH2CPTRINV : longWord;
  7400. DCH2DAT : longWord;
  7401. DCH2DATCLR : longWord;
  7402. DCH2DATSET : longWord;
  7403. DCH2DATINV : longWord;
  7404. end;
  7405. TDMAC3_DCH3CON = record
  7406. private
  7407. function getCHAED : TBits_1; inline;
  7408. function getCHAEN : TBits_1; inline;
  7409. function getCHBUSY : TBits_1; inline;
  7410. function getCHCHN : TBits_1; inline;
  7411. function getCHCHNS : TBits_1; inline;
  7412. function getCHEDET : TBits_1; inline;
  7413. function getCHEN : TBits_1; inline;
  7414. function getCHPRI : TBits_2; inline;
  7415. function getw : TBits_32; inline;
  7416. procedure setCHAED(thebits : TBits_1); inline;
  7417. procedure setCHAEN(thebits : TBits_1); inline;
  7418. procedure setCHBUSY(thebits : TBits_1); inline;
  7419. procedure setCHCHN(thebits : TBits_1); inline;
  7420. procedure setCHCHNS(thebits : TBits_1); inline;
  7421. procedure setCHEDET(thebits : TBits_1); inline;
  7422. procedure setCHEN(thebits : TBits_1); inline;
  7423. procedure setCHPRI(thebits : TBits_2); inline;
  7424. procedure setw(thebits : TBits_32); inline;
  7425. public
  7426. procedure clearCHAED; inline;
  7427. procedure clearCHAEN; inline;
  7428. procedure clearCHBUSY; inline;
  7429. procedure clearCHCHN; inline;
  7430. procedure clearCHCHNS; inline;
  7431. procedure clearCHEDET; inline;
  7432. procedure clearCHEN; inline;
  7433. procedure setCHAED; inline;
  7434. procedure setCHAEN; inline;
  7435. procedure setCHBUSY; inline;
  7436. procedure setCHCHN; inline;
  7437. procedure setCHCHNS; inline;
  7438. procedure setCHEDET; inline;
  7439. procedure setCHEN; inline;
  7440. property CHAED : TBits_1 read getCHAED write setCHAED;
  7441. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7442. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7443. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7444. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7445. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7446. property CHEN : TBits_1 read getCHEN write setCHEN;
  7447. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7448. property w : TBits_32 read getw write setw;
  7449. end;
  7450. TDMAC3_DCH3ECON = record
  7451. private
  7452. function getAIRQEN : TBits_1; inline;
  7453. function getCABORT : TBits_1; inline;
  7454. function getCFORCE : TBits_1; inline;
  7455. function getCHAIRQ : TBits_8; inline;
  7456. function getCHSIRQ : TBits_8; inline;
  7457. function getPATEN : TBits_1; inline;
  7458. function getSIRQEN : TBits_1; inline;
  7459. function getw : TBits_32; inline;
  7460. procedure setAIRQEN(thebits : TBits_1); inline;
  7461. procedure setCABORT(thebits : TBits_1); inline;
  7462. procedure setCFORCE(thebits : TBits_1); inline;
  7463. procedure setCHAIRQ(thebits : TBits_8); inline;
  7464. procedure setCHSIRQ(thebits : TBits_8); inline;
  7465. procedure setPATEN(thebits : TBits_1); inline;
  7466. procedure setSIRQEN(thebits : TBits_1); inline;
  7467. procedure setw(thebits : TBits_32); inline;
  7468. public
  7469. procedure clearAIRQEN; inline;
  7470. procedure clearCABORT; inline;
  7471. procedure clearCFORCE; inline;
  7472. procedure clearPATEN; inline;
  7473. procedure clearSIRQEN; inline;
  7474. procedure setAIRQEN; inline;
  7475. procedure setCABORT; inline;
  7476. procedure setCFORCE; inline;
  7477. procedure setPATEN; inline;
  7478. procedure setSIRQEN; inline;
  7479. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7480. property CABORT : TBits_1 read getCABORT write setCABORT;
  7481. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7482. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7483. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7484. property PATEN : TBits_1 read getPATEN write setPATEN;
  7485. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7486. property w : TBits_32 read getw write setw;
  7487. end;
  7488. TDMAC3_DCH3INT = record
  7489. private
  7490. function getCHBCIE : TBits_1; inline;
  7491. function getCHBCIF : TBits_1; inline;
  7492. function getCHCCIE : TBits_1; inline;
  7493. function getCHCCIF : TBits_1; inline;
  7494. function getCHDDIE : TBits_1; inline;
  7495. function getCHDDIF : TBits_1; inline;
  7496. function getCHDHIE : TBits_1; inline;
  7497. function getCHDHIF : TBits_1; inline;
  7498. function getCHERIE : TBits_1; inline;
  7499. function getCHERIF : TBits_1; inline;
  7500. function getCHSDIE : TBits_1; inline;
  7501. function getCHSDIF : TBits_1; inline;
  7502. function getCHSHIE : TBits_1; inline;
  7503. function getCHSHIF : TBits_1; inline;
  7504. function getCHTAIE : TBits_1; inline;
  7505. function getCHTAIF : TBits_1; inline;
  7506. function getw : TBits_32; inline;
  7507. procedure setCHBCIE(thebits : TBits_1); inline;
  7508. procedure setCHBCIF(thebits : TBits_1); inline;
  7509. procedure setCHCCIE(thebits : TBits_1); inline;
  7510. procedure setCHCCIF(thebits : TBits_1); inline;
  7511. procedure setCHDDIE(thebits : TBits_1); inline;
  7512. procedure setCHDDIF(thebits : TBits_1); inline;
  7513. procedure setCHDHIE(thebits : TBits_1); inline;
  7514. procedure setCHDHIF(thebits : TBits_1); inline;
  7515. procedure setCHERIE(thebits : TBits_1); inline;
  7516. procedure setCHERIF(thebits : TBits_1); inline;
  7517. procedure setCHSDIE(thebits : TBits_1); inline;
  7518. procedure setCHSDIF(thebits : TBits_1); inline;
  7519. procedure setCHSHIE(thebits : TBits_1); inline;
  7520. procedure setCHSHIF(thebits : TBits_1); inline;
  7521. procedure setCHTAIE(thebits : TBits_1); inline;
  7522. procedure setCHTAIF(thebits : TBits_1); inline;
  7523. procedure setw(thebits : TBits_32); inline;
  7524. public
  7525. procedure clearCHBCIE; inline;
  7526. procedure clearCHBCIF; inline;
  7527. procedure clearCHCCIE; inline;
  7528. procedure clearCHCCIF; inline;
  7529. procedure clearCHDDIE; inline;
  7530. procedure clearCHDDIF; inline;
  7531. procedure clearCHDHIE; inline;
  7532. procedure clearCHDHIF; inline;
  7533. procedure clearCHERIE; inline;
  7534. procedure clearCHERIF; inline;
  7535. procedure clearCHSDIE; inline;
  7536. procedure clearCHSDIF; inline;
  7537. procedure clearCHSHIE; inline;
  7538. procedure clearCHSHIF; inline;
  7539. procedure clearCHTAIE; inline;
  7540. procedure clearCHTAIF; inline;
  7541. procedure setCHBCIE; inline;
  7542. procedure setCHBCIF; inline;
  7543. procedure setCHCCIE; inline;
  7544. procedure setCHCCIF; inline;
  7545. procedure setCHDDIE; inline;
  7546. procedure setCHDDIF; inline;
  7547. procedure setCHDHIE; inline;
  7548. procedure setCHDHIF; inline;
  7549. procedure setCHERIE; inline;
  7550. procedure setCHERIF; inline;
  7551. procedure setCHSDIE; inline;
  7552. procedure setCHSDIF; inline;
  7553. procedure setCHSHIE; inline;
  7554. procedure setCHSHIF; inline;
  7555. procedure setCHTAIE; inline;
  7556. procedure setCHTAIF; inline;
  7557. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7558. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7559. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7560. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7561. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7562. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7563. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7564. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7565. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7566. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7567. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7568. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7569. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7570. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7571. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7572. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7573. property w : TBits_32 read getw write setw;
  7574. end;
  7575. TDMAC3_U1IR = record
  7576. private
  7577. function getATTACHIF : TBits_1; inline;
  7578. function getDETACHIF : TBits_1; inline;
  7579. function getIDLEIF : TBits_1; inline;
  7580. function getRESUMEIF : TBits_1; inline;
  7581. function getSOFIF : TBits_1; inline;
  7582. function getSTALLIF : TBits_1; inline;
  7583. function getTRNIF : TBits_1; inline;
  7584. function getUERRIF : TBits_1; inline;
  7585. function getURSTIF : TBits_1; inline;
  7586. function getURSTIF_DETACHIF : TBits_1; inline;
  7587. procedure setATTACHIF(thebits : TBits_1); inline;
  7588. procedure setDETACHIF(thebits : TBits_1); inline;
  7589. procedure setIDLEIF(thebits : TBits_1); inline;
  7590. procedure setRESUMEIF(thebits : TBits_1); inline;
  7591. procedure setSOFIF(thebits : TBits_1); inline;
  7592. procedure setSTALLIF(thebits : TBits_1); inline;
  7593. procedure setTRNIF(thebits : TBits_1); inline;
  7594. procedure setUERRIF(thebits : TBits_1); inline;
  7595. procedure setURSTIF(thebits : TBits_1); inline;
  7596. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7597. public
  7598. procedure clearATTACHIF; inline;
  7599. procedure clearDETACHIF; inline;
  7600. procedure clearIDLEIF; inline;
  7601. procedure clearRESUMEIF; inline;
  7602. procedure clearSOFIF; inline;
  7603. procedure clearSTALLIF; inline;
  7604. procedure clearTRNIF; inline;
  7605. procedure clearUERRIF; inline;
  7606. procedure clearURSTIF; inline;
  7607. procedure clearURSTIF_DETACHIF; inline;
  7608. procedure setATTACHIF; inline;
  7609. procedure setDETACHIF; inline;
  7610. procedure setIDLEIF; inline;
  7611. procedure setRESUMEIF; inline;
  7612. procedure setSOFIF; inline;
  7613. procedure setSTALLIF; inline;
  7614. procedure setTRNIF; inline;
  7615. procedure setUERRIF; inline;
  7616. procedure setURSTIF; inline;
  7617. procedure setURSTIF_DETACHIF; inline;
  7618. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7619. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7620. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7621. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7622. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7623. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7624. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7625. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7626. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7627. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7628. end;
  7629. TDMAC3_U1IE = record
  7630. private
  7631. function getATTACHIE : TBits_1; inline;
  7632. function getDETACHIE : TBits_1; inline;
  7633. function getIDLEIE : TBits_1; inline;
  7634. function getRESUMEIE : TBits_1; inline;
  7635. function getSOFIE : TBits_1; inline;
  7636. function getSTALLIE : TBits_1; inline;
  7637. function getTRNIE : TBits_1; inline;
  7638. function getUERRIE : TBits_1; inline;
  7639. function getURSTIE : TBits_1; inline;
  7640. function getURSTIE_DETACHIE : TBits_1; inline;
  7641. procedure setATTACHIE(thebits : TBits_1); inline;
  7642. procedure setDETACHIE(thebits : TBits_1); inline;
  7643. procedure setIDLEIE(thebits : TBits_1); inline;
  7644. procedure setRESUMEIE(thebits : TBits_1); inline;
  7645. procedure setSOFIE(thebits : TBits_1); inline;
  7646. procedure setSTALLIE(thebits : TBits_1); inline;
  7647. procedure setTRNIE(thebits : TBits_1); inline;
  7648. procedure setUERRIE(thebits : TBits_1); inline;
  7649. procedure setURSTIE(thebits : TBits_1); inline;
  7650. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7651. public
  7652. procedure clearATTACHIE; inline;
  7653. procedure clearDETACHIE; inline;
  7654. procedure clearIDLEIE; inline;
  7655. procedure clearRESUMEIE; inline;
  7656. procedure clearSOFIE; inline;
  7657. procedure clearSTALLIE; inline;
  7658. procedure clearTRNIE; inline;
  7659. procedure clearUERRIE; inline;
  7660. procedure clearURSTIE; inline;
  7661. procedure clearURSTIE_DETACHIE; inline;
  7662. procedure setATTACHIE; inline;
  7663. procedure setDETACHIE; inline;
  7664. procedure setIDLEIE; inline;
  7665. procedure setRESUMEIE; inline;
  7666. procedure setSOFIE; inline;
  7667. procedure setSTALLIE; inline;
  7668. procedure setTRNIE; inline;
  7669. procedure setUERRIE; inline;
  7670. procedure setURSTIE; inline;
  7671. procedure setURSTIE_DETACHIE; inline;
  7672. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7673. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7674. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7675. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7676. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7677. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7678. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7679. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7680. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7681. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7682. end;
  7683. TDMAC3_U1EIR = record
  7684. private
  7685. function getBMXEF : TBits_1; inline;
  7686. function getBTOEF : TBits_1; inline;
  7687. function getBTSEF : TBits_1; inline;
  7688. function getCRC16EF : TBits_1; inline;
  7689. function getCRC5EF : TBits_1; inline;
  7690. function getCRC5EF_EOFEF : TBits_1; inline;
  7691. function getDFN8EF : TBits_1; inline;
  7692. function getDMAEF : TBits_1; inline;
  7693. function getEOFEF : TBits_1; inline;
  7694. function getPIDEF : TBits_1; inline;
  7695. procedure setBMXEF(thebits : TBits_1); inline;
  7696. procedure setBTOEF(thebits : TBits_1); inline;
  7697. procedure setBTSEF(thebits : TBits_1); inline;
  7698. procedure setCRC16EF(thebits : TBits_1); inline;
  7699. procedure setCRC5EF(thebits : TBits_1); inline;
  7700. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7701. procedure setDFN8EF(thebits : TBits_1); inline;
  7702. procedure setDMAEF(thebits : TBits_1); inline;
  7703. procedure setEOFEF(thebits : TBits_1); inline;
  7704. procedure setPIDEF(thebits : TBits_1); inline;
  7705. public
  7706. procedure clearBMXEF; inline;
  7707. procedure clearBTOEF; inline;
  7708. procedure clearBTSEF; inline;
  7709. procedure clearCRC16EF; inline;
  7710. procedure clearCRC5EF; inline;
  7711. procedure clearCRC5EF_EOFEF; inline;
  7712. procedure clearDFN8EF; inline;
  7713. procedure clearDMAEF; inline;
  7714. procedure clearEOFEF; inline;
  7715. procedure clearPIDEF; inline;
  7716. procedure setBMXEF; inline;
  7717. procedure setBTOEF; inline;
  7718. procedure setBTSEF; inline;
  7719. procedure setCRC16EF; inline;
  7720. procedure setCRC5EF; inline;
  7721. procedure setCRC5EF_EOFEF; inline;
  7722. procedure setDFN8EF; inline;
  7723. procedure setDMAEF; inline;
  7724. procedure setEOFEF; inline;
  7725. procedure setPIDEF; inline;
  7726. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7727. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7728. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7729. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7730. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7731. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7732. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7733. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7734. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7735. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7736. end;
  7737. TDMAC3_U1EIE = record
  7738. private
  7739. function getBMXEE : TBits_1; inline;
  7740. function getBTOEE : TBits_1; inline;
  7741. function getBTSEE : TBits_1; inline;
  7742. function getCRC16EE : TBits_1; inline;
  7743. function getCRC5EE : TBits_1; inline;
  7744. function getCRC5EE_EOFEE : TBits_1; inline;
  7745. function getDFN8EE : TBits_1; inline;
  7746. function getDMAEE : TBits_1; inline;
  7747. function getEOFEE : TBits_1; inline;
  7748. function getPIDEE : TBits_1; inline;
  7749. procedure setBMXEE(thebits : TBits_1); inline;
  7750. procedure setBTOEE(thebits : TBits_1); inline;
  7751. procedure setBTSEE(thebits : TBits_1); inline;
  7752. procedure setCRC16EE(thebits : TBits_1); inline;
  7753. procedure setCRC5EE(thebits : TBits_1); inline;
  7754. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7755. procedure setDFN8EE(thebits : TBits_1); inline;
  7756. procedure setDMAEE(thebits : TBits_1); inline;
  7757. procedure setEOFEE(thebits : TBits_1); inline;
  7758. procedure setPIDEE(thebits : TBits_1); inline;
  7759. public
  7760. procedure clearBMXEE; inline;
  7761. procedure clearBTOEE; inline;
  7762. procedure clearBTSEE; inline;
  7763. procedure clearCRC16EE; inline;
  7764. procedure clearCRC5EE; inline;
  7765. procedure clearCRC5EE_EOFEE; inline;
  7766. procedure clearDFN8EE; inline;
  7767. procedure clearDMAEE; inline;
  7768. procedure clearEOFEE; inline;
  7769. procedure clearPIDEE; inline;
  7770. procedure setBMXEE; inline;
  7771. procedure setBTOEE; inline;
  7772. procedure setBTSEE; inline;
  7773. procedure setCRC16EE; inline;
  7774. procedure setCRC5EE; inline;
  7775. procedure setCRC5EE_EOFEE; inline;
  7776. procedure setDFN8EE; inline;
  7777. procedure setDMAEE; inline;
  7778. procedure setEOFEE; inline;
  7779. procedure setPIDEE; inline;
  7780. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7781. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7782. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7783. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7784. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7785. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7786. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7787. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7788. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7789. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7790. end;
  7791. TDMAC3_U1STAT = record
  7792. private
  7793. function getDIR : TBits_1; inline;
  7794. function getENDPT : TBits_4; inline;
  7795. function getENDPT0 : TBits_1; inline;
  7796. function getENDPT1 : TBits_1; inline;
  7797. function getENDPT2 : TBits_1; inline;
  7798. function getENDPT3 : TBits_1; inline;
  7799. function getPPBI : TBits_1; inline;
  7800. procedure setDIR(thebits : TBits_1); inline;
  7801. procedure setENDPT(thebits : TBits_4); inline;
  7802. procedure setENDPT0(thebits : TBits_1); inline;
  7803. procedure setENDPT1(thebits : TBits_1); inline;
  7804. procedure setENDPT2(thebits : TBits_1); inline;
  7805. procedure setENDPT3(thebits : TBits_1); inline;
  7806. procedure setPPBI(thebits : TBits_1); inline;
  7807. public
  7808. procedure clearDIR; inline;
  7809. procedure clearENDPT0; inline;
  7810. procedure clearENDPT1; inline;
  7811. procedure clearENDPT2; inline;
  7812. procedure clearENDPT3; inline;
  7813. procedure clearPPBI; inline;
  7814. procedure setDIR; inline;
  7815. procedure setENDPT0; inline;
  7816. procedure setENDPT1; inline;
  7817. procedure setENDPT2; inline;
  7818. procedure setENDPT3; inline;
  7819. procedure setPPBI; inline;
  7820. property DIR : TBits_1 read getDIR write setDIR;
  7821. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7822. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7823. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7824. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7825. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7826. property PPBI : TBits_1 read getPPBI write setPPBI;
  7827. end;
  7828. TDMAC3_U1CON = record
  7829. private
  7830. function getHOSTEN : TBits_1; inline;
  7831. function getJSTATE : TBits_1; inline;
  7832. function getPKTDIS : TBits_1; inline;
  7833. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7834. function getPPBRST : TBits_1; inline;
  7835. function getRESUME : TBits_1; inline;
  7836. function getSE0 : TBits_1; inline;
  7837. function getSOFEN : TBits_1; inline;
  7838. function getTOKBUSY : TBits_1; inline;
  7839. function getUSBEN : TBits_1; inline;
  7840. function getUSBEN_SOFEN : TBits_1; inline;
  7841. function getUSBRST : TBits_1; inline;
  7842. procedure setHOSTEN(thebits : TBits_1); inline;
  7843. procedure setJSTATE(thebits : TBits_1); inline;
  7844. procedure setPKTDIS(thebits : TBits_1); inline;
  7845. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7846. procedure setPPBRST(thebits : TBits_1); inline;
  7847. procedure setRESUME(thebits : TBits_1); inline;
  7848. procedure setSE0(thebits : TBits_1); inline;
  7849. procedure setSOFEN(thebits : TBits_1); inline;
  7850. procedure setTOKBUSY(thebits : TBits_1); inline;
  7851. procedure setUSBEN(thebits : TBits_1); inline;
  7852. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7853. procedure setUSBRST(thebits : TBits_1); inline;
  7854. public
  7855. procedure clearHOSTEN; inline;
  7856. procedure clearJSTATE; inline;
  7857. procedure clearPKTDIS; inline;
  7858. procedure clearPKTDIS_TOKBUSY; inline;
  7859. procedure clearPPBRST; inline;
  7860. procedure clearRESUME; inline;
  7861. procedure clearSE0; inline;
  7862. procedure clearSOFEN; inline;
  7863. procedure clearTOKBUSY; inline;
  7864. procedure clearUSBEN; inline;
  7865. procedure clearUSBEN_SOFEN; inline;
  7866. procedure clearUSBRST; inline;
  7867. procedure setHOSTEN; inline;
  7868. procedure setJSTATE; inline;
  7869. procedure setPKTDIS; inline;
  7870. procedure setPKTDIS_TOKBUSY; inline;
  7871. procedure setPPBRST; inline;
  7872. procedure setRESUME; inline;
  7873. procedure setSE0; inline;
  7874. procedure setSOFEN; inline;
  7875. procedure setTOKBUSY; inline;
  7876. procedure setUSBEN; inline;
  7877. procedure setUSBEN_SOFEN; inline;
  7878. procedure setUSBRST; inline;
  7879. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7880. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7881. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7882. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7883. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7884. property RESUME : TBits_1 read getRESUME write setRESUME;
  7885. property SE0 : TBits_1 read getSE0 write setSE0;
  7886. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  7887. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  7888. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  7889. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  7890. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  7891. end;
  7892. TDMAC3_U1ADDR = record
  7893. private
  7894. function getDEVADDR : TBits_7; inline;
  7895. function getDEVADDR0 : TBits_1; inline;
  7896. function getDEVADDR1 : TBits_1; inline;
  7897. function getDEVADDR2 : TBits_1; inline;
  7898. function getDEVADDR3 : TBits_1; inline;
  7899. function getDEVADDR4 : TBits_1; inline;
  7900. function getDEVADDR5 : TBits_1; inline;
  7901. function getDEVADDR6 : TBits_1; inline;
  7902. function getLSPDEN : TBits_1; inline;
  7903. procedure setDEVADDR(thebits : TBits_7); inline;
  7904. procedure setDEVADDR0(thebits : TBits_1); inline;
  7905. procedure setDEVADDR1(thebits : TBits_1); inline;
  7906. procedure setDEVADDR2(thebits : TBits_1); inline;
  7907. procedure setDEVADDR3(thebits : TBits_1); inline;
  7908. procedure setDEVADDR4(thebits : TBits_1); inline;
  7909. procedure setDEVADDR5(thebits : TBits_1); inline;
  7910. procedure setDEVADDR6(thebits : TBits_1); inline;
  7911. procedure setLSPDEN(thebits : TBits_1); inline;
  7912. public
  7913. procedure clearDEVADDR0; inline;
  7914. procedure clearDEVADDR1; inline;
  7915. procedure clearDEVADDR2; inline;
  7916. procedure clearDEVADDR3; inline;
  7917. procedure clearDEVADDR4; inline;
  7918. procedure clearDEVADDR5; inline;
  7919. procedure clearDEVADDR6; inline;
  7920. procedure clearLSPDEN; inline;
  7921. procedure setDEVADDR0; inline;
  7922. procedure setDEVADDR1; inline;
  7923. procedure setDEVADDR2; inline;
  7924. procedure setDEVADDR3; inline;
  7925. procedure setDEVADDR4; inline;
  7926. procedure setDEVADDR5; inline;
  7927. procedure setDEVADDR6; inline;
  7928. procedure setLSPDEN; inline;
  7929. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  7930. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  7931. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  7932. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  7933. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  7934. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  7935. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  7936. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  7937. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  7938. end;
  7939. TDMAC3_U1FRML = record
  7940. private
  7941. function getFRM0 : TBits_1; inline;
  7942. function getFRM1 : TBits_1; inline;
  7943. function getFRM2 : TBits_1; inline;
  7944. function getFRM3 : TBits_1; inline;
  7945. function getFRM4 : TBits_1; inline;
  7946. function getFRM5 : TBits_1; inline;
  7947. function getFRM6 : TBits_1; inline;
  7948. function getFRM7 : TBits_1; inline;
  7949. function getFRML : TBits_8; inline;
  7950. procedure setFRM0(thebits : TBits_1); inline;
  7951. procedure setFRM1(thebits : TBits_1); inline;
  7952. procedure setFRM2(thebits : TBits_1); inline;
  7953. procedure setFRM3(thebits : TBits_1); inline;
  7954. procedure setFRM4(thebits : TBits_1); inline;
  7955. procedure setFRM5(thebits : TBits_1); inline;
  7956. procedure setFRM6(thebits : TBits_1); inline;
  7957. procedure setFRM7(thebits : TBits_1); inline;
  7958. procedure setFRML(thebits : TBits_8); inline;
  7959. public
  7960. procedure clearFRM0; inline;
  7961. procedure clearFRM1; inline;
  7962. procedure clearFRM2; inline;
  7963. procedure clearFRM3; inline;
  7964. procedure clearFRM4; inline;
  7965. procedure clearFRM5; inline;
  7966. procedure clearFRM6; inline;
  7967. procedure clearFRM7; inline;
  7968. procedure setFRM0; inline;
  7969. procedure setFRM1; inline;
  7970. procedure setFRM2; inline;
  7971. procedure setFRM3; inline;
  7972. procedure setFRM4; inline;
  7973. procedure setFRM5; inline;
  7974. procedure setFRM6; inline;
  7975. procedure setFRM7; inline;
  7976. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  7977. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  7978. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  7979. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  7980. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  7981. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  7982. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  7983. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  7984. property FRML : TBits_8 read getFRML write setFRML;
  7985. end;
  7986. TDMAC3_U1FRMH = record
  7987. private
  7988. function getFRM10 : TBits_1; inline;
  7989. function getFRM8 : TBits_1; inline;
  7990. function getFRM9 : TBits_1; inline;
  7991. function getFRMH : TBits_3; inline;
  7992. procedure setFRM10(thebits : TBits_1); inline;
  7993. procedure setFRM8(thebits : TBits_1); inline;
  7994. procedure setFRM9(thebits : TBits_1); inline;
  7995. procedure setFRMH(thebits : TBits_3); inline;
  7996. public
  7997. procedure clearFRM10; inline;
  7998. procedure clearFRM8; inline;
  7999. procedure clearFRM9; inline;
  8000. procedure setFRM10; inline;
  8001. procedure setFRM8; inline;
  8002. procedure setFRM9; inline;
  8003. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8004. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8005. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8006. property FRMH : TBits_3 read getFRMH write setFRMH;
  8007. end;
  8008. TDMAC3_U1TOK = record
  8009. private
  8010. function getEP : TBits_4; inline;
  8011. function getEP0 : TBits_1; inline;
  8012. function getEP1 : TBits_1; inline;
  8013. function getEP2 : TBits_1; inline;
  8014. function getEP3 : TBits_1; inline;
  8015. function getPID : TBits_4; inline;
  8016. function getPID0 : TBits_1; inline;
  8017. function getPID1 : TBits_1; inline;
  8018. function getPID2 : TBits_1; inline;
  8019. function getPID3 : TBits_1; inline;
  8020. procedure setEP(thebits : TBits_4); inline;
  8021. procedure setEP0(thebits : TBits_1); inline;
  8022. procedure setEP1(thebits : TBits_1); inline;
  8023. procedure setEP2(thebits : TBits_1); inline;
  8024. procedure setEP3(thebits : TBits_1); inline;
  8025. procedure setPID(thebits : TBits_4); inline;
  8026. procedure setPID0(thebits : TBits_1); inline;
  8027. procedure setPID1(thebits : TBits_1); inline;
  8028. procedure setPID2(thebits : TBits_1); inline;
  8029. procedure setPID3(thebits : TBits_1); inline;
  8030. public
  8031. procedure clearEP0; inline;
  8032. procedure clearEP1; inline;
  8033. procedure clearEP2; inline;
  8034. procedure clearEP3; inline;
  8035. procedure clearPID0; inline;
  8036. procedure clearPID1; inline;
  8037. procedure clearPID2; inline;
  8038. procedure clearPID3; inline;
  8039. procedure setEP0; inline;
  8040. procedure setEP1; inline;
  8041. procedure setEP2; inline;
  8042. procedure setEP3; inline;
  8043. procedure setPID0; inline;
  8044. procedure setPID1; inline;
  8045. procedure setPID2; inline;
  8046. procedure setPID3; inline;
  8047. property EP : TBits_4 read getEP write setEP;
  8048. property EP0 : TBits_1 read getEP0 write setEP0;
  8049. property EP1 : TBits_1 read getEP1 write setEP1;
  8050. property EP2 : TBits_1 read getEP2 write setEP2;
  8051. property EP3 : TBits_1 read getEP3 write setEP3;
  8052. property PID : TBits_4 read getPID write setPID;
  8053. property PID0 : TBits_1 read getPID0 write setPID0;
  8054. property PID1 : TBits_1 read getPID1 write setPID1;
  8055. property PID2 : TBits_1 read getPID2 write setPID2;
  8056. property PID3 : TBits_1 read getPID3 write setPID3;
  8057. end;
  8058. type
  8059. TDMAC3Registers = record
  8060. DCH3CONbits : TDMAC3_DCH3CON;
  8061. DCH3CON : longWord;
  8062. DCH3CONCLR : longWord;
  8063. DCH3CONSET : longWord;
  8064. DCH3CONINV : longWord;
  8065. DCH3ECONbits : TDMAC3_DCH3ECON;
  8066. DCH3ECON : longWord;
  8067. DCH3ECONCLR : longWord;
  8068. DCH3ECONSET : longWord;
  8069. DCH3ECONINV : longWord;
  8070. DCH3INTbits : TDMAC3_DCH3INT;
  8071. DCH3INT : longWord;
  8072. DCH3INTCLR : longWord;
  8073. DCH3INTSET : longWord;
  8074. DCH3INTINV : longWord;
  8075. DCH3SSA : longWord;
  8076. DCH3SSACLR : longWord;
  8077. DCH3SSASET : longWord;
  8078. DCH3SSAINV : longWord;
  8079. DCH3DSA : longWord;
  8080. DCH3DSACLR : longWord;
  8081. DCH3DSASET : longWord;
  8082. DCH3DSAINV : longWord;
  8083. DCH3SSIZ : longWord;
  8084. DCH3SSIZCLR : longWord;
  8085. DCH3SSIZSET : longWord;
  8086. DCH3SSIZINV : longWord;
  8087. DCH3DSIZ : longWord;
  8088. DCH3DSIZCLR : longWord;
  8089. DCH3DSIZSET : longWord;
  8090. DCH3DSIZINV : longWord;
  8091. DCH3SPTR : longWord;
  8092. DCH3SPTRCLR : longWord;
  8093. DCH3SPTRSET : longWord;
  8094. DCH3SPTRINV : longWord;
  8095. DCH3DPTR : longWord;
  8096. DCH3DPTRCLR : longWord;
  8097. DCH3DPTRSET : longWord;
  8098. DCH3DPTRINV : longWord;
  8099. DCH3CSIZ : longWord;
  8100. DCH3CSIZCLR : longWord;
  8101. DCH3CSIZSET : longWord;
  8102. DCH3CSIZINV : longWord;
  8103. DCH3CPTR : longWord;
  8104. DCH3CPTRCLR : longWord;
  8105. DCH3CPTRSET : longWord;
  8106. DCH3CPTRINV : longWord;
  8107. DCH3DAT : longWord;
  8108. DCH3DATCLR : longWord;
  8109. DCH3DATSET : longWord;
  8110. DCH3DATINV : longWord;
  8111. U1OTGIR : longWord;
  8112. U1OTGIRCLR : longWord;
  8113. U1OTGIE : longWord;
  8114. U1OTGIECLR : longWord;
  8115. U1OTGIESET : longWord;
  8116. U1OTGIEINV : longWord;
  8117. U1OTGSTAT : longWord;
  8118. U1OTGCON : longWord;
  8119. U1OTGCONCLR : longWord;
  8120. U1OTGCONSET : longWord;
  8121. U1OTGCONINV : longWord;
  8122. U1PWRC : longWord;
  8123. U1PWRCCLR : longWord;
  8124. U1PWRCSET : longWord;
  8125. U1PWRCINV : longWord;
  8126. U1IRbits : TDMAC3_U1IR;
  8127. U1IR : longWord;
  8128. U1IRCLR : longWord;
  8129. U1IEbits : TDMAC3_U1IE;
  8130. U1IE : longWord;
  8131. U1IECLR : longWord;
  8132. U1IESET : longWord;
  8133. U1IEINV : longWord;
  8134. U1EIRbits : TDMAC3_U1EIR;
  8135. U1EIR : longWord;
  8136. U1EIRCLR : longWord;
  8137. U1EIEbits : TDMAC3_U1EIE;
  8138. U1EIE : longWord;
  8139. U1EIECLR : longWord;
  8140. U1EIESET : longWord;
  8141. U1EIEINV : longWord;
  8142. U1STATbits : TDMAC3_U1STAT;
  8143. U1STAT : longWord;
  8144. U1CONbits : TDMAC3_U1CON;
  8145. U1CON : longWord;
  8146. U1CONCLR : longWord;
  8147. U1CONSET : longWord;
  8148. U1CONINV : longWord;
  8149. U1ADDRbits : TDMAC3_U1ADDR;
  8150. U1ADDR : longWord;
  8151. U1ADDRCLR : longWord;
  8152. U1ADDRSET : longWord;
  8153. U1ADDRINV : longWord;
  8154. U1BDTP1 : longWord;
  8155. U1BDTP1CLR : longWord;
  8156. U1BDTP1SET : longWord;
  8157. U1BDTP1INV : longWord;
  8158. U1FRMLbits : TDMAC3_U1FRML;
  8159. U1FRML : longWord;
  8160. U1FRMHbits : TDMAC3_U1FRMH;
  8161. U1FRMH : longWord;
  8162. U1TOKbits : TDMAC3_U1TOK;
  8163. U1TOK : longWord;
  8164. U1TOKCLR : longWord;
  8165. U1TOKSET : longWord;
  8166. U1TOKINV : longWord;
  8167. U1SOF : longWord;
  8168. U1SOFCLR : longWord;
  8169. U1SOFSET : longWord;
  8170. U1SOFINV : longWord;
  8171. U1BDTP2 : longWord;
  8172. U1BDTP2CLR : longWord;
  8173. U1BDTP2SET : longWord;
  8174. U1BDTP2INV : longWord;
  8175. U1BDTP3 : longWord;
  8176. U1BDTP3CLR : longWord;
  8177. U1BDTP3SET : longWord;
  8178. U1BDTP3INV : longWord;
  8179. U1CNFG1 : longWord;
  8180. U1CNFG1CLR : longWord;
  8181. U1CNFG1SET : longWord;
  8182. U1CNFG1INV : longWord;
  8183. U1EP0 : longWord;
  8184. U1EP0CLR : longWord;
  8185. U1EP0SET : longWord;
  8186. U1EP0INV : longWord;
  8187. U1EP1 : longWord;
  8188. U1EP1CLR : longWord;
  8189. U1EP1SET : longWord;
  8190. U1EP1INV : longWord;
  8191. U1EP2 : longWord;
  8192. U1EP2CLR : longWord;
  8193. U1EP2SET : longWord;
  8194. U1EP2INV : longWord;
  8195. U1EP3 : longWord;
  8196. U1EP3CLR : longWord;
  8197. U1EP3SET : longWord;
  8198. U1EP3INV : longWord;
  8199. U1EP4 : longWord;
  8200. U1EP4CLR : longWord;
  8201. U1EP4SET : longWord;
  8202. U1EP4INV : longWord;
  8203. U1EP5 : longWord;
  8204. U1EP5CLR : longWord;
  8205. U1EP5SET : longWord;
  8206. U1EP5INV : longWord;
  8207. U1EP6 : longWord;
  8208. U1EP6CLR : longWord;
  8209. U1EP6SET : longWord;
  8210. U1EP6INV : longWord;
  8211. U1EP7 : longWord;
  8212. U1EP7CLR : longWord;
  8213. U1EP7SET : longWord;
  8214. U1EP7INV : longWord;
  8215. U1EP8 : longWord;
  8216. U1EP8CLR : longWord;
  8217. U1EP8SET : longWord;
  8218. U1EP8INV : longWord;
  8219. U1EP9 : longWord;
  8220. U1EP9CLR : longWord;
  8221. U1EP9SET : longWord;
  8222. U1EP9INV : longWord;
  8223. U1EP10 : longWord;
  8224. U1EP10CLR : longWord;
  8225. U1EP10SET : longWord;
  8226. U1EP10INV : longWord;
  8227. U1EP11 : longWord;
  8228. U1EP11CLR : longWord;
  8229. U1EP11SET : longWord;
  8230. U1EP11INV : longWord;
  8231. U1EP12 : longWord;
  8232. U1EP12CLR : longWord;
  8233. U1EP12SET : longWord;
  8234. U1EP12INV : longWord;
  8235. U1EP13 : longWord;
  8236. U1EP13CLR : longWord;
  8237. U1EP13SET : longWord;
  8238. U1EP13INV : longWord;
  8239. U1EP14 : longWord;
  8240. U1EP14CLR : longWord;
  8241. U1EP14SET : longWord;
  8242. U1EP14INV : longWord;
  8243. U1EP15 : longWord;
  8244. U1EP15CLR : longWord;
  8245. U1EP15SET : longWord;
  8246. U1EP15INV : longWord;
  8247. end;
  8248. TPORTA_ANSELA = record
  8249. private
  8250. function getANSA0 : TBits_1; inline;
  8251. function getANSA1 : TBits_1; inline;
  8252. function getw : TBits_32; inline;
  8253. procedure setANSA0(thebits : TBits_1); inline;
  8254. procedure setANSA1(thebits : TBits_1); inline;
  8255. procedure setw(thebits : TBits_32); inline;
  8256. public
  8257. procedure clearANSA0; inline;
  8258. procedure clearANSA1; inline;
  8259. procedure setANSA0; inline;
  8260. procedure setANSA1; inline;
  8261. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8262. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8263. property w : TBits_32 read getw write setw;
  8264. end;
  8265. TPORTA_TRISA = record
  8266. private
  8267. function getTRISA0 : TBits_1; inline;
  8268. function getTRISA1 : TBits_1; inline;
  8269. function getTRISA10 : TBits_1; inline;
  8270. function getTRISA2 : TBits_1; inline;
  8271. function getTRISA3 : TBits_1; inline;
  8272. function getTRISA4 : TBits_1; inline;
  8273. function getTRISA7 : TBits_1; inline;
  8274. function getTRISA8 : TBits_1; inline;
  8275. function getTRISA9 : TBits_1; inline;
  8276. function getw : TBits_32; inline;
  8277. procedure setTRISA0(thebits : TBits_1); inline;
  8278. procedure setTRISA1(thebits : TBits_1); inline;
  8279. procedure setTRISA10(thebits : TBits_1); inline;
  8280. procedure setTRISA2(thebits : TBits_1); inline;
  8281. procedure setTRISA3(thebits : TBits_1); inline;
  8282. procedure setTRISA4(thebits : TBits_1); inline;
  8283. procedure setTRISA7(thebits : TBits_1); inline;
  8284. procedure setTRISA8(thebits : TBits_1); inline;
  8285. procedure setTRISA9(thebits : TBits_1); inline;
  8286. procedure setw(thebits : TBits_32); inline;
  8287. public
  8288. procedure clearTRISA0; inline;
  8289. procedure clearTRISA10; inline;
  8290. procedure clearTRISA1; inline;
  8291. procedure clearTRISA2; inline;
  8292. procedure clearTRISA3; inline;
  8293. procedure clearTRISA4; inline;
  8294. procedure clearTRISA7; inline;
  8295. procedure clearTRISA8; inline;
  8296. procedure clearTRISA9; inline;
  8297. procedure setTRISA0; inline;
  8298. procedure setTRISA10; inline;
  8299. procedure setTRISA1; inline;
  8300. procedure setTRISA2; inline;
  8301. procedure setTRISA3; inline;
  8302. procedure setTRISA4; inline;
  8303. procedure setTRISA7; inline;
  8304. procedure setTRISA8; inline;
  8305. procedure setTRISA9; inline;
  8306. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8307. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8308. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  8309. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8310. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8311. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8312. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  8313. property TRISA8 : TBits_1 read getTRISA8 write setTRISA8;
  8314. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  8315. property w : TBits_32 read getw write setw;
  8316. end;
  8317. TPORTA_PORTA = record
  8318. private
  8319. function getRA0 : TBits_1; inline;
  8320. function getRA1 : TBits_1; inline;
  8321. function getRA10 : TBits_1; inline;
  8322. function getRA2 : TBits_1; inline;
  8323. function getRA3 : TBits_1; inline;
  8324. function getRA4 : TBits_1; inline;
  8325. function getRA7 : TBits_1; inline;
  8326. function getRA8 : TBits_1; inline;
  8327. function getRA9 : TBits_1; inline;
  8328. function getw : TBits_32; inline;
  8329. procedure setRA0(thebits : TBits_1); inline;
  8330. procedure setRA1(thebits : TBits_1); inline;
  8331. procedure setRA10(thebits : TBits_1); inline;
  8332. procedure setRA2(thebits : TBits_1); inline;
  8333. procedure setRA3(thebits : TBits_1); inline;
  8334. procedure setRA4(thebits : TBits_1); inline;
  8335. procedure setRA7(thebits : TBits_1); inline;
  8336. procedure setRA8(thebits : TBits_1); inline;
  8337. procedure setRA9(thebits : TBits_1); inline;
  8338. procedure setw(thebits : TBits_32); inline;
  8339. public
  8340. procedure clearRA0; inline;
  8341. procedure clearRA10; inline;
  8342. procedure clearRA1; inline;
  8343. procedure clearRA2; inline;
  8344. procedure clearRA3; inline;
  8345. procedure clearRA4; inline;
  8346. procedure clearRA7; inline;
  8347. procedure clearRA8; inline;
  8348. procedure clearRA9; inline;
  8349. procedure setRA0; inline;
  8350. procedure setRA10; inline;
  8351. procedure setRA1; inline;
  8352. procedure setRA2; inline;
  8353. procedure setRA3; inline;
  8354. procedure setRA4; inline;
  8355. procedure setRA7; inline;
  8356. procedure setRA8; inline;
  8357. procedure setRA9; inline;
  8358. property RA0 : TBits_1 read getRA0 write setRA0;
  8359. property RA1 : TBits_1 read getRA1 write setRA1;
  8360. property RA10 : TBits_1 read getRA10 write setRA10;
  8361. property RA2 : TBits_1 read getRA2 write setRA2;
  8362. property RA3 : TBits_1 read getRA3 write setRA3;
  8363. property RA4 : TBits_1 read getRA4 write setRA4;
  8364. property RA7 : TBits_1 read getRA7 write setRA7;
  8365. property RA8 : TBits_1 read getRA8 write setRA8;
  8366. property RA9 : TBits_1 read getRA9 write setRA9;
  8367. property w : TBits_32 read getw write setw;
  8368. end;
  8369. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA7=7,RA8=8,RA9=9,RA10=10);
  8370. TPortA_bitset = set of TPortA_bits;
  8371. TPORTA_LATA = record
  8372. private
  8373. function getLATA0 : TBits_1; inline;
  8374. function getLATA1 : TBits_1; inline;
  8375. function getLATA10 : TBits_1; inline;
  8376. function getLATA2 : TBits_1; inline;
  8377. function getLATA3 : TBits_1; inline;
  8378. function getLATA4 : TBits_1; inline;
  8379. function getLATA7 : TBits_1; inline;
  8380. function getLATA8 : TBits_1; inline;
  8381. function getLATA9 : TBits_1; inline;
  8382. function getw : TBits_32; inline;
  8383. procedure setLATA0(thebits : TBits_1); inline;
  8384. procedure setLATA1(thebits : TBits_1); inline;
  8385. procedure setLATA10(thebits : TBits_1); inline;
  8386. procedure setLATA2(thebits : TBits_1); inline;
  8387. procedure setLATA3(thebits : TBits_1); inline;
  8388. procedure setLATA4(thebits : TBits_1); inline;
  8389. procedure setLATA7(thebits : TBits_1); inline;
  8390. procedure setLATA8(thebits : TBits_1); inline;
  8391. procedure setLATA9(thebits : TBits_1); inline;
  8392. procedure setw(thebits : TBits_32); inline;
  8393. public
  8394. procedure clearLATA0; inline;
  8395. procedure clearLATA10; inline;
  8396. procedure clearLATA1; inline;
  8397. procedure clearLATA2; inline;
  8398. procedure clearLATA3; inline;
  8399. procedure clearLATA4; inline;
  8400. procedure clearLATA7; inline;
  8401. procedure clearLATA8; inline;
  8402. procedure clearLATA9; inline;
  8403. procedure setLATA0; inline;
  8404. procedure setLATA10; inline;
  8405. procedure setLATA1; inline;
  8406. procedure setLATA2; inline;
  8407. procedure setLATA3; inline;
  8408. procedure setLATA4; inline;
  8409. procedure setLATA7; inline;
  8410. procedure setLATA8; inline;
  8411. procedure setLATA9; inline;
  8412. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8413. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8414. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  8415. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8416. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8417. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8418. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  8419. property LATA8 : TBits_1 read getLATA8 write setLATA8;
  8420. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  8421. property w : TBits_32 read getw write setw;
  8422. end;
  8423. TPORTA_ODCA = record
  8424. private
  8425. function getODCA0 : TBits_1; inline;
  8426. function getODCA1 : TBits_1; inline;
  8427. function getODCA10 : TBits_1; inline;
  8428. function getODCA2 : TBits_1; inline;
  8429. function getODCA3 : TBits_1; inline;
  8430. function getODCA4 : TBits_1; inline;
  8431. function getODCA7 : TBits_1; inline;
  8432. function getODCA8 : TBits_1; inline;
  8433. function getODCA9 : TBits_1; inline;
  8434. function getw : TBits_32; inline;
  8435. procedure setODCA0(thebits : TBits_1); inline;
  8436. procedure setODCA1(thebits : TBits_1); inline;
  8437. procedure setODCA10(thebits : TBits_1); inline;
  8438. procedure setODCA2(thebits : TBits_1); inline;
  8439. procedure setODCA3(thebits : TBits_1); inline;
  8440. procedure setODCA4(thebits : TBits_1); inline;
  8441. procedure setODCA7(thebits : TBits_1); inline;
  8442. procedure setODCA8(thebits : TBits_1); inline;
  8443. procedure setODCA9(thebits : TBits_1); inline;
  8444. procedure setw(thebits : TBits_32); inline;
  8445. public
  8446. procedure clearODCA0; inline;
  8447. procedure clearODCA10; inline;
  8448. procedure clearODCA1; inline;
  8449. procedure clearODCA2; inline;
  8450. procedure clearODCA3; inline;
  8451. procedure clearODCA4; inline;
  8452. procedure clearODCA7; inline;
  8453. procedure clearODCA8; inline;
  8454. procedure clearODCA9; inline;
  8455. procedure setODCA0; inline;
  8456. procedure setODCA10; inline;
  8457. procedure setODCA1; inline;
  8458. procedure setODCA2; inline;
  8459. procedure setODCA3; inline;
  8460. procedure setODCA4; inline;
  8461. procedure setODCA7; inline;
  8462. procedure setODCA8; inline;
  8463. procedure setODCA9; inline;
  8464. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  8465. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  8466. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  8467. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  8468. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  8469. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  8470. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  8471. property ODCA8 : TBits_1 read getODCA8 write setODCA8;
  8472. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  8473. property w : TBits_32 read getw write setw;
  8474. end;
  8475. TPORTA_CNPUA = record
  8476. private
  8477. function getCNPUA0 : TBits_1; inline;
  8478. function getCNPUA1 : TBits_1; inline;
  8479. function getCNPUA10 : TBits_1; inline;
  8480. function getCNPUA2 : TBits_1; inline;
  8481. function getCNPUA3 : TBits_1; inline;
  8482. function getCNPUA4 : TBits_1; inline;
  8483. function getCNPUA7 : TBits_1; inline;
  8484. function getCNPUA8 : TBits_1; inline;
  8485. function getCNPUA9 : TBits_1; inline;
  8486. function getw : TBits_32; inline;
  8487. procedure setCNPUA0(thebits : TBits_1); inline;
  8488. procedure setCNPUA1(thebits : TBits_1); inline;
  8489. procedure setCNPUA10(thebits : TBits_1); inline;
  8490. procedure setCNPUA2(thebits : TBits_1); inline;
  8491. procedure setCNPUA3(thebits : TBits_1); inline;
  8492. procedure setCNPUA4(thebits : TBits_1); inline;
  8493. procedure setCNPUA7(thebits : TBits_1); inline;
  8494. procedure setCNPUA8(thebits : TBits_1); inline;
  8495. procedure setCNPUA9(thebits : TBits_1); inline;
  8496. procedure setw(thebits : TBits_32); inline;
  8497. public
  8498. procedure clearCNPUA0; inline;
  8499. procedure clearCNPUA10; inline;
  8500. procedure clearCNPUA1; inline;
  8501. procedure clearCNPUA2; inline;
  8502. procedure clearCNPUA3; inline;
  8503. procedure clearCNPUA4; inline;
  8504. procedure clearCNPUA7; inline;
  8505. procedure clearCNPUA8; inline;
  8506. procedure clearCNPUA9; inline;
  8507. procedure setCNPUA0; inline;
  8508. procedure setCNPUA10; inline;
  8509. procedure setCNPUA1; inline;
  8510. procedure setCNPUA2; inline;
  8511. procedure setCNPUA3; inline;
  8512. procedure setCNPUA4; inline;
  8513. procedure setCNPUA7; inline;
  8514. procedure setCNPUA8; inline;
  8515. procedure setCNPUA9; inline;
  8516. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8517. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8518. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  8519. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8520. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8521. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8522. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  8523. property CNPUA8 : TBits_1 read getCNPUA8 write setCNPUA8;
  8524. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  8525. property w : TBits_32 read getw write setw;
  8526. end;
  8527. TPORTA_CNPDA = record
  8528. private
  8529. function getCNPDA0 : TBits_1; inline;
  8530. function getCNPDA1 : TBits_1; inline;
  8531. function getCNPDA10 : TBits_1; inline;
  8532. function getCNPDA2 : TBits_1; inline;
  8533. function getCNPDA3 : TBits_1; inline;
  8534. function getCNPDA4 : TBits_1; inline;
  8535. function getCNPDA7 : TBits_1; inline;
  8536. function getCNPDA8 : TBits_1; inline;
  8537. function getCNPDA9 : TBits_1; inline;
  8538. function getw : TBits_32; inline;
  8539. procedure setCNPDA0(thebits : TBits_1); inline;
  8540. procedure setCNPDA1(thebits : TBits_1); inline;
  8541. procedure setCNPDA10(thebits : TBits_1); inline;
  8542. procedure setCNPDA2(thebits : TBits_1); inline;
  8543. procedure setCNPDA3(thebits : TBits_1); inline;
  8544. procedure setCNPDA4(thebits : TBits_1); inline;
  8545. procedure setCNPDA7(thebits : TBits_1); inline;
  8546. procedure setCNPDA8(thebits : TBits_1); inline;
  8547. procedure setCNPDA9(thebits : TBits_1); inline;
  8548. procedure setw(thebits : TBits_32); inline;
  8549. public
  8550. procedure clearCNPDA0; inline;
  8551. procedure clearCNPDA10; inline;
  8552. procedure clearCNPDA1; inline;
  8553. procedure clearCNPDA2; inline;
  8554. procedure clearCNPDA3; inline;
  8555. procedure clearCNPDA4; inline;
  8556. procedure clearCNPDA7; inline;
  8557. procedure clearCNPDA8; inline;
  8558. procedure clearCNPDA9; inline;
  8559. procedure setCNPDA0; inline;
  8560. procedure setCNPDA10; inline;
  8561. procedure setCNPDA1; inline;
  8562. procedure setCNPDA2; inline;
  8563. procedure setCNPDA3; inline;
  8564. procedure setCNPDA4; inline;
  8565. procedure setCNPDA7; inline;
  8566. procedure setCNPDA8; inline;
  8567. procedure setCNPDA9; inline;
  8568. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8569. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8570. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  8571. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8572. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8573. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8574. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  8575. property CNPDA8 : TBits_1 read getCNPDA8 write setCNPDA8;
  8576. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  8577. property w : TBits_32 read getw write setw;
  8578. end;
  8579. TPORTA_CNCONA = record
  8580. private
  8581. function getON : TBits_1; inline;
  8582. function getSIDL : TBits_1; inline;
  8583. function getw : TBits_32; inline;
  8584. procedure setON(thebits : TBits_1); inline;
  8585. procedure setSIDL(thebits : TBits_1); inline;
  8586. procedure setw(thebits : TBits_32); inline;
  8587. public
  8588. procedure clearON; inline;
  8589. procedure clearSIDL; inline;
  8590. procedure setON; inline;
  8591. procedure setSIDL; inline;
  8592. property ON : TBits_1 read getON write setON;
  8593. property SIDL : TBits_1 read getSIDL write setSIDL;
  8594. property w : TBits_32 read getw write setw;
  8595. end;
  8596. TPORTA_CNENA = record
  8597. private
  8598. function getCNIEA0 : TBits_1; inline;
  8599. function getCNIEA1 : TBits_1; inline;
  8600. function getCNIEA10 : TBits_1; inline;
  8601. function getCNIEA2 : TBits_1; inline;
  8602. function getCNIEA3 : TBits_1; inline;
  8603. function getCNIEA4 : TBits_1; inline;
  8604. function getCNIEA7 : TBits_1; inline;
  8605. function getCNIEA8 : TBits_1; inline;
  8606. function getCNIEA9 : TBits_1; inline;
  8607. function getw : TBits_32; inline;
  8608. procedure setCNIEA0(thebits : TBits_1); inline;
  8609. procedure setCNIEA1(thebits : TBits_1); inline;
  8610. procedure setCNIEA10(thebits : TBits_1); inline;
  8611. procedure setCNIEA2(thebits : TBits_1); inline;
  8612. procedure setCNIEA3(thebits : TBits_1); inline;
  8613. procedure setCNIEA4(thebits : TBits_1); inline;
  8614. procedure setCNIEA7(thebits : TBits_1); inline;
  8615. procedure setCNIEA8(thebits : TBits_1); inline;
  8616. procedure setCNIEA9(thebits : TBits_1); inline;
  8617. procedure setw(thebits : TBits_32); inline;
  8618. public
  8619. procedure clearCNIEA0; inline;
  8620. procedure clearCNIEA10; inline;
  8621. procedure clearCNIEA1; inline;
  8622. procedure clearCNIEA2; inline;
  8623. procedure clearCNIEA3; inline;
  8624. procedure clearCNIEA4; inline;
  8625. procedure clearCNIEA7; inline;
  8626. procedure clearCNIEA8; inline;
  8627. procedure clearCNIEA9; inline;
  8628. procedure setCNIEA0; inline;
  8629. procedure setCNIEA10; inline;
  8630. procedure setCNIEA1; inline;
  8631. procedure setCNIEA2; inline;
  8632. procedure setCNIEA3; inline;
  8633. procedure setCNIEA4; inline;
  8634. procedure setCNIEA7; inline;
  8635. procedure setCNIEA8; inline;
  8636. procedure setCNIEA9; inline;
  8637. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8638. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8639. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  8640. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8641. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8642. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8643. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  8644. property CNIEA8 : TBits_1 read getCNIEA8 write setCNIEA8;
  8645. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  8646. property w : TBits_32 read getw write setw;
  8647. end;
  8648. TPORTA_CNSTATA = record
  8649. private
  8650. function getCNSTATA0 : TBits_1; inline;
  8651. function getCNSTATA1 : TBits_1; inline;
  8652. function getCNSTATA10 : TBits_1; inline;
  8653. function getCNSTATA2 : TBits_1; inline;
  8654. function getCNSTATA3 : TBits_1; inline;
  8655. function getCNSTATA4 : TBits_1; inline;
  8656. function getCNSTATA7 : TBits_1; inline;
  8657. function getCNSTATA8 : TBits_1; inline;
  8658. function getCNSTATA9 : TBits_1; inline;
  8659. function getw : TBits_32; inline;
  8660. procedure setCNSTATA0(thebits : TBits_1); inline;
  8661. procedure setCNSTATA1(thebits : TBits_1); inline;
  8662. procedure setCNSTATA10(thebits : TBits_1); inline;
  8663. procedure setCNSTATA2(thebits : TBits_1); inline;
  8664. procedure setCNSTATA3(thebits : TBits_1); inline;
  8665. procedure setCNSTATA4(thebits : TBits_1); inline;
  8666. procedure setCNSTATA7(thebits : TBits_1); inline;
  8667. procedure setCNSTATA8(thebits : TBits_1); inline;
  8668. procedure setCNSTATA9(thebits : TBits_1); inline;
  8669. procedure setw(thebits : TBits_32); inline;
  8670. public
  8671. procedure clearCNSTATA0; inline;
  8672. procedure clearCNSTATA10; inline;
  8673. procedure clearCNSTATA1; inline;
  8674. procedure clearCNSTATA2; inline;
  8675. procedure clearCNSTATA3; inline;
  8676. procedure clearCNSTATA4; inline;
  8677. procedure clearCNSTATA7; inline;
  8678. procedure clearCNSTATA8; inline;
  8679. procedure clearCNSTATA9; inline;
  8680. procedure setCNSTATA0; inline;
  8681. procedure setCNSTATA10; inline;
  8682. procedure setCNSTATA1; inline;
  8683. procedure setCNSTATA2; inline;
  8684. procedure setCNSTATA3; inline;
  8685. procedure setCNSTATA4; inline;
  8686. procedure setCNSTATA7; inline;
  8687. procedure setCNSTATA8; inline;
  8688. procedure setCNSTATA9; inline;
  8689. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8690. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8691. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  8692. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8693. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8694. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8695. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  8696. property CNSTATA8 : TBits_1 read getCNSTATA8 write setCNSTATA8;
  8697. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  8698. property w : TBits_32 read getw write setw;
  8699. end;
  8700. type
  8701. TPORTARegisters = record
  8702. ANSELAbits : TPORTA_ANSELA;
  8703. ANSELA : longWord;
  8704. ANSELACLR : longWord;
  8705. ANSELASET : longWord;
  8706. ANSELAINV : longWord;
  8707. TRISAbits : TPORTA_TRISA;
  8708. TRISA : longWord;
  8709. TRISACLR : longWord;
  8710. TRISASET : longWord;
  8711. TRISAINV : longWord;
  8712. PORTAbits : TPORTA_PORTA;
  8713. PORTA : longWord;
  8714. PORTACLR : longWord;
  8715. PORTASET : longWord;
  8716. PORTAINV : longWord;
  8717. LATAbits : TPORTA_LATA;
  8718. LATA : longWord;
  8719. LATACLR : longWord;
  8720. LATASET : longWord;
  8721. LATAINV : longWord;
  8722. ODCAbits : TPORTA_ODCA;
  8723. ODCA : longWord;
  8724. ODCACLR : longWord;
  8725. ODCASET : longWord;
  8726. ODCAINV : longWord;
  8727. CNPUAbits : TPORTA_CNPUA;
  8728. CNPUA : longWord;
  8729. CNPUACLR : longWord;
  8730. CNPUASET : longWord;
  8731. CNPUAINV : longWord;
  8732. CNPDAbits : TPORTA_CNPDA;
  8733. CNPDA : longWord;
  8734. CNPDACLR : longWord;
  8735. CNPDASET : longWord;
  8736. CNPDAINV : longWord;
  8737. CNCONAbits : TPORTA_CNCONA;
  8738. CNCONA : longWord;
  8739. CNCONACLR : longWord;
  8740. CNCONASET : longWord;
  8741. CNCONAINV : longWord;
  8742. CNENAbits : TPORTA_CNENA;
  8743. CNENA : longWord;
  8744. CNENACLR : longWord;
  8745. CNENASET : longWord;
  8746. CNENAINV : longWord;
  8747. CNSTATAbits : TPORTA_CNSTATA;
  8748. CNSTATA : longWord;
  8749. CNSTATACLR : longWord;
  8750. CNSTATASET : longWord;
  8751. CNSTATAINV : longWord;
  8752. end;
  8753. TPORTB_ANSELB = record
  8754. private
  8755. function getANSB0 : TBits_1; inline;
  8756. function getANSB1 : TBits_1; inline;
  8757. function getANSB12 : TBits_1; inline;
  8758. function getANSB13 : TBits_1; inline;
  8759. function getANSB14 : TBits_1; inline;
  8760. function getANSB15 : TBits_1; inline;
  8761. function getANSB2 : TBits_1; inline;
  8762. function getANSB3 : TBits_1; inline;
  8763. function getw : TBits_32; inline;
  8764. procedure setANSB0(thebits : TBits_1); inline;
  8765. procedure setANSB1(thebits : TBits_1); inline;
  8766. procedure setANSB12(thebits : TBits_1); inline;
  8767. procedure setANSB13(thebits : TBits_1); inline;
  8768. procedure setANSB14(thebits : TBits_1); inline;
  8769. procedure setANSB15(thebits : TBits_1); inline;
  8770. procedure setANSB2(thebits : TBits_1); inline;
  8771. procedure setANSB3(thebits : TBits_1); inline;
  8772. procedure setw(thebits : TBits_32); inline;
  8773. public
  8774. procedure clearANSB0; inline;
  8775. procedure clearANSB12; inline;
  8776. procedure clearANSB13; inline;
  8777. procedure clearANSB14; inline;
  8778. procedure clearANSB15; inline;
  8779. procedure clearANSB1; inline;
  8780. procedure clearANSB2; inline;
  8781. procedure clearANSB3; inline;
  8782. procedure setANSB0; inline;
  8783. procedure setANSB12; inline;
  8784. procedure setANSB13; inline;
  8785. procedure setANSB14; inline;
  8786. procedure setANSB15; inline;
  8787. procedure setANSB1; inline;
  8788. procedure setANSB2; inline;
  8789. procedure setANSB3; inline;
  8790. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8791. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8792. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8793. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8794. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8795. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8796. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8797. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8798. property w : TBits_32 read getw write setw;
  8799. end;
  8800. TPORTB_TRISB = record
  8801. private
  8802. function getTRISB0 : TBits_1; inline;
  8803. function getTRISB1 : TBits_1; inline;
  8804. function getTRISB10 : TBits_1; inline;
  8805. function getTRISB11 : TBits_1; inline;
  8806. function getTRISB12 : TBits_1; inline;
  8807. function getTRISB13 : TBits_1; inline;
  8808. function getTRISB14 : TBits_1; inline;
  8809. function getTRISB15 : TBits_1; inline;
  8810. function getTRISB2 : TBits_1; inline;
  8811. function getTRISB3 : TBits_1; inline;
  8812. function getTRISB4 : TBits_1; inline;
  8813. function getTRISB5 : TBits_1; inline;
  8814. function getTRISB6 : TBits_1; inline;
  8815. function getTRISB7 : TBits_1; inline;
  8816. function getTRISB8 : TBits_1; inline;
  8817. function getTRISB9 : TBits_1; inline;
  8818. function getw : TBits_32; inline;
  8819. procedure setTRISB0(thebits : TBits_1); inline;
  8820. procedure setTRISB1(thebits : TBits_1); inline;
  8821. procedure setTRISB10(thebits : TBits_1); inline;
  8822. procedure setTRISB11(thebits : TBits_1); inline;
  8823. procedure setTRISB12(thebits : TBits_1); inline;
  8824. procedure setTRISB13(thebits : TBits_1); inline;
  8825. procedure setTRISB14(thebits : TBits_1); inline;
  8826. procedure setTRISB15(thebits : TBits_1); inline;
  8827. procedure setTRISB2(thebits : TBits_1); inline;
  8828. procedure setTRISB3(thebits : TBits_1); inline;
  8829. procedure setTRISB4(thebits : TBits_1); inline;
  8830. procedure setTRISB5(thebits : TBits_1); inline;
  8831. procedure setTRISB6(thebits : TBits_1); inline;
  8832. procedure setTRISB7(thebits : TBits_1); inline;
  8833. procedure setTRISB8(thebits : TBits_1); inline;
  8834. procedure setTRISB9(thebits : TBits_1); inline;
  8835. procedure setw(thebits : TBits_32); inline;
  8836. public
  8837. procedure clearTRISB0; inline;
  8838. procedure clearTRISB10; inline;
  8839. procedure clearTRISB11; inline;
  8840. procedure clearTRISB12; inline;
  8841. procedure clearTRISB13; inline;
  8842. procedure clearTRISB14; inline;
  8843. procedure clearTRISB15; inline;
  8844. procedure clearTRISB1; inline;
  8845. procedure clearTRISB2; inline;
  8846. procedure clearTRISB3; inline;
  8847. procedure clearTRISB4; inline;
  8848. procedure clearTRISB5; inline;
  8849. procedure clearTRISB6; inline;
  8850. procedure clearTRISB7; inline;
  8851. procedure clearTRISB8; inline;
  8852. procedure clearTRISB9; inline;
  8853. procedure setTRISB0; inline;
  8854. procedure setTRISB10; inline;
  8855. procedure setTRISB11; inline;
  8856. procedure setTRISB12; inline;
  8857. procedure setTRISB13; inline;
  8858. procedure setTRISB14; inline;
  8859. procedure setTRISB15; inline;
  8860. procedure setTRISB1; inline;
  8861. procedure setTRISB2; inline;
  8862. procedure setTRISB3; inline;
  8863. procedure setTRISB4; inline;
  8864. procedure setTRISB5; inline;
  8865. procedure setTRISB6; inline;
  8866. procedure setTRISB7; inline;
  8867. procedure setTRISB8; inline;
  8868. procedure setTRISB9; inline;
  8869. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8870. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8871. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8872. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8873. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8874. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8875. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8876. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8877. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8878. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8879. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8880. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8881. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8882. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8883. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8884. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8885. property w : TBits_32 read getw write setw;
  8886. end;
  8887. TPORTB_PORTB = record
  8888. private
  8889. function getRB0 : TBits_1; inline;
  8890. function getRB1 : TBits_1; inline;
  8891. function getRB10 : TBits_1; inline;
  8892. function getRB11 : TBits_1; inline;
  8893. function getRB12 : TBits_1; inline;
  8894. function getRB13 : TBits_1; inline;
  8895. function getRB14 : TBits_1; inline;
  8896. function getRB15 : TBits_1; inline;
  8897. function getRB2 : TBits_1; inline;
  8898. function getRB3 : TBits_1; inline;
  8899. function getRB4 : TBits_1; inline;
  8900. function getRB5 : TBits_1; inline;
  8901. function getRB6 : TBits_1; inline;
  8902. function getRB7 : TBits_1; inline;
  8903. function getRB8 : TBits_1; inline;
  8904. function getRB9 : TBits_1; inline;
  8905. function getw : TBits_32; inline;
  8906. procedure setRB0(thebits : TBits_1); inline;
  8907. procedure setRB1(thebits : TBits_1); inline;
  8908. procedure setRB10(thebits : TBits_1); inline;
  8909. procedure setRB11(thebits : TBits_1); inline;
  8910. procedure setRB12(thebits : TBits_1); inline;
  8911. procedure setRB13(thebits : TBits_1); inline;
  8912. procedure setRB14(thebits : TBits_1); inline;
  8913. procedure setRB15(thebits : TBits_1); inline;
  8914. procedure setRB2(thebits : TBits_1); inline;
  8915. procedure setRB3(thebits : TBits_1); inline;
  8916. procedure setRB4(thebits : TBits_1); inline;
  8917. procedure setRB5(thebits : TBits_1); inline;
  8918. procedure setRB6(thebits : TBits_1); inline;
  8919. procedure setRB7(thebits : TBits_1); inline;
  8920. procedure setRB8(thebits : TBits_1); inline;
  8921. procedure setRB9(thebits : TBits_1); inline;
  8922. procedure setw(thebits : TBits_32); inline;
  8923. public
  8924. procedure clearRB0; inline;
  8925. procedure clearRB10; inline;
  8926. procedure clearRB11; inline;
  8927. procedure clearRB12; inline;
  8928. procedure clearRB13; inline;
  8929. procedure clearRB14; inline;
  8930. procedure clearRB15; inline;
  8931. procedure clearRB1; inline;
  8932. procedure clearRB2; inline;
  8933. procedure clearRB3; inline;
  8934. procedure clearRB4; inline;
  8935. procedure clearRB5; inline;
  8936. procedure clearRB6; inline;
  8937. procedure clearRB7; inline;
  8938. procedure clearRB8; inline;
  8939. procedure clearRB9; inline;
  8940. procedure setRB0; inline;
  8941. procedure setRB10; inline;
  8942. procedure setRB11; inline;
  8943. procedure setRB12; inline;
  8944. procedure setRB13; inline;
  8945. procedure setRB14; inline;
  8946. procedure setRB15; inline;
  8947. procedure setRB1; inline;
  8948. procedure setRB2; inline;
  8949. procedure setRB3; inline;
  8950. procedure setRB4; inline;
  8951. procedure setRB5; inline;
  8952. procedure setRB6; inline;
  8953. procedure setRB7; inline;
  8954. procedure setRB8; inline;
  8955. procedure setRB9; inline;
  8956. property RB0 : TBits_1 read getRB0 write setRB0;
  8957. property RB1 : TBits_1 read getRB1 write setRB1;
  8958. property RB10 : TBits_1 read getRB10 write setRB10;
  8959. property RB11 : TBits_1 read getRB11 write setRB11;
  8960. property RB12 : TBits_1 read getRB12 write setRB12;
  8961. property RB13 : TBits_1 read getRB13 write setRB13;
  8962. property RB14 : TBits_1 read getRB14 write setRB14;
  8963. property RB15 : TBits_1 read getRB15 write setRB15;
  8964. property RB2 : TBits_1 read getRB2 write setRB2;
  8965. property RB3 : TBits_1 read getRB3 write setRB3;
  8966. property RB4 : TBits_1 read getRB4 write setRB4;
  8967. property RB5 : TBits_1 read getRB5 write setRB5;
  8968. property RB6 : TBits_1 read getRB6 write setRB6;
  8969. property RB7 : TBits_1 read getRB7 write setRB7;
  8970. property RB8 : TBits_1 read getRB8 write setRB8;
  8971. property RB9 : TBits_1 read getRB9 write setRB9;
  8972. property w : TBits_32 read getw write setw;
  8973. end;
  8974. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB6=6,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB12=12,RB13=13,RB14=14,RB15=15);
  8975. TPortB_bitset = set of TPortB_bits;
  8976. TPORTB_LATB = record
  8977. private
  8978. function getLATB0 : TBits_1; inline;
  8979. function getLATB1 : TBits_1; inline;
  8980. function getLATB10 : TBits_1; inline;
  8981. function getLATB11 : TBits_1; inline;
  8982. function getLATB12 : TBits_1; inline;
  8983. function getLATB13 : TBits_1; inline;
  8984. function getLATB14 : TBits_1; inline;
  8985. function getLATB15 : TBits_1; inline;
  8986. function getLATB2 : TBits_1; inline;
  8987. function getLATB3 : TBits_1; inline;
  8988. function getLATB4 : TBits_1; inline;
  8989. function getLATB5 : TBits_1; inline;
  8990. function getLATB6 : TBits_1; inline;
  8991. function getLATB7 : TBits_1; inline;
  8992. function getLATB8 : TBits_1; inline;
  8993. function getLATB9 : TBits_1; inline;
  8994. function getw : TBits_32; inline;
  8995. procedure setLATB0(thebits : TBits_1); inline;
  8996. procedure setLATB1(thebits : TBits_1); inline;
  8997. procedure setLATB10(thebits : TBits_1); inline;
  8998. procedure setLATB11(thebits : TBits_1); inline;
  8999. procedure setLATB12(thebits : TBits_1); inline;
  9000. procedure setLATB13(thebits : TBits_1); inline;
  9001. procedure setLATB14(thebits : TBits_1); inline;
  9002. procedure setLATB15(thebits : TBits_1); inline;
  9003. procedure setLATB2(thebits : TBits_1); inline;
  9004. procedure setLATB3(thebits : TBits_1); inline;
  9005. procedure setLATB4(thebits : TBits_1); inline;
  9006. procedure setLATB5(thebits : TBits_1); inline;
  9007. procedure setLATB6(thebits : TBits_1); inline;
  9008. procedure setLATB7(thebits : TBits_1); inline;
  9009. procedure setLATB8(thebits : TBits_1); inline;
  9010. procedure setLATB9(thebits : TBits_1); inline;
  9011. procedure setw(thebits : TBits_32); inline;
  9012. public
  9013. procedure clearLATB0; inline;
  9014. procedure clearLATB10; inline;
  9015. procedure clearLATB11; inline;
  9016. procedure clearLATB12; inline;
  9017. procedure clearLATB13; inline;
  9018. procedure clearLATB14; inline;
  9019. procedure clearLATB15; inline;
  9020. procedure clearLATB1; inline;
  9021. procedure clearLATB2; inline;
  9022. procedure clearLATB3; inline;
  9023. procedure clearLATB4; inline;
  9024. procedure clearLATB5; inline;
  9025. procedure clearLATB6; inline;
  9026. procedure clearLATB7; inline;
  9027. procedure clearLATB8; inline;
  9028. procedure clearLATB9; inline;
  9029. procedure setLATB0; inline;
  9030. procedure setLATB10; inline;
  9031. procedure setLATB11; inline;
  9032. procedure setLATB12; inline;
  9033. procedure setLATB13; inline;
  9034. procedure setLATB14; inline;
  9035. procedure setLATB15; inline;
  9036. procedure setLATB1; inline;
  9037. procedure setLATB2; inline;
  9038. procedure setLATB3; inline;
  9039. procedure setLATB4; inline;
  9040. procedure setLATB5; inline;
  9041. procedure setLATB6; inline;
  9042. procedure setLATB7; inline;
  9043. procedure setLATB8; inline;
  9044. procedure setLATB9; inline;
  9045. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  9046. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  9047. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  9048. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  9049. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  9050. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  9051. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  9052. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9053. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9054. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9055. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9056. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9057. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  9058. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9059. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9060. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9061. property w : TBits_32 read getw write setw;
  9062. end;
  9063. TPORTB_ODCB = record
  9064. private
  9065. function getODCB0 : TBits_1; inline;
  9066. function getODCB1 : TBits_1; inline;
  9067. function getODCB10 : TBits_1; inline;
  9068. function getODCB11 : TBits_1; inline;
  9069. function getODCB12 : TBits_1; inline;
  9070. function getODCB13 : TBits_1; inline;
  9071. function getODCB14 : TBits_1; inline;
  9072. function getODCB15 : TBits_1; inline;
  9073. function getODCB2 : TBits_1; inline;
  9074. function getODCB3 : TBits_1; inline;
  9075. function getODCB4 : TBits_1; inline;
  9076. function getODCB5 : TBits_1; inline;
  9077. function getODCB6 : TBits_1; inline;
  9078. function getODCB7 : TBits_1; inline;
  9079. function getODCB8 : TBits_1; inline;
  9080. function getODCB9 : TBits_1; inline;
  9081. function getw : TBits_32; inline;
  9082. procedure setODCB0(thebits : TBits_1); inline;
  9083. procedure setODCB1(thebits : TBits_1); inline;
  9084. procedure setODCB10(thebits : TBits_1); inline;
  9085. procedure setODCB11(thebits : TBits_1); inline;
  9086. procedure setODCB12(thebits : TBits_1); inline;
  9087. procedure setODCB13(thebits : TBits_1); inline;
  9088. procedure setODCB14(thebits : TBits_1); inline;
  9089. procedure setODCB15(thebits : TBits_1); inline;
  9090. procedure setODCB2(thebits : TBits_1); inline;
  9091. procedure setODCB3(thebits : TBits_1); inline;
  9092. procedure setODCB4(thebits : TBits_1); inline;
  9093. procedure setODCB5(thebits : TBits_1); inline;
  9094. procedure setODCB6(thebits : TBits_1); inline;
  9095. procedure setODCB7(thebits : TBits_1); inline;
  9096. procedure setODCB8(thebits : TBits_1); inline;
  9097. procedure setODCB9(thebits : TBits_1); inline;
  9098. procedure setw(thebits : TBits_32); inline;
  9099. public
  9100. procedure clearODCB0; inline;
  9101. procedure clearODCB10; inline;
  9102. procedure clearODCB11; inline;
  9103. procedure clearODCB12; inline;
  9104. procedure clearODCB13; inline;
  9105. procedure clearODCB14; inline;
  9106. procedure clearODCB15; inline;
  9107. procedure clearODCB1; inline;
  9108. procedure clearODCB2; inline;
  9109. procedure clearODCB3; inline;
  9110. procedure clearODCB4; inline;
  9111. procedure clearODCB5; inline;
  9112. procedure clearODCB6; inline;
  9113. procedure clearODCB7; inline;
  9114. procedure clearODCB8; inline;
  9115. procedure clearODCB9; inline;
  9116. procedure setODCB0; inline;
  9117. procedure setODCB10; inline;
  9118. procedure setODCB11; inline;
  9119. procedure setODCB12; inline;
  9120. procedure setODCB13; inline;
  9121. procedure setODCB14; inline;
  9122. procedure setODCB15; inline;
  9123. procedure setODCB1; inline;
  9124. procedure setODCB2; inline;
  9125. procedure setODCB3; inline;
  9126. procedure setODCB4; inline;
  9127. procedure setODCB5; inline;
  9128. procedure setODCB6; inline;
  9129. procedure setODCB7; inline;
  9130. procedure setODCB8; inline;
  9131. procedure setODCB9; inline;
  9132. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  9133. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  9134. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9135. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9136. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  9137. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  9138. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  9139. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  9140. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  9141. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  9142. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9143. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9144. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  9145. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9146. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9147. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9148. property w : TBits_32 read getw write setw;
  9149. end;
  9150. TPORTB_CNPUB = record
  9151. private
  9152. function getCNPUB0 : TBits_1; inline;
  9153. function getCNPUB1 : TBits_1; inline;
  9154. function getCNPUB10 : TBits_1; inline;
  9155. function getCNPUB11 : TBits_1; inline;
  9156. function getCNPUB12 : TBits_1; inline;
  9157. function getCNPUB13 : TBits_1; inline;
  9158. function getCNPUB14 : TBits_1; inline;
  9159. function getCNPUB15 : TBits_1; inline;
  9160. function getCNPUB2 : TBits_1; inline;
  9161. function getCNPUB3 : TBits_1; inline;
  9162. function getCNPUB4 : TBits_1; inline;
  9163. function getCNPUB5 : TBits_1; inline;
  9164. function getCNPUB6 : TBits_1; inline;
  9165. function getCNPUB7 : TBits_1; inline;
  9166. function getCNPUB8 : TBits_1; inline;
  9167. function getCNPUB9 : TBits_1; inline;
  9168. function getw : TBits_32; inline;
  9169. procedure setCNPUB0(thebits : TBits_1); inline;
  9170. procedure setCNPUB1(thebits : TBits_1); inline;
  9171. procedure setCNPUB10(thebits : TBits_1); inline;
  9172. procedure setCNPUB11(thebits : TBits_1); inline;
  9173. procedure setCNPUB12(thebits : TBits_1); inline;
  9174. procedure setCNPUB13(thebits : TBits_1); inline;
  9175. procedure setCNPUB14(thebits : TBits_1); inline;
  9176. procedure setCNPUB15(thebits : TBits_1); inline;
  9177. procedure setCNPUB2(thebits : TBits_1); inline;
  9178. procedure setCNPUB3(thebits : TBits_1); inline;
  9179. procedure setCNPUB4(thebits : TBits_1); inline;
  9180. procedure setCNPUB5(thebits : TBits_1); inline;
  9181. procedure setCNPUB6(thebits : TBits_1); inline;
  9182. procedure setCNPUB7(thebits : TBits_1); inline;
  9183. procedure setCNPUB8(thebits : TBits_1); inline;
  9184. procedure setCNPUB9(thebits : TBits_1); inline;
  9185. procedure setw(thebits : TBits_32); inline;
  9186. public
  9187. procedure clearCNPUB0; inline;
  9188. procedure clearCNPUB10; inline;
  9189. procedure clearCNPUB11; inline;
  9190. procedure clearCNPUB12; inline;
  9191. procedure clearCNPUB13; inline;
  9192. procedure clearCNPUB14; inline;
  9193. procedure clearCNPUB15; inline;
  9194. procedure clearCNPUB1; inline;
  9195. procedure clearCNPUB2; inline;
  9196. procedure clearCNPUB3; inline;
  9197. procedure clearCNPUB4; inline;
  9198. procedure clearCNPUB5; inline;
  9199. procedure clearCNPUB6; inline;
  9200. procedure clearCNPUB7; inline;
  9201. procedure clearCNPUB8; inline;
  9202. procedure clearCNPUB9; inline;
  9203. procedure setCNPUB0; inline;
  9204. procedure setCNPUB10; inline;
  9205. procedure setCNPUB11; inline;
  9206. procedure setCNPUB12; inline;
  9207. procedure setCNPUB13; inline;
  9208. procedure setCNPUB14; inline;
  9209. procedure setCNPUB15; inline;
  9210. procedure setCNPUB1; inline;
  9211. procedure setCNPUB2; inline;
  9212. procedure setCNPUB3; inline;
  9213. procedure setCNPUB4; inline;
  9214. procedure setCNPUB5; inline;
  9215. procedure setCNPUB6; inline;
  9216. procedure setCNPUB7; inline;
  9217. procedure setCNPUB8; inline;
  9218. procedure setCNPUB9; inline;
  9219. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9220. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9221. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9222. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9223. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  9224. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9225. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9226. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9227. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9228. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9229. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9230. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9231. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  9232. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9233. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9234. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9235. property w : TBits_32 read getw write setw;
  9236. end;
  9237. TPORTB_CNPDB = record
  9238. private
  9239. function getCNPDB0 : TBits_1; inline;
  9240. function getCNPDB1 : TBits_1; inline;
  9241. function getCNPDB10 : TBits_1; inline;
  9242. function getCNPDB11 : TBits_1; inline;
  9243. function getCNPDB12 : TBits_1; inline;
  9244. function getCNPDB13 : TBits_1; inline;
  9245. function getCNPDB14 : TBits_1; inline;
  9246. function getCNPDB15 : TBits_1; inline;
  9247. function getCNPDB2 : TBits_1; inline;
  9248. function getCNPDB3 : TBits_1; inline;
  9249. function getCNPDB4 : TBits_1; inline;
  9250. function getCNPDB5 : TBits_1; inline;
  9251. function getCNPDB6 : TBits_1; inline;
  9252. function getCNPDB7 : TBits_1; inline;
  9253. function getCNPDB8 : TBits_1; inline;
  9254. function getCNPDB9 : TBits_1; inline;
  9255. function getw : TBits_32; inline;
  9256. procedure setCNPDB0(thebits : TBits_1); inline;
  9257. procedure setCNPDB1(thebits : TBits_1); inline;
  9258. procedure setCNPDB10(thebits : TBits_1); inline;
  9259. procedure setCNPDB11(thebits : TBits_1); inline;
  9260. procedure setCNPDB12(thebits : TBits_1); inline;
  9261. procedure setCNPDB13(thebits : TBits_1); inline;
  9262. procedure setCNPDB14(thebits : TBits_1); inline;
  9263. procedure setCNPDB15(thebits : TBits_1); inline;
  9264. procedure setCNPDB2(thebits : TBits_1); inline;
  9265. procedure setCNPDB3(thebits : TBits_1); inline;
  9266. procedure setCNPDB4(thebits : TBits_1); inline;
  9267. procedure setCNPDB5(thebits : TBits_1); inline;
  9268. procedure setCNPDB6(thebits : TBits_1); inline;
  9269. procedure setCNPDB7(thebits : TBits_1); inline;
  9270. procedure setCNPDB8(thebits : TBits_1); inline;
  9271. procedure setCNPDB9(thebits : TBits_1); inline;
  9272. procedure setw(thebits : TBits_32); inline;
  9273. public
  9274. procedure clearCNPDB0; inline;
  9275. procedure clearCNPDB10; inline;
  9276. procedure clearCNPDB11; inline;
  9277. procedure clearCNPDB12; inline;
  9278. procedure clearCNPDB13; inline;
  9279. procedure clearCNPDB14; inline;
  9280. procedure clearCNPDB15; inline;
  9281. procedure clearCNPDB1; inline;
  9282. procedure clearCNPDB2; inline;
  9283. procedure clearCNPDB3; inline;
  9284. procedure clearCNPDB4; inline;
  9285. procedure clearCNPDB5; inline;
  9286. procedure clearCNPDB6; inline;
  9287. procedure clearCNPDB7; inline;
  9288. procedure clearCNPDB8; inline;
  9289. procedure clearCNPDB9; inline;
  9290. procedure setCNPDB0; inline;
  9291. procedure setCNPDB10; inline;
  9292. procedure setCNPDB11; inline;
  9293. procedure setCNPDB12; inline;
  9294. procedure setCNPDB13; inline;
  9295. procedure setCNPDB14; inline;
  9296. procedure setCNPDB15; inline;
  9297. procedure setCNPDB1; inline;
  9298. procedure setCNPDB2; inline;
  9299. procedure setCNPDB3; inline;
  9300. procedure setCNPDB4; inline;
  9301. procedure setCNPDB5; inline;
  9302. procedure setCNPDB6; inline;
  9303. procedure setCNPDB7; inline;
  9304. procedure setCNPDB8; inline;
  9305. procedure setCNPDB9; inline;
  9306. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9307. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9308. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9309. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9310. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9311. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9312. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9313. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9314. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9315. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9316. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9317. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9318. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9319. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9320. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9321. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9322. property w : TBits_32 read getw write setw;
  9323. end;
  9324. TPORTB_CNCONB = record
  9325. private
  9326. function getON : TBits_1; inline;
  9327. function getSIDL : TBits_1; inline;
  9328. function getw : TBits_32; inline;
  9329. procedure setON(thebits : TBits_1); inline;
  9330. procedure setSIDL(thebits : TBits_1); inline;
  9331. procedure setw(thebits : TBits_32); inline;
  9332. public
  9333. procedure clearON; inline;
  9334. procedure clearSIDL; inline;
  9335. procedure setON; inline;
  9336. procedure setSIDL; inline;
  9337. property ON : TBits_1 read getON write setON;
  9338. property SIDL : TBits_1 read getSIDL write setSIDL;
  9339. property w : TBits_32 read getw write setw;
  9340. end;
  9341. TPORTB_CNENB = record
  9342. private
  9343. function getCNIEB0 : TBits_1; inline;
  9344. function getCNIEB1 : TBits_1; inline;
  9345. function getCNIEB10 : TBits_1; inline;
  9346. function getCNIEB11 : TBits_1; inline;
  9347. function getCNIEB12 : TBits_1; inline;
  9348. function getCNIEB13 : TBits_1; inline;
  9349. function getCNIEB14 : TBits_1; inline;
  9350. function getCNIEB15 : TBits_1; inline;
  9351. function getCNIEB2 : TBits_1; inline;
  9352. function getCNIEB3 : TBits_1; inline;
  9353. function getCNIEB4 : TBits_1; inline;
  9354. function getCNIEB5 : TBits_1; inline;
  9355. function getCNIEB6 : TBits_1; inline;
  9356. function getCNIEB7 : TBits_1; inline;
  9357. function getCNIEB8 : TBits_1; inline;
  9358. function getCNIEB9 : TBits_1; inline;
  9359. function getw : TBits_32; inline;
  9360. procedure setCNIEB0(thebits : TBits_1); inline;
  9361. procedure setCNIEB1(thebits : TBits_1); inline;
  9362. procedure setCNIEB10(thebits : TBits_1); inline;
  9363. procedure setCNIEB11(thebits : TBits_1); inline;
  9364. procedure setCNIEB12(thebits : TBits_1); inline;
  9365. procedure setCNIEB13(thebits : TBits_1); inline;
  9366. procedure setCNIEB14(thebits : TBits_1); inline;
  9367. procedure setCNIEB15(thebits : TBits_1); inline;
  9368. procedure setCNIEB2(thebits : TBits_1); inline;
  9369. procedure setCNIEB3(thebits : TBits_1); inline;
  9370. procedure setCNIEB4(thebits : TBits_1); inline;
  9371. procedure setCNIEB5(thebits : TBits_1); inline;
  9372. procedure setCNIEB6(thebits : TBits_1); inline;
  9373. procedure setCNIEB7(thebits : TBits_1); inline;
  9374. procedure setCNIEB8(thebits : TBits_1); inline;
  9375. procedure setCNIEB9(thebits : TBits_1); inline;
  9376. procedure setw(thebits : TBits_32); inline;
  9377. public
  9378. procedure clearCNIEB0; inline;
  9379. procedure clearCNIEB10; inline;
  9380. procedure clearCNIEB11; inline;
  9381. procedure clearCNIEB12; inline;
  9382. procedure clearCNIEB13; inline;
  9383. procedure clearCNIEB14; inline;
  9384. procedure clearCNIEB15; inline;
  9385. procedure clearCNIEB1; inline;
  9386. procedure clearCNIEB2; inline;
  9387. procedure clearCNIEB3; inline;
  9388. procedure clearCNIEB4; inline;
  9389. procedure clearCNIEB5; inline;
  9390. procedure clearCNIEB6; inline;
  9391. procedure clearCNIEB7; inline;
  9392. procedure clearCNIEB8; inline;
  9393. procedure clearCNIEB9; inline;
  9394. procedure setCNIEB0; inline;
  9395. procedure setCNIEB10; inline;
  9396. procedure setCNIEB11; inline;
  9397. procedure setCNIEB12; inline;
  9398. procedure setCNIEB13; inline;
  9399. procedure setCNIEB14; inline;
  9400. procedure setCNIEB15; inline;
  9401. procedure setCNIEB1; inline;
  9402. procedure setCNIEB2; inline;
  9403. procedure setCNIEB3; inline;
  9404. procedure setCNIEB4; inline;
  9405. procedure setCNIEB5; inline;
  9406. procedure setCNIEB6; inline;
  9407. procedure setCNIEB7; inline;
  9408. procedure setCNIEB8; inline;
  9409. procedure setCNIEB9; inline;
  9410. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9411. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9412. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9413. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9414. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9415. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9416. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9417. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9418. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9419. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9420. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9421. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9422. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9423. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9424. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9425. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9426. property w : TBits_32 read getw write setw;
  9427. end;
  9428. TPORTB_CNSTATB = record
  9429. private
  9430. function getCNSTATB0 : TBits_1; inline;
  9431. function getCNSTATB1 : TBits_1; inline;
  9432. function getCNSTATB10 : TBits_1; inline;
  9433. function getCNSTATB11 : TBits_1; inline;
  9434. function getCNSTATB12 : TBits_1; inline;
  9435. function getCNSTATB13 : TBits_1; inline;
  9436. function getCNSTATB14 : TBits_1; inline;
  9437. function getCNSTATB15 : TBits_1; inline;
  9438. function getCNSTATB2 : TBits_1; inline;
  9439. function getCNSTATB3 : TBits_1; inline;
  9440. function getCNSTATB4 : TBits_1; inline;
  9441. function getCNSTATB5 : TBits_1; inline;
  9442. function getCNSTATB6 : TBits_1; inline;
  9443. function getCNSTATB7 : TBits_1; inline;
  9444. function getCNSTATB8 : TBits_1; inline;
  9445. function getCNSTATB9 : TBits_1; inline;
  9446. function getw : TBits_32; inline;
  9447. procedure setCNSTATB0(thebits : TBits_1); inline;
  9448. procedure setCNSTATB1(thebits : TBits_1); inline;
  9449. procedure setCNSTATB10(thebits : TBits_1); inline;
  9450. procedure setCNSTATB11(thebits : TBits_1); inline;
  9451. procedure setCNSTATB12(thebits : TBits_1); inline;
  9452. procedure setCNSTATB13(thebits : TBits_1); inline;
  9453. procedure setCNSTATB14(thebits : TBits_1); inline;
  9454. procedure setCNSTATB15(thebits : TBits_1); inline;
  9455. procedure setCNSTATB2(thebits : TBits_1); inline;
  9456. procedure setCNSTATB3(thebits : TBits_1); inline;
  9457. procedure setCNSTATB4(thebits : TBits_1); inline;
  9458. procedure setCNSTATB5(thebits : TBits_1); inline;
  9459. procedure setCNSTATB6(thebits : TBits_1); inline;
  9460. procedure setCNSTATB7(thebits : TBits_1); inline;
  9461. procedure setCNSTATB8(thebits : TBits_1); inline;
  9462. procedure setCNSTATB9(thebits : TBits_1); inline;
  9463. procedure setw(thebits : TBits_32); inline;
  9464. public
  9465. procedure clearCNSTATB0; inline;
  9466. procedure clearCNSTATB10; inline;
  9467. procedure clearCNSTATB11; inline;
  9468. procedure clearCNSTATB12; inline;
  9469. procedure clearCNSTATB13; inline;
  9470. procedure clearCNSTATB14; inline;
  9471. procedure clearCNSTATB15; inline;
  9472. procedure clearCNSTATB1; inline;
  9473. procedure clearCNSTATB2; inline;
  9474. procedure clearCNSTATB3; inline;
  9475. procedure clearCNSTATB4; inline;
  9476. procedure clearCNSTATB5; inline;
  9477. procedure clearCNSTATB6; inline;
  9478. procedure clearCNSTATB7; inline;
  9479. procedure clearCNSTATB8; inline;
  9480. procedure clearCNSTATB9; inline;
  9481. procedure setCNSTATB0; inline;
  9482. procedure setCNSTATB10; inline;
  9483. procedure setCNSTATB11; inline;
  9484. procedure setCNSTATB12; inline;
  9485. procedure setCNSTATB13; inline;
  9486. procedure setCNSTATB14; inline;
  9487. procedure setCNSTATB15; inline;
  9488. procedure setCNSTATB1; inline;
  9489. procedure setCNSTATB2; inline;
  9490. procedure setCNSTATB3; inline;
  9491. procedure setCNSTATB4; inline;
  9492. procedure setCNSTATB5; inline;
  9493. procedure setCNSTATB6; inline;
  9494. procedure setCNSTATB7; inline;
  9495. procedure setCNSTATB8; inline;
  9496. procedure setCNSTATB9; inline;
  9497. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9498. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9499. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9500. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9501. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9502. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9503. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9504. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9505. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9506. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9507. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9508. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9509. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9510. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9511. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9512. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9513. property w : TBits_32 read getw write setw;
  9514. end;
  9515. type
  9516. TPORTBRegisters = record
  9517. ANSELBbits : TPORTB_ANSELB;
  9518. ANSELB : longWord;
  9519. ANSELBCLR : longWord;
  9520. ANSELBSET : longWord;
  9521. ANSELBINV : longWord;
  9522. TRISBbits : TPORTB_TRISB;
  9523. TRISB : longWord;
  9524. TRISBCLR : longWord;
  9525. TRISBSET : longWord;
  9526. TRISBINV : longWord;
  9527. PORTBbits : TPORTB_PORTB;
  9528. PORTB : longWord;
  9529. PORTBCLR : longWord;
  9530. PORTBSET : longWord;
  9531. PORTBINV : longWord;
  9532. LATBbits : TPORTB_LATB;
  9533. LATB : longWord;
  9534. LATBCLR : longWord;
  9535. LATBSET : longWord;
  9536. LATBINV : longWord;
  9537. ODCBbits : TPORTB_ODCB;
  9538. ODCB : longWord;
  9539. ODCBCLR : longWord;
  9540. ODCBSET : longWord;
  9541. ODCBINV : longWord;
  9542. CNPUBbits : TPORTB_CNPUB;
  9543. CNPUB : longWord;
  9544. CNPUBCLR : longWord;
  9545. CNPUBSET : longWord;
  9546. CNPUBINV : longWord;
  9547. CNPDBbits : TPORTB_CNPDB;
  9548. CNPDB : longWord;
  9549. CNPDBCLR : longWord;
  9550. CNPDBSET : longWord;
  9551. CNPDBINV : longWord;
  9552. CNCONBbits : TPORTB_CNCONB;
  9553. CNCONB : longWord;
  9554. CNCONBCLR : longWord;
  9555. CNCONBSET : longWord;
  9556. CNCONBINV : longWord;
  9557. CNENBbits : TPORTB_CNENB;
  9558. CNENB : longWord;
  9559. CNENBCLR : longWord;
  9560. CNENBSET : longWord;
  9561. CNENBINV : longWord;
  9562. CNSTATBbits : TPORTB_CNSTATB;
  9563. CNSTATB : longWord;
  9564. CNSTATBCLR : longWord;
  9565. CNSTATBSET : longWord;
  9566. CNSTATBINV : longWord;
  9567. end;
  9568. TPORTC_ANSELC = record
  9569. private
  9570. function getANSC0 : TBits_1; inline;
  9571. function getANSC1 : TBits_1; inline;
  9572. function getANSC2 : TBits_1; inline;
  9573. function getANSC3 : TBits_1; inline;
  9574. function getw : TBits_32; inline;
  9575. procedure setANSC0(thebits : TBits_1); inline;
  9576. procedure setANSC1(thebits : TBits_1); inline;
  9577. procedure setANSC2(thebits : TBits_1); inline;
  9578. procedure setANSC3(thebits : TBits_1); inline;
  9579. procedure setw(thebits : TBits_32); inline;
  9580. public
  9581. procedure clearANSC0; inline;
  9582. procedure clearANSC1; inline;
  9583. procedure clearANSC2; inline;
  9584. procedure clearANSC3; inline;
  9585. procedure setANSC0; inline;
  9586. procedure setANSC1; inline;
  9587. procedure setANSC2; inline;
  9588. procedure setANSC3; inline;
  9589. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9590. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9591. property ANSC2 : TBits_1 read getANSC2 write setANSC2;
  9592. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9593. property w : TBits_32 read getw write setw;
  9594. end;
  9595. TPORTC_TRISC = record
  9596. private
  9597. function getTRISC0 : TBits_1; inline;
  9598. function getTRISC1 : TBits_1; inline;
  9599. function getTRISC2 : TBits_1; inline;
  9600. function getTRISC3 : TBits_1; inline;
  9601. function getTRISC4 : TBits_1; inline;
  9602. function getTRISC5 : TBits_1; inline;
  9603. function getTRISC6 : TBits_1; inline;
  9604. function getTRISC7 : TBits_1; inline;
  9605. function getTRISC8 : TBits_1; inline;
  9606. function getTRISC9 : TBits_1; inline;
  9607. function getw : TBits_32; inline;
  9608. procedure setTRISC0(thebits : TBits_1); inline;
  9609. procedure setTRISC1(thebits : TBits_1); inline;
  9610. procedure setTRISC2(thebits : TBits_1); inline;
  9611. procedure setTRISC3(thebits : TBits_1); inline;
  9612. procedure setTRISC4(thebits : TBits_1); inline;
  9613. procedure setTRISC5(thebits : TBits_1); inline;
  9614. procedure setTRISC6(thebits : TBits_1); inline;
  9615. procedure setTRISC7(thebits : TBits_1); inline;
  9616. procedure setTRISC8(thebits : TBits_1); inline;
  9617. procedure setTRISC9(thebits : TBits_1); inline;
  9618. procedure setw(thebits : TBits_32); inline;
  9619. public
  9620. procedure clearTRISC0; inline;
  9621. procedure clearTRISC1; inline;
  9622. procedure clearTRISC2; inline;
  9623. procedure clearTRISC3; inline;
  9624. procedure clearTRISC4; inline;
  9625. procedure clearTRISC5; inline;
  9626. procedure clearTRISC6; inline;
  9627. procedure clearTRISC7; inline;
  9628. procedure clearTRISC8; inline;
  9629. procedure clearTRISC9; inline;
  9630. procedure setTRISC0; inline;
  9631. procedure setTRISC1; inline;
  9632. procedure setTRISC2; inline;
  9633. procedure setTRISC3; inline;
  9634. procedure setTRISC4; inline;
  9635. procedure setTRISC5; inline;
  9636. procedure setTRISC6; inline;
  9637. procedure setTRISC7; inline;
  9638. procedure setTRISC8; inline;
  9639. procedure setTRISC9; inline;
  9640. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9641. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9642. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  9643. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9644. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  9645. property TRISC5 : TBits_1 read getTRISC5 write setTRISC5;
  9646. property TRISC6 : TBits_1 read getTRISC6 write setTRISC6;
  9647. property TRISC7 : TBits_1 read getTRISC7 write setTRISC7;
  9648. property TRISC8 : TBits_1 read getTRISC8 write setTRISC8;
  9649. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9650. property w : TBits_32 read getw write setw;
  9651. end;
  9652. TPORTC_PORTC = record
  9653. private
  9654. function getRC0 : TBits_1; inline;
  9655. function getRC1 : TBits_1; inline;
  9656. function getRC2 : TBits_1; inline;
  9657. function getRC3 : TBits_1; inline;
  9658. function getRC4 : TBits_1; inline;
  9659. function getRC5 : TBits_1; inline;
  9660. function getRC6 : TBits_1; inline;
  9661. function getRC7 : TBits_1; inline;
  9662. function getRC8 : TBits_1; inline;
  9663. function getRC9 : TBits_1; inline;
  9664. function getw : TBits_32; inline;
  9665. procedure setRC0(thebits : TBits_1); inline;
  9666. procedure setRC1(thebits : TBits_1); inline;
  9667. procedure setRC2(thebits : TBits_1); inline;
  9668. procedure setRC3(thebits : TBits_1); inline;
  9669. procedure setRC4(thebits : TBits_1); inline;
  9670. procedure setRC5(thebits : TBits_1); inline;
  9671. procedure setRC6(thebits : TBits_1); inline;
  9672. procedure setRC7(thebits : TBits_1); inline;
  9673. procedure setRC8(thebits : TBits_1); inline;
  9674. procedure setRC9(thebits : TBits_1); inline;
  9675. procedure setw(thebits : TBits_32); inline;
  9676. public
  9677. procedure clearRC0; inline;
  9678. procedure clearRC1; inline;
  9679. procedure clearRC2; inline;
  9680. procedure clearRC3; inline;
  9681. procedure clearRC4; inline;
  9682. procedure clearRC5; inline;
  9683. procedure clearRC6; inline;
  9684. procedure clearRC7; inline;
  9685. procedure clearRC8; inline;
  9686. procedure clearRC9; inline;
  9687. procedure setRC0; inline;
  9688. procedure setRC1; inline;
  9689. procedure setRC2; inline;
  9690. procedure setRC3; inline;
  9691. procedure setRC4; inline;
  9692. procedure setRC5; inline;
  9693. procedure setRC6; inline;
  9694. procedure setRC7; inline;
  9695. procedure setRC8; inline;
  9696. procedure setRC9; inline;
  9697. property RC0 : TBits_1 read getRC0 write setRC0;
  9698. property RC1 : TBits_1 read getRC1 write setRC1;
  9699. property RC2 : TBits_1 read getRC2 write setRC2;
  9700. property RC3 : TBits_1 read getRC3 write setRC3;
  9701. property RC4 : TBits_1 read getRC4 write setRC4;
  9702. property RC5 : TBits_1 read getRC5 write setRC5;
  9703. property RC6 : TBits_1 read getRC6 write setRC6;
  9704. property RC7 : TBits_1 read getRC7 write setRC7;
  9705. property RC8 : TBits_1 read getRC8 write setRC8;
  9706. property RC9 : TBits_1 read getRC9 write setRC9;
  9707. property w : TBits_32 read getw write setw;
  9708. end;
  9709. TPortC_bits=(RC0=0,RC1=1,RC2=2,RC3=3,RC4=4,RC5=5,RC6=6,RC7=7,RC8=8,RC9=9);
  9710. TPortC_bitset = set of TPortC_bits;
  9711. TPORTC_LATC = record
  9712. private
  9713. function getLATC0 : TBits_1; inline;
  9714. function getLATC1 : TBits_1; inline;
  9715. function getLATC2 : TBits_1; inline;
  9716. function getLATC3 : TBits_1; inline;
  9717. function getLATC4 : TBits_1; inline;
  9718. function getLATC5 : TBits_1; inline;
  9719. function getLATC6 : TBits_1; inline;
  9720. function getLATC7 : TBits_1; inline;
  9721. function getLATC8 : TBits_1; inline;
  9722. function getLATC9 : TBits_1; inline;
  9723. function getw : TBits_32; inline;
  9724. procedure setLATC0(thebits : TBits_1); inline;
  9725. procedure setLATC1(thebits : TBits_1); inline;
  9726. procedure setLATC2(thebits : TBits_1); inline;
  9727. procedure setLATC3(thebits : TBits_1); inline;
  9728. procedure setLATC4(thebits : TBits_1); inline;
  9729. procedure setLATC5(thebits : TBits_1); inline;
  9730. procedure setLATC6(thebits : TBits_1); inline;
  9731. procedure setLATC7(thebits : TBits_1); inline;
  9732. procedure setLATC8(thebits : TBits_1); inline;
  9733. procedure setLATC9(thebits : TBits_1); inline;
  9734. procedure setw(thebits : TBits_32); inline;
  9735. public
  9736. procedure clearLATC0; inline;
  9737. procedure clearLATC1; inline;
  9738. procedure clearLATC2; inline;
  9739. procedure clearLATC3; inline;
  9740. procedure clearLATC4; inline;
  9741. procedure clearLATC5; inline;
  9742. procedure clearLATC6; inline;
  9743. procedure clearLATC7; inline;
  9744. procedure clearLATC8; inline;
  9745. procedure clearLATC9; inline;
  9746. procedure setLATC0; inline;
  9747. procedure setLATC1; inline;
  9748. procedure setLATC2; inline;
  9749. procedure setLATC3; inline;
  9750. procedure setLATC4; inline;
  9751. procedure setLATC5; inline;
  9752. procedure setLATC6; inline;
  9753. procedure setLATC7; inline;
  9754. procedure setLATC8; inline;
  9755. procedure setLATC9; inline;
  9756. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9757. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9758. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  9759. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9760. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  9761. property LATC5 : TBits_1 read getLATC5 write setLATC5;
  9762. property LATC6 : TBits_1 read getLATC6 write setLATC6;
  9763. property LATC7 : TBits_1 read getLATC7 write setLATC7;
  9764. property LATC8 : TBits_1 read getLATC8 write setLATC8;
  9765. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9766. property w : TBits_32 read getw write setw;
  9767. end;
  9768. TPORTC_ODCC = record
  9769. private
  9770. function getODCC0 : TBits_1; inline;
  9771. function getODCC1 : TBits_1; inline;
  9772. function getODCC2 : TBits_1; inline;
  9773. function getODCC3 : TBits_1; inline;
  9774. function getODCC4 : TBits_1; inline;
  9775. function getODCC5 : TBits_1; inline;
  9776. function getODCC6 : TBits_1; inline;
  9777. function getODCC7 : TBits_1; inline;
  9778. function getODCC8 : TBits_1; inline;
  9779. function getODCC9 : TBits_1; inline;
  9780. function getw : TBits_32; inline;
  9781. procedure setODCC0(thebits : TBits_1); inline;
  9782. procedure setODCC1(thebits : TBits_1); inline;
  9783. procedure setODCC2(thebits : TBits_1); inline;
  9784. procedure setODCC3(thebits : TBits_1); inline;
  9785. procedure setODCC4(thebits : TBits_1); inline;
  9786. procedure setODCC5(thebits : TBits_1); inline;
  9787. procedure setODCC6(thebits : TBits_1); inline;
  9788. procedure setODCC7(thebits : TBits_1); inline;
  9789. procedure setODCC8(thebits : TBits_1); inline;
  9790. procedure setODCC9(thebits : TBits_1); inline;
  9791. procedure setw(thebits : TBits_32); inline;
  9792. public
  9793. procedure clearODCC0; inline;
  9794. procedure clearODCC1; inline;
  9795. procedure clearODCC2; inline;
  9796. procedure clearODCC3; inline;
  9797. procedure clearODCC4; inline;
  9798. procedure clearODCC5; inline;
  9799. procedure clearODCC6; inline;
  9800. procedure clearODCC7; inline;
  9801. procedure clearODCC8; inline;
  9802. procedure clearODCC9; inline;
  9803. procedure setODCC0; inline;
  9804. procedure setODCC1; inline;
  9805. procedure setODCC2; inline;
  9806. procedure setODCC3; inline;
  9807. procedure setODCC4; inline;
  9808. procedure setODCC5; inline;
  9809. procedure setODCC6; inline;
  9810. procedure setODCC7; inline;
  9811. procedure setODCC8; inline;
  9812. procedure setODCC9; inline;
  9813. property ODCC0 : TBits_1 read getODCC0 write setODCC0;
  9814. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  9815. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  9816. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  9817. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  9818. property ODCC5 : TBits_1 read getODCC5 write setODCC5;
  9819. property ODCC6 : TBits_1 read getODCC6 write setODCC6;
  9820. property ODCC7 : TBits_1 read getODCC7 write setODCC7;
  9821. property ODCC8 : TBits_1 read getODCC8 write setODCC8;
  9822. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9823. property w : TBits_32 read getw write setw;
  9824. end;
  9825. TPORTC_CNPUC = record
  9826. private
  9827. function getCNPUC0 : TBits_1; inline;
  9828. function getCNPUC1 : TBits_1; inline;
  9829. function getCNPUC2 : TBits_1; inline;
  9830. function getCNPUC3 : TBits_1; inline;
  9831. function getCNPUC4 : TBits_1; inline;
  9832. function getCNPUC5 : TBits_1; inline;
  9833. function getCNPUC6 : TBits_1; inline;
  9834. function getCNPUC7 : TBits_1; inline;
  9835. function getCNPUC8 : TBits_1; inline;
  9836. function getCNPUC9 : TBits_1; inline;
  9837. function getw : TBits_32; inline;
  9838. procedure setCNPUC0(thebits : TBits_1); inline;
  9839. procedure setCNPUC1(thebits : TBits_1); inline;
  9840. procedure setCNPUC2(thebits : TBits_1); inline;
  9841. procedure setCNPUC3(thebits : TBits_1); inline;
  9842. procedure setCNPUC4(thebits : TBits_1); inline;
  9843. procedure setCNPUC5(thebits : TBits_1); inline;
  9844. procedure setCNPUC6(thebits : TBits_1); inline;
  9845. procedure setCNPUC7(thebits : TBits_1); inline;
  9846. procedure setCNPUC8(thebits : TBits_1); inline;
  9847. procedure setCNPUC9(thebits : TBits_1); inline;
  9848. procedure setw(thebits : TBits_32); inline;
  9849. public
  9850. procedure clearCNPUC0; inline;
  9851. procedure clearCNPUC1; inline;
  9852. procedure clearCNPUC2; inline;
  9853. procedure clearCNPUC3; inline;
  9854. procedure clearCNPUC4; inline;
  9855. procedure clearCNPUC5; inline;
  9856. procedure clearCNPUC6; inline;
  9857. procedure clearCNPUC7; inline;
  9858. procedure clearCNPUC8; inline;
  9859. procedure clearCNPUC9; inline;
  9860. procedure setCNPUC0; inline;
  9861. procedure setCNPUC1; inline;
  9862. procedure setCNPUC2; inline;
  9863. procedure setCNPUC3; inline;
  9864. procedure setCNPUC4; inline;
  9865. procedure setCNPUC5; inline;
  9866. procedure setCNPUC6; inline;
  9867. procedure setCNPUC7; inline;
  9868. procedure setCNPUC8; inline;
  9869. procedure setCNPUC9; inline;
  9870. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9871. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9872. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  9873. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9874. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  9875. property CNPUC5 : TBits_1 read getCNPUC5 write setCNPUC5;
  9876. property CNPUC6 : TBits_1 read getCNPUC6 write setCNPUC6;
  9877. property CNPUC7 : TBits_1 read getCNPUC7 write setCNPUC7;
  9878. property CNPUC8 : TBits_1 read getCNPUC8 write setCNPUC8;
  9879. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9880. property w : TBits_32 read getw write setw;
  9881. end;
  9882. TPORTC_CNPDC = record
  9883. private
  9884. function getCNPDC0 : TBits_1; inline;
  9885. function getCNPDC1 : TBits_1; inline;
  9886. function getCNPDC2 : TBits_1; inline;
  9887. function getCNPDC3 : TBits_1; inline;
  9888. function getCNPDC4 : TBits_1; inline;
  9889. function getCNPDC5 : TBits_1; inline;
  9890. function getCNPDC6 : TBits_1; inline;
  9891. function getCNPDC7 : TBits_1; inline;
  9892. function getCNPDC8 : TBits_1; inline;
  9893. function getCNPDC9 : TBits_1; inline;
  9894. function getw : TBits_32; inline;
  9895. procedure setCNPDC0(thebits : TBits_1); inline;
  9896. procedure setCNPDC1(thebits : TBits_1); inline;
  9897. procedure setCNPDC2(thebits : TBits_1); inline;
  9898. procedure setCNPDC3(thebits : TBits_1); inline;
  9899. procedure setCNPDC4(thebits : TBits_1); inline;
  9900. procedure setCNPDC5(thebits : TBits_1); inline;
  9901. procedure setCNPDC6(thebits : TBits_1); inline;
  9902. procedure setCNPDC7(thebits : TBits_1); inline;
  9903. procedure setCNPDC8(thebits : TBits_1); inline;
  9904. procedure setCNPDC9(thebits : TBits_1); inline;
  9905. procedure setw(thebits : TBits_32); inline;
  9906. public
  9907. procedure clearCNPDC0; inline;
  9908. procedure clearCNPDC1; inline;
  9909. procedure clearCNPDC2; inline;
  9910. procedure clearCNPDC3; inline;
  9911. procedure clearCNPDC4; inline;
  9912. procedure clearCNPDC5; inline;
  9913. procedure clearCNPDC6; inline;
  9914. procedure clearCNPDC7; inline;
  9915. procedure clearCNPDC8; inline;
  9916. procedure clearCNPDC9; inline;
  9917. procedure setCNPDC0; inline;
  9918. procedure setCNPDC1; inline;
  9919. procedure setCNPDC2; inline;
  9920. procedure setCNPDC3; inline;
  9921. procedure setCNPDC4; inline;
  9922. procedure setCNPDC5; inline;
  9923. procedure setCNPDC6; inline;
  9924. procedure setCNPDC7; inline;
  9925. procedure setCNPDC8; inline;
  9926. procedure setCNPDC9; inline;
  9927. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9928. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9929. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  9930. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9931. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  9932. property CNPDC5 : TBits_1 read getCNPDC5 write setCNPDC5;
  9933. property CNPDC6 : TBits_1 read getCNPDC6 write setCNPDC6;
  9934. property CNPDC7 : TBits_1 read getCNPDC7 write setCNPDC7;
  9935. property CNPDC8 : TBits_1 read getCNPDC8 write setCNPDC8;
  9936. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9937. property w : TBits_32 read getw write setw;
  9938. end;
  9939. TPORTC_CNCONC = record
  9940. private
  9941. function getON : TBits_1; inline;
  9942. function getSIDL : TBits_1; inline;
  9943. function getw : TBits_32; inline;
  9944. procedure setON(thebits : TBits_1); inline;
  9945. procedure setSIDL(thebits : TBits_1); inline;
  9946. procedure setw(thebits : TBits_32); inline;
  9947. public
  9948. procedure clearON; inline;
  9949. procedure clearSIDL; inline;
  9950. procedure setON; inline;
  9951. procedure setSIDL; inline;
  9952. property ON : TBits_1 read getON write setON;
  9953. property SIDL : TBits_1 read getSIDL write setSIDL;
  9954. property w : TBits_32 read getw write setw;
  9955. end;
  9956. TPORTC_CNENC = record
  9957. private
  9958. function getCNIEC0 : TBits_1; inline;
  9959. function getCNIEC1 : TBits_1; inline;
  9960. function getCNIEC2 : TBits_1; inline;
  9961. function getCNIEC3 : TBits_1; inline;
  9962. function getCNIEC4 : TBits_1; inline;
  9963. function getCNIEC5 : TBits_1; inline;
  9964. function getCNIEC6 : TBits_1; inline;
  9965. function getCNIEC7 : TBits_1; inline;
  9966. function getCNIEC8 : TBits_1; inline;
  9967. function getCNIEC9 : TBits_1; inline;
  9968. function getw : TBits_32; inline;
  9969. procedure setCNIEC0(thebits : TBits_1); inline;
  9970. procedure setCNIEC1(thebits : TBits_1); inline;
  9971. procedure setCNIEC2(thebits : TBits_1); inline;
  9972. procedure setCNIEC3(thebits : TBits_1); inline;
  9973. procedure setCNIEC4(thebits : TBits_1); inline;
  9974. procedure setCNIEC5(thebits : TBits_1); inline;
  9975. procedure setCNIEC6(thebits : TBits_1); inline;
  9976. procedure setCNIEC7(thebits : TBits_1); inline;
  9977. procedure setCNIEC8(thebits : TBits_1); inline;
  9978. procedure setCNIEC9(thebits : TBits_1); inline;
  9979. procedure setw(thebits : TBits_32); inline;
  9980. public
  9981. procedure clearCNIEC0; inline;
  9982. procedure clearCNIEC1; inline;
  9983. procedure clearCNIEC2; inline;
  9984. procedure clearCNIEC3; inline;
  9985. procedure clearCNIEC4; inline;
  9986. procedure clearCNIEC5; inline;
  9987. procedure clearCNIEC6; inline;
  9988. procedure clearCNIEC7; inline;
  9989. procedure clearCNIEC8; inline;
  9990. procedure clearCNIEC9; inline;
  9991. procedure setCNIEC0; inline;
  9992. procedure setCNIEC1; inline;
  9993. procedure setCNIEC2; inline;
  9994. procedure setCNIEC3; inline;
  9995. procedure setCNIEC4; inline;
  9996. procedure setCNIEC5; inline;
  9997. procedure setCNIEC6; inline;
  9998. procedure setCNIEC7; inline;
  9999. procedure setCNIEC8; inline;
  10000. procedure setCNIEC9; inline;
  10001. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  10002. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  10003. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  10004. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  10005. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  10006. property CNIEC5 : TBits_1 read getCNIEC5 write setCNIEC5;
  10007. property CNIEC6 : TBits_1 read getCNIEC6 write setCNIEC6;
  10008. property CNIEC7 : TBits_1 read getCNIEC7 write setCNIEC7;
  10009. property CNIEC8 : TBits_1 read getCNIEC8 write setCNIEC8;
  10010. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  10011. property w : TBits_32 read getw write setw;
  10012. end;
  10013. TPORTC_CNSTATC = record
  10014. private
  10015. function getCNSTATC0 : TBits_1; inline;
  10016. function getCNSTATC1 : TBits_1; inline;
  10017. function getCNSTATC2 : TBits_1; inline;
  10018. function getCNSTATC3 : TBits_1; inline;
  10019. function getCNSTATC4 : TBits_1; inline;
  10020. function getCNSTATC5 : TBits_1; inline;
  10021. function getCNSTATC6 : TBits_1; inline;
  10022. function getCNSTATC7 : TBits_1; inline;
  10023. function getCNSTATC8 : TBits_1; inline;
  10024. function getCNSTATC9 : TBits_1; inline;
  10025. function getw : TBits_32; inline;
  10026. procedure setCNSTATC0(thebits : TBits_1); inline;
  10027. procedure setCNSTATC1(thebits : TBits_1); inline;
  10028. procedure setCNSTATC2(thebits : TBits_1); inline;
  10029. procedure setCNSTATC3(thebits : TBits_1); inline;
  10030. procedure setCNSTATC4(thebits : TBits_1); inline;
  10031. procedure setCNSTATC5(thebits : TBits_1); inline;
  10032. procedure setCNSTATC6(thebits : TBits_1); inline;
  10033. procedure setCNSTATC7(thebits : TBits_1); inline;
  10034. procedure setCNSTATC8(thebits : TBits_1); inline;
  10035. procedure setCNSTATC9(thebits : TBits_1); inline;
  10036. procedure setw(thebits : TBits_32); inline;
  10037. public
  10038. procedure clearCNSTATC0; inline;
  10039. procedure clearCNSTATC1; inline;
  10040. procedure clearCNSTATC2; inline;
  10041. procedure clearCNSTATC3; inline;
  10042. procedure clearCNSTATC4; inline;
  10043. procedure clearCNSTATC5; inline;
  10044. procedure clearCNSTATC6; inline;
  10045. procedure clearCNSTATC7; inline;
  10046. procedure clearCNSTATC8; inline;
  10047. procedure clearCNSTATC9; inline;
  10048. procedure setCNSTATC0; inline;
  10049. procedure setCNSTATC1; inline;
  10050. procedure setCNSTATC2; inline;
  10051. procedure setCNSTATC3; inline;
  10052. procedure setCNSTATC4; inline;
  10053. procedure setCNSTATC5; inline;
  10054. procedure setCNSTATC6; inline;
  10055. procedure setCNSTATC7; inline;
  10056. procedure setCNSTATC8; inline;
  10057. procedure setCNSTATC9; inline;
  10058. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  10059. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  10060. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  10061. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  10062. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  10063. property CNSTATC5 : TBits_1 read getCNSTATC5 write setCNSTATC5;
  10064. property CNSTATC6 : TBits_1 read getCNSTATC6 write setCNSTATC6;
  10065. property CNSTATC7 : TBits_1 read getCNSTATC7 write setCNSTATC7;
  10066. property CNSTATC8 : TBits_1 read getCNSTATC8 write setCNSTATC8;
  10067. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  10068. property w : TBits_32 read getw write setw;
  10069. end;
  10070. type
  10071. TPORTCRegisters = record
  10072. ANSELCbits : TPORTC_ANSELC;
  10073. ANSELC : longWord;
  10074. ANSELCCLR : longWord;
  10075. ANSELCSET : longWord;
  10076. ANSELCINV : longWord;
  10077. TRISCbits : TPORTC_TRISC;
  10078. TRISC : longWord;
  10079. TRISCCLR : longWord;
  10080. TRISCSET : longWord;
  10081. TRISCINV : longWord;
  10082. PORTCbits : TPORTC_PORTC;
  10083. PORTC : longWord;
  10084. PORTCCLR : longWord;
  10085. PORTCSET : longWord;
  10086. PORTCINV : longWord;
  10087. LATCbits : TPORTC_LATC;
  10088. LATC : longWord;
  10089. LATCCLR : longWord;
  10090. LATCSET : longWord;
  10091. LATCINV : longWord;
  10092. ODCCbits : TPORTC_ODCC;
  10093. ODCC : longWord;
  10094. ODCCCLR : longWord;
  10095. ODCCSET : longWord;
  10096. ODCCINV : longWord;
  10097. CNPUCbits : TPORTC_CNPUC;
  10098. CNPUC : longWord;
  10099. CNPUCCLR : longWord;
  10100. CNPUCSET : longWord;
  10101. CNPUCINV : longWord;
  10102. CNPDCbits : TPORTC_CNPDC;
  10103. CNPDC : longWord;
  10104. CNPDCCLR : longWord;
  10105. CNPDCSET : longWord;
  10106. CNPDCINV : longWord;
  10107. CNCONCbits : TPORTC_CNCONC;
  10108. CNCONC : longWord;
  10109. CNCONCCLR : longWord;
  10110. CNCONCSET : longWord;
  10111. CNCONCINV : longWord;
  10112. CNENCbits : TPORTC_CNENC;
  10113. CNENC : longWord;
  10114. CNENCCLR : longWord;
  10115. CNENCSET : longWord;
  10116. CNENCINV : longWord;
  10117. CNSTATCbits : TPORTC_CNSTATC;
  10118. CNSTATC : longWord;
  10119. CNSTATCCLR : longWord;
  10120. CNSTATCSET : longWord;
  10121. CNSTATCINV : longWord;
  10122. end;
  10123. TDEVCFG_DEVCFG3 = record
  10124. private
  10125. function getFUSBIDIO : TBits_1; inline;
  10126. function getFVBUSONIO : TBits_1; inline;
  10127. function getIOL1WAY : TBits_1; inline;
  10128. function getPMDL1WAY : TBits_1; inline;
  10129. function getUSERID : TBits_16; inline;
  10130. function getw : TBits_32; inline;
  10131. procedure setFUSBIDIO(thebits : TBits_1); inline;
  10132. procedure setFVBUSONIO(thebits : TBits_1); inline;
  10133. procedure setIOL1WAY(thebits : TBits_1); inline;
  10134. procedure setPMDL1WAY(thebits : TBits_1); inline;
  10135. procedure setUSERID(thebits : TBits_16); inline;
  10136. procedure setw(thebits : TBits_32); inline;
  10137. public
  10138. procedure clearFUSBIDIO; inline;
  10139. procedure clearFVBUSONIO; inline;
  10140. procedure clearIOL1WAY; inline;
  10141. procedure clearPMDL1WAY; inline;
  10142. procedure setFUSBIDIO; inline;
  10143. procedure setFVBUSONIO; inline;
  10144. procedure setIOL1WAY; inline;
  10145. procedure setPMDL1WAY; inline;
  10146. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  10147. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  10148. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  10149. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  10150. property USERID : TBits_16 read getUSERID write setUSERID;
  10151. property w : TBits_32 read getw write setw;
  10152. end;
  10153. TDEVCFG_DEVCFG2 = record
  10154. private
  10155. function getFPLLIDIV : TBits_3; inline;
  10156. function getFPLLMUL : TBits_3; inline;
  10157. function getFPLLODIV : TBits_3; inline;
  10158. function getw : TBits_32; inline;
  10159. procedure setFPLLIDIV(thebits : TBits_3); inline;
  10160. procedure setFPLLMUL(thebits : TBits_3); inline;
  10161. procedure setFPLLODIV(thebits : TBits_3); inline;
  10162. procedure setw(thebits : TBits_32); inline;
  10163. public
  10164. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  10165. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  10166. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  10167. property w : TBits_32 read getw write setw;
  10168. end;
  10169. TDEVCFG_DEVCFG1 = record
  10170. private
  10171. function getFCKSM : TBits_2; inline;
  10172. function getFNOSC : TBits_3; inline;
  10173. function getFPBDIV : TBits_2; inline;
  10174. function getFSOSCEN : TBits_1; inline;
  10175. function getFWDTEN : TBits_1; inline;
  10176. function getFWDTWINSZ : TBits_2; inline;
  10177. function getIESO : TBits_1; inline;
  10178. function getOSCIOFNC : TBits_1; inline;
  10179. function getPOSCMOD : TBits_2; inline;
  10180. function getWDTPS : TBits_5; inline;
  10181. function getWINDIS : TBits_1; inline;
  10182. function getw : TBits_32; inline;
  10183. procedure setFCKSM(thebits : TBits_2); inline;
  10184. procedure setFNOSC(thebits : TBits_3); inline;
  10185. procedure setFPBDIV(thebits : TBits_2); inline;
  10186. procedure setFSOSCEN(thebits : TBits_1); inline;
  10187. procedure setFWDTEN(thebits : TBits_1); inline;
  10188. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  10189. procedure setIESO(thebits : TBits_1); inline;
  10190. procedure setOSCIOFNC(thebits : TBits_1); inline;
  10191. procedure setPOSCMOD(thebits : TBits_2); inline;
  10192. procedure setWDTPS(thebits : TBits_5); inline;
  10193. procedure setWINDIS(thebits : TBits_1); inline;
  10194. procedure setw(thebits : TBits_32); inline;
  10195. public
  10196. procedure clearFSOSCEN; inline;
  10197. procedure clearFWDTEN; inline;
  10198. procedure clearIESO; inline;
  10199. procedure clearOSCIOFNC; inline;
  10200. procedure clearWINDIS; inline;
  10201. procedure setFSOSCEN; inline;
  10202. procedure setFWDTEN; inline;
  10203. procedure setIESO; inline;
  10204. procedure setOSCIOFNC; inline;
  10205. procedure setWINDIS; inline;
  10206. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  10207. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  10208. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  10209. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  10210. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  10211. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  10212. property IESO : TBits_1 read getIESO write setIESO;
  10213. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  10214. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  10215. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  10216. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  10217. property w : TBits_32 read getw write setw;
  10218. end;
  10219. TDEVCFG_DEVCFG0 = record
  10220. private
  10221. function getBWP : TBits_1; inline;
  10222. function getCP : TBits_1; inline;
  10223. function getDEBUG : TBits_2; inline;
  10224. function getFDEBUG : TBits_2; inline;
  10225. function getICESEL : TBits_2; inline;
  10226. function getJTAGEN : TBits_1; inline;
  10227. function getPWP : TBits_9; inline;
  10228. function getw : TBits_32; inline;
  10229. procedure setBWP(thebits : TBits_1); inline;
  10230. procedure setCP(thebits : TBits_1); inline;
  10231. procedure setDEBUG(thebits : TBits_2); inline;
  10232. procedure setFDEBUG(thebits : TBits_2); inline;
  10233. procedure setICESEL(thebits : TBits_2); inline;
  10234. procedure setJTAGEN(thebits : TBits_1); inline;
  10235. procedure setPWP(thebits : TBits_9); inline;
  10236. procedure setw(thebits : TBits_32); inline;
  10237. public
  10238. procedure clearBWP; inline;
  10239. procedure clearCP; inline;
  10240. procedure clearJTAGEN; inline;
  10241. procedure setBWP; inline;
  10242. procedure setCP; inline;
  10243. procedure setJTAGEN; inline;
  10244. property BWP : TBits_1 read getBWP write setBWP;
  10245. property CP : TBits_1 read getCP write setCP;
  10246. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  10247. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  10248. property ICESEL : TBits_2 read getICESEL write setICESEL;
  10249. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  10250. property PWP : TBits_9 read getPWP write setPWP;
  10251. property w : TBits_32 read getw write setw;
  10252. end;
  10253. const
  10254. _CORE_TIMER_IRQ = 0;
  10255. _CORE_SOFTWARE_0_IRQ = 1;
  10256. _CORE_SOFTWARE_1_IRQ = 2;
  10257. _EXTERNAL_0_IRQ = 3;
  10258. _TIMER_1_IRQ = 4;
  10259. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  10260. _INPUT_CAPTURE_1_IRQ = 6;
  10261. _OUTPUT_COMPARE_1_IRQ = 7;
  10262. _EXTERNAL_1_IRQ = 8;
  10263. _TIMER_2_IRQ = 9;
  10264. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  10265. _INPUT_CAPTURE_2_IRQ = 11;
  10266. _OUTPUT_COMPARE_2_IRQ = 12;
  10267. _EXTERNAL_2_IRQ = 13;
  10268. _TIMER_3_IRQ = 14;
  10269. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  10270. _INPUT_CAPTURE_3_IRQ = 16;
  10271. _OUTPUT_COMPARE_3_IRQ = 17;
  10272. _EXTERNAL_3_IRQ = 18;
  10273. _TIMER_4_IRQ = 19;
  10274. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  10275. _INPUT_CAPTURE_4_IRQ = 21;
  10276. _OUTPUT_COMPARE_4_IRQ = 22;
  10277. _EXTERNAL_4_IRQ = 23;
  10278. _TIMER_5_IRQ = 24;
  10279. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  10280. _INPUT_CAPTURE_5_IRQ = 26;
  10281. _OUTPUT_COMPARE_5_IRQ = 27;
  10282. _ADC_IRQ = 28;
  10283. _FAIL_SAFE_MONITOR_IRQ = 29;
  10284. _RTCC_IRQ = 30;
  10285. _FLASH_CONTROL_IRQ = 31;
  10286. _COMPARATOR_1_IRQ = 32;
  10287. _COMPARATOR_2_IRQ = 33;
  10288. _COMPARATOR_3_IRQ = 34;
  10289. _USB_IRQ = 35;
  10290. _SPI1_ERR_IRQ = 36;
  10291. _SPI1_RX_IRQ = 37;
  10292. _SPI1_TX_IRQ = 38;
  10293. _UART1_ERR_IRQ = 39;
  10294. _UART1_RX_IRQ = 40;
  10295. _UART1_TX_IRQ = 41;
  10296. _I2C1_BUS_IRQ = 42;
  10297. _I2C1_SLAVE_IRQ = 43;
  10298. _I2C1_MASTER_IRQ = 44;
  10299. _CHANGE_NOTICE_A_IRQ = 45;
  10300. _CHANGE_NOTICE_B_IRQ = 46;
  10301. _CHANGE_NOTICE_C_IRQ = 47;
  10302. _PMP_IRQ = 48;
  10303. _PMP_ERROR_IRQ = 49;
  10304. _SPI2_ERR_IRQ = 50;
  10305. _SPI2_RX_IRQ = 51;
  10306. _SPI2_TX_IRQ = 52;
  10307. _UART2_ERR_IRQ = 53;
  10308. _UART2_RX_IRQ = 54;
  10309. _UART2_TX_IRQ = 55;
  10310. _I2C2_BUS_IRQ = 56;
  10311. _I2C2_SLAVE_IRQ = 57;
  10312. _I2C2_MASTER_IRQ = 58;
  10313. _CTMU_IRQ = 59;
  10314. _DMA0_IRQ = 60;
  10315. _DMA1_IRQ = 61;
  10316. _DMA2_IRQ = 62;
  10317. _DMA3_IRQ = 63;
  10318. const
  10319. ADC10_BASE_ADDRESS = $BF809000;
  10320. var
  10321. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  10322. const
  10323. BMX_BASE_ADDRESS = $BF882000;
  10324. var
  10325. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  10326. const
  10327. CFG_BASE_ADDRESS = $BF80F200;
  10328. var
  10329. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  10330. const
  10331. CMP_BASE_ADDRESS = $BF80A000;
  10332. var
  10333. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  10334. const
  10335. CVR_BASE_ADDRESS = $BF809800;
  10336. var
  10337. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  10338. const
  10339. DMAC_BASE_ADDRESS = $BF883000;
  10340. var
  10341. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  10342. const
  10343. DMAC0_BASE_ADDRESS = $BF883060;
  10344. var
  10345. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  10346. const
  10347. DMAC1_BASE_ADDRESS = $BF883120;
  10348. var
  10349. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  10350. const
  10351. DMAC2_BASE_ADDRESS = $BF8831E0;
  10352. var
  10353. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  10354. const
  10355. DMAC3_BASE_ADDRESS = $BF8832A0;
  10356. var
  10357. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  10358. const
  10359. I2C1_BASE_ADDRESS = $BF805000;
  10360. var
  10361. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  10362. const
  10363. I2C2_BASE_ADDRESS = $BF805100;
  10364. var
  10365. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  10366. const
  10367. ICAP1_BASE_ADDRESS = $BF802000;
  10368. var
  10369. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  10370. const
  10371. ICAP2_BASE_ADDRESS = $BF802200;
  10372. var
  10373. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  10374. const
  10375. ICAP3_BASE_ADDRESS = $BF802400;
  10376. var
  10377. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  10378. const
  10379. ICAP4_BASE_ADDRESS = $BF802600;
  10380. var
  10381. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  10382. const
  10383. ICAP5_BASE_ADDRESS = $BF802800;
  10384. var
  10385. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  10386. const
  10387. INT_BASE_ADDRESS = $BF881000;
  10388. var
  10389. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  10390. const
  10391. NVM_BASE_ADDRESS = $BF80F400;
  10392. var
  10393. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  10394. const
  10395. OCMP1_BASE_ADDRESS = $BF803000;
  10396. var
  10397. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  10398. const
  10399. OCMP2_BASE_ADDRESS = $BF803200;
  10400. var
  10401. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  10402. const
  10403. OCMP3_BASE_ADDRESS = $BF803400;
  10404. var
  10405. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  10406. const
  10407. OCMP4_BASE_ADDRESS = $BF803600;
  10408. var
  10409. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  10410. const
  10411. OCMP5_BASE_ADDRESS = $BF803800;
  10412. var
  10413. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  10414. const
  10415. OSC_BASE_ADDRESS = $BF80F000;
  10416. var
  10417. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  10418. const
  10419. PMP_BASE_ADDRESS = $BF807000;
  10420. var
  10421. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  10422. const
  10423. PORTA_BASE_ADDRESS = $BF886000;
  10424. var
  10425. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  10426. const
  10427. PORTB_BASE_ADDRESS = $BF886100;
  10428. var
  10429. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  10430. const
  10431. PORTC_BASE_ADDRESS = $BF886200;
  10432. var
  10433. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  10434. const
  10435. RCON_BASE_ADDRESS = $BF80F600;
  10436. var
  10437. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  10438. const
  10439. RTCC_BASE_ADDRESS = $BF800200;
  10440. var
  10441. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  10442. const
  10443. SPI1_BASE_ADDRESS = $BF805800;
  10444. var
  10445. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  10446. const
  10447. SPI2_BASE_ADDRESS = $BF805A00;
  10448. var
  10449. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  10450. const
  10451. TMR1_BASE_ADDRESS = $BF800600;
  10452. var
  10453. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  10454. const
  10455. TMR2_BASE_ADDRESS = $BF800800;
  10456. var
  10457. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  10458. const
  10459. TMR3_BASE_ADDRESS = $BF800A00;
  10460. var
  10461. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  10462. const
  10463. TMR4_BASE_ADDRESS = $BF800C00;
  10464. var
  10465. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  10466. const
  10467. TMR5_BASE_ADDRESS = $BF800E00;
  10468. var
  10469. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  10470. const
  10471. UART1_BASE_ADDRESS = $BF806000;
  10472. var
  10473. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  10474. const
  10475. UART2_BASE_ADDRESS = $BF806200;
  10476. var
  10477. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  10478. const
  10479. WDT_BASE_ADDRESS = $BF800000;
  10480. var
  10481. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  10482. implementation
  10483. type
  10484. TDefRegMap = record
  10485. val : longWord;
  10486. clr : longWord;
  10487. &set : longWord;
  10488. inv : longWord;
  10489. end;
  10490. pTDefRegMap = ^TDefRegMap;
  10491. procedure TWDT_WDTCON.setWDTCLR; inline;
  10492. begin
  10493. pTDefRegMap(@Self)^.&set := $00000001;
  10494. end;
  10495. procedure TWDT_WDTCON.clearWDTCLR; inline;
  10496. begin
  10497. pTDefRegMap(@Self)^.clr := $00000001;
  10498. end;
  10499. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10500. begin
  10501. if thebits = 0 then
  10502. pTDefRegMap(@Self)^.clr := $00000001
  10503. else
  10504. pTDefRegMap(@Self)^.&set := $00000001;
  10505. end;
  10506. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10507. begin
  10508. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10509. end;
  10510. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10511. begin
  10512. pTDefRegMap(@Self)^.&set := $00000002;
  10513. end;
  10514. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10515. begin
  10516. pTDefRegMap(@Self)^.clr := $00000002;
  10517. end;
  10518. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10519. begin
  10520. if thebits = 0 then
  10521. pTDefRegMap(@Self)^.clr := $00000002
  10522. else
  10523. pTDefRegMap(@Self)^.&set := $00000002;
  10524. end;
  10525. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10526. begin
  10527. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10528. end;
  10529. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10530. begin
  10531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10532. end;
  10533. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10534. begin
  10535. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10536. end;
  10537. procedure TWDT_WDTCON.setON; inline;
  10538. begin
  10539. pTDefRegMap(@Self)^.&set := $00008000;
  10540. end;
  10541. procedure TWDT_WDTCON.clearON; inline;
  10542. begin
  10543. pTDefRegMap(@Self)^.clr := $00008000;
  10544. end;
  10545. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10546. begin
  10547. if thebits = 0 then
  10548. pTDefRegMap(@Self)^.clr := $00008000
  10549. else
  10550. pTDefRegMap(@Self)^.&set := $00008000;
  10551. end;
  10552. function TWDT_WDTCON.getON : TBits_1; inline;
  10553. begin
  10554. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10555. end;
  10556. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10557. begin
  10558. pTDefRegMap(@Self)^.&set := $00000004;
  10559. end;
  10560. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10561. begin
  10562. pTDefRegMap(@Self)^.clr := $00000004;
  10563. end;
  10564. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10565. begin
  10566. if thebits = 0 then
  10567. pTDefRegMap(@Self)^.clr := $00000004
  10568. else
  10569. pTDefRegMap(@Self)^.&set := $00000004;
  10570. end;
  10571. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10572. begin
  10573. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10574. end;
  10575. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10576. begin
  10577. pTDefRegMap(@Self)^.&set := $00000008;
  10578. end;
  10579. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10580. begin
  10581. pTDefRegMap(@Self)^.clr := $00000008;
  10582. end;
  10583. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10584. begin
  10585. if thebits = 0 then
  10586. pTDefRegMap(@Self)^.clr := $00000008
  10587. else
  10588. pTDefRegMap(@Self)^.&set := $00000008;
  10589. end;
  10590. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10591. begin
  10592. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10593. end;
  10594. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10595. begin
  10596. pTDefRegMap(@Self)^.&set := $00000010;
  10597. end;
  10598. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10599. begin
  10600. pTDefRegMap(@Self)^.clr := $00000010;
  10601. end;
  10602. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10603. begin
  10604. if thebits = 0 then
  10605. pTDefRegMap(@Self)^.clr := $00000010
  10606. else
  10607. pTDefRegMap(@Self)^.&set := $00000010;
  10608. end;
  10609. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10610. begin
  10611. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10612. end;
  10613. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10614. begin
  10615. pTDefRegMap(@Self)^.&set := $00000020;
  10616. end;
  10617. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10618. begin
  10619. pTDefRegMap(@Self)^.clr := $00000020;
  10620. end;
  10621. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10622. begin
  10623. if thebits = 0 then
  10624. pTDefRegMap(@Self)^.clr := $00000020
  10625. else
  10626. pTDefRegMap(@Self)^.&set := $00000020;
  10627. end;
  10628. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10629. begin
  10630. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10631. end;
  10632. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10633. begin
  10634. pTDefRegMap(@Self)^.&set := $00000040;
  10635. end;
  10636. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10637. begin
  10638. pTDefRegMap(@Self)^.clr := $00000040;
  10639. end;
  10640. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10641. begin
  10642. if thebits = 0 then
  10643. pTDefRegMap(@Self)^.clr := $00000040
  10644. else
  10645. pTDefRegMap(@Self)^.&set := $00000040;
  10646. end;
  10647. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10648. begin
  10649. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10650. end;
  10651. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10652. begin
  10653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10654. end;
  10655. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10656. begin
  10657. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10658. end;
  10659. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10660. begin
  10661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10662. end;
  10663. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10664. begin
  10665. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10666. end;
  10667. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10668. begin
  10669. pTDefRegMap(@Self)^.val := thebits;
  10670. end;
  10671. function TWDT_WDTCON.getw : TBits_32; inline;
  10672. begin
  10673. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10674. end;
  10675. procedure TRTCC_RTCCON.setRTCOE; inline;
  10676. begin
  10677. pTDefRegMap(@Self)^.&set := $00000001;
  10678. end;
  10679. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10680. begin
  10681. pTDefRegMap(@Self)^.clr := $00000001;
  10682. end;
  10683. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10684. begin
  10685. if thebits = 0 then
  10686. pTDefRegMap(@Self)^.clr := $00000001
  10687. else
  10688. pTDefRegMap(@Self)^.&set := $00000001;
  10689. end;
  10690. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10691. begin
  10692. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10693. end;
  10694. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10695. begin
  10696. pTDefRegMap(@Self)^.&set := $00000002;
  10697. end;
  10698. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10699. begin
  10700. pTDefRegMap(@Self)^.clr := $00000002;
  10701. end;
  10702. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10703. begin
  10704. if thebits = 0 then
  10705. pTDefRegMap(@Self)^.clr := $00000002
  10706. else
  10707. pTDefRegMap(@Self)^.&set := $00000002;
  10708. end;
  10709. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10710. begin
  10711. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10712. end;
  10713. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10714. begin
  10715. pTDefRegMap(@Self)^.&set := $00000004;
  10716. end;
  10717. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10718. begin
  10719. pTDefRegMap(@Self)^.clr := $00000004;
  10720. end;
  10721. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10722. begin
  10723. if thebits = 0 then
  10724. pTDefRegMap(@Self)^.clr := $00000004
  10725. else
  10726. pTDefRegMap(@Self)^.&set := $00000004;
  10727. end;
  10728. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10729. begin
  10730. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10731. end;
  10732. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10733. begin
  10734. pTDefRegMap(@Self)^.&set := $00000008;
  10735. end;
  10736. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10737. begin
  10738. pTDefRegMap(@Self)^.clr := $00000008;
  10739. end;
  10740. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10741. begin
  10742. if thebits = 0 then
  10743. pTDefRegMap(@Self)^.clr := $00000008
  10744. else
  10745. pTDefRegMap(@Self)^.&set := $00000008;
  10746. end;
  10747. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10748. begin
  10749. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10750. end;
  10751. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10752. begin
  10753. pTDefRegMap(@Self)^.&set := $00000040;
  10754. end;
  10755. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10756. begin
  10757. pTDefRegMap(@Self)^.clr := $00000040;
  10758. end;
  10759. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10760. begin
  10761. if thebits = 0 then
  10762. pTDefRegMap(@Self)^.clr := $00000040
  10763. else
  10764. pTDefRegMap(@Self)^.&set := $00000040;
  10765. end;
  10766. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10767. begin
  10768. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10769. end;
  10770. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10771. begin
  10772. pTDefRegMap(@Self)^.&set := $00000080;
  10773. end;
  10774. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10775. begin
  10776. pTDefRegMap(@Self)^.clr := $00000080;
  10777. end;
  10778. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10779. begin
  10780. if thebits = 0 then
  10781. pTDefRegMap(@Self)^.clr := $00000080
  10782. else
  10783. pTDefRegMap(@Self)^.&set := $00000080;
  10784. end;
  10785. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10786. begin
  10787. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10788. end;
  10789. procedure TRTCC_RTCCON.setSIDL; inline;
  10790. begin
  10791. pTDefRegMap(@Self)^.&set := $00002000;
  10792. end;
  10793. procedure TRTCC_RTCCON.clearSIDL; inline;
  10794. begin
  10795. pTDefRegMap(@Self)^.clr := $00002000;
  10796. end;
  10797. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10798. begin
  10799. if thebits = 0 then
  10800. pTDefRegMap(@Self)^.clr := $00002000
  10801. else
  10802. pTDefRegMap(@Self)^.&set := $00002000;
  10803. end;
  10804. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10805. begin
  10806. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10807. end;
  10808. procedure TRTCC_RTCCON.setON; inline;
  10809. begin
  10810. pTDefRegMap(@Self)^.&set := $00008000;
  10811. end;
  10812. procedure TRTCC_RTCCON.clearON; inline;
  10813. begin
  10814. pTDefRegMap(@Self)^.clr := $00008000;
  10815. end;
  10816. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10817. begin
  10818. if thebits = 0 then
  10819. pTDefRegMap(@Self)^.clr := $00008000
  10820. else
  10821. pTDefRegMap(@Self)^.&set := $00008000;
  10822. end;
  10823. function TRTCC_RTCCON.getON : TBits_1; inline;
  10824. begin
  10825. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10826. end;
  10827. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10828. begin
  10829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10830. end;
  10831. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10832. begin
  10833. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10834. end;
  10835. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10836. begin
  10837. pTDefRegMap(@Self)^.val := thebits;
  10838. end;
  10839. function TRTCC_RTCCON.getw : TBits_32; inline;
  10840. begin
  10841. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10842. end;
  10843. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10844. begin
  10845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10846. end;
  10847. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10848. begin
  10849. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10850. end;
  10851. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10852. begin
  10853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10854. end;
  10855. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10856. begin
  10857. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10858. end;
  10859. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10860. begin
  10861. pTDefRegMap(@Self)^.&set := $00001000;
  10862. end;
  10863. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10864. begin
  10865. pTDefRegMap(@Self)^.clr := $00001000;
  10866. end;
  10867. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10868. begin
  10869. if thebits = 0 then
  10870. pTDefRegMap(@Self)^.clr := $00001000
  10871. else
  10872. pTDefRegMap(@Self)^.&set := $00001000;
  10873. end;
  10874. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10875. begin
  10876. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10877. end;
  10878. procedure TRTCC_RTCALRM.setPIV; inline;
  10879. begin
  10880. pTDefRegMap(@Self)^.&set := $00002000;
  10881. end;
  10882. procedure TRTCC_RTCALRM.clearPIV; inline;
  10883. begin
  10884. pTDefRegMap(@Self)^.clr := $00002000;
  10885. end;
  10886. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10887. begin
  10888. if thebits = 0 then
  10889. pTDefRegMap(@Self)^.clr := $00002000
  10890. else
  10891. pTDefRegMap(@Self)^.&set := $00002000;
  10892. end;
  10893. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10894. begin
  10895. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10896. end;
  10897. procedure TRTCC_RTCALRM.setCHIME; inline;
  10898. begin
  10899. pTDefRegMap(@Self)^.&set := $00004000;
  10900. end;
  10901. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10902. begin
  10903. pTDefRegMap(@Self)^.clr := $00004000;
  10904. end;
  10905. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10906. begin
  10907. if thebits = 0 then
  10908. pTDefRegMap(@Self)^.clr := $00004000
  10909. else
  10910. pTDefRegMap(@Self)^.&set := $00004000;
  10911. end;
  10912. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10913. begin
  10914. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10915. end;
  10916. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10917. begin
  10918. pTDefRegMap(@Self)^.&set := $00008000;
  10919. end;
  10920. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10921. begin
  10922. pTDefRegMap(@Self)^.clr := $00008000;
  10923. end;
  10924. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10925. begin
  10926. if thebits = 0 then
  10927. pTDefRegMap(@Self)^.clr := $00008000
  10928. else
  10929. pTDefRegMap(@Self)^.&set := $00008000;
  10930. end;
  10931. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10932. begin
  10933. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10934. end;
  10935. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10936. begin
  10937. pTDefRegMap(@Self)^.val := thebits;
  10938. end;
  10939. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10940. begin
  10941. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10942. end;
  10943. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10944. begin
  10945. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10946. end;
  10947. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10948. begin
  10949. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10950. end;
  10951. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10952. begin
  10953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10954. end;
  10955. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10956. begin
  10957. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10958. end;
  10959. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10960. begin
  10961. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10962. end;
  10963. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10964. begin
  10965. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10966. end;
  10967. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10968. begin
  10969. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10970. end;
  10971. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10972. begin
  10973. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10974. end;
  10975. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10976. begin
  10977. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10978. end;
  10979. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10980. begin
  10981. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10982. end;
  10983. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10984. begin
  10985. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10986. end;
  10987. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10988. begin
  10989. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10990. end;
  10991. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10992. begin
  10993. pTDefRegMap(@Self)^.val := thebits;
  10994. end;
  10995. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10996. begin
  10997. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10998. end;
  10999. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  11000. begin
  11001. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  11002. end;
  11003. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  11004. begin
  11005. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  11006. end;
  11007. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  11008. begin
  11009. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11010. end;
  11011. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  11012. begin
  11013. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11014. end;
  11015. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  11016. begin
  11017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11018. end;
  11019. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  11020. begin
  11021. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11022. end;
  11023. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  11024. begin
  11025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11026. end;
  11027. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  11028. begin
  11029. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11030. end;
  11031. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  11032. begin
  11033. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11034. end;
  11035. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  11036. begin
  11037. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11038. end;
  11039. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  11040. begin
  11041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11042. end;
  11043. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  11044. begin
  11045. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11046. end;
  11047. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  11048. begin
  11049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11050. end;
  11051. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  11052. begin
  11053. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11054. end;
  11055. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  11056. begin
  11057. pTDefRegMap(@Self)^.val := thebits;
  11058. end;
  11059. function TRTCC_RTCDATE.getw : TBits_32; inline;
  11060. begin
  11061. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11062. end;
  11063. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  11064. begin
  11065. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11066. end;
  11067. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  11068. begin
  11069. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11070. end;
  11071. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  11072. begin
  11073. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11074. end;
  11075. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  11076. begin
  11077. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11078. end;
  11079. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  11080. begin
  11081. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11082. end;
  11083. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  11084. begin
  11085. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11086. end;
  11087. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  11088. begin
  11089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11090. end;
  11091. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  11092. begin
  11093. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11094. end;
  11095. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  11096. begin
  11097. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11098. end;
  11099. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  11100. begin
  11101. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11102. end;
  11103. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  11104. begin
  11105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11106. end;
  11107. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  11108. begin
  11109. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11110. end;
  11111. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  11112. begin
  11113. pTDefRegMap(@Self)^.val := thebits;
  11114. end;
  11115. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  11116. begin
  11117. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11118. end;
  11119. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  11120. begin
  11121. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  11122. end;
  11123. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  11124. begin
  11125. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  11126. end;
  11127. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  11128. begin
  11129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11130. end;
  11131. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  11132. begin
  11133. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11134. end;
  11135. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  11136. begin
  11137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11138. end;
  11139. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  11140. begin
  11141. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11142. end;
  11143. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  11144. begin
  11145. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11146. end;
  11147. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  11148. begin
  11149. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11150. end;
  11151. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11154. end;
  11155. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  11156. begin
  11157. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11158. end;
  11159. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  11160. begin
  11161. pTDefRegMap(@Self)^.val := thebits;
  11162. end;
  11163. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  11164. begin
  11165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11166. end;
  11167. procedure TTMR1_T1CON.setTCS; inline;
  11168. begin
  11169. pTDefRegMap(@Self)^.&set := $00000002;
  11170. end;
  11171. procedure TTMR1_T1CON.clearTCS; inline;
  11172. begin
  11173. pTDefRegMap(@Self)^.clr := $00000002;
  11174. end;
  11175. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  11176. begin
  11177. if thebits = 0 then
  11178. pTDefRegMap(@Self)^.clr := $00000002
  11179. else
  11180. pTDefRegMap(@Self)^.&set := $00000002;
  11181. end;
  11182. function TTMR1_T1CON.getTCS : TBits_1; inline;
  11183. begin
  11184. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11185. end;
  11186. procedure TTMR1_T1CON.setTSYNC; inline;
  11187. begin
  11188. pTDefRegMap(@Self)^.&set := $00000004;
  11189. end;
  11190. procedure TTMR1_T1CON.clearTSYNC; inline;
  11191. begin
  11192. pTDefRegMap(@Self)^.clr := $00000004;
  11193. end;
  11194. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  11195. begin
  11196. if thebits = 0 then
  11197. pTDefRegMap(@Self)^.clr := $00000004
  11198. else
  11199. pTDefRegMap(@Self)^.&set := $00000004;
  11200. end;
  11201. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  11202. begin
  11203. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11204. end;
  11205. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  11206. begin
  11207. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  11208. end;
  11209. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  11210. begin
  11211. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  11212. end;
  11213. procedure TTMR1_T1CON.setTGATE; inline;
  11214. begin
  11215. pTDefRegMap(@Self)^.&set := $00000080;
  11216. end;
  11217. procedure TTMR1_T1CON.clearTGATE; inline;
  11218. begin
  11219. pTDefRegMap(@Self)^.clr := $00000080;
  11220. end;
  11221. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  11222. begin
  11223. if thebits = 0 then
  11224. pTDefRegMap(@Self)^.clr := $00000080
  11225. else
  11226. pTDefRegMap(@Self)^.&set := $00000080;
  11227. end;
  11228. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  11229. begin
  11230. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11231. end;
  11232. procedure TTMR1_T1CON.setTWIP; inline;
  11233. begin
  11234. pTDefRegMap(@Self)^.&set := $00000800;
  11235. end;
  11236. procedure TTMR1_T1CON.clearTWIP; inline;
  11237. begin
  11238. pTDefRegMap(@Self)^.clr := $00000800;
  11239. end;
  11240. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  11241. begin
  11242. if thebits = 0 then
  11243. pTDefRegMap(@Self)^.clr := $00000800
  11244. else
  11245. pTDefRegMap(@Self)^.&set := $00000800;
  11246. end;
  11247. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  11248. begin
  11249. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11250. end;
  11251. procedure TTMR1_T1CON.setTWDIS; inline;
  11252. begin
  11253. pTDefRegMap(@Self)^.&set := $00001000;
  11254. end;
  11255. procedure TTMR1_T1CON.clearTWDIS; inline;
  11256. begin
  11257. pTDefRegMap(@Self)^.clr := $00001000;
  11258. end;
  11259. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  11260. begin
  11261. if thebits = 0 then
  11262. pTDefRegMap(@Self)^.clr := $00001000
  11263. else
  11264. pTDefRegMap(@Self)^.&set := $00001000;
  11265. end;
  11266. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  11267. begin
  11268. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11269. end;
  11270. procedure TTMR1_T1CON.setSIDL; inline;
  11271. begin
  11272. pTDefRegMap(@Self)^.&set := $00002000;
  11273. end;
  11274. procedure TTMR1_T1CON.clearSIDL; inline;
  11275. begin
  11276. pTDefRegMap(@Self)^.clr := $00002000;
  11277. end;
  11278. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  11279. begin
  11280. if thebits = 0 then
  11281. pTDefRegMap(@Self)^.clr := $00002000
  11282. else
  11283. pTDefRegMap(@Self)^.&set := $00002000;
  11284. end;
  11285. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  11286. begin
  11287. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11288. end;
  11289. procedure TTMR1_T1CON.setON; inline;
  11290. begin
  11291. pTDefRegMap(@Self)^.&set := $00008000;
  11292. end;
  11293. procedure TTMR1_T1CON.clearON; inline;
  11294. begin
  11295. pTDefRegMap(@Self)^.clr := $00008000;
  11296. end;
  11297. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  11298. begin
  11299. if thebits = 0 then
  11300. pTDefRegMap(@Self)^.clr := $00008000
  11301. else
  11302. pTDefRegMap(@Self)^.&set := $00008000;
  11303. end;
  11304. function TTMR1_T1CON.getON : TBits_1; inline;
  11305. begin
  11306. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11307. end;
  11308. procedure TTMR1_T1CON.setTCKPS0; inline;
  11309. begin
  11310. pTDefRegMap(@Self)^.&set := $00000010;
  11311. end;
  11312. procedure TTMR1_T1CON.clearTCKPS0; inline;
  11313. begin
  11314. pTDefRegMap(@Self)^.clr := $00000010;
  11315. end;
  11316. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  11317. begin
  11318. if thebits = 0 then
  11319. pTDefRegMap(@Self)^.clr := $00000010
  11320. else
  11321. pTDefRegMap(@Self)^.&set := $00000010;
  11322. end;
  11323. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  11324. begin
  11325. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11326. end;
  11327. procedure TTMR1_T1CON.setTCKPS1; inline;
  11328. begin
  11329. pTDefRegMap(@Self)^.&set := $00000020;
  11330. end;
  11331. procedure TTMR1_T1CON.clearTCKPS1; inline;
  11332. begin
  11333. pTDefRegMap(@Self)^.clr := $00000020;
  11334. end;
  11335. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  11336. begin
  11337. if thebits = 0 then
  11338. pTDefRegMap(@Self)^.clr := $00000020
  11339. else
  11340. pTDefRegMap(@Self)^.&set := $00000020;
  11341. end;
  11342. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  11343. begin
  11344. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11345. end;
  11346. procedure TTMR1_T1CON.setTSIDL; inline;
  11347. begin
  11348. pTDefRegMap(@Self)^.&set := $00002000;
  11349. end;
  11350. procedure TTMR1_T1CON.clearTSIDL; inline;
  11351. begin
  11352. pTDefRegMap(@Self)^.clr := $00002000;
  11353. end;
  11354. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  11355. begin
  11356. if thebits = 0 then
  11357. pTDefRegMap(@Self)^.clr := $00002000
  11358. else
  11359. pTDefRegMap(@Self)^.&set := $00002000;
  11360. end;
  11361. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  11362. begin
  11363. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11364. end;
  11365. procedure TTMR1_T1CON.setTON; inline;
  11366. begin
  11367. pTDefRegMap(@Self)^.&set := $00008000;
  11368. end;
  11369. procedure TTMR1_T1CON.clearTON; inline;
  11370. begin
  11371. pTDefRegMap(@Self)^.clr := $00008000;
  11372. end;
  11373. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  11374. begin
  11375. if thebits = 0 then
  11376. pTDefRegMap(@Self)^.clr := $00008000
  11377. else
  11378. pTDefRegMap(@Self)^.&set := $00008000;
  11379. end;
  11380. function TTMR1_T1CON.getTON : TBits_1; inline;
  11381. begin
  11382. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11383. end;
  11384. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  11385. begin
  11386. pTDefRegMap(@Self)^.val := thebits;
  11387. end;
  11388. function TTMR1_T1CON.getw : TBits_32; inline;
  11389. begin
  11390. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11391. end;
  11392. procedure TTMR2_T2CON.setTCS; inline;
  11393. begin
  11394. pTDefRegMap(@Self)^.&set := $00000002;
  11395. end;
  11396. procedure TTMR2_T2CON.clearTCS; inline;
  11397. begin
  11398. pTDefRegMap(@Self)^.clr := $00000002;
  11399. end;
  11400. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  11401. begin
  11402. if thebits = 0 then
  11403. pTDefRegMap(@Self)^.clr := $00000002
  11404. else
  11405. pTDefRegMap(@Self)^.&set := $00000002;
  11406. end;
  11407. function TTMR2_T2CON.getTCS : TBits_1; inline;
  11408. begin
  11409. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11410. end;
  11411. procedure TTMR2_T2CON.setT32; inline;
  11412. begin
  11413. pTDefRegMap(@Self)^.&set := $00000008;
  11414. end;
  11415. procedure TTMR2_T2CON.clearT32; inline;
  11416. begin
  11417. pTDefRegMap(@Self)^.clr := $00000008;
  11418. end;
  11419. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  11420. begin
  11421. if thebits = 0 then
  11422. pTDefRegMap(@Self)^.clr := $00000008
  11423. else
  11424. pTDefRegMap(@Self)^.&set := $00000008;
  11425. end;
  11426. function TTMR2_T2CON.getT32 : TBits_1; inline;
  11427. begin
  11428. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11429. end;
  11430. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  11431. begin
  11432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11433. end;
  11434. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  11435. begin
  11436. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11437. end;
  11438. procedure TTMR2_T2CON.setTGATE; inline;
  11439. begin
  11440. pTDefRegMap(@Self)^.&set := $00000080;
  11441. end;
  11442. procedure TTMR2_T2CON.clearTGATE; inline;
  11443. begin
  11444. pTDefRegMap(@Self)^.clr := $00000080;
  11445. end;
  11446. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  11447. begin
  11448. if thebits = 0 then
  11449. pTDefRegMap(@Self)^.clr := $00000080
  11450. else
  11451. pTDefRegMap(@Self)^.&set := $00000080;
  11452. end;
  11453. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  11454. begin
  11455. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11456. end;
  11457. procedure TTMR2_T2CON.setSIDL; inline;
  11458. begin
  11459. pTDefRegMap(@Self)^.&set := $00002000;
  11460. end;
  11461. procedure TTMR2_T2CON.clearSIDL; inline;
  11462. begin
  11463. pTDefRegMap(@Self)^.clr := $00002000;
  11464. end;
  11465. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  11466. begin
  11467. if thebits = 0 then
  11468. pTDefRegMap(@Self)^.clr := $00002000
  11469. else
  11470. pTDefRegMap(@Self)^.&set := $00002000;
  11471. end;
  11472. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  11473. begin
  11474. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11475. end;
  11476. procedure TTMR2_T2CON.setON; inline;
  11477. begin
  11478. pTDefRegMap(@Self)^.&set := $00008000;
  11479. end;
  11480. procedure TTMR2_T2CON.clearON; inline;
  11481. begin
  11482. pTDefRegMap(@Self)^.clr := $00008000;
  11483. end;
  11484. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  11485. begin
  11486. if thebits = 0 then
  11487. pTDefRegMap(@Self)^.clr := $00008000
  11488. else
  11489. pTDefRegMap(@Self)^.&set := $00008000;
  11490. end;
  11491. function TTMR2_T2CON.getON : TBits_1; inline;
  11492. begin
  11493. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11494. end;
  11495. procedure TTMR2_T2CON.setTCKPS0; inline;
  11496. begin
  11497. pTDefRegMap(@Self)^.&set := $00000010;
  11498. end;
  11499. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11500. begin
  11501. pTDefRegMap(@Self)^.clr := $00000010;
  11502. end;
  11503. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11504. begin
  11505. if thebits = 0 then
  11506. pTDefRegMap(@Self)^.clr := $00000010
  11507. else
  11508. pTDefRegMap(@Self)^.&set := $00000010;
  11509. end;
  11510. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11511. begin
  11512. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11513. end;
  11514. procedure TTMR2_T2CON.setTCKPS1; inline;
  11515. begin
  11516. pTDefRegMap(@Self)^.&set := $00000020;
  11517. end;
  11518. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11519. begin
  11520. pTDefRegMap(@Self)^.clr := $00000020;
  11521. end;
  11522. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11523. begin
  11524. if thebits = 0 then
  11525. pTDefRegMap(@Self)^.clr := $00000020
  11526. else
  11527. pTDefRegMap(@Self)^.&set := $00000020;
  11528. end;
  11529. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11530. begin
  11531. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11532. end;
  11533. procedure TTMR2_T2CON.setTCKPS2; inline;
  11534. begin
  11535. pTDefRegMap(@Self)^.&set := $00000040;
  11536. end;
  11537. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11538. begin
  11539. pTDefRegMap(@Self)^.clr := $00000040;
  11540. end;
  11541. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11542. begin
  11543. if thebits = 0 then
  11544. pTDefRegMap(@Self)^.clr := $00000040
  11545. else
  11546. pTDefRegMap(@Self)^.&set := $00000040;
  11547. end;
  11548. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11549. begin
  11550. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11551. end;
  11552. procedure TTMR2_T2CON.setTSIDL; inline;
  11553. begin
  11554. pTDefRegMap(@Self)^.&set := $00002000;
  11555. end;
  11556. procedure TTMR2_T2CON.clearTSIDL; inline;
  11557. begin
  11558. pTDefRegMap(@Self)^.clr := $00002000;
  11559. end;
  11560. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11561. begin
  11562. if thebits = 0 then
  11563. pTDefRegMap(@Self)^.clr := $00002000
  11564. else
  11565. pTDefRegMap(@Self)^.&set := $00002000;
  11566. end;
  11567. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11568. begin
  11569. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11570. end;
  11571. procedure TTMR2_T2CON.setTON; inline;
  11572. begin
  11573. pTDefRegMap(@Self)^.&set := $00008000;
  11574. end;
  11575. procedure TTMR2_T2CON.clearTON; inline;
  11576. begin
  11577. pTDefRegMap(@Self)^.clr := $00008000;
  11578. end;
  11579. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11580. begin
  11581. if thebits = 0 then
  11582. pTDefRegMap(@Self)^.clr := $00008000
  11583. else
  11584. pTDefRegMap(@Self)^.&set := $00008000;
  11585. end;
  11586. function TTMR2_T2CON.getTON : TBits_1; inline;
  11587. begin
  11588. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11589. end;
  11590. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11591. begin
  11592. pTDefRegMap(@Self)^.val := thebits;
  11593. end;
  11594. function TTMR2_T2CON.getw : TBits_32; inline;
  11595. begin
  11596. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11597. end;
  11598. procedure TTMR3_T3CON.setTCS; inline;
  11599. begin
  11600. pTDefRegMap(@Self)^.&set := $00000002;
  11601. end;
  11602. procedure TTMR3_T3CON.clearTCS; inline;
  11603. begin
  11604. pTDefRegMap(@Self)^.clr := $00000002;
  11605. end;
  11606. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11607. begin
  11608. if thebits = 0 then
  11609. pTDefRegMap(@Self)^.clr := $00000002
  11610. else
  11611. pTDefRegMap(@Self)^.&set := $00000002;
  11612. end;
  11613. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11614. begin
  11615. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11616. end;
  11617. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11618. begin
  11619. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11620. end;
  11621. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11622. begin
  11623. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11624. end;
  11625. procedure TTMR3_T3CON.setTGATE; inline;
  11626. begin
  11627. pTDefRegMap(@Self)^.&set := $00000080;
  11628. end;
  11629. procedure TTMR3_T3CON.clearTGATE; inline;
  11630. begin
  11631. pTDefRegMap(@Self)^.clr := $00000080;
  11632. end;
  11633. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11634. begin
  11635. if thebits = 0 then
  11636. pTDefRegMap(@Self)^.clr := $00000080
  11637. else
  11638. pTDefRegMap(@Self)^.&set := $00000080;
  11639. end;
  11640. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11641. begin
  11642. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11643. end;
  11644. procedure TTMR3_T3CON.setSIDL; inline;
  11645. begin
  11646. pTDefRegMap(@Self)^.&set := $00002000;
  11647. end;
  11648. procedure TTMR3_T3CON.clearSIDL; inline;
  11649. begin
  11650. pTDefRegMap(@Self)^.clr := $00002000;
  11651. end;
  11652. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11653. begin
  11654. if thebits = 0 then
  11655. pTDefRegMap(@Self)^.clr := $00002000
  11656. else
  11657. pTDefRegMap(@Self)^.&set := $00002000;
  11658. end;
  11659. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11660. begin
  11661. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11662. end;
  11663. procedure TTMR3_T3CON.setON; inline;
  11664. begin
  11665. pTDefRegMap(@Self)^.&set := $00008000;
  11666. end;
  11667. procedure TTMR3_T3CON.clearON; inline;
  11668. begin
  11669. pTDefRegMap(@Self)^.clr := $00008000;
  11670. end;
  11671. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11672. begin
  11673. if thebits = 0 then
  11674. pTDefRegMap(@Self)^.clr := $00008000
  11675. else
  11676. pTDefRegMap(@Self)^.&set := $00008000;
  11677. end;
  11678. function TTMR3_T3CON.getON : TBits_1; inline;
  11679. begin
  11680. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11681. end;
  11682. procedure TTMR3_T3CON.setTCKPS0; inline;
  11683. begin
  11684. pTDefRegMap(@Self)^.&set := $00000010;
  11685. end;
  11686. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11687. begin
  11688. pTDefRegMap(@Self)^.clr := $00000010;
  11689. end;
  11690. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11691. begin
  11692. if thebits = 0 then
  11693. pTDefRegMap(@Self)^.clr := $00000010
  11694. else
  11695. pTDefRegMap(@Self)^.&set := $00000010;
  11696. end;
  11697. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11698. begin
  11699. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11700. end;
  11701. procedure TTMR3_T3CON.setTCKPS1; inline;
  11702. begin
  11703. pTDefRegMap(@Self)^.&set := $00000020;
  11704. end;
  11705. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11706. begin
  11707. pTDefRegMap(@Self)^.clr := $00000020;
  11708. end;
  11709. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11710. begin
  11711. if thebits = 0 then
  11712. pTDefRegMap(@Self)^.clr := $00000020
  11713. else
  11714. pTDefRegMap(@Self)^.&set := $00000020;
  11715. end;
  11716. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11717. begin
  11718. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11719. end;
  11720. procedure TTMR3_T3CON.setTCKPS2; inline;
  11721. begin
  11722. pTDefRegMap(@Self)^.&set := $00000040;
  11723. end;
  11724. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11725. begin
  11726. pTDefRegMap(@Self)^.clr := $00000040;
  11727. end;
  11728. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11729. begin
  11730. if thebits = 0 then
  11731. pTDefRegMap(@Self)^.clr := $00000040
  11732. else
  11733. pTDefRegMap(@Self)^.&set := $00000040;
  11734. end;
  11735. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11736. begin
  11737. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11738. end;
  11739. procedure TTMR3_T3CON.setTSIDL; inline;
  11740. begin
  11741. pTDefRegMap(@Self)^.&set := $00002000;
  11742. end;
  11743. procedure TTMR3_T3CON.clearTSIDL; inline;
  11744. begin
  11745. pTDefRegMap(@Self)^.clr := $00002000;
  11746. end;
  11747. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11748. begin
  11749. if thebits = 0 then
  11750. pTDefRegMap(@Self)^.clr := $00002000
  11751. else
  11752. pTDefRegMap(@Self)^.&set := $00002000;
  11753. end;
  11754. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11755. begin
  11756. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11757. end;
  11758. procedure TTMR3_T3CON.setTON; inline;
  11759. begin
  11760. pTDefRegMap(@Self)^.&set := $00008000;
  11761. end;
  11762. procedure TTMR3_T3CON.clearTON; inline;
  11763. begin
  11764. pTDefRegMap(@Self)^.clr := $00008000;
  11765. end;
  11766. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11767. begin
  11768. if thebits = 0 then
  11769. pTDefRegMap(@Self)^.clr := $00008000
  11770. else
  11771. pTDefRegMap(@Self)^.&set := $00008000;
  11772. end;
  11773. function TTMR3_T3CON.getTON : TBits_1; inline;
  11774. begin
  11775. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11776. end;
  11777. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11778. begin
  11779. pTDefRegMap(@Self)^.val := thebits;
  11780. end;
  11781. function TTMR3_T3CON.getw : TBits_32; inline;
  11782. begin
  11783. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11784. end;
  11785. procedure TTMR4_T4CON.setTCS; inline;
  11786. begin
  11787. pTDefRegMap(@Self)^.&set := $00000002;
  11788. end;
  11789. procedure TTMR4_T4CON.clearTCS; inline;
  11790. begin
  11791. pTDefRegMap(@Self)^.clr := $00000002;
  11792. end;
  11793. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11794. begin
  11795. if thebits = 0 then
  11796. pTDefRegMap(@Self)^.clr := $00000002
  11797. else
  11798. pTDefRegMap(@Self)^.&set := $00000002;
  11799. end;
  11800. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11801. begin
  11802. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11803. end;
  11804. procedure TTMR4_T4CON.setT32; inline;
  11805. begin
  11806. pTDefRegMap(@Self)^.&set := $00000008;
  11807. end;
  11808. procedure TTMR4_T4CON.clearT32; inline;
  11809. begin
  11810. pTDefRegMap(@Self)^.clr := $00000008;
  11811. end;
  11812. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11813. begin
  11814. if thebits = 0 then
  11815. pTDefRegMap(@Self)^.clr := $00000008
  11816. else
  11817. pTDefRegMap(@Self)^.&set := $00000008;
  11818. end;
  11819. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11820. begin
  11821. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11822. end;
  11823. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11824. begin
  11825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11826. end;
  11827. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11828. begin
  11829. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11830. end;
  11831. procedure TTMR4_T4CON.setTGATE; inline;
  11832. begin
  11833. pTDefRegMap(@Self)^.&set := $00000080;
  11834. end;
  11835. procedure TTMR4_T4CON.clearTGATE; inline;
  11836. begin
  11837. pTDefRegMap(@Self)^.clr := $00000080;
  11838. end;
  11839. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11840. begin
  11841. if thebits = 0 then
  11842. pTDefRegMap(@Self)^.clr := $00000080
  11843. else
  11844. pTDefRegMap(@Self)^.&set := $00000080;
  11845. end;
  11846. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11847. begin
  11848. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11849. end;
  11850. procedure TTMR4_T4CON.setSIDL; inline;
  11851. begin
  11852. pTDefRegMap(@Self)^.&set := $00002000;
  11853. end;
  11854. procedure TTMR4_T4CON.clearSIDL; inline;
  11855. begin
  11856. pTDefRegMap(@Self)^.clr := $00002000;
  11857. end;
  11858. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11859. begin
  11860. if thebits = 0 then
  11861. pTDefRegMap(@Self)^.clr := $00002000
  11862. else
  11863. pTDefRegMap(@Self)^.&set := $00002000;
  11864. end;
  11865. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11866. begin
  11867. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11868. end;
  11869. procedure TTMR4_T4CON.setON; inline;
  11870. begin
  11871. pTDefRegMap(@Self)^.&set := $00008000;
  11872. end;
  11873. procedure TTMR4_T4CON.clearON; inline;
  11874. begin
  11875. pTDefRegMap(@Self)^.clr := $00008000;
  11876. end;
  11877. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11878. begin
  11879. if thebits = 0 then
  11880. pTDefRegMap(@Self)^.clr := $00008000
  11881. else
  11882. pTDefRegMap(@Self)^.&set := $00008000;
  11883. end;
  11884. function TTMR4_T4CON.getON : TBits_1; inline;
  11885. begin
  11886. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11887. end;
  11888. procedure TTMR4_T4CON.setTCKPS0; inline;
  11889. begin
  11890. pTDefRegMap(@Self)^.&set := $00000010;
  11891. end;
  11892. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11893. begin
  11894. pTDefRegMap(@Self)^.clr := $00000010;
  11895. end;
  11896. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11897. begin
  11898. if thebits = 0 then
  11899. pTDefRegMap(@Self)^.clr := $00000010
  11900. else
  11901. pTDefRegMap(@Self)^.&set := $00000010;
  11902. end;
  11903. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11904. begin
  11905. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11906. end;
  11907. procedure TTMR4_T4CON.setTCKPS1; inline;
  11908. begin
  11909. pTDefRegMap(@Self)^.&set := $00000020;
  11910. end;
  11911. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11912. begin
  11913. pTDefRegMap(@Self)^.clr := $00000020;
  11914. end;
  11915. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11916. begin
  11917. if thebits = 0 then
  11918. pTDefRegMap(@Self)^.clr := $00000020
  11919. else
  11920. pTDefRegMap(@Self)^.&set := $00000020;
  11921. end;
  11922. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11923. begin
  11924. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11925. end;
  11926. procedure TTMR4_T4CON.setTCKPS2; inline;
  11927. begin
  11928. pTDefRegMap(@Self)^.&set := $00000040;
  11929. end;
  11930. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11931. begin
  11932. pTDefRegMap(@Self)^.clr := $00000040;
  11933. end;
  11934. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11935. begin
  11936. if thebits = 0 then
  11937. pTDefRegMap(@Self)^.clr := $00000040
  11938. else
  11939. pTDefRegMap(@Self)^.&set := $00000040;
  11940. end;
  11941. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11942. begin
  11943. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11944. end;
  11945. procedure TTMR4_T4CON.setTSIDL; inline;
  11946. begin
  11947. pTDefRegMap(@Self)^.&set := $00002000;
  11948. end;
  11949. procedure TTMR4_T4CON.clearTSIDL; inline;
  11950. begin
  11951. pTDefRegMap(@Self)^.clr := $00002000;
  11952. end;
  11953. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11954. begin
  11955. if thebits = 0 then
  11956. pTDefRegMap(@Self)^.clr := $00002000
  11957. else
  11958. pTDefRegMap(@Self)^.&set := $00002000;
  11959. end;
  11960. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11961. begin
  11962. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11963. end;
  11964. procedure TTMR4_T4CON.setTON; inline;
  11965. begin
  11966. pTDefRegMap(@Self)^.&set := $00008000;
  11967. end;
  11968. procedure TTMR4_T4CON.clearTON; inline;
  11969. begin
  11970. pTDefRegMap(@Self)^.clr := $00008000;
  11971. end;
  11972. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11973. begin
  11974. if thebits = 0 then
  11975. pTDefRegMap(@Self)^.clr := $00008000
  11976. else
  11977. pTDefRegMap(@Self)^.&set := $00008000;
  11978. end;
  11979. function TTMR4_T4CON.getTON : TBits_1; inline;
  11980. begin
  11981. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11982. end;
  11983. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11984. begin
  11985. pTDefRegMap(@Self)^.val := thebits;
  11986. end;
  11987. function TTMR4_T4CON.getw : TBits_32; inline;
  11988. begin
  11989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11990. end;
  11991. procedure TTMR5_T5CON.setTCS; inline;
  11992. begin
  11993. pTDefRegMap(@Self)^.&set := $00000002;
  11994. end;
  11995. procedure TTMR5_T5CON.clearTCS; inline;
  11996. begin
  11997. pTDefRegMap(@Self)^.clr := $00000002;
  11998. end;
  11999. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  12000. begin
  12001. if thebits = 0 then
  12002. pTDefRegMap(@Self)^.clr := $00000002
  12003. else
  12004. pTDefRegMap(@Self)^.&set := $00000002;
  12005. end;
  12006. function TTMR5_T5CON.getTCS : TBits_1; inline;
  12007. begin
  12008. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12009. end;
  12010. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  12011. begin
  12012. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  12013. end;
  12014. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  12015. begin
  12016. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  12017. end;
  12018. procedure TTMR5_T5CON.setTGATE; inline;
  12019. begin
  12020. pTDefRegMap(@Self)^.&set := $00000080;
  12021. end;
  12022. procedure TTMR5_T5CON.clearTGATE; inline;
  12023. begin
  12024. pTDefRegMap(@Self)^.clr := $00000080;
  12025. end;
  12026. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  12027. begin
  12028. if thebits = 0 then
  12029. pTDefRegMap(@Self)^.clr := $00000080
  12030. else
  12031. pTDefRegMap(@Self)^.&set := $00000080;
  12032. end;
  12033. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  12034. begin
  12035. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12036. end;
  12037. procedure TTMR5_T5CON.setSIDL; inline;
  12038. begin
  12039. pTDefRegMap(@Self)^.&set := $00002000;
  12040. end;
  12041. procedure TTMR5_T5CON.clearSIDL; inline;
  12042. begin
  12043. pTDefRegMap(@Self)^.clr := $00002000;
  12044. end;
  12045. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  12046. begin
  12047. if thebits = 0 then
  12048. pTDefRegMap(@Self)^.clr := $00002000
  12049. else
  12050. pTDefRegMap(@Self)^.&set := $00002000;
  12051. end;
  12052. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  12053. begin
  12054. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12055. end;
  12056. procedure TTMR5_T5CON.setON; inline;
  12057. begin
  12058. pTDefRegMap(@Self)^.&set := $00008000;
  12059. end;
  12060. procedure TTMR5_T5CON.clearON; inline;
  12061. begin
  12062. pTDefRegMap(@Self)^.clr := $00008000;
  12063. end;
  12064. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  12065. begin
  12066. if thebits = 0 then
  12067. pTDefRegMap(@Self)^.clr := $00008000
  12068. else
  12069. pTDefRegMap(@Self)^.&set := $00008000;
  12070. end;
  12071. function TTMR5_T5CON.getON : TBits_1; inline;
  12072. begin
  12073. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12074. end;
  12075. procedure TTMR5_T5CON.setTCKPS0; inline;
  12076. begin
  12077. pTDefRegMap(@Self)^.&set := $00000010;
  12078. end;
  12079. procedure TTMR5_T5CON.clearTCKPS0; inline;
  12080. begin
  12081. pTDefRegMap(@Self)^.clr := $00000010;
  12082. end;
  12083. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  12084. begin
  12085. if thebits = 0 then
  12086. pTDefRegMap(@Self)^.clr := $00000010
  12087. else
  12088. pTDefRegMap(@Self)^.&set := $00000010;
  12089. end;
  12090. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  12091. begin
  12092. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12093. end;
  12094. procedure TTMR5_T5CON.setTCKPS1; inline;
  12095. begin
  12096. pTDefRegMap(@Self)^.&set := $00000020;
  12097. end;
  12098. procedure TTMR5_T5CON.clearTCKPS1; inline;
  12099. begin
  12100. pTDefRegMap(@Self)^.clr := $00000020;
  12101. end;
  12102. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  12103. begin
  12104. if thebits = 0 then
  12105. pTDefRegMap(@Self)^.clr := $00000020
  12106. else
  12107. pTDefRegMap(@Self)^.&set := $00000020;
  12108. end;
  12109. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  12110. begin
  12111. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12112. end;
  12113. procedure TTMR5_T5CON.setTCKPS2; inline;
  12114. begin
  12115. pTDefRegMap(@Self)^.&set := $00000040;
  12116. end;
  12117. procedure TTMR5_T5CON.clearTCKPS2; inline;
  12118. begin
  12119. pTDefRegMap(@Self)^.clr := $00000040;
  12120. end;
  12121. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  12122. begin
  12123. if thebits = 0 then
  12124. pTDefRegMap(@Self)^.clr := $00000040
  12125. else
  12126. pTDefRegMap(@Self)^.&set := $00000040;
  12127. end;
  12128. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  12129. begin
  12130. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12131. end;
  12132. procedure TTMR5_T5CON.setTSIDL; inline;
  12133. begin
  12134. pTDefRegMap(@Self)^.&set := $00002000;
  12135. end;
  12136. procedure TTMR5_T5CON.clearTSIDL; inline;
  12137. begin
  12138. pTDefRegMap(@Self)^.clr := $00002000;
  12139. end;
  12140. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  12141. begin
  12142. if thebits = 0 then
  12143. pTDefRegMap(@Self)^.clr := $00002000
  12144. else
  12145. pTDefRegMap(@Self)^.&set := $00002000;
  12146. end;
  12147. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  12148. begin
  12149. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12150. end;
  12151. procedure TTMR5_T5CON.setTON; inline;
  12152. begin
  12153. pTDefRegMap(@Self)^.&set := $00008000;
  12154. end;
  12155. procedure TTMR5_T5CON.clearTON; inline;
  12156. begin
  12157. pTDefRegMap(@Self)^.clr := $00008000;
  12158. end;
  12159. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  12160. begin
  12161. if thebits = 0 then
  12162. pTDefRegMap(@Self)^.clr := $00008000
  12163. else
  12164. pTDefRegMap(@Self)^.&set := $00008000;
  12165. end;
  12166. function TTMR5_T5CON.getTON : TBits_1; inline;
  12167. begin
  12168. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12169. end;
  12170. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  12171. begin
  12172. pTDefRegMap(@Self)^.val := thebits;
  12173. end;
  12174. function TTMR5_T5CON.getw : TBits_32; inline;
  12175. begin
  12176. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12177. end;
  12178. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  12179. begin
  12180. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12181. end;
  12182. function TICAP1_IC1CON.getICM : TBits_3; inline;
  12183. begin
  12184. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12185. end;
  12186. procedure TICAP1_IC1CON.setICBNE; inline;
  12187. begin
  12188. pTDefRegMap(@Self)^.&set := $00000008;
  12189. end;
  12190. procedure TICAP1_IC1CON.clearICBNE; inline;
  12191. begin
  12192. pTDefRegMap(@Self)^.clr := $00000008;
  12193. end;
  12194. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  12195. begin
  12196. if thebits = 0 then
  12197. pTDefRegMap(@Self)^.clr := $00000008
  12198. else
  12199. pTDefRegMap(@Self)^.&set := $00000008;
  12200. end;
  12201. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  12202. begin
  12203. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12204. end;
  12205. procedure TICAP1_IC1CON.setICOV; inline;
  12206. begin
  12207. pTDefRegMap(@Self)^.&set := $00000010;
  12208. end;
  12209. procedure TICAP1_IC1CON.clearICOV; inline;
  12210. begin
  12211. pTDefRegMap(@Self)^.clr := $00000010;
  12212. end;
  12213. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  12214. begin
  12215. if thebits = 0 then
  12216. pTDefRegMap(@Self)^.clr := $00000010
  12217. else
  12218. pTDefRegMap(@Self)^.&set := $00000010;
  12219. end;
  12220. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  12221. begin
  12222. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12223. end;
  12224. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  12225. begin
  12226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12227. end;
  12228. function TICAP1_IC1CON.getICI : TBits_2; inline;
  12229. begin
  12230. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12231. end;
  12232. procedure TICAP1_IC1CON.setICTMR; inline;
  12233. begin
  12234. pTDefRegMap(@Self)^.&set := $00000080;
  12235. end;
  12236. procedure TICAP1_IC1CON.clearICTMR; inline;
  12237. begin
  12238. pTDefRegMap(@Self)^.clr := $00000080;
  12239. end;
  12240. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  12241. begin
  12242. if thebits = 0 then
  12243. pTDefRegMap(@Self)^.clr := $00000080
  12244. else
  12245. pTDefRegMap(@Self)^.&set := $00000080;
  12246. end;
  12247. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  12248. begin
  12249. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12250. end;
  12251. procedure TICAP1_IC1CON.setC32; inline;
  12252. begin
  12253. pTDefRegMap(@Self)^.&set := $00000100;
  12254. end;
  12255. procedure TICAP1_IC1CON.clearC32; inline;
  12256. begin
  12257. pTDefRegMap(@Self)^.clr := $00000100;
  12258. end;
  12259. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  12260. begin
  12261. if thebits = 0 then
  12262. pTDefRegMap(@Self)^.clr := $00000100
  12263. else
  12264. pTDefRegMap(@Self)^.&set := $00000100;
  12265. end;
  12266. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  12267. begin
  12268. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12269. end;
  12270. procedure TICAP1_IC1CON.setFEDGE; inline;
  12271. begin
  12272. pTDefRegMap(@Self)^.&set := $00000200;
  12273. end;
  12274. procedure TICAP1_IC1CON.clearFEDGE; inline;
  12275. begin
  12276. pTDefRegMap(@Self)^.clr := $00000200;
  12277. end;
  12278. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  12279. begin
  12280. if thebits = 0 then
  12281. pTDefRegMap(@Self)^.clr := $00000200
  12282. else
  12283. pTDefRegMap(@Self)^.&set := $00000200;
  12284. end;
  12285. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  12286. begin
  12287. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12288. end;
  12289. procedure TICAP1_IC1CON.setSIDL; inline;
  12290. begin
  12291. pTDefRegMap(@Self)^.&set := $00002000;
  12292. end;
  12293. procedure TICAP1_IC1CON.clearSIDL; inline;
  12294. begin
  12295. pTDefRegMap(@Self)^.clr := $00002000;
  12296. end;
  12297. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  12298. begin
  12299. if thebits = 0 then
  12300. pTDefRegMap(@Self)^.clr := $00002000
  12301. else
  12302. pTDefRegMap(@Self)^.&set := $00002000;
  12303. end;
  12304. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  12305. begin
  12306. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12307. end;
  12308. procedure TICAP1_IC1CON.setON; inline;
  12309. begin
  12310. pTDefRegMap(@Self)^.&set := $00008000;
  12311. end;
  12312. procedure TICAP1_IC1CON.clearON; inline;
  12313. begin
  12314. pTDefRegMap(@Self)^.clr := $00008000;
  12315. end;
  12316. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  12317. begin
  12318. if thebits = 0 then
  12319. pTDefRegMap(@Self)^.clr := $00008000
  12320. else
  12321. pTDefRegMap(@Self)^.&set := $00008000;
  12322. end;
  12323. function TICAP1_IC1CON.getON : TBits_1; inline;
  12324. begin
  12325. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12326. end;
  12327. procedure TICAP1_IC1CON.setICM0; inline;
  12328. begin
  12329. pTDefRegMap(@Self)^.&set := $00000001;
  12330. end;
  12331. procedure TICAP1_IC1CON.clearICM0; inline;
  12332. begin
  12333. pTDefRegMap(@Self)^.clr := $00000001;
  12334. end;
  12335. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  12336. begin
  12337. if thebits = 0 then
  12338. pTDefRegMap(@Self)^.clr := $00000001
  12339. else
  12340. pTDefRegMap(@Self)^.&set := $00000001;
  12341. end;
  12342. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  12343. begin
  12344. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12345. end;
  12346. procedure TICAP1_IC1CON.setICM1; inline;
  12347. begin
  12348. pTDefRegMap(@Self)^.&set := $00000002;
  12349. end;
  12350. procedure TICAP1_IC1CON.clearICM1; inline;
  12351. begin
  12352. pTDefRegMap(@Self)^.clr := $00000002;
  12353. end;
  12354. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  12355. begin
  12356. if thebits = 0 then
  12357. pTDefRegMap(@Self)^.clr := $00000002
  12358. else
  12359. pTDefRegMap(@Self)^.&set := $00000002;
  12360. end;
  12361. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  12362. begin
  12363. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12364. end;
  12365. procedure TICAP1_IC1CON.setICM2; inline;
  12366. begin
  12367. pTDefRegMap(@Self)^.&set := $00000004;
  12368. end;
  12369. procedure TICAP1_IC1CON.clearICM2; inline;
  12370. begin
  12371. pTDefRegMap(@Self)^.clr := $00000004;
  12372. end;
  12373. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  12374. begin
  12375. if thebits = 0 then
  12376. pTDefRegMap(@Self)^.clr := $00000004
  12377. else
  12378. pTDefRegMap(@Self)^.&set := $00000004;
  12379. end;
  12380. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  12381. begin
  12382. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12383. end;
  12384. procedure TICAP1_IC1CON.setICI0; inline;
  12385. begin
  12386. pTDefRegMap(@Self)^.&set := $00000020;
  12387. end;
  12388. procedure TICAP1_IC1CON.clearICI0; inline;
  12389. begin
  12390. pTDefRegMap(@Self)^.clr := $00000020;
  12391. end;
  12392. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  12393. begin
  12394. if thebits = 0 then
  12395. pTDefRegMap(@Self)^.clr := $00000020
  12396. else
  12397. pTDefRegMap(@Self)^.&set := $00000020;
  12398. end;
  12399. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  12400. begin
  12401. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12402. end;
  12403. procedure TICAP1_IC1CON.setICI1; inline;
  12404. begin
  12405. pTDefRegMap(@Self)^.&set := $00000040;
  12406. end;
  12407. procedure TICAP1_IC1CON.clearICI1; inline;
  12408. begin
  12409. pTDefRegMap(@Self)^.clr := $00000040;
  12410. end;
  12411. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  12412. begin
  12413. if thebits = 0 then
  12414. pTDefRegMap(@Self)^.clr := $00000040
  12415. else
  12416. pTDefRegMap(@Self)^.&set := $00000040;
  12417. end;
  12418. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  12419. begin
  12420. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12421. end;
  12422. procedure TICAP1_IC1CON.setICSIDL; inline;
  12423. begin
  12424. pTDefRegMap(@Self)^.&set := $00002000;
  12425. end;
  12426. procedure TICAP1_IC1CON.clearICSIDL; inline;
  12427. begin
  12428. pTDefRegMap(@Self)^.clr := $00002000;
  12429. end;
  12430. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  12431. begin
  12432. if thebits = 0 then
  12433. pTDefRegMap(@Self)^.clr := $00002000
  12434. else
  12435. pTDefRegMap(@Self)^.&set := $00002000;
  12436. end;
  12437. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  12438. begin
  12439. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12440. end;
  12441. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  12442. begin
  12443. pTDefRegMap(@Self)^.val := thebits;
  12444. end;
  12445. function TICAP1_IC1CON.getw : TBits_32; inline;
  12446. begin
  12447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12448. end;
  12449. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  12450. begin
  12451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12452. end;
  12453. function TICAP2_IC2CON.getICM : TBits_3; inline;
  12454. begin
  12455. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12456. end;
  12457. procedure TICAP2_IC2CON.setICBNE; inline;
  12458. begin
  12459. pTDefRegMap(@Self)^.&set := $00000008;
  12460. end;
  12461. procedure TICAP2_IC2CON.clearICBNE; inline;
  12462. begin
  12463. pTDefRegMap(@Self)^.clr := $00000008;
  12464. end;
  12465. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  12466. begin
  12467. if thebits = 0 then
  12468. pTDefRegMap(@Self)^.clr := $00000008
  12469. else
  12470. pTDefRegMap(@Self)^.&set := $00000008;
  12471. end;
  12472. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  12473. begin
  12474. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12475. end;
  12476. procedure TICAP2_IC2CON.setICOV; inline;
  12477. begin
  12478. pTDefRegMap(@Self)^.&set := $00000010;
  12479. end;
  12480. procedure TICAP2_IC2CON.clearICOV; inline;
  12481. begin
  12482. pTDefRegMap(@Self)^.clr := $00000010;
  12483. end;
  12484. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  12485. begin
  12486. if thebits = 0 then
  12487. pTDefRegMap(@Self)^.clr := $00000010
  12488. else
  12489. pTDefRegMap(@Self)^.&set := $00000010;
  12490. end;
  12491. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  12492. begin
  12493. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12494. end;
  12495. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  12496. begin
  12497. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12498. end;
  12499. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12500. begin
  12501. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12502. end;
  12503. procedure TICAP2_IC2CON.setICTMR; inline;
  12504. begin
  12505. pTDefRegMap(@Self)^.&set := $00000080;
  12506. end;
  12507. procedure TICAP2_IC2CON.clearICTMR; inline;
  12508. begin
  12509. pTDefRegMap(@Self)^.clr := $00000080;
  12510. end;
  12511. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12512. begin
  12513. if thebits = 0 then
  12514. pTDefRegMap(@Self)^.clr := $00000080
  12515. else
  12516. pTDefRegMap(@Self)^.&set := $00000080;
  12517. end;
  12518. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12519. begin
  12520. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12521. end;
  12522. procedure TICAP2_IC2CON.setC32; inline;
  12523. begin
  12524. pTDefRegMap(@Self)^.&set := $00000100;
  12525. end;
  12526. procedure TICAP2_IC2CON.clearC32; inline;
  12527. begin
  12528. pTDefRegMap(@Self)^.clr := $00000100;
  12529. end;
  12530. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12531. begin
  12532. if thebits = 0 then
  12533. pTDefRegMap(@Self)^.clr := $00000100
  12534. else
  12535. pTDefRegMap(@Self)^.&set := $00000100;
  12536. end;
  12537. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12538. begin
  12539. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12540. end;
  12541. procedure TICAP2_IC2CON.setFEDGE; inline;
  12542. begin
  12543. pTDefRegMap(@Self)^.&set := $00000200;
  12544. end;
  12545. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12546. begin
  12547. pTDefRegMap(@Self)^.clr := $00000200;
  12548. end;
  12549. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12550. begin
  12551. if thebits = 0 then
  12552. pTDefRegMap(@Self)^.clr := $00000200
  12553. else
  12554. pTDefRegMap(@Self)^.&set := $00000200;
  12555. end;
  12556. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12557. begin
  12558. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12559. end;
  12560. procedure TICAP2_IC2CON.setSIDL; inline;
  12561. begin
  12562. pTDefRegMap(@Self)^.&set := $00002000;
  12563. end;
  12564. procedure TICAP2_IC2CON.clearSIDL; inline;
  12565. begin
  12566. pTDefRegMap(@Self)^.clr := $00002000;
  12567. end;
  12568. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12569. begin
  12570. if thebits = 0 then
  12571. pTDefRegMap(@Self)^.clr := $00002000
  12572. else
  12573. pTDefRegMap(@Self)^.&set := $00002000;
  12574. end;
  12575. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12576. begin
  12577. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12578. end;
  12579. procedure TICAP2_IC2CON.setON; inline;
  12580. begin
  12581. pTDefRegMap(@Self)^.&set := $00008000;
  12582. end;
  12583. procedure TICAP2_IC2CON.clearON; inline;
  12584. begin
  12585. pTDefRegMap(@Self)^.clr := $00008000;
  12586. end;
  12587. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12588. begin
  12589. if thebits = 0 then
  12590. pTDefRegMap(@Self)^.clr := $00008000
  12591. else
  12592. pTDefRegMap(@Self)^.&set := $00008000;
  12593. end;
  12594. function TICAP2_IC2CON.getON : TBits_1; inline;
  12595. begin
  12596. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12597. end;
  12598. procedure TICAP2_IC2CON.setICM0; inline;
  12599. begin
  12600. pTDefRegMap(@Self)^.&set := $00000001;
  12601. end;
  12602. procedure TICAP2_IC2CON.clearICM0; inline;
  12603. begin
  12604. pTDefRegMap(@Self)^.clr := $00000001;
  12605. end;
  12606. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12607. begin
  12608. if thebits = 0 then
  12609. pTDefRegMap(@Self)^.clr := $00000001
  12610. else
  12611. pTDefRegMap(@Self)^.&set := $00000001;
  12612. end;
  12613. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12614. begin
  12615. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12616. end;
  12617. procedure TICAP2_IC2CON.setICM1; inline;
  12618. begin
  12619. pTDefRegMap(@Self)^.&set := $00000002;
  12620. end;
  12621. procedure TICAP2_IC2CON.clearICM1; inline;
  12622. begin
  12623. pTDefRegMap(@Self)^.clr := $00000002;
  12624. end;
  12625. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12626. begin
  12627. if thebits = 0 then
  12628. pTDefRegMap(@Self)^.clr := $00000002
  12629. else
  12630. pTDefRegMap(@Self)^.&set := $00000002;
  12631. end;
  12632. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12633. begin
  12634. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12635. end;
  12636. procedure TICAP2_IC2CON.setICM2; inline;
  12637. begin
  12638. pTDefRegMap(@Self)^.&set := $00000004;
  12639. end;
  12640. procedure TICAP2_IC2CON.clearICM2; inline;
  12641. begin
  12642. pTDefRegMap(@Self)^.clr := $00000004;
  12643. end;
  12644. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12645. begin
  12646. if thebits = 0 then
  12647. pTDefRegMap(@Self)^.clr := $00000004
  12648. else
  12649. pTDefRegMap(@Self)^.&set := $00000004;
  12650. end;
  12651. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12652. begin
  12653. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12654. end;
  12655. procedure TICAP2_IC2CON.setICI0; inline;
  12656. begin
  12657. pTDefRegMap(@Self)^.&set := $00000020;
  12658. end;
  12659. procedure TICAP2_IC2CON.clearICI0; inline;
  12660. begin
  12661. pTDefRegMap(@Self)^.clr := $00000020;
  12662. end;
  12663. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12664. begin
  12665. if thebits = 0 then
  12666. pTDefRegMap(@Self)^.clr := $00000020
  12667. else
  12668. pTDefRegMap(@Self)^.&set := $00000020;
  12669. end;
  12670. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12671. begin
  12672. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12673. end;
  12674. procedure TICAP2_IC2CON.setICI1; inline;
  12675. begin
  12676. pTDefRegMap(@Self)^.&set := $00000040;
  12677. end;
  12678. procedure TICAP2_IC2CON.clearICI1; inline;
  12679. begin
  12680. pTDefRegMap(@Self)^.clr := $00000040;
  12681. end;
  12682. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12683. begin
  12684. if thebits = 0 then
  12685. pTDefRegMap(@Self)^.clr := $00000040
  12686. else
  12687. pTDefRegMap(@Self)^.&set := $00000040;
  12688. end;
  12689. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12690. begin
  12691. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12692. end;
  12693. procedure TICAP2_IC2CON.setICSIDL; inline;
  12694. begin
  12695. pTDefRegMap(@Self)^.&set := $00002000;
  12696. end;
  12697. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12698. begin
  12699. pTDefRegMap(@Self)^.clr := $00002000;
  12700. end;
  12701. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12702. begin
  12703. if thebits = 0 then
  12704. pTDefRegMap(@Self)^.clr := $00002000
  12705. else
  12706. pTDefRegMap(@Self)^.&set := $00002000;
  12707. end;
  12708. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12709. begin
  12710. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12711. end;
  12712. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12713. begin
  12714. pTDefRegMap(@Self)^.val := thebits;
  12715. end;
  12716. function TICAP2_IC2CON.getw : TBits_32; inline;
  12717. begin
  12718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12719. end;
  12720. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12721. begin
  12722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12723. end;
  12724. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12725. begin
  12726. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12727. end;
  12728. procedure TICAP3_IC3CON.setICBNE; inline;
  12729. begin
  12730. pTDefRegMap(@Self)^.&set := $00000008;
  12731. end;
  12732. procedure TICAP3_IC3CON.clearICBNE; inline;
  12733. begin
  12734. pTDefRegMap(@Self)^.clr := $00000008;
  12735. end;
  12736. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12737. begin
  12738. if thebits = 0 then
  12739. pTDefRegMap(@Self)^.clr := $00000008
  12740. else
  12741. pTDefRegMap(@Self)^.&set := $00000008;
  12742. end;
  12743. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12744. begin
  12745. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12746. end;
  12747. procedure TICAP3_IC3CON.setICOV; inline;
  12748. begin
  12749. pTDefRegMap(@Self)^.&set := $00000010;
  12750. end;
  12751. procedure TICAP3_IC3CON.clearICOV; inline;
  12752. begin
  12753. pTDefRegMap(@Self)^.clr := $00000010;
  12754. end;
  12755. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12756. begin
  12757. if thebits = 0 then
  12758. pTDefRegMap(@Self)^.clr := $00000010
  12759. else
  12760. pTDefRegMap(@Self)^.&set := $00000010;
  12761. end;
  12762. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12763. begin
  12764. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12765. end;
  12766. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12767. begin
  12768. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12769. end;
  12770. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12771. begin
  12772. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12773. end;
  12774. procedure TICAP3_IC3CON.setICTMR; inline;
  12775. begin
  12776. pTDefRegMap(@Self)^.&set := $00000080;
  12777. end;
  12778. procedure TICAP3_IC3CON.clearICTMR; inline;
  12779. begin
  12780. pTDefRegMap(@Self)^.clr := $00000080;
  12781. end;
  12782. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12783. begin
  12784. if thebits = 0 then
  12785. pTDefRegMap(@Self)^.clr := $00000080
  12786. else
  12787. pTDefRegMap(@Self)^.&set := $00000080;
  12788. end;
  12789. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12790. begin
  12791. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12792. end;
  12793. procedure TICAP3_IC3CON.setC32; inline;
  12794. begin
  12795. pTDefRegMap(@Self)^.&set := $00000100;
  12796. end;
  12797. procedure TICAP3_IC3CON.clearC32; inline;
  12798. begin
  12799. pTDefRegMap(@Self)^.clr := $00000100;
  12800. end;
  12801. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12802. begin
  12803. if thebits = 0 then
  12804. pTDefRegMap(@Self)^.clr := $00000100
  12805. else
  12806. pTDefRegMap(@Self)^.&set := $00000100;
  12807. end;
  12808. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12809. begin
  12810. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12811. end;
  12812. procedure TICAP3_IC3CON.setFEDGE; inline;
  12813. begin
  12814. pTDefRegMap(@Self)^.&set := $00000200;
  12815. end;
  12816. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12817. begin
  12818. pTDefRegMap(@Self)^.clr := $00000200;
  12819. end;
  12820. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12821. begin
  12822. if thebits = 0 then
  12823. pTDefRegMap(@Self)^.clr := $00000200
  12824. else
  12825. pTDefRegMap(@Self)^.&set := $00000200;
  12826. end;
  12827. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12828. begin
  12829. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12830. end;
  12831. procedure TICAP3_IC3CON.setSIDL; inline;
  12832. begin
  12833. pTDefRegMap(@Self)^.&set := $00002000;
  12834. end;
  12835. procedure TICAP3_IC3CON.clearSIDL; inline;
  12836. begin
  12837. pTDefRegMap(@Self)^.clr := $00002000;
  12838. end;
  12839. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12840. begin
  12841. if thebits = 0 then
  12842. pTDefRegMap(@Self)^.clr := $00002000
  12843. else
  12844. pTDefRegMap(@Self)^.&set := $00002000;
  12845. end;
  12846. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12847. begin
  12848. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12849. end;
  12850. procedure TICAP3_IC3CON.setON; inline;
  12851. begin
  12852. pTDefRegMap(@Self)^.&set := $00008000;
  12853. end;
  12854. procedure TICAP3_IC3CON.clearON; inline;
  12855. begin
  12856. pTDefRegMap(@Self)^.clr := $00008000;
  12857. end;
  12858. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12859. begin
  12860. if thebits = 0 then
  12861. pTDefRegMap(@Self)^.clr := $00008000
  12862. else
  12863. pTDefRegMap(@Self)^.&set := $00008000;
  12864. end;
  12865. function TICAP3_IC3CON.getON : TBits_1; inline;
  12866. begin
  12867. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12868. end;
  12869. procedure TICAP3_IC3CON.setICM0; inline;
  12870. begin
  12871. pTDefRegMap(@Self)^.&set := $00000001;
  12872. end;
  12873. procedure TICAP3_IC3CON.clearICM0; inline;
  12874. begin
  12875. pTDefRegMap(@Self)^.clr := $00000001;
  12876. end;
  12877. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12878. begin
  12879. if thebits = 0 then
  12880. pTDefRegMap(@Self)^.clr := $00000001
  12881. else
  12882. pTDefRegMap(@Self)^.&set := $00000001;
  12883. end;
  12884. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12885. begin
  12886. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12887. end;
  12888. procedure TICAP3_IC3CON.setICM1; inline;
  12889. begin
  12890. pTDefRegMap(@Self)^.&set := $00000002;
  12891. end;
  12892. procedure TICAP3_IC3CON.clearICM1; inline;
  12893. begin
  12894. pTDefRegMap(@Self)^.clr := $00000002;
  12895. end;
  12896. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12897. begin
  12898. if thebits = 0 then
  12899. pTDefRegMap(@Self)^.clr := $00000002
  12900. else
  12901. pTDefRegMap(@Self)^.&set := $00000002;
  12902. end;
  12903. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12904. begin
  12905. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12906. end;
  12907. procedure TICAP3_IC3CON.setICM2; inline;
  12908. begin
  12909. pTDefRegMap(@Self)^.&set := $00000004;
  12910. end;
  12911. procedure TICAP3_IC3CON.clearICM2; inline;
  12912. begin
  12913. pTDefRegMap(@Self)^.clr := $00000004;
  12914. end;
  12915. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12916. begin
  12917. if thebits = 0 then
  12918. pTDefRegMap(@Self)^.clr := $00000004
  12919. else
  12920. pTDefRegMap(@Self)^.&set := $00000004;
  12921. end;
  12922. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12923. begin
  12924. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12925. end;
  12926. procedure TICAP3_IC3CON.setICI0; inline;
  12927. begin
  12928. pTDefRegMap(@Self)^.&set := $00000020;
  12929. end;
  12930. procedure TICAP3_IC3CON.clearICI0; inline;
  12931. begin
  12932. pTDefRegMap(@Self)^.clr := $00000020;
  12933. end;
  12934. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12935. begin
  12936. if thebits = 0 then
  12937. pTDefRegMap(@Self)^.clr := $00000020
  12938. else
  12939. pTDefRegMap(@Self)^.&set := $00000020;
  12940. end;
  12941. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12942. begin
  12943. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12944. end;
  12945. procedure TICAP3_IC3CON.setICI1; inline;
  12946. begin
  12947. pTDefRegMap(@Self)^.&set := $00000040;
  12948. end;
  12949. procedure TICAP3_IC3CON.clearICI1; inline;
  12950. begin
  12951. pTDefRegMap(@Self)^.clr := $00000040;
  12952. end;
  12953. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12954. begin
  12955. if thebits = 0 then
  12956. pTDefRegMap(@Self)^.clr := $00000040
  12957. else
  12958. pTDefRegMap(@Self)^.&set := $00000040;
  12959. end;
  12960. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12961. begin
  12962. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12963. end;
  12964. procedure TICAP3_IC3CON.setICSIDL; inline;
  12965. begin
  12966. pTDefRegMap(@Self)^.&set := $00002000;
  12967. end;
  12968. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12969. begin
  12970. pTDefRegMap(@Self)^.clr := $00002000;
  12971. end;
  12972. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12973. begin
  12974. if thebits = 0 then
  12975. pTDefRegMap(@Self)^.clr := $00002000
  12976. else
  12977. pTDefRegMap(@Self)^.&set := $00002000;
  12978. end;
  12979. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12980. begin
  12981. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12982. end;
  12983. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12984. begin
  12985. pTDefRegMap(@Self)^.val := thebits;
  12986. end;
  12987. function TICAP3_IC3CON.getw : TBits_32; inline;
  12988. begin
  12989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12990. end;
  12991. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12992. begin
  12993. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12994. end;
  12995. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12996. begin
  12997. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12998. end;
  12999. procedure TICAP4_IC4CON.setICBNE; inline;
  13000. begin
  13001. pTDefRegMap(@Self)^.&set := $00000008;
  13002. end;
  13003. procedure TICAP4_IC4CON.clearICBNE; inline;
  13004. begin
  13005. pTDefRegMap(@Self)^.clr := $00000008;
  13006. end;
  13007. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  13008. begin
  13009. if thebits = 0 then
  13010. pTDefRegMap(@Self)^.clr := $00000008
  13011. else
  13012. pTDefRegMap(@Self)^.&set := $00000008;
  13013. end;
  13014. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  13015. begin
  13016. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13017. end;
  13018. procedure TICAP4_IC4CON.setICOV; inline;
  13019. begin
  13020. pTDefRegMap(@Self)^.&set := $00000010;
  13021. end;
  13022. procedure TICAP4_IC4CON.clearICOV; inline;
  13023. begin
  13024. pTDefRegMap(@Self)^.clr := $00000010;
  13025. end;
  13026. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  13027. begin
  13028. if thebits = 0 then
  13029. pTDefRegMap(@Self)^.clr := $00000010
  13030. else
  13031. pTDefRegMap(@Self)^.&set := $00000010;
  13032. end;
  13033. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  13034. begin
  13035. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13036. end;
  13037. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  13038. begin
  13039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13040. end;
  13041. function TICAP4_IC4CON.getICI : TBits_2; inline;
  13042. begin
  13043. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13044. end;
  13045. procedure TICAP4_IC4CON.setICTMR; inline;
  13046. begin
  13047. pTDefRegMap(@Self)^.&set := $00000080;
  13048. end;
  13049. procedure TICAP4_IC4CON.clearICTMR; inline;
  13050. begin
  13051. pTDefRegMap(@Self)^.clr := $00000080;
  13052. end;
  13053. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  13054. begin
  13055. if thebits = 0 then
  13056. pTDefRegMap(@Self)^.clr := $00000080
  13057. else
  13058. pTDefRegMap(@Self)^.&set := $00000080;
  13059. end;
  13060. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  13061. begin
  13062. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13063. end;
  13064. procedure TICAP4_IC4CON.setC32; inline;
  13065. begin
  13066. pTDefRegMap(@Self)^.&set := $00000100;
  13067. end;
  13068. procedure TICAP4_IC4CON.clearC32; inline;
  13069. begin
  13070. pTDefRegMap(@Self)^.clr := $00000100;
  13071. end;
  13072. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  13073. begin
  13074. if thebits = 0 then
  13075. pTDefRegMap(@Self)^.clr := $00000100
  13076. else
  13077. pTDefRegMap(@Self)^.&set := $00000100;
  13078. end;
  13079. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  13080. begin
  13081. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13082. end;
  13083. procedure TICAP4_IC4CON.setFEDGE; inline;
  13084. begin
  13085. pTDefRegMap(@Self)^.&set := $00000200;
  13086. end;
  13087. procedure TICAP4_IC4CON.clearFEDGE; inline;
  13088. begin
  13089. pTDefRegMap(@Self)^.clr := $00000200;
  13090. end;
  13091. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  13092. begin
  13093. if thebits = 0 then
  13094. pTDefRegMap(@Self)^.clr := $00000200
  13095. else
  13096. pTDefRegMap(@Self)^.&set := $00000200;
  13097. end;
  13098. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  13099. begin
  13100. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13101. end;
  13102. procedure TICAP4_IC4CON.setSIDL; inline;
  13103. begin
  13104. pTDefRegMap(@Self)^.&set := $00002000;
  13105. end;
  13106. procedure TICAP4_IC4CON.clearSIDL; inline;
  13107. begin
  13108. pTDefRegMap(@Self)^.clr := $00002000;
  13109. end;
  13110. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  13111. begin
  13112. if thebits = 0 then
  13113. pTDefRegMap(@Self)^.clr := $00002000
  13114. else
  13115. pTDefRegMap(@Self)^.&set := $00002000;
  13116. end;
  13117. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  13118. begin
  13119. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13120. end;
  13121. procedure TICAP4_IC4CON.setON; inline;
  13122. begin
  13123. pTDefRegMap(@Self)^.&set := $00008000;
  13124. end;
  13125. procedure TICAP4_IC4CON.clearON; inline;
  13126. begin
  13127. pTDefRegMap(@Self)^.clr := $00008000;
  13128. end;
  13129. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  13130. begin
  13131. if thebits = 0 then
  13132. pTDefRegMap(@Self)^.clr := $00008000
  13133. else
  13134. pTDefRegMap(@Self)^.&set := $00008000;
  13135. end;
  13136. function TICAP4_IC4CON.getON : TBits_1; inline;
  13137. begin
  13138. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13139. end;
  13140. procedure TICAP4_IC4CON.setICM0; inline;
  13141. begin
  13142. pTDefRegMap(@Self)^.&set := $00000001;
  13143. end;
  13144. procedure TICAP4_IC4CON.clearICM0; inline;
  13145. begin
  13146. pTDefRegMap(@Self)^.clr := $00000001;
  13147. end;
  13148. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  13149. begin
  13150. if thebits = 0 then
  13151. pTDefRegMap(@Self)^.clr := $00000001
  13152. else
  13153. pTDefRegMap(@Self)^.&set := $00000001;
  13154. end;
  13155. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  13156. begin
  13157. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13158. end;
  13159. procedure TICAP4_IC4CON.setICM1; inline;
  13160. begin
  13161. pTDefRegMap(@Self)^.&set := $00000002;
  13162. end;
  13163. procedure TICAP4_IC4CON.clearICM1; inline;
  13164. begin
  13165. pTDefRegMap(@Self)^.clr := $00000002;
  13166. end;
  13167. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  13168. begin
  13169. if thebits = 0 then
  13170. pTDefRegMap(@Self)^.clr := $00000002
  13171. else
  13172. pTDefRegMap(@Self)^.&set := $00000002;
  13173. end;
  13174. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  13175. begin
  13176. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13177. end;
  13178. procedure TICAP4_IC4CON.setICM2; inline;
  13179. begin
  13180. pTDefRegMap(@Self)^.&set := $00000004;
  13181. end;
  13182. procedure TICAP4_IC4CON.clearICM2; inline;
  13183. begin
  13184. pTDefRegMap(@Self)^.clr := $00000004;
  13185. end;
  13186. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  13187. begin
  13188. if thebits = 0 then
  13189. pTDefRegMap(@Self)^.clr := $00000004
  13190. else
  13191. pTDefRegMap(@Self)^.&set := $00000004;
  13192. end;
  13193. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  13194. begin
  13195. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13196. end;
  13197. procedure TICAP4_IC4CON.setICI0; inline;
  13198. begin
  13199. pTDefRegMap(@Self)^.&set := $00000020;
  13200. end;
  13201. procedure TICAP4_IC4CON.clearICI0; inline;
  13202. begin
  13203. pTDefRegMap(@Self)^.clr := $00000020;
  13204. end;
  13205. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  13206. begin
  13207. if thebits = 0 then
  13208. pTDefRegMap(@Self)^.clr := $00000020
  13209. else
  13210. pTDefRegMap(@Self)^.&set := $00000020;
  13211. end;
  13212. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  13213. begin
  13214. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13215. end;
  13216. procedure TICAP4_IC4CON.setICI1; inline;
  13217. begin
  13218. pTDefRegMap(@Self)^.&set := $00000040;
  13219. end;
  13220. procedure TICAP4_IC4CON.clearICI1; inline;
  13221. begin
  13222. pTDefRegMap(@Self)^.clr := $00000040;
  13223. end;
  13224. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  13225. begin
  13226. if thebits = 0 then
  13227. pTDefRegMap(@Self)^.clr := $00000040
  13228. else
  13229. pTDefRegMap(@Self)^.&set := $00000040;
  13230. end;
  13231. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  13232. begin
  13233. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13234. end;
  13235. procedure TICAP4_IC4CON.setICSIDL; inline;
  13236. begin
  13237. pTDefRegMap(@Self)^.&set := $00002000;
  13238. end;
  13239. procedure TICAP4_IC4CON.clearICSIDL; inline;
  13240. begin
  13241. pTDefRegMap(@Self)^.clr := $00002000;
  13242. end;
  13243. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  13244. begin
  13245. if thebits = 0 then
  13246. pTDefRegMap(@Self)^.clr := $00002000
  13247. else
  13248. pTDefRegMap(@Self)^.&set := $00002000;
  13249. end;
  13250. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  13251. begin
  13252. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13253. end;
  13254. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  13255. begin
  13256. pTDefRegMap(@Self)^.val := thebits;
  13257. end;
  13258. function TICAP4_IC4CON.getw : TBits_32; inline;
  13259. begin
  13260. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13261. end;
  13262. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  13263. begin
  13264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13265. end;
  13266. function TICAP5_IC5CON.getICM : TBits_3; inline;
  13267. begin
  13268. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13269. end;
  13270. procedure TICAP5_IC5CON.setICBNE; inline;
  13271. begin
  13272. pTDefRegMap(@Self)^.&set := $00000008;
  13273. end;
  13274. procedure TICAP5_IC5CON.clearICBNE; inline;
  13275. begin
  13276. pTDefRegMap(@Self)^.clr := $00000008;
  13277. end;
  13278. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  13279. begin
  13280. if thebits = 0 then
  13281. pTDefRegMap(@Self)^.clr := $00000008
  13282. else
  13283. pTDefRegMap(@Self)^.&set := $00000008;
  13284. end;
  13285. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  13286. begin
  13287. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13288. end;
  13289. procedure TICAP5_IC5CON.setICOV; inline;
  13290. begin
  13291. pTDefRegMap(@Self)^.&set := $00000010;
  13292. end;
  13293. procedure TICAP5_IC5CON.clearICOV; inline;
  13294. begin
  13295. pTDefRegMap(@Self)^.clr := $00000010;
  13296. end;
  13297. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  13298. begin
  13299. if thebits = 0 then
  13300. pTDefRegMap(@Self)^.clr := $00000010
  13301. else
  13302. pTDefRegMap(@Self)^.&set := $00000010;
  13303. end;
  13304. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  13305. begin
  13306. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13307. end;
  13308. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  13309. begin
  13310. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13311. end;
  13312. function TICAP5_IC5CON.getICI : TBits_2; inline;
  13313. begin
  13314. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13315. end;
  13316. procedure TICAP5_IC5CON.setICTMR; inline;
  13317. begin
  13318. pTDefRegMap(@Self)^.&set := $00000080;
  13319. end;
  13320. procedure TICAP5_IC5CON.clearICTMR; inline;
  13321. begin
  13322. pTDefRegMap(@Self)^.clr := $00000080;
  13323. end;
  13324. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  13325. begin
  13326. if thebits = 0 then
  13327. pTDefRegMap(@Self)^.clr := $00000080
  13328. else
  13329. pTDefRegMap(@Self)^.&set := $00000080;
  13330. end;
  13331. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  13332. begin
  13333. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13334. end;
  13335. procedure TICAP5_IC5CON.setC32; inline;
  13336. begin
  13337. pTDefRegMap(@Self)^.&set := $00000100;
  13338. end;
  13339. procedure TICAP5_IC5CON.clearC32; inline;
  13340. begin
  13341. pTDefRegMap(@Self)^.clr := $00000100;
  13342. end;
  13343. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  13344. begin
  13345. if thebits = 0 then
  13346. pTDefRegMap(@Self)^.clr := $00000100
  13347. else
  13348. pTDefRegMap(@Self)^.&set := $00000100;
  13349. end;
  13350. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  13351. begin
  13352. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13353. end;
  13354. procedure TICAP5_IC5CON.setFEDGE; inline;
  13355. begin
  13356. pTDefRegMap(@Self)^.&set := $00000200;
  13357. end;
  13358. procedure TICAP5_IC5CON.clearFEDGE; inline;
  13359. begin
  13360. pTDefRegMap(@Self)^.clr := $00000200;
  13361. end;
  13362. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  13363. begin
  13364. if thebits = 0 then
  13365. pTDefRegMap(@Self)^.clr := $00000200
  13366. else
  13367. pTDefRegMap(@Self)^.&set := $00000200;
  13368. end;
  13369. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  13370. begin
  13371. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13372. end;
  13373. procedure TICAP5_IC5CON.setSIDL; inline;
  13374. begin
  13375. pTDefRegMap(@Self)^.&set := $00002000;
  13376. end;
  13377. procedure TICAP5_IC5CON.clearSIDL; inline;
  13378. begin
  13379. pTDefRegMap(@Self)^.clr := $00002000;
  13380. end;
  13381. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  13382. begin
  13383. if thebits = 0 then
  13384. pTDefRegMap(@Self)^.clr := $00002000
  13385. else
  13386. pTDefRegMap(@Self)^.&set := $00002000;
  13387. end;
  13388. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  13389. begin
  13390. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13391. end;
  13392. procedure TICAP5_IC5CON.setON; inline;
  13393. begin
  13394. pTDefRegMap(@Self)^.&set := $00008000;
  13395. end;
  13396. procedure TICAP5_IC5CON.clearON; inline;
  13397. begin
  13398. pTDefRegMap(@Self)^.clr := $00008000;
  13399. end;
  13400. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  13401. begin
  13402. if thebits = 0 then
  13403. pTDefRegMap(@Self)^.clr := $00008000
  13404. else
  13405. pTDefRegMap(@Self)^.&set := $00008000;
  13406. end;
  13407. function TICAP5_IC5CON.getON : TBits_1; inline;
  13408. begin
  13409. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13410. end;
  13411. procedure TICAP5_IC5CON.setICM0; inline;
  13412. begin
  13413. pTDefRegMap(@Self)^.&set := $00000001;
  13414. end;
  13415. procedure TICAP5_IC5CON.clearICM0; inline;
  13416. begin
  13417. pTDefRegMap(@Self)^.clr := $00000001;
  13418. end;
  13419. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  13420. begin
  13421. if thebits = 0 then
  13422. pTDefRegMap(@Self)^.clr := $00000001
  13423. else
  13424. pTDefRegMap(@Self)^.&set := $00000001;
  13425. end;
  13426. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  13427. begin
  13428. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13429. end;
  13430. procedure TICAP5_IC5CON.setICM1; inline;
  13431. begin
  13432. pTDefRegMap(@Self)^.&set := $00000002;
  13433. end;
  13434. procedure TICAP5_IC5CON.clearICM1; inline;
  13435. begin
  13436. pTDefRegMap(@Self)^.clr := $00000002;
  13437. end;
  13438. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  13439. begin
  13440. if thebits = 0 then
  13441. pTDefRegMap(@Self)^.clr := $00000002
  13442. else
  13443. pTDefRegMap(@Self)^.&set := $00000002;
  13444. end;
  13445. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  13446. begin
  13447. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13448. end;
  13449. procedure TICAP5_IC5CON.setICM2; inline;
  13450. begin
  13451. pTDefRegMap(@Self)^.&set := $00000004;
  13452. end;
  13453. procedure TICAP5_IC5CON.clearICM2; inline;
  13454. begin
  13455. pTDefRegMap(@Self)^.clr := $00000004;
  13456. end;
  13457. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  13458. begin
  13459. if thebits = 0 then
  13460. pTDefRegMap(@Self)^.clr := $00000004
  13461. else
  13462. pTDefRegMap(@Self)^.&set := $00000004;
  13463. end;
  13464. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  13465. begin
  13466. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13467. end;
  13468. procedure TICAP5_IC5CON.setICI0; inline;
  13469. begin
  13470. pTDefRegMap(@Self)^.&set := $00000020;
  13471. end;
  13472. procedure TICAP5_IC5CON.clearICI0; inline;
  13473. begin
  13474. pTDefRegMap(@Self)^.clr := $00000020;
  13475. end;
  13476. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  13477. begin
  13478. if thebits = 0 then
  13479. pTDefRegMap(@Self)^.clr := $00000020
  13480. else
  13481. pTDefRegMap(@Self)^.&set := $00000020;
  13482. end;
  13483. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  13484. begin
  13485. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13486. end;
  13487. procedure TICAP5_IC5CON.setICI1; inline;
  13488. begin
  13489. pTDefRegMap(@Self)^.&set := $00000040;
  13490. end;
  13491. procedure TICAP5_IC5CON.clearICI1; inline;
  13492. begin
  13493. pTDefRegMap(@Self)^.clr := $00000040;
  13494. end;
  13495. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  13496. begin
  13497. if thebits = 0 then
  13498. pTDefRegMap(@Self)^.clr := $00000040
  13499. else
  13500. pTDefRegMap(@Self)^.&set := $00000040;
  13501. end;
  13502. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13503. begin
  13504. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13505. end;
  13506. procedure TICAP5_IC5CON.setICSIDL; inline;
  13507. begin
  13508. pTDefRegMap(@Self)^.&set := $00002000;
  13509. end;
  13510. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13511. begin
  13512. pTDefRegMap(@Self)^.clr := $00002000;
  13513. end;
  13514. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13515. begin
  13516. if thebits = 0 then
  13517. pTDefRegMap(@Self)^.clr := $00002000
  13518. else
  13519. pTDefRegMap(@Self)^.&set := $00002000;
  13520. end;
  13521. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13522. begin
  13523. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13524. end;
  13525. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13526. begin
  13527. pTDefRegMap(@Self)^.val := thebits;
  13528. end;
  13529. function TICAP5_IC5CON.getw : TBits_32; inline;
  13530. begin
  13531. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13532. end;
  13533. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13534. begin
  13535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13536. end;
  13537. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13538. begin
  13539. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13540. end;
  13541. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13542. begin
  13543. pTDefRegMap(@Self)^.&set := $00000008;
  13544. end;
  13545. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13546. begin
  13547. pTDefRegMap(@Self)^.clr := $00000008;
  13548. end;
  13549. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13550. begin
  13551. if thebits = 0 then
  13552. pTDefRegMap(@Self)^.clr := $00000008
  13553. else
  13554. pTDefRegMap(@Self)^.&set := $00000008;
  13555. end;
  13556. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13557. begin
  13558. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13559. end;
  13560. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13561. begin
  13562. pTDefRegMap(@Self)^.&set := $00000010;
  13563. end;
  13564. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13565. begin
  13566. pTDefRegMap(@Self)^.clr := $00000010;
  13567. end;
  13568. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13569. begin
  13570. if thebits = 0 then
  13571. pTDefRegMap(@Self)^.clr := $00000010
  13572. else
  13573. pTDefRegMap(@Self)^.&set := $00000010;
  13574. end;
  13575. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13576. begin
  13577. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13578. end;
  13579. procedure TOCMP1_OC1CON.setOC32; inline;
  13580. begin
  13581. pTDefRegMap(@Self)^.&set := $00000020;
  13582. end;
  13583. procedure TOCMP1_OC1CON.clearOC32; inline;
  13584. begin
  13585. pTDefRegMap(@Self)^.clr := $00000020;
  13586. end;
  13587. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13588. begin
  13589. if thebits = 0 then
  13590. pTDefRegMap(@Self)^.clr := $00000020
  13591. else
  13592. pTDefRegMap(@Self)^.&set := $00000020;
  13593. end;
  13594. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13595. begin
  13596. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13597. end;
  13598. procedure TOCMP1_OC1CON.setSIDL; inline;
  13599. begin
  13600. pTDefRegMap(@Self)^.&set := $00002000;
  13601. end;
  13602. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13603. begin
  13604. pTDefRegMap(@Self)^.clr := $00002000;
  13605. end;
  13606. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13607. begin
  13608. if thebits = 0 then
  13609. pTDefRegMap(@Self)^.clr := $00002000
  13610. else
  13611. pTDefRegMap(@Self)^.&set := $00002000;
  13612. end;
  13613. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13614. begin
  13615. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13616. end;
  13617. procedure TOCMP1_OC1CON.setON; inline;
  13618. begin
  13619. pTDefRegMap(@Self)^.&set := $00008000;
  13620. end;
  13621. procedure TOCMP1_OC1CON.clearON; inline;
  13622. begin
  13623. pTDefRegMap(@Self)^.clr := $00008000;
  13624. end;
  13625. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13626. begin
  13627. if thebits = 0 then
  13628. pTDefRegMap(@Self)^.clr := $00008000
  13629. else
  13630. pTDefRegMap(@Self)^.&set := $00008000;
  13631. end;
  13632. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13633. begin
  13634. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13635. end;
  13636. procedure TOCMP1_OC1CON.setOCM0; inline;
  13637. begin
  13638. pTDefRegMap(@Self)^.&set := $00000001;
  13639. end;
  13640. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13641. begin
  13642. pTDefRegMap(@Self)^.clr := $00000001;
  13643. end;
  13644. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13645. begin
  13646. if thebits = 0 then
  13647. pTDefRegMap(@Self)^.clr := $00000001
  13648. else
  13649. pTDefRegMap(@Self)^.&set := $00000001;
  13650. end;
  13651. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13652. begin
  13653. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13654. end;
  13655. procedure TOCMP1_OC1CON.setOCM1; inline;
  13656. begin
  13657. pTDefRegMap(@Self)^.&set := $00000002;
  13658. end;
  13659. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13660. begin
  13661. pTDefRegMap(@Self)^.clr := $00000002;
  13662. end;
  13663. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13664. begin
  13665. if thebits = 0 then
  13666. pTDefRegMap(@Self)^.clr := $00000002
  13667. else
  13668. pTDefRegMap(@Self)^.&set := $00000002;
  13669. end;
  13670. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13671. begin
  13672. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13673. end;
  13674. procedure TOCMP1_OC1CON.setOCM2; inline;
  13675. begin
  13676. pTDefRegMap(@Self)^.&set := $00000004;
  13677. end;
  13678. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13679. begin
  13680. pTDefRegMap(@Self)^.clr := $00000004;
  13681. end;
  13682. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13683. begin
  13684. if thebits = 0 then
  13685. pTDefRegMap(@Self)^.clr := $00000004
  13686. else
  13687. pTDefRegMap(@Self)^.&set := $00000004;
  13688. end;
  13689. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13690. begin
  13691. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13692. end;
  13693. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13694. begin
  13695. pTDefRegMap(@Self)^.&set := $00002000;
  13696. end;
  13697. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13698. begin
  13699. pTDefRegMap(@Self)^.clr := $00002000;
  13700. end;
  13701. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13702. begin
  13703. if thebits = 0 then
  13704. pTDefRegMap(@Self)^.clr := $00002000
  13705. else
  13706. pTDefRegMap(@Self)^.&set := $00002000;
  13707. end;
  13708. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13709. begin
  13710. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13711. end;
  13712. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13713. begin
  13714. pTDefRegMap(@Self)^.val := thebits;
  13715. end;
  13716. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13717. begin
  13718. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13719. end;
  13720. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13721. begin
  13722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13723. end;
  13724. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13725. begin
  13726. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13727. end;
  13728. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13729. begin
  13730. pTDefRegMap(@Self)^.&set := $00000008;
  13731. end;
  13732. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13733. begin
  13734. pTDefRegMap(@Self)^.clr := $00000008;
  13735. end;
  13736. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13737. begin
  13738. if thebits = 0 then
  13739. pTDefRegMap(@Self)^.clr := $00000008
  13740. else
  13741. pTDefRegMap(@Self)^.&set := $00000008;
  13742. end;
  13743. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13744. begin
  13745. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13746. end;
  13747. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13748. begin
  13749. pTDefRegMap(@Self)^.&set := $00000010;
  13750. end;
  13751. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13752. begin
  13753. pTDefRegMap(@Self)^.clr := $00000010;
  13754. end;
  13755. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13756. begin
  13757. if thebits = 0 then
  13758. pTDefRegMap(@Self)^.clr := $00000010
  13759. else
  13760. pTDefRegMap(@Self)^.&set := $00000010;
  13761. end;
  13762. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13763. begin
  13764. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13765. end;
  13766. procedure TOCMP2_OC2CON.setOC32; inline;
  13767. begin
  13768. pTDefRegMap(@Self)^.&set := $00000020;
  13769. end;
  13770. procedure TOCMP2_OC2CON.clearOC32; inline;
  13771. begin
  13772. pTDefRegMap(@Self)^.clr := $00000020;
  13773. end;
  13774. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13775. begin
  13776. if thebits = 0 then
  13777. pTDefRegMap(@Self)^.clr := $00000020
  13778. else
  13779. pTDefRegMap(@Self)^.&set := $00000020;
  13780. end;
  13781. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13782. begin
  13783. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13784. end;
  13785. procedure TOCMP2_OC2CON.setSIDL; inline;
  13786. begin
  13787. pTDefRegMap(@Self)^.&set := $00002000;
  13788. end;
  13789. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13790. begin
  13791. pTDefRegMap(@Self)^.clr := $00002000;
  13792. end;
  13793. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13794. begin
  13795. if thebits = 0 then
  13796. pTDefRegMap(@Self)^.clr := $00002000
  13797. else
  13798. pTDefRegMap(@Self)^.&set := $00002000;
  13799. end;
  13800. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13801. begin
  13802. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13803. end;
  13804. procedure TOCMP2_OC2CON.setON; inline;
  13805. begin
  13806. pTDefRegMap(@Self)^.&set := $00008000;
  13807. end;
  13808. procedure TOCMP2_OC2CON.clearON; inline;
  13809. begin
  13810. pTDefRegMap(@Self)^.clr := $00008000;
  13811. end;
  13812. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13813. begin
  13814. if thebits = 0 then
  13815. pTDefRegMap(@Self)^.clr := $00008000
  13816. else
  13817. pTDefRegMap(@Self)^.&set := $00008000;
  13818. end;
  13819. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13820. begin
  13821. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13822. end;
  13823. procedure TOCMP2_OC2CON.setOCM0; inline;
  13824. begin
  13825. pTDefRegMap(@Self)^.&set := $00000001;
  13826. end;
  13827. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13828. begin
  13829. pTDefRegMap(@Self)^.clr := $00000001;
  13830. end;
  13831. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13832. begin
  13833. if thebits = 0 then
  13834. pTDefRegMap(@Self)^.clr := $00000001
  13835. else
  13836. pTDefRegMap(@Self)^.&set := $00000001;
  13837. end;
  13838. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13839. begin
  13840. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13841. end;
  13842. procedure TOCMP2_OC2CON.setOCM1; inline;
  13843. begin
  13844. pTDefRegMap(@Self)^.&set := $00000002;
  13845. end;
  13846. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13847. begin
  13848. pTDefRegMap(@Self)^.clr := $00000002;
  13849. end;
  13850. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13851. begin
  13852. if thebits = 0 then
  13853. pTDefRegMap(@Self)^.clr := $00000002
  13854. else
  13855. pTDefRegMap(@Self)^.&set := $00000002;
  13856. end;
  13857. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13858. begin
  13859. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13860. end;
  13861. procedure TOCMP2_OC2CON.setOCM2; inline;
  13862. begin
  13863. pTDefRegMap(@Self)^.&set := $00000004;
  13864. end;
  13865. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13866. begin
  13867. pTDefRegMap(@Self)^.clr := $00000004;
  13868. end;
  13869. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13870. begin
  13871. if thebits = 0 then
  13872. pTDefRegMap(@Self)^.clr := $00000004
  13873. else
  13874. pTDefRegMap(@Self)^.&set := $00000004;
  13875. end;
  13876. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13877. begin
  13878. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13879. end;
  13880. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13881. begin
  13882. pTDefRegMap(@Self)^.&set := $00002000;
  13883. end;
  13884. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13885. begin
  13886. pTDefRegMap(@Self)^.clr := $00002000;
  13887. end;
  13888. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13889. begin
  13890. if thebits = 0 then
  13891. pTDefRegMap(@Self)^.clr := $00002000
  13892. else
  13893. pTDefRegMap(@Self)^.&set := $00002000;
  13894. end;
  13895. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13896. begin
  13897. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13898. end;
  13899. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13900. begin
  13901. pTDefRegMap(@Self)^.val := thebits;
  13902. end;
  13903. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13904. begin
  13905. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13906. end;
  13907. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13908. begin
  13909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13910. end;
  13911. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13912. begin
  13913. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13914. end;
  13915. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13916. begin
  13917. pTDefRegMap(@Self)^.&set := $00000008;
  13918. end;
  13919. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13920. begin
  13921. pTDefRegMap(@Self)^.clr := $00000008;
  13922. end;
  13923. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13924. begin
  13925. if thebits = 0 then
  13926. pTDefRegMap(@Self)^.clr := $00000008
  13927. else
  13928. pTDefRegMap(@Self)^.&set := $00000008;
  13929. end;
  13930. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13931. begin
  13932. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13933. end;
  13934. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13935. begin
  13936. pTDefRegMap(@Self)^.&set := $00000010;
  13937. end;
  13938. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13939. begin
  13940. pTDefRegMap(@Self)^.clr := $00000010;
  13941. end;
  13942. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13943. begin
  13944. if thebits = 0 then
  13945. pTDefRegMap(@Self)^.clr := $00000010
  13946. else
  13947. pTDefRegMap(@Self)^.&set := $00000010;
  13948. end;
  13949. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13950. begin
  13951. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13952. end;
  13953. procedure TOCMP3_OC3CON.setOC32; inline;
  13954. begin
  13955. pTDefRegMap(@Self)^.&set := $00000020;
  13956. end;
  13957. procedure TOCMP3_OC3CON.clearOC32; inline;
  13958. begin
  13959. pTDefRegMap(@Self)^.clr := $00000020;
  13960. end;
  13961. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13962. begin
  13963. if thebits = 0 then
  13964. pTDefRegMap(@Self)^.clr := $00000020
  13965. else
  13966. pTDefRegMap(@Self)^.&set := $00000020;
  13967. end;
  13968. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13969. begin
  13970. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13971. end;
  13972. procedure TOCMP3_OC3CON.setSIDL; inline;
  13973. begin
  13974. pTDefRegMap(@Self)^.&set := $00002000;
  13975. end;
  13976. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13977. begin
  13978. pTDefRegMap(@Self)^.clr := $00002000;
  13979. end;
  13980. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13981. begin
  13982. if thebits = 0 then
  13983. pTDefRegMap(@Self)^.clr := $00002000
  13984. else
  13985. pTDefRegMap(@Self)^.&set := $00002000;
  13986. end;
  13987. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13988. begin
  13989. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13990. end;
  13991. procedure TOCMP3_OC3CON.setON; inline;
  13992. begin
  13993. pTDefRegMap(@Self)^.&set := $00008000;
  13994. end;
  13995. procedure TOCMP3_OC3CON.clearON; inline;
  13996. begin
  13997. pTDefRegMap(@Self)^.clr := $00008000;
  13998. end;
  13999. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  14000. begin
  14001. if thebits = 0 then
  14002. pTDefRegMap(@Self)^.clr := $00008000
  14003. else
  14004. pTDefRegMap(@Self)^.&set := $00008000;
  14005. end;
  14006. function TOCMP3_OC3CON.getON : TBits_1; inline;
  14007. begin
  14008. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14009. end;
  14010. procedure TOCMP3_OC3CON.setOCM0; inline;
  14011. begin
  14012. pTDefRegMap(@Self)^.&set := $00000001;
  14013. end;
  14014. procedure TOCMP3_OC3CON.clearOCM0; inline;
  14015. begin
  14016. pTDefRegMap(@Self)^.clr := $00000001;
  14017. end;
  14018. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  14019. begin
  14020. if thebits = 0 then
  14021. pTDefRegMap(@Self)^.clr := $00000001
  14022. else
  14023. pTDefRegMap(@Self)^.&set := $00000001;
  14024. end;
  14025. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  14026. begin
  14027. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14028. end;
  14029. procedure TOCMP3_OC3CON.setOCM1; inline;
  14030. begin
  14031. pTDefRegMap(@Self)^.&set := $00000002;
  14032. end;
  14033. procedure TOCMP3_OC3CON.clearOCM1; inline;
  14034. begin
  14035. pTDefRegMap(@Self)^.clr := $00000002;
  14036. end;
  14037. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  14038. begin
  14039. if thebits = 0 then
  14040. pTDefRegMap(@Self)^.clr := $00000002
  14041. else
  14042. pTDefRegMap(@Self)^.&set := $00000002;
  14043. end;
  14044. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  14045. begin
  14046. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14047. end;
  14048. procedure TOCMP3_OC3CON.setOCM2; inline;
  14049. begin
  14050. pTDefRegMap(@Self)^.&set := $00000004;
  14051. end;
  14052. procedure TOCMP3_OC3CON.clearOCM2; inline;
  14053. begin
  14054. pTDefRegMap(@Self)^.clr := $00000004;
  14055. end;
  14056. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  14057. begin
  14058. if thebits = 0 then
  14059. pTDefRegMap(@Self)^.clr := $00000004
  14060. else
  14061. pTDefRegMap(@Self)^.&set := $00000004;
  14062. end;
  14063. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  14064. begin
  14065. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14066. end;
  14067. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  14068. begin
  14069. pTDefRegMap(@Self)^.&set := $00002000;
  14070. end;
  14071. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  14072. begin
  14073. pTDefRegMap(@Self)^.clr := $00002000;
  14074. end;
  14075. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  14076. begin
  14077. if thebits = 0 then
  14078. pTDefRegMap(@Self)^.clr := $00002000
  14079. else
  14080. pTDefRegMap(@Self)^.&set := $00002000;
  14081. end;
  14082. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  14083. begin
  14084. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14085. end;
  14086. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  14087. begin
  14088. pTDefRegMap(@Self)^.val := thebits;
  14089. end;
  14090. function TOCMP3_OC3CON.getw : TBits_32; inline;
  14091. begin
  14092. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14093. end;
  14094. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  14095. begin
  14096. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14097. end;
  14098. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  14099. begin
  14100. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14101. end;
  14102. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  14103. begin
  14104. pTDefRegMap(@Self)^.&set := $00000008;
  14105. end;
  14106. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  14107. begin
  14108. pTDefRegMap(@Self)^.clr := $00000008;
  14109. end;
  14110. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  14111. begin
  14112. if thebits = 0 then
  14113. pTDefRegMap(@Self)^.clr := $00000008
  14114. else
  14115. pTDefRegMap(@Self)^.&set := $00000008;
  14116. end;
  14117. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  14118. begin
  14119. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14120. end;
  14121. procedure TOCMP4_OC4CON.setOCFLT; inline;
  14122. begin
  14123. pTDefRegMap(@Self)^.&set := $00000010;
  14124. end;
  14125. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  14126. begin
  14127. pTDefRegMap(@Self)^.clr := $00000010;
  14128. end;
  14129. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  14130. begin
  14131. if thebits = 0 then
  14132. pTDefRegMap(@Self)^.clr := $00000010
  14133. else
  14134. pTDefRegMap(@Self)^.&set := $00000010;
  14135. end;
  14136. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  14137. begin
  14138. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14139. end;
  14140. procedure TOCMP4_OC4CON.setOC32; inline;
  14141. begin
  14142. pTDefRegMap(@Self)^.&set := $00000020;
  14143. end;
  14144. procedure TOCMP4_OC4CON.clearOC32; inline;
  14145. begin
  14146. pTDefRegMap(@Self)^.clr := $00000020;
  14147. end;
  14148. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  14149. begin
  14150. if thebits = 0 then
  14151. pTDefRegMap(@Self)^.clr := $00000020
  14152. else
  14153. pTDefRegMap(@Self)^.&set := $00000020;
  14154. end;
  14155. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  14156. begin
  14157. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14158. end;
  14159. procedure TOCMP4_OC4CON.setSIDL; inline;
  14160. begin
  14161. pTDefRegMap(@Self)^.&set := $00002000;
  14162. end;
  14163. procedure TOCMP4_OC4CON.clearSIDL; inline;
  14164. begin
  14165. pTDefRegMap(@Self)^.clr := $00002000;
  14166. end;
  14167. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  14168. begin
  14169. if thebits = 0 then
  14170. pTDefRegMap(@Self)^.clr := $00002000
  14171. else
  14172. pTDefRegMap(@Self)^.&set := $00002000;
  14173. end;
  14174. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  14175. begin
  14176. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14177. end;
  14178. procedure TOCMP4_OC4CON.setON; inline;
  14179. begin
  14180. pTDefRegMap(@Self)^.&set := $00008000;
  14181. end;
  14182. procedure TOCMP4_OC4CON.clearON; inline;
  14183. begin
  14184. pTDefRegMap(@Self)^.clr := $00008000;
  14185. end;
  14186. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  14187. begin
  14188. if thebits = 0 then
  14189. pTDefRegMap(@Self)^.clr := $00008000
  14190. else
  14191. pTDefRegMap(@Self)^.&set := $00008000;
  14192. end;
  14193. function TOCMP4_OC4CON.getON : TBits_1; inline;
  14194. begin
  14195. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14196. end;
  14197. procedure TOCMP4_OC4CON.setOCM0; inline;
  14198. begin
  14199. pTDefRegMap(@Self)^.&set := $00000001;
  14200. end;
  14201. procedure TOCMP4_OC4CON.clearOCM0; inline;
  14202. begin
  14203. pTDefRegMap(@Self)^.clr := $00000001;
  14204. end;
  14205. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  14206. begin
  14207. if thebits = 0 then
  14208. pTDefRegMap(@Self)^.clr := $00000001
  14209. else
  14210. pTDefRegMap(@Self)^.&set := $00000001;
  14211. end;
  14212. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  14213. begin
  14214. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14215. end;
  14216. procedure TOCMP4_OC4CON.setOCM1; inline;
  14217. begin
  14218. pTDefRegMap(@Self)^.&set := $00000002;
  14219. end;
  14220. procedure TOCMP4_OC4CON.clearOCM1; inline;
  14221. begin
  14222. pTDefRegMap(@Self)^.clr := $00000002;
  14223. end;
  14224. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  14225. begin
  14226. if thebits = 0 then
  14227. pTDefRegMap(@Self)^.clr := $00000002
  14228. else
  14229. pTDefRegMap(@Self)^.&set := $00000002;
  14230. end;
  14231. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  14232. begin
  14233. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14234. end;
  14235. procedure TOCMP4_OC4CON.setOCM2; inline;
  14236. begin
  14237. pTDefRegMap(@Self)^.&set := $00000004;
  14238. end;
  14239. procedure TOCMP4_OC4CON.clearOCM2; inline;
  14240. begin
  14241. pTDefRegMap(@Self)^.clr := $00000004;
  14242. end;
  14243. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  14244. begin
  14245. if thebits = 0 then
  14246. pTDefRegMap(@Self)^.clr := $00000004
  14247. else
  14248. pTDefRegMap(@Self)^.&set := $00000004;
  14249. end;
  14250. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  14251. begin
  14252. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14253. end;
  14254. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  14255. begin
  14256. pTDefRegMap(@Self)^.&set := $00002000;
  14257. end;
  14258. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  14259. begin
  14260. pTDefRegMap(@Self)^.clr := $00002000;
  14261. end;
  14262. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  14263. begin
  14264. if thebits = 0 then
  14265. pTDefRegMap(@Self)^.clr := $00002000
  14266. else
  14267. pTDefRegMap(@Self)^.&set := $00002000;
  14268. end;
  14269. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  14270. begin
  14271. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14272. end;
  14273. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  14274. begin
  14275. pTDefRegMap(@Self)^.val := thebits;
  14276. end;
  14277. function TOCMP4_OC4CON.getw : TBits_32; inline;
  14278. begin
  14279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14280. end;
  14281. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  14282. begin
  14283. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14284. end;
  14285. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  14286. begin
  14287. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14288. end;
  14289. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  14290. begin
  14291. pTDefRegMap(@Self)^.&set := $00000008;
  14292. end;
  14293. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  14294. begin
  14295. pTDefRegMap(@Self)^.clr := $00000008;
  14296. end;
  14297. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  14298. begin
  14299. if thebits = 0 then
  14300. pTDefRegMap(@Self)^.clr := $00000008
  14301. else
  14302. pTDefRegMap(@Self)^.&set := $00000008;
  14303. end;
  14304. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  14305. begin
  14306. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14307. end;
  14308. procedure TOCMP5_OC5CON.setOCFLT; inline;
  14309. begin
  14310. pTDefRegMap(@Self)^.&set := $00000010;
  14311. end;
  14312. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  14313. begin
  14314. pTDefRegMap(@Self)^.clr := $00000010;
  14315. end;
  14316. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  14317. begin
  14318. if thebits = 0 then
  14319. pTDefRegMap(@Self)^.clr := $00000010
  14320. else
  14321. pTDefRegMap(@Self)^.&set := $00000010;
  14322. end;
  14323. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  14324. begin
  14325. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14326. end;
  14327. procedure TOCMP5_OC5CON.setOC32; inline;
  14328. begin
  14329. pTDefRegMap(@Self)^.&set := $00000020;
  14330. end;
  14331. procedure TOCMP5_OC5CON.clearOC32; inline;
  14332. begin
  14333. pTDefRegMap(@Self)^.clr := $00000020;
  14334. end;
  14335. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  14336. begin
  14337. if thebits = 0 then
  14338. pTDefRegMap(@Self)^.clr := $00000020
  14339. else
  14340. pTDefRegMap(@Self)^.&set := $00000020;
  14341. end;
  14342. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  14343. begin
  14344. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14345. end;
  14346. procedure TOCMP5_OC5CON.setSIDL; inline;
  14347. begin
  14348. pTDefRegMap(@Self)^.&set := $00002000;
  14349. end;
  14350. procedure TOCMP5_OC5CON.clearSIDL; inline;
  14351. begin
  14352. pTDefRegMap(@Self)^.clr := $00002000;
  14353. end;
  14354. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  14355. begin
  14356. if thebits = 0 then
  14357. pTDefRegMap(@Self)^.clr := $00002000
  14358. else
  14359. pTDefRegMap(@Self)^.&set := $00002000;
  14360. end;
  14361. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  14362. begin
  14363. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14364. end;
  14365. procedure TOCMP5_OC5CON.setON; inline;
  14366. begin
  14367. pTDefRegMap(@Self)^.&set := $00008000;
  14368. end;
  14369. procedure TOCMP5_OC5CON.clearON; inline;
  14370. begin
  14371. pTDefRegMap(@Self)^.clr := $00008000;
  14372. end;
  14373. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  14374. begin
  14375. if thebits = 0 then
  14376. pTDefRegMap(@Self)^.clr := $00008000
  14377. else
  14378. pTDefRegMap(@Self)^.&set := $00008000;
  14379. end;
  14380. function TOCMP5_OC5CON.getON : TBits_1; inline;
  14381. begin
  14382. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14383. end;
  14384. procedure TOCMP5_OC5CON.setOCM0; inline;
  14385. begin
  14386. pTDefRegMap(@Self)^.&set := $00000001;
  14387. end;
  14388. procedure TOCMP5_OC5CON.clearOCM0; inline;
  14389. begin
  14390. pTDefRegMap(@Self)^.clr := $00000001;
  14391. end;
  14392. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  14393. begin
  14394. if thebits = 0 then
  14395. pTDefRegMap(@Self)^.clr := $00000001
  14396. else
  14397. pTDefRegMap(@Self)^.&set := $00000001;
  14398. end;
  14399. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  14400. begin
  14401. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14402. end;
  14403. procedure TOCMP5_OC5CON.setOCM1; inline;
  14404. begin
  14405. pTDefRegMap(@Self)^.&set := $00000002;
  14406. end;
  14407. procedure TOCMP5_OC5CON.clearOCM1; inline;
  14408. begin
  14409. pTDefRegMap(@Self)^.clr := $00000002;
  14410. end;
  14411. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  14412. begin
  14413. if thebits = 0 then
  14414. pTDefRegMap(@Self)^.clr := $00000002
  14415. else
  14416. pTDefRegMap(@Self)^.&set := $00000002;
  14417. end;
  14418. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  14419. begin
  14420. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14421. end;
  14422. procedure TOCMP5_OC5CON.setOCM2; inline;
  14423. begin
  14424. pTDefRegMap(@Self)^.&set := $00000004;
  14425. end;
  14426. procedure TOCMP5_OC5CON.clearOCM2; inline;
  14427. begin
  14428. pTDefRegMap(@Self)^.clr := $00000004;
  14429. end;
  14430. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  14431. begin
  14432. if thebits = 0 then
  14433. pTDefRegMap(@Self)^.clr := $00000004
  14434. else
  14435. pTDefRegMap(@Self)^.&set := $00000004;
  14436. end;
  14437. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  14438. begin
  14439. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14440. end;
  14441. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  14442. begin
  14443. pTDefRegMap(@Self)^.&set := $00002000;
  14444. end;
  14445. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  14446. begin
  14447. pTDefRegMap(@Self)^.clr := $00002000;
  14448. end;
  14449. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  14450. begin
  14451. if thebits = 0 then
  14452. pTDefRegMap(@Self)^.clr := $00002000
  14453. else
  14454. pTDefRegMap(@Self)^.&set := $00002000;
  14455. end;
  14456. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  14457. begin
  14458. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14459. end;
  14460. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  14461. begin
  14462. pTDefRegMap(@Self)^.val := thebits;
  14463. end;
  14464. function TOCMP5_OC5CON.getw : TBits_32; inline;
  14465. begin
  14466. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14467. end;
  14468. procedure TI2C1_I2C1ACON.setSEN; inline;
  14469. begin
  14470. pTDefRegMap(@Self)^.&set := $00000001;
  14471. end;
  14472. procedure TI2C1_I2C1ACON.clearSEN; inline;
  14473. begin
  14474. pTDefRegMap(@Self)^.clr := $00000001;
  14475. end;
  14476. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  14477. begin
  14478. if thebits = 0 then
  14479. pTDefRegMap(@Self)^.clr := $00000001
  14480. else
  14481. pTDefRegMap(@Self)^.&set := $00000001;
  14482. end;
  14483. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  14484. begin
  14485. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14486. end;
  14487. procedure TI2C1_I2C1ACON.setRSEN; inline;
  14488. begin
  14489. pTDefRegMap(@Self)^.&set := $00000002;
  14490. end;
  14491. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  14492. begin
  14493. pTDefRegMap(@Self)^.clr := $00000002;
  14494. end;
  14495. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  14496. begin
  14497. if thebits = 0 then
  14498. pTDefRegMap(@Self)^.clr := $00000002
  14499. else
  14500. pTDefRegMap(@Self)^.&set := $00000002;
  14501. end;
  14502. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14503. begin
  14504. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14505. end;
  14506. procedure TI2C1_I2C1ACON.setPEN; inline;
  14507. begin
  14508. pTDefRegMap(@Self)^.&set := $00000004;
  14509. end;
  14510. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14511. begin
  14512. pTDefRegMap(@Self)^.clr := $00000004;
  14513. end;
  14514. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14515. begin
  14516. if thebits = 0 then
  14517. pTDefRegMap(@Self)^.clr := $00000004
  14518. else
  14519. pTDefRegMap(@Self)^.&set := $00000004;
  14520. end;
  14521. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14522. begin
  14523. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14524. end;
  14525. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14526. begin
  14527. pTDefRegMap(@Self)^.&set := $00000008;
  14528. end;
  14529. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14530. begin
  14531. pTDefRegMap(@Self)^.clr := $00000008;
  14532. end;
  14533. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14534. begin
  14535. if thebits = 0 then
  14536. pTDefRegMap(@Self)^.clr := $00000008
  14537. else
  14538. pTDefRegMap(@Self)^.&set := $00000008;
  14539. end;
  14540. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14541. begin
  14542. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14543. end;
  14544. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14545. begin
  14546. pTDefRegMap(@Self)^.&set := $00000010;
  14547. end;
  14548. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14549. begin
  14550. pTDefRegMap(@Self)^.clr := $00000010;
  14551. end;
  14552. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14553. begin
  14554. if thebits = 0 then
  14555. pTDefRegMap(@Self)^.clr := $00000010
  14556. else
  14557. pTDefRegMap(@Self)^.&set := $00000010;
  14558. end;
  14559. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14560. begin
  14561. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14562. end;
  14563. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14564. begin
  14565. pTDefRegMap(@Self)^.&set := $00000020;
  14566. end;
  14567. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14568. begin
  14569. pTDefRegMap(@Self)^.clr := $00000020;
  14570. end;
  14571. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14572. begin
  14573. if thebits = 0 then
  14574. pTDefRegMap(@Self)^.clr := $00000020
  14575. else
  14576. pTDefRegMap(@Self)^.&set := $00000020;
  14577. end;
  14578. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14579. begin
  14580. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14581. end;
  14582. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.&set := $00000040;
  14585. end;
  14586. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.clr := $00000040;
  14589. end;
  14590. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14591. begin
  14592. if thebits = 0 then
  14593. pTDefRegMap(@Self)^.clr := $00000040
  14594. else
  14595. pTDefRegMap(@Self)^.&set := $00000040;
  14596. end;
  14597. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14598. begin
  14599. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14600. end;
  14601. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14602. begin
  14603. pTDefRegMap(@Self)^.&set := $00000080;
  14604. end;
  14605. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.clr := $00000080;
  14608. end;
  14609. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14610. begin
  14611. if thebits = 0 then
  14612. pTDefRegMap(@Self)^.clr := $00000080
  14613. else
  14614. pTDefRegMap(@Self)^.&set := $00000080;
  14615. end;
  14616. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14617. begin
  14618. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14619. end;
  14620. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14621. begin
  14622. pTDefRegMap(@Self)^.&set := $00000100;
  14623. end;
  14624. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.clr := $00000100;
  14627. end;
  14628. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14629. begin
  14630. if thebits = 0 then
  14631. pTDefRegMap(@Self)^.clr := $00000100
  14632. else
  14633. pTDefRegMap(@Self)^.&set := $00000100;
  14634. end;
  14635. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14636. begin
  14637. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14638. end;
  14639. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14640. begin
  14641. pTDefRegMap(@Self)^.&set := $00000200;
  14642. end;
  14643. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.clr := $00000200;
  14646. end;
  14647. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14648. begin
  14649. if thebits = 0 then
  14650. pTDefRegMap(@Self)^.clr := $00000200
  14651. else
  14652. pTDefRegMap(@Self)^.&set := $00000200;
  14653. end;
  14654. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14655. begin
  14656. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14657. end;
  14658. procedure TI2C1_I2C1ACON.setA10M; inline;
  14659. begin
  14660. pTDefRegMap(@Self)^.&set := $00000400;
  14661. end;
  14662. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.clr := $00000400;
  14665. end;
  14666. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14667. begin
  14668. if thebits = 0 then
  14669. pTDefRegMap(@Self)^.clr := $00000400
  14670. else
  14671. pTDefRegMap(@Self)^.&set := $00000400;
  14672. end;
  14673. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14674. begin
  14675. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14676. end;
  14677. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14678. begin
  14679. pTDefRegMap(@Self)^.&set := $00000800;
  14680. end;
  14681. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.clr := $00000800;
  14684. end;
  14685. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14686. begin
  14687. if thebits = 0 then
  14688. pTDefRegMap(@Self)^.clr := $00000800
  14689. else
  14690. pTDefRegMap(@Self)^.&set := $00000800;
  14691. end;
  14692. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14693. begin
  14694. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14695. end;
  14696. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14697. begin
  14698. pTDefRegMap(@Self)^.&set := $00001000;
  14699. end;
  14700. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14701. begin
  14702. pTDefRegMap(@Self)^.clr := $00001000;
  14703. end;
  14704. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14705. begin
  14706. if thebits = 0 then
  14707. pTDefRegMap(@Self)^.clr := $00001000
  14708. else
  14709. pTDefRegMap(@Self)^.&set := $00001000;
  14710. end;
  14711. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14712. begin
  14713. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14714. end;
  14715. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14716. begin
  14717. pTDefRegMap(@Self)^.&set := $00002000;
  14718. end;
  14719. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14720. begin
  14721. pTDefRegMap(@Self)^.clr := $00002000;
  14722. end;
  14723. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14724. begin
  14725. if thebits = 0 then
  14726. pTDefRegMap(@Self)^.clr := $00002000
  14727. else
  14728. pTDefRegMap(@Self)^.&set := $00002000;
  14729. end;
  14730. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14731. begin
  14732. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14733. end;
  14734. procedure TI2C1_I2C1ACON.setON; inline;
  14735. begin
  14736. pTDefRegMap(@Self)^.&set := $00008000;
  14737. end;
  14738. procedure TI2C1_I2C1ACON.clearON; inline;
  14739. begin
  14740. pTDefRegMap(@Self)^.clr := $00008000;
  14741. end;
  14742. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14743. begin
  14744. if thebits = 0 then
  14745. pTDefRegMap(@Self)^.clr := $00008000
  14746. else
  14747. pTDefRegMap(@Self)^.&set := $00008000;
  14748. end;
  14749. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14750. begin
  14751. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14752. end;
  14753. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14754. begin
  14755. pTDefRegMap(@Self)^.&set := $00000800;
  14756. end;
  14757. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14758. begin
  14759. pTDefRegMap(@Self)^.clr := $00000800;
  14760. end;
  14761. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14762. begin
  14763. if thebits = 0 then
  14764. pTDefRegMap(@Self)^.clr := $00000800
  14765. else
  14766. pTDefRegMap(@Self)^.&set := $00000800;
  14767. end;
  14768. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14769. begin
  14770. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14771. end;
  14772. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14773. begin
  14774. pTDefRegMap(@Self)^.&set := $00002000;
  14775. end;
  14776. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14777. begin
  14778. pTDefRegMap(@Self)^.clr := $00002000;
  14779. end;
  14780. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14781. begin
  14782. if thebits = 0 then
  14783. pTDefRegMap(@Self)^.clr := $00002000
  14784. else
  14785. pTDefRegMap(@Self)^.&set := $00002000;
  14786. end;
  14787. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14788. begin
  14789. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14790. end;
  14791. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14792. begin
  14793. pTDefRegMap(@Self)^.&set := $00008000;
  14794. end;
  14795. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14796. begin
  14797. pTDefRegMap(@Self)^.clr := $00008000;
  14798. end;
  14799. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14800. begin
  14801. if thebits = 0 then
  14802. pTDefRegMap(@Self)^.clr := $00008000
  14803. else
  14804. pTDefRegMap(@Self)^.&set := $00008000;
  14805. end;
  14806. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14807. begin
  14808. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14809. end;
  14810. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14811. begin
  14812. pTDefRegMap(@Self)^.val := thebits;
  14813. end;
  14814. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14815. begin
  14816. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14817. end;
  14818. procedure TI2C1_I2C1CON.setSEN; inline;
  14819. begin
  14820. pTDefRegMap(@Self)^.&set := $00000001;
  14821. end;
  14822. procedure TI2C1_I2C1CON.clearSEN; inline;
  14823. begin
  14824. pTDefRegMap(@Self)^.clr := $00000001;
  14825. end;
  14826. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14827. begin
  14828. if thebits = 0 then
  14829. pTDefRegMap(@Self)^.clr := $00000001
  14830. else
  14831. pTDefRegMap(@Self)^.&set := $00000001;
  14832. end;
  14833. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14834. begin
  14835. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14836. end;
  14837. procedure TI2C1_I2C1CON.setRSEN; inline;
  14838. begin
  14839. pTDefRegMap(@Self)^.&set := $00000002;
  14840. end;
  14841. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14842. begin
  14843. pTDefRegMap(@Self)^.clr := $00000002;
  14844. end;
  14845. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14846. begin
  14847. if thebits = 0 then
  14848. pTDefRegMap(@Self)^.clr := $00000002
  14849. else
  14850. pTDefRegMap(@Self)^.&set := $00000002;
  14851. end;
  14852. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14853. begin
  14854. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14855. end;
  14856. procedure TI2C1_I2C1CON.setPEN; inline;
  14857. begin
  14858. pTDefRegMap(@Self)^.&set := $00000004;
  14859. end;
  14860. procedure TI2C1_I2C1CON.clearPEN; inline;
  14861. begin
  14862. pTDefRegMap(@Self)^.clr := $00000004;
  14863. end;
  14864. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14865. begin
  14866. if thebits = 0 then
  14867. pTDefRegMap(@Self)^.clr := $00000004
  14868. else
  14869. pTDefRegMap(@Self)^.&set := $00000004;
  14870. end;
  14871. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14872. begin
  14873. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14874. end;
  14875. procedure TI2C1_I2C1CON.setRCEN; inline;
  14876. begin
  14877. pTDefRegMap(@Self)^.&set := $00000008;
  14878. end;
  14879. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14880. begin
  14881. pTDefRegMap(@Self)^.clr := $00000008;
  14882. end;
  14883. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14884. begin
  14885. if thebits = 0 then
  14886. pTDefRegMap(@Self)^.clr := $00000008
  14887. else
  14888. pTDefRegMap(@Self)^.&set := $00000008;
  14889. end;
  14890. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14891. begin
  14892. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14893. end;
  14894. procedure TI2C1_I2C1CON.setACKEN; inline;
  14895. begin
  14896. pTDefRegMap(@Self)^.&set := $00000010;
  14897. end;
  14898. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14899. begin
  14900. pTDefRegMap(@Self)^.clr := $00000010;
  14901. end;
  14902. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14903. begin
  14904. if thebits = 0 then
  14905. pTDefRegMap(@Self)^.clr := $00000010
  14906. else
  14907. pTDefRegMap(@Self)^.&set := $00000010;
  14908. end;
  14909. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14910. begin
  14911. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14912. end;
  14913. procedure TI2C1_I2C1CON.setACKDT; inline;
  14914. begin
  14915. pTDefRegMap(@Self)^.&set := $00000020;
  14916. end;
  14917. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14918. begin
  14919. pTDefRegMap(@Self)^.clr := $00000020;
  14920. end;
  14921. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14922. begin
  14923. if thebits = 0 then
  14924. pTDefRegMap(@Self)^.clr := $00000020
  14925. else
  14926. pTDefRegMap(@Self)^.&set := $00000020;
  14927. end;
  14928. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14929. begin
  14930. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14931. end;
  14932. procedure TI2C1_I2C1CON.setSTREN; inline;
  14933. begin
  14934. pTDefRegMap(@Self)^.&set := $00000040;
  14935. end;
  14936. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14937. begin
  14938. pTDefRegMap(@Self)^.clr := $00000040;
  14939. end;
  14940. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14941. begin
  14942. if thebits = 0 then
  14943. pTDefRegMap(@Self)^.clr := $00000040
  14944. else
  14945. pTDefRegMap(@Self)^.&set := $00000040;
  14946. end;
  14947. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14948. begin
  14949. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14950. end;
  14951. procedure TI2C1_I2C1CON.setGCEN; inline;
  14952. begin
  14953. pTDefRegMap(@Self)^.&set := $00000080;
  14954. end;
  14955. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14956. begin
  14957. pTDefRegMap(@Self)^.clr := $00000080;
  14958. end;
  14959. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14960. begin
  14961. if thebits = 0 then
  14962. pTDefRegMap(@Self)^.clr := $00000080
  14963. else
  14964. pTDefRegMap(@Self)^.&set := $00000080;
  14965. end;
  14966. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14967. begin
  14968. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14969. end;
  14970. procedure TI2C1_I2C1CON.setSMEN; inline;
  14971. begin
  14972. pTDefRegMap(@Self)^.&set := $00000100;
  14973. end;
  14974. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14975. begin
  14976. pTDefRegMap(@Self)^.clr := $00000100;
  14977. end;
  14978. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14979. begin
  14980. if thebits = 0 then
  14981. pTDefRegMap(@Self)^.clr := $00000100
  14982. else
  14983. pTDefRegMap(@Self)^.&set := $00000100;
  14984. end;
  14985. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14986. begin
  14987. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14988. end;
  14989. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14990. begin
  14991. pTDefRegMap(@Self)^.&set := $00000200;
  14992. end;
  14993. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14994. begin
  14995. pTDefRegMap(@Self)^.clr := $00000200;
  14996. end;
  14997. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14998. begin
  14999. if thebits = 0 then
  15000. pTDefRegMap(@Self)^.clr := $00000200
  15001. else
  15002. pTDefRegMap(@Self)^.&set := $00000200;
  15003. end;
  15004. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  15005. begin
  15006. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15007. end;
  15008. procedure TI2C1_I2C1CON.setA10M; inline;
  15009. begin
  15010. pTDefRegMap(@Self)^.&set := $00000400;
  15011. end;
  15012. procedure TI2C1_I2C1CON.clearA10M; inline;
  15013. begin
  15014. pTDefRegMap(@Self)^.clr := $00000400;
  15015. end;
  15016. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  15017. begin
  15018. if thebits = 0 then
  15019. pTDefRegMap(@Self)^.clr := $00000400
  15020. else
  15021. pTDefRegMap(@Self)^.&set := $00000400;
  15022. end;
  15023. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  15024. begin
  15025. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15026. end;
  15027. procedure TI2C1_I2C1CON.setSTRICT; inline;
  15028. begin
  15029. pTDefRegMap(@Self)^.&set := $00000800;
  15030. end;
  15031. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  15032. begin
  15033. pTDefRegMap(@Self)^.clr := $00000800;
  15034. end;
  15035. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  15036. begin
  15037. if thebits = 0 then
  15038. pTDefRegMap(@Self)^.clr := $00000800
  15039. else
  15040. pTDefRegMap(@Self)^.&set := $00000800;
  15041. end;
  15042. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  15043. begin
  15044. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15045. end;
  15046. procedure TI2C1_I2C1CON.setSCLREL; inline;
  15047. begin
  15048. pTDefRegMap(@Self)^.&set := $00001000;
  15049. end;
  15050. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  15051. begin
  15052. pTDefRegMap(@Self)^.clr := $00001000;
  15053. end;
  15054. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  15055. begin
  15056. if thebits = 0 then
  15057. pTDefRegMap(@Self)^.clr := $00001000
  15058. else
  15059. pTDefRegMap(@Self)^.&set := $00001000;
  15060. end;
  15061. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  15062. begin
  15063. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15064. end;
  15065. procedure TI2C1_I2C1CON.setSIDL; inline;
  15066. begin
  15067. pTDefRegMap(@Self)^.&set := $00002000;
  15068. end;
  15069. procedure TI2C1_I2C1CON.clearSIDL; inline;
  15070. begin
  15071. pTDefRegMap(@Self)^.clr := $00002000;
  15072. end;
  15073. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  15074. begin
  15075. if thebits = 0 then
  15076. pTDefRegMap(@Self)^.clr := $00002000
  15077. else
  15078. pTDefRegMap(@Self)^.&set := $00002000;
  15079. end;
  15080. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  15081. begin
  15082. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15083. end;
  15084. procedure TI2C1_I2C1CON.setON; inline;
  15085. begin
  15086. pTDefRegMap(@Self)^.&set := $00008000;
  15087. end;
  15088. procedure TI2C1_I2C1CON.clearON; inline;
  15089. begin
  15090. pTDefRegMap(@Self)^.clr := $00008000;
  15091. end;
  15092. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  15093. begin
  15094. if thebits = 0 then
  15095. pTDefRegMap(@Self)^.clr := $00008000
  15096. else
  15097. pTDefRegMap(@Self)^.&set := $00008000;
  15098. end;
  15099. function TI2C1_I2C1CON.getON : TBits_1; inline;
  15100. begin
  15101. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15102. end;
  15103. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  15104. begin
  15105. pTDefRegMap(@Self)^.&set := $00000800;
  15106. end;
  15107. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  15108. begin
  15109. pTDefRegMap(@Self)^.clr := $00000800;
  15110. end;
  15111. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  15112. begin
  15113. if thebits = 0 then
  15114. pTDefRegMap(@Self)^.clr := $00000800
  15115. else
  15116. pTDefRegMap(@Self)^.&set := $00000800;
  15117. end;
  15118. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  15119. begin
  15120. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15121. end;
  15122. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  15123. begin
  15124. pTDefRegMap(@Self)^.&set := $00002000;
  15125. end;
  15126. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  15127. begin
  15128. pTDefRegMap(@Self)^.clr := $00002000;
  15129. end;
  15130. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  15131. begin
  15132. if thebits = 0 then
  15133. pTDefRegMap(@Self)^.clr := $00002000
  15134. else
  15135. pTDefRegMap(@Self)^.&set := $00002000;
  15136. end;
  15137. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  15138. begin
  15139. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15140. end;
  15141. procedure TI2C1_I2C1CON.setI2CEN; inline;
  15142. begin
  15143. pTDefRegMap(@Self)^.&set := $00008000;
  15144. end;
  15145. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  15146. begin
  15147. pTDefRegMap(@Self)^.clr := $00008000;
  15148. end;
  15149. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  15150. begin
  15151. if thebits = 0 then
  15152. pTDefRegMap(@Self)^.clr := $00008000
  15153. else
  15154. pTDefRegMap(@Self)^.&set := $00008000;
  15155. end;
  15156. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  15157. begin
  15158. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15159. end;
  15160. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  15161. begin
  15162. pTDefRegMap(@Self)^.val := thebits;
  15163. end;
  15164. function TI2C1_I2C1CON.getw : TBits_32; inline;
  15165. begin
  15166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15167. end;
  15168. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  15169. begin
  15170. pTDefRegMap(@Self)^.&set := $00000001;
  15171. end;
  15172. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  15173. begin
  15174. pTDefRegMap(@Self)^.clr := $00000001;
  15175. end;
  15176. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  15177. begin
  15178. if thebits = 0 then
  15179. pTDefRegMap(@Self)^.clr := $00000001
  15180. else
  15181. pTDefRegMap(@Self)^.&set := $00000001;
  15182. end;
  15183. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  15184. begin
  15185. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15186. end;
  15187. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  15188. begin
  15189. pTDefRegMap(@Self)^.&set := $00000002;
  15190. end;
  15191. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  15192. begin
  15193. pTDefRegMap(@Self)^.clr := $00000002;
  15194. end;
  15195. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  15196. begin
  15197. if thebits = 0 then
  15198. pTDefRegMap(@Self)^.clr := $00000002
  15199. else
  15200. pTDefRegMap(@Self)^.&set := $00000002;
  15201. end;
  15202. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  15203. begin
  15204. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15205. end;
  15206. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  15207. begin
  15208. pTDefRegMap(@Self)^.&set := $00000004;
  15209. end;
  15210. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  15211. begin
  15212. pTDefRegMap(@Self)^.clr := $00000004;
  15213. end;
  15214. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  15215. begin
  15216. if thebits = 0 then
  15217. pTDefRegMap(@Self)^.clr := $00000004
  15218. else
  15219. pTDefRegMap(@Self)^.&set := $00000004;
  15220. end;
  15221. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  15222. begin
  15223. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15224. end;
  15225. procedure TI2C1_I2C1ASTAT.setS; inline;
  15226. begin
  15227. pTDefRegMap(@Self)^.&set := $00000008;
  15228. end;
  15229. procedure TI2C1_I2C1ASTAT.clearS; inline;
  15230. begin
  15231. pTDefRegMap(@Self)^.clr := $00000008;
  15232. end;
  15233. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  15234. begin
  15235. if thebits = 0 then
  15236. pTDefRegMap(@Self)^.clr := $00000008
  15237. else
  15238. pTDefRegMap(@Self)^.&set := $00000008;
  15239. end;
  15240. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  15241. begin
  15242. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15243. end;
  15244. procedure TI2C1_I2C1ASTAT.setP; inline;
  15245. begin
  15246. pTDefRegMap(@Self)^.&set := $00000010;
  15247. end;
  15248. procedure TI2C1_I2C1ASTAT.clearP; inline;
  15249. begin
  15250. pTDefRegMap(@Self)^.clr := $00000010;
  15251. end;
  15252. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  15253. begin
  15254. if thebits = 0 then
  15255. pTDefRegMap(@Self)^.clr := $00000010
  15256. else
  15257. pTDefRegMap(@Self)^.&set := $00000010;
  15258. end;
  15259. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  15260. begin
  15261. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15262. end;
  15263. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  15264. begin
  15265. pTDefRegMap(@Self)^.&set := $00000020;
  15266. end;
  15267. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  15268. begin
  15269. pTDefRegMap(@Self)^.clr := $00000020;
  15270. end;
  15271. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  15272. begin
  15273. if thebits = 0 then
  15274. pTDefRegMap(@Self)^.clr := $00000020
  15275. else
  15276. pTDefRegMap(@Self)^.&set := $00000020;
  15277. end;
  15278. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  15279. begin
  15280. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15281. end;
  15282. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  15283. begin
  15284. pTDefRegMap(@Self)^.&set := $00000040;
  15285. end;
  15286. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  15287. begin
  15288. pTDefRegMap(@Self)^.clr := $00000040;
  15289. end;
  15290. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  15291. begin
  15292. if thebits = 0 then
  15293. pTDefRegMap(@Self)^.clr := $00000040
  15294. else
  15295. pTDefRegMap(@Self)^.&set := $00000040;
  15296. end;
  15297. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  15298. begin
  15299. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15300. end;
  15301. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  15302. begin
  15303. pTDefRegMap(@Self)^.&set := $00000080;
  15304. end;
  15305. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  15306. begin
  15307. pTDefRegMap(@Self)^.clr := $00000080;
  15308. end;
  15309. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  15310. begin
  15311. if thebits = 0 then
  15312. pTDefRegMap(@Self)^.clr := $00000080
  15313. else
  15314. pTDefRegMap(@Self)^.&set := $00000080;
  15315. end;
  15316. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  15317. begin
  15318. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15319. end;
  15320. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  15321. begin
  15322. pTDefRegMap(@Self)^.&set := $00000100;
  15323. end;
  15324. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  15325. begin
  15326. pTDefRegMap(@Self)^.clr := $00000100;
  15327. end;
  15328. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  15329. begin
  15330. if thebits = 0 then
  15331. pTDefRegMap(@Self)^.clr := $00000100
  15332. else
  15333. pTDefRegMap(@Self)^.&set := $00000100;
  15334. end;
  15335. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  15336. begin
  15337. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15338. end;
  15339. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  15340. begin
  15341. pTDefRegMap(@Self)^.&set := $00000200;
  15342. end;
  15343. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  15344. begin
  15345. pTDefRegMap(@Self)^.clr := $00000200;
  15346. end;
  15347. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15348. begin
  15349. if thebits = 0 then
  15350. pTDefRegMap(@Self)^.clr := $00000200
  15351. else
  15352. pTDefRegMap(@Self)^.&set := $00000200;
  15353. end;
  15354. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  15355. begin
  15356. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15357. end;
  15358. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  15359. begin
  15360. pTDefRegMap(@Self)^.&set := $00000400;
  15361. end;
  15362. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  15363. begin
  15364. pTDefRegMap(@Self)^.clr := $00000400;
  15365. end;
  15366. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  15367. begin
  15368. if thebits = 0 then
  15369. pTDefRegMap(@Self)^.clr := $00000400
  15370. else
  15371. pTDefRegMap(@Self)^.&set := $00000400;
  15372. end;
  15373. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  15374. begin
  15375. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15376. end;
  15377. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  15378. begin
  15379. pTDefRegMap(@Self)^.&set := $00004000;
  15380. end;
  15381. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  15382. begin
  15383. pTDefRegMap(@Self)^.clr := $00004000;
  15384. end;
  15385. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15386. begin
  15387. if thebits = 0 then
  15388. pTDefRegMap(@Self)^.clr := $00004000
  15389. else
  15390. pTDefRegMap(@Self)^.&set := $00004000;
  15391. end;
  15392. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  15393. begin
  15394. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15395. end;
  15396. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  15397. begin
  15398. pTDefRegMap(@Self)^.&set := $00008000;
  15399. end;
  15400. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  15401. begin
  15402. pTDefRegMap(@Self)^.clr := $00008000;
  15403. end;
  15404. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15405. begin
  15406. if thebits = 0 then
  15407. pTDefRegMap(@Self)^.clr := $00008000
  15408. else
  15409. pTDefRegMap(@Self)^.&set := $00008000;
  15410. end;
  15411. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  15412. begin
  15413. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15414. end;
  15415. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  15416. begin
  15417. pTDefRegMap(@Self)^.&set := $00000040;
  15418. end;
  15419. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  15420. begin
  15421. pTDefRegMap(@Self)^.clr := $00000040;
  15422. end;
  15423. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15424. begin
  15425. if thebits = 0 then
  15426. pTDefRegMap(@Self)^.clr := $00000040
  15427. else
  15428. pTDefRegMap(@Self)^.&set := $00000040;
  15429. end;
  15430. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  15431. begin
  15432. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15433. end;
  15434. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  15435. begin
  15436. pTDefRegMap(@Self)^.val := thebits;
  15437. end;
  15438. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  15439. begin
  15440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15441. end;
  15442. procedure TI2C1_I2C1STAT.setTBF; inline;
  15443. begin
  15444. pTDefRegMap(@Self)^.&set := $00000001;
  15445. end;
  15446. procedure TI2C1_I2C1STAT.clearTBF; inline;
  15447. begin
  15448. pTDefRegMap(@Self)^.clr := $00000001;
  15449. end;
  15450. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  15451. begin
  15452. if thebits = 0 then
  15453. pTDefRegMap(@Self)^.clr := $00000001
  15454. else
  15455. pTDefRegMap(@Self)^.&set := $00000001;
  15456. end;
  15457. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  15458. begin
  15459. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15460. end;
  15461. procedure TI2C1_I2C1STAT.setRBF; inline;
  15462. begin
  15463. pTDefRegMap(@Self)^.&set := $00000002;
  15464. end;
  15465. procedure TI2C1_I2C1STAT.clearRBF; inline;
  15466. begin
  15467. pTDefRegMap(@Self)^.clr := $00000002;
  15468. end;
  15469. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  15470. begin
  15471. if thebits = 0 then
  15472. pTDefRegMap(@Self)^.clr := $00000002
  15473. else
  15474. pTDefRegMap(@Self)^.&set := $00000002;
  15475. end;
  15476. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  15477. begin
  15478. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15479. end;
  15480. procedure TI2C1_I2C1STAT.setR_W; inline;
  15481. begin
  15482. pTDefRegMap(@Self)^.&set := $00000004;
  15483. end;
  15484. procedure TI2C1_I2C1STAT.clearR_W; inline;
  15485. begin
  15486. pTDefRegMap(@Self)^.clr := $00000004;
  15487. end;
  15488. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  15489. begin
  15490. if thebits = 0 then
  15491. pTDefRegMap(@Self)^.clr := $00000004
  15492. else
  15493. pTDefRegMap(@Self)^.&set := $00000004;
  15494. end;
  15495. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  15496. begin
  15497. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15498. end;
  15499. procedure TI2C1_I2C1STAT.setS; inline;
  15500. begin
  15501. pTDefRegMap(@Self)^.&set := $00000008;
  15502. end;
  15503. procedure TI2C1_I2C1STAT.clearS; inline;
  15504. begin
  15505. pTDefRegMap(@Self)^.clr := $00000008;
  15506. end;
  15507. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15508. begin
  15509. if thebits = 0 then
  15510. pTDefRegMap(@Self)^.clr := $00000008
  15511. else
  15512. pTDefRegMap(@Self)^.&set := $00000008;
  15513. end;
  15514. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15515. begin
  15516. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15517. end;
  15518. procedure TI2C1_I2C1STAT.setP; inline;
  15519. begin
  15520. pTDefRegMap(@Self)^.&set := $00000010;
  15521. end;
  15522. procedure TI2C1_I2C1STAT.clearP; inline;
  15523. begin
  15524. pTDefRegMap(@Self)^.clr := $00000010;
  15525. end;
  15526. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15527. begin
  15528. if thebits = 0 then
  15529. pTDefRegMap(@Self)^.clr := $00000010
  15530. else
  15531. pTDefRegMap(@Self)^.&set := $00000010;
  15532. end;
  15533. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15534. begin
  15535. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15536. end;
  15537. procedure TI2C1_I2C1STAT.setD_A; inline;
  15538. begin
  15539. pTDefRegMap(@Self)^.&set := $00000020;
  15540. end;
  15541. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.clr := $00000020;
  15544. end;
  15545. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15546. begin
  15547. if thebits = 0 then
  15548. pTDefRegMap(@Self)^.clr := $00000020
  15549. else
  15550. pTDefRegMap(@Self)^.&set := $00000020;
  15551. end;
  15552. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15553. begin
  15554. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15555. end;
  15556. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15557. begin
  15558. pTDefRegMap(@Self)^.&set := $00000040;
  15559. end;
  15560. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15561. begin
  15562. pTDefRegMap(@Self)^.clr := $00000040;
  15563. end;
  15564. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15565. begin
  15566. if thebits = 0 then
  15567. pTDefRegMap(@Self)^.clr := $00000040
  15568. else
  15569. pTDefRegMap(@Self)^.&set := $00000040;
  15570. end;
  15571. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15572. begin
  15573. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15574. end;
  15575. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15576. begin
  15577. pTDefRegMap(@Self)^.&set := $00000080;
  15578. end;
  15579. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15580. begin
  15581. pTDefRegMap(@Self)^.clr := $00000080;
  15582. end;
  15583. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15584. begin
  15585. if thebits = 0 then
  15586. pTDefRegMap(@Self)^.clr := $00000080
  15587. else
  15588. pTDefRegMap(@Self)^.&set := $00000080;
  15589. end;
  15590. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15591. begin
  15592. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15593. end;
  15594. procedure TI2C1_I2C1STAT.setADD10; inline;
  15595. begin
  15596. pTDefRegMap(@Self)^.&set := $00000100;
  15597. end;
  15598. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15599. begin
  15600. pTDefRegMap(@Self)^.clr := $00000100;
  15601. end;
  15602. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15603. begin
  15604. if thebits = 0 then
  15605. pTDefRegMap(@Self)^.clr := $00000100
  15606. else
  15607. pTDefRegMap(@Self)^.&set := $00000100;
  15608. end;
  15609. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15610. begin
  15611. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15612. end;
  15613. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15614. begin
  15615. pTDefRegMap(@Self)^.&set := $00000200;
  15616. end;
  15617. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15618. begin
  15619. pTDefRegMap(@Self)^.clr := $00000200;
  15620. end;
  15621. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15622. begin
  15623. if thebits = 0 then
  15624. pTDefRegMap(@Self)^.clr := $00000200
  15625. else
  15626. pTDefRegMap(@Self)^.&set := $00000200;
  15627. end;
  15628. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15629. begin
  15630. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15631. end;
  15632. procedure TI2C1_I2C1STAT.setBCL; inline;
  15633. begin
  15634. pTDefRegMap(@Self)^.&set := $00000400;
  15635. end;
  15636. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15637. begin
  15638. pTDefRegMap(@Self)^.clr := $00000400;
  15639. end;
  15640. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15641. begin
  15642. if thebits = 0 then
  15643. pTDefRegMap(@Self)^.clr := $00000400
  15644. else
  15645. pTDefRegMap(@Self)^.&set := $00000400;
  15646. end;
  15647. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15648. begin
  15649. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15650. end;
  15651. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15652. begin
  15653. pTDefRegMap(@Self)^.&set := $00004000;
  15654. end;
  15655. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15656. begin
  15657. pTDefRegMap(@Self)^.clr := $00004000;
  15658. end;
  15659. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15660. begin
  15661. if thebits = 0 then
  15662. pTDefRegMap(@Self)^.clr := $00004000
  15663. else
  15664. pTDefRegMap(@Self)^.&set := $00004000;
  15665. end;
  15666. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15667. begin
  15668. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15669. end;
  15670. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15671. begin
  15672. pTDefRegMap(@Self)^.&set := $00008000;
  15673. end;
  15674. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15675. begin
  15676. pTDefRegMap(@Self)^.clr := $00008000;
  15677. end;
  15678. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15679. begin
  15680. if thebits = 0 then
  15681. pTDefRegMap(@Self)^.clr := $00008000
  15682. else
  15683. pTDefRegMap(@Self)^.&set := $00008000;
  15684. end;
  15685. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15686. begin
  15687. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15688. end;
  15689. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15690. begin
  15691. pTDefRegMap(@Self)^.&set := $00000040;
  15692. end;
  15693. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15694. begin
  15695. pTDefRegMap(@Self)^.clr := $00000040;
  15696. end;
  15697. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15698. begin
  15699. if thebits = 0 then
  15700. pTDefRegMap(@Self)^.clr := $00000040
  15701. else
  15702. pTDefRegMap(@Self)^.&set := $00000040;
  15703. end;
  15704. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15705. begin
  15706. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15707. end;
  15708. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15709. begin
  15710. pTDefRegMap(@Self)^.val := thebits;
  15711. end;
  15712. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15713. begin
  15714. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15715. end;
  15716. procedure TI2C2_I2C2ACON.setSEN; inline;
  15717. begin
  15718. pTDefRegMap(@Self)^.&set := $00000001;
  15719. end;
  15720. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.clr := $00000001;
  15723. end;
  15724. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15725. begin
  15726. if thebits = 0 then
  15727. pTDefRegMap(@Self)^.clr := $00000001
  15728. else
  15729. pTDefRegMap(@Self)^.&set := $00000001;
  15730. end;
  15731. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15732. begin
  15733. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15734. end;
  15735. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15736. begin
  15737. pTDefRegMap(@Self)^.&set := $00000002;
  15738. end;
  15739. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15740. begin
  15741. pTDefRegMap(@Self)^.clr := $00000002;
  15742. end;
  15743. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15744. begin
  15745. if thebits = 0 then
  15746. pTDefRegMap(@Self)^.clr := $00000002
  15747. else
  15748. pTDefRegMap(@Self)^.&set := $00000002;
  15749. end;
  15750. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15751. begin
  15752. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15753. end;
  15754. procedure TI2C2_I2C2ACON.setPEN; inline;
  15755. begin
  15756. pTDefRegMap(@Self)^.&set := $00000004;
  15757. end;
  15758. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15759. begin
  15760. pTDefRegMap(@Self)^.clr := $00000004;
  15761. end;
  15762. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15763. begin
  15764. if thebits = 0 then
  15765. pTDefRegMap(@Self)^.clr := $00000004
  15766. else
  15767. pTDefRegMap(@Self)^.&set := $00000004;
  15768. end;
  15769. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15770. begin
  15771. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15772. end;
  15773. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15774. begin
  15775. pTDefRegMap(@Self)^.&set := $00000008;
  15776. end;
  15777. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15778. begin
  15779. pTDefRegMap(@Self)^.clr := $00000008;
  15780. end;
  15781. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15782. begin
  15783. if thebits = 0 then
  15784. pTDefRegMap(@Self)^.clr := $00000008
  15785. else
  15786. pTDefRegMap(@Self)^.&set := $00000008;
  15787. end;
  15788. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15789. begin
  15790. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15791. end;
  15792. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15793. begin
  15794. pTDefRegMap(@Self)^.&set := $00000010;
  15795. end;
  15796. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15797. begin
  15798. pTDefRegMap(@Self)^.clr := $00000010;
  15799. end;
  15800. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15801. begin
  15802. if thebits = 0 then
  15803. pTDefRegMap(@Self)^.clr := $00000010
  15804. else
  15805. pTDefRegMap(@Self)^.&set := $00000010;
  15806. end;
  15807. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15808. begin
  15809. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15810. end;
  15811. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15812. begin
  15813. pTDefRegMap(@Self)^.&set := $00000020;
  15814. end;
  15815. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15816. begin
  15817. pTDefRegMap(@Self)^.clr := $00000020;
  15818. end;
  15819. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15820. begin
  15821. if thebits = 0 then
  15822. pTDefRegMap(@Self)^.clr := $00000020
  15823. else
  15824. pTDefRegMap(@Self)^.&set := $00000020;
  15825. end;
  15826. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15827. begin
  15828. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15829. end;
  15830. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15831. begin
  15832. pTDefRegMap(@Self)^.&set := $00000040;
  15833. end;
  15834. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15835. begin
  15836. pTDefRegMap(@Self)^.clr := $00000040;
  15837. end;
  15838. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15839. begin
  15840. if thebits = 0 then
  15841. pTDefRegMap(@Self)^.clr := $00000040
  15842. else
  15843. pTDefRegMap(@Self)^.&set := $00000040;
  15844. end;
  15845. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15846. begin
  15847. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15848. end;
  15849. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15850. begin
  15851. pTDefRegMap(@Self)^.&set := $00000080;
  15852. end;
  15853. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15854. begin
  15855. pTDefRegMap(@Self)^.clr := $00000080;
  15856. end;
  15857. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15858. begin
  15859. if thebits = 0 then
  15860. pTDefRegMap(@Self)^.clr := $00000080
  15861. else
  15862. pTDefRegMap(@Self)^.&set := $00000080;
  15863. end;
  15864. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15865. begin
  15866. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15867. end;
  15868. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15869. begin
  15870. pTDefRegMap(@Self)^.&set := $00000100;
  15871. end;
  15872. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15873. begin
  15874. pTDefRegMap(@Self)^.clr := $00000100;
  15875. end;
  15876. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15877. begin
  15878. if thebits = 0 then
  15879. pTDefRegMap(@Self)^.clr := $00000100
  15880. else
  15881. pTDefRegMap(@Self)^.&set := $00000100;
  15882. end;
  15883. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15884. begin
  15885. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15886. end;
  15887. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15888. begin
  15889. pTDefRegMap(@Self)^.&set := $00000200;
  15890. end;
  15891. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15892. begin
  15893. pTDefRegMap(@Self)^.clr := $00000200;
  15894. end;
  15895. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15896. begin
  15897. if thebits = 0 then
  15898. pTDefRegMap(@Self)^.clr := $00000200
  15899. else
  15900. pTDefRegMap(@Self)^.&set := $00000200;
  15901. end;
  15902. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15903. begin
  15904. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15905. end;
  15906. procedure TI2C2_I2C2ACON.setA10M; inline;
  15907. begin
  15908. pTDefRegMap(@Self)^.&set := $00000400;
  15909. end;
  15910. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15911. begin
  15912. pTDefRegMap(@Self)^.clr := $00000400;
  15913. end;
  15914. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15915. begin
  15916. if thebits = 0 then
  15917. pTDefRegMap(@Self)^.clr := $00000400
  15918. else
  15919. pTDefRegMap(@Self)^.&set := $00000400;
  15920. end;
  15921. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15922. begin
  15923. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15924. end;
  15925. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15926. begin
  15927. pTDefRegMap(@Self)^.&set := $00000800;
  15928. end;
  15929. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15930. begin
  15931. pTDefRegMap(@Self)^.clr := $00000800;
  15932. end;
  15933. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15934. begin
  15935. if thebits = 0 then
  15936. pTDefRegMap(@Self)^.clr := $00000800
  15937. else
  15938. pTDefRegMap(@Self)^.&set := $00000800;
  15939. end;
  15940. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15941. begin
  15942. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15943. end;
  15944. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15945. begin
  15946. pTDefRegMap(@Self)^.&set := $00001000;
  15947. end;
  15948. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15949. begin
  15950. pTDefRegMap(@Self)^.clr := $00001000;
  15951. end;
  15952. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15953. begin
  15954. if thebits = 0 then
  15955. pTDefRegMap(@Self)^.clr := $00001000
  15956. else
  15957. pTDefRegMap(@Self)^.&set := $00001000;
  15958. end;
  15959. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15960. begin
  15961. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15962. end;
  15963. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15964. begin
  15965. pTDefRegMap(@Self)^.&set := $00002000;
  15966. end;
  15967. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15968. begin
  15969. pTDefRegMap(@Self)^.clr := $00002000;
  15970. end;
  15971. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15972. begin
  15973. if thebits = 0 then
  15974. pTDefRegMap(@Self)^.clr := $00002000
  15975. else
  15976. pTDefRegMap(@Self)^.&set := $00002000;
  15977. end;
  15978. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15979. begin
  15980. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15981. end;
  15982. procedure TI2C2_I2C2ACON.setON; inline;
  15983. begin
  15984. pTDefRegMap(@Self)^.&set := $00008000;
  15985. end;
  15986. procedure TI2C2_I2C2ACON.clearON; inline;
  15987. begin
  15988. pTDefRegMap(@Self)^.clr := $00008000;
  15989. end;
  15990. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15991. begin
  15992. if thebits = 0 then
  15993. pTDefRegMap(@Self)^.clr := $00008000
  15994. else
  15995. pTDefRegMap(@Self)^.&set := $00008000;
  15996. end;
  15997. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15998. begin
  15999. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16000. end;
  16001. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  16002. begin
  16003. pTDefRegMap(@Self)^.&set := $00000800;
  16004. end;
  16005. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  16006. begin
  16007. pTDefRegMap(@Self)^.clr := $00000800;
  16008. end;
  16009. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  16010. begin
  16011. if thebits = 0 then
  16012. pTDefRegMap(@Self)^.clr := $00000800
  16013. else
  16014. pTDefRegMap(@Self)^.&set := $00000800;
  16015. end;
  16016. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  16017. begin
  16018. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16019. end;
  16020. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  16021. begin
  16022. pTDefRegMap(@Self)^.&set := $00002000;
  16023. end;
  16024. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  16025. begin
  16026. pTDefRegMap(@Self)^.clr := $00002000;
  16027. end;
  16028. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  16029. begin
  16030. if thebits = 0 then
  16031. pTDefRegMap(@Self)^.clr := $00002000
  16032. else
  16033. pTDefRegMap(@Self)^.&set := $00002000;
  16034. end;
  16035. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  16036. begin
  16037. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16038. end;
  16039. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  16040. begin
  16041. pTDefRegMap(@Self)^.&set := $00008000;
  16042. end;
  16043. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  16044. begin
  16045. pTDefRegMap(@Self)^.clr := $00008000;
  16046. end;
  16047. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  16048. begin
  16049. if thebits = 0 then
  16050. pTDefRegMap(@Self)^.clr := $00008000
  16051. else
  16052. pTDefRegMap(@Self)^.&set := $00008000;
  16053. end;
  16054. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  16055. begin
  16056. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16057. end;
  16058. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  16059. begin
  16060. pTDefRegMap(@Self)^.val := thebits;
  16061. end;
  16062. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  16063. begin
  16064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16065. end;
  16066. procedure TI2C2_I2C2CON.setSEN; inline;
  16067. begin
  16068. pTDefRegMap(@Self)^.&set := $00000001;
  16069. end;
  16070. procedure TI2C2_I2C2CON.clearSEN; inline;
  16071. begin
  16072. pTDefRegMap(@Self)^.clr := $00000001;
  16073. end;
  16074. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  16075. begin
  16076. if thebits = 0 then
  16077. pTDefRegMap(@Self)^.clr := $00000001
  16078. else
  16079. pTDefRegMap(@Self)^.&set := $00000001;
  16080. end;
  16081. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  16082. begin
  16083. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16084. end;
  16085. procedure TI2C2_I2C2CON.setRSEN; inline;
  16086. begin
  16087. pTDefRegMap(@Self)^.&set := $00000002;
  16088. end;
  16089. procedure TI2C2_I2C2CON.clearRSEN; inline;
  16090. begin
  16091. pTDefRegMap(@Self)^.clr := $00000002;
  16092. end;
  16093. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  16094. begin
  16095. if thebits = 0 then
  16096. pTDefRegMap(@Self)^.clr := $00000002
  16097. else
  16098. pTDefRegMap(@Self)^.&set := $00000002;
  16099. end;
  16100. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  16101. begin
  16102. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16103. end;
  16104. procedure TI2C2_I2C2CON.setPEN; inline;
  16105. begin
  16106. pTDefRegMap(@Self)^.&set := $00000004;
  16107. end;
  16108. procedure TI2C2_I2C2CON.clearPEN; inline;
  16109. begin
  16110. pTDefRegMap(@Self)^.clr := $00000004;
  16111. end;
  16112. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  16113. begin
  16114. if thebits = 0 then
  16115. pTDefRegMap(@Self)^.clr := $00000004
  16116. else
  16117. pTDefRegMap(@Self)^.&set := $00000004;
  16118. end;
  16119. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  16120. begin
  16121. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16122. end;
  16123. procedure TI2C2_I2C2CON.setRCEN; inline;
  16124. begin
  16125. pTDefRegMap(@Self)^.&set := $00000008;
  16126. end;
  16127. procedure TI2C2_I2C2CON.clearRCEN; inline;
  16128. begin
  16129. pTDefRegMap(@Self)^.clr := $00000008;
  16130. end;
  16131. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  16132. begin
  16133. if thebits = 0 then
  16134. pTDefRegMap(@Self)^.clr := $00000008
  16135. else
  16136. pTDefRegMap(@Self)^.&set := $00000008;
  16137. end;
  16138. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  16139. begin
  16140. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16141. end;
  16142. procedure TI2C2_I2C2CON.setACKEN; inline;
  16143. begin
  16144. pTDefRegMap(@Self)^.&set := $00000010;
  16145. end;
  16146. procedure TI2C2_I2C2CON.clearACKEN; inline;
  16147. begin
  16148. pTDefRegMap(@Self)^.clr := $00000010;
  16149. end;
  16150. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  16151. begin
  16152. if thebits = 0 then
  16153. pTDefRegMap(@Self)^.clr := $00000010
  16154. else
  16155. pTDefRegMap(@Self)^.&set := $00000010;
  16156. end;
  16157. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  16158. begin
  16159. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16160. end;
  16161. procedure TI2C2_I2C2CON.setACKDT; inline;
  16162. begin
  16163. pTDefRegMap(@Self)^.&set := $00000020;
  16164. end;
  16165. procedure TI2C2_I2C2CON.clearACKDT; inline;
  16166. begin
  16167. pTDefRegMap(@Self)^.clr := $00000020;
  16168. end;
  16169. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  16170. begin
  16171. if thebits = 0 then
  16172. pTDefRegMap(@Self)^.clr := $00000020
  16173. else
  16174. pTDefRegMap(@Self)^.&set := $00000020;
  16175. end;
  16176. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  16177. begin
  16178. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16179. end;
  16180. procedure TI2C2_I2C2CON.setSTREN; inline;
  16181. begin
  16182. pTDefRegMap(@Self)^.&set := $00000040;
  16183. end;
  16184. procedure TI2C2_I2C2CON.clearSTREN; inline;
  16185. begin
  16186. pTDefRegMap(@Self)^.clr := $00000040;
  16187. end;
  16188. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  16189. begin
  16190. if thebits = 0 then
  16191. pTDefRegMap(@Self)^.clr := $00000040
  16192. else
  16193. pTDefRegMap(@Self)^.&set := $00000040;
  16194. end;
  16195. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  16196. begin
  16197. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16198. end;
  16199. procedure TI2C2_I2C2CON.setGCEN; inline;
  16200. begin
  16201. pTDefRegMap(@Self)^.&set := $00000080;
  16202. end;
  16203. procedure TI2C2_I2C2CON.clearGCEN; inline;
  16204. begin
  16205. pTDefRegMap(@Self)^.clr := $00000080;
  16206. end;
  16207. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  16208. begin
  16209. if thebits = 0 then
  16210. pTDefRegMap(@Self)^.clr := $00000080
  16211. else
  16212. pTDefRegMap(@Self)^.&set := $00000080;
  16213. end;
  16214. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  16215. begin
  16216. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16217. end;
  16218. procedure TI2C2_I2C2CON.setSMEN; inline;
  16219. begin
  16220. pTDefRegMap(@Self)^.&set := $00000100;
  16221. end;
  16222. procedure TI2C2_I2C2CON.clearSMEN; inline;
  16223. begin
  16224. pTDefRegMap(@Self)^.clr := $00000100;
  16225. end;
  16226. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  16227. begin
  16228. if thebits = 0 then
  16229. pTDefRegMap(@Self)^.clr := $00000100
  16230. else
  16231. pTDefRegMap(@Self)^.&set := $00000100;
  16232. end;
  16233. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  16234. begin
  16235. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16236. end;
  16237. procedure TI2C2_I2C2CON.setDISSLW; inline;
  16238. begin
  16239. pTDefRegMap(@Self)^.&set := $00000200;
  16240. end;
  16241. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  16242. begin
  16243. pTDefRegMap(@Self)^.clr := $00000200;
  16244. end;
  16245. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  16246. begin
  16247. if thebits = 0 then
  16248. pTDefRegMap(@Self)^.clr := $00000200
  16249. else
  16250. pTDefRegMap(@Self)^.&set := $00000200;
  16251. end;
  16252. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  16253. begin
  16254. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16255. end;
  16256. procedure TI2C2_I2C2CON.setA10M; inline;
  16257. begin
  16258. pTDefRegMap(@Self)^.&set := $00000400;
  16259. end;
  16260. procedure TI2C2_I2C2CON.clearA10M; inline;
  16261. begin
  16262. pTDefRegMap(@Self)^.clr := $00000400;
  16263. end;
  16264. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  16265. begin
  16266. if thebits = 0 then
  16267. pTDefRegMap(@Self)^.clr := $00000400
  16268. else
  16269. pTDefRegMap(@Self)^.&set := $00000400;
  16270. end;
  16271. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  16272. begin
  16273. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16274. end;
  16275. procedure TI2C2_I2C2CON.setSTRICT; inline;
  16276. begin
  16277. pTDefRegMap(@Self)^.&set := $00000800;
  16278. end;
  16279. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  16280. begin
  16281. pTDefRegMap(@Self)^.clr := $00000800;
  16282. end;
  16283. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  16284. begin
  16285. if thebits = 0 then
  16286. pTDefRegMap(@Self)^.clr := $00000800
  16287. else
  16288. pTDefRegMap(@Self)^.&set := $00000800;
  16289. end;
  16290. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  16291. begin
  16292. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16293. end;
  16294. procedure TI2C2_I2C2CON.setSCLREL; inline;
  16295. begin
  16296. pTDefRegMap(@Self)^.&set := $00001000;
  16297. end;
  16298. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  16299. begin
  16300. pTDefRegMap(@Self)^.clr := $00001000;
  16301. end;
  16302. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  16303. begin
  16304. if thebits = 0 then
  16305. pTDefRegMap(@Self)^.clr := $00001000
  16306. else
  16307. pTDefRegMap(@Self)^.&set := $00001000;
  16308. end;
  16309. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  16310. begin
  16311. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16312. end;
  16313. procedure TI2C2_I2C2CON.setSIDL; inline;
  16314. begin
  16315. pTDefRegMap(@Self)^.&set := $00002000;
  16316. end;
  16317. procedure TI2C2_I2C2CON.clearSIDL; inline;
  16318. begin
  16319. pTDefRegMap(@Self)^.clr := $00002000;
  16320. end;
  16321. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  16322. begin
  16323. if thebits = 0 then
  16324. pTDefRegMap(@Self)^.clr := $00002000
  16325. else
  16326. pTDefRegMap(@Self)^.&set := $00002000;
  16327. end;
  16328. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  16329. begin
  16330. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16331. end;
  16332. procedure TI2C2_I2C2CON.setON; inline;
  16333. begin
  16334. pTDefRegMap(@Self)^.&set := $00008000;
  16335. end;
  16336. procedure TI2C2_I2C2CON.clearON; inline;
  16337. begin
  16338. pTDefRegMap(@Self)^.clr := $00008000;
  16339. end;
  16340. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  16341. begin
  16342. if thebits = 0 then
  16343. pTDefRegMap(@Self)^.clr := $00008000
  16344. else
  16345. pTDefRegMap(@Self)^.&set := $00008000;
  16346. end;
  16347. function TI2C2_I2C2CON.getON : TBits_1; inline;
  16348. begin
  16349. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16350. end;
  16351. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  16352. begin
  16353. pTDefRegMap(@Self)^.&set := $00000800;
  16354. end;
  16355. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  16356. begin
  16357. pTDefRegMap(@Self)^.clr := $00000800;
  16358. end;
  16359. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  16360. begin
  16361. if thebits = 0 then
  16362. pTDefRegMap(@Self)^.clr := $00000800
  16363. else
  16364. pTDefRegMap(@Self)^.&set := $00000800;
  16365. end;
  16366. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  16367. begin
  16368. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16369. end;
  16370. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  16371. begin
  16372. pTDefRegMap(@Self)^.&set := $00002000;
  16373. end;
  16374. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  16375. begin
  16376. pTDefRegMap(@Self)^.clr := $00002000;
  16377. end;
  16378. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  16379. begin
  16380. if thebits = 0 then
  16381. pTDefRegMap(@Self)^.clr := $00002000
  16382. else
  16383. pTDefRegMap(@Self)^.&set := $00002000;
  16384. end;
  16385. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  16386. begin
  16387. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16388. end;
  16389. procedure TI2C2_I2C2CON.setI2CEN; inline;
  16390. begin
  16391. pTDefRegMap(@Self)^.&set := $00008000;
  16392. end;
  16393. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  16394. begin
  16395. pTDefRegMap(@Self)^.clr := $00008000;
  16396. end;
  16397. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  16398. begin
  16399. if thebits = 0 then
  16400. pTDefRegMap(@Self)^.clr := $00008000
  16401. else
  16402. pTDefRegMap(@Self)^.&set := $00008000;
  16403. end;
  16404. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  16405. begin
  16406. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16407. end;
  16408. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  16409. begin
  16410. pTDefRegMap(@Self)^.val := thebits;
  16411. end;
  16412. function TI2C2_I2C2CON.getw : TBits_32; inline;
  16413. begin
  16414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16415. end;
  16416. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  16417. begin
  16418. pTDefRegMap(@Self)^.&set := $00000001;
  16419. end;
  16420. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  16421. begin
  16422. pTDefRegMap(@Self)^.clr := $00000001;
  16423. end;
  16424. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  16425. begin
  16426. if thebits = 0 then
  16427. pTDefRegMap(@Self)^.clr := $00000001
  16428. else
  16429. pTDefRegMap(@Self)^.&set := $00000001;
  16430. end;
  16431. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  16432. begin
  16433. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16434. end;
  16435. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  16436. begin
  16437. pTDefRegMap(@Self)^.&set := $00000002;
  16438. end;
  16439. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  16440. begin
  16441. pTDefRegMap(@Self)^.clr := $00000002;
  16442. end;
  16443. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  16444. begin
  16445. if thebits = 0 then
  16446. pTDefRegMap(@Self)^.clr := $00000002
  16447. else
  16448. pTDefRegMap(@Self)^.&set := $00000002;
  16449. end;
  16450. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  16451. begin
  16452. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16453. end;
  16454. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  16455. begin
  16456. pTDefRegMap(@Self)^.&set := $00000004;
  16457. end;
  16458. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  16459. begin
  16460. pTDefRegMap(@Self)^.clr := $00000004;
  16461. end;
  16462. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  16463. begin
  16464. if thebits = 0 then
  16465. pTDefRegMap(@Self)^.clr := $00000004
  16466. else
  16467. pTDefRegMap(@Self)^.&set := $00000004;
  16468. end;
  16469. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  16470. begin
  16471. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16472. end;
  16473. procedure TI2C2_I2C2ASTAT.setS; inline;
  16474. begin
  16475. pTDefRegMap(@Self)^.&set := $00000008;
  16476. end;
  16477. procedure TI2C2_I2C2ASTAT.clearS; inline;
  16478. begin
  16479. pTDefRegMap(@Self)^.clr := $00000008;
  16480. end;
  16481. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  16482. begin
  16483. if thebits = 0 then
  16484. pTDefRegMap(@Self)^.clr := $00000008
  16485. else
  16486. pTDefRegMap(@Self)^.&set := $00000008;
  16487. end;
  16488. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  16489. begin
  16490. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16491. end;
  16492. procedure TI2C2_I2C2ASTAT.setP; inline;
  16493. begin
  16494. pTDefRegMap(@Self)^.&set := $00000010;
  16495. end;
  16496. procedure TI2C2_I2C2ASTAT.clearP; inline;
  16497. begin
  16498. pTDefRegMap(@Self)^.clr := $00000010;
  16499. end;
  16500. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16501. begin
  16502. if thebits = 0 then
  16503. pTDefRegMap(@Self)^.clr := $00000010
  16504. else
  16505. pTDefRegMap(@Self)^.&set := $00000010;
  16506. end;
  16507. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16508. begin
  16509. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16510. end;
  16511. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16512. begin
  16513. pTDefRegMap(@Self)^.&set := $00000020;
  16514. end;
  16515. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16516. begin
  16517. pTDefRegMap(@Self)^.clr := $00000020;
  16518. end;
  16519. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16520. begin
  16521. if thebits = 0 then
  16522. pTDefRegMap(@Self)^.clr := $00000020
  16523. else
  16524. pTDefRegMap(@Self)^.&set := $00000020;
  16525. end;
  16526. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16527. begin
  16528. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16529. end;
  16530. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16531. begin
  16532. pTDefRegMap(@Self)^.&set := $00000040;
  16533. end;
  16534. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16535. begin
  16536. pTDefRegMap(@Self)^.clr := $00000040;
  16537. end;
  16538. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16539. begin
  16540. if thebits = 0 then
  16541. pTDefRegMap(@Self)^.clr := $00000040
  16542. else
  16543. pTDefRegMap(@Self)^.&set := $00000040;
  16544. end;
  16545. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16546. begin
  16547. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16548. end;
  16549. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16550. begin
  16551. pTDefRegMap(@Self)^.&set := $00000080;
  16552. end;
  16553. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16554. begin
  16555. pTDefRegMap(@Self)^.clr := $00000080;
  16556. end;
  16557. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16558. begin
  16559. if thebits = 0 then
  16560. pTDefRegMap(@Self)^.clr := $00000080
  16561. else
  16562. pTDefRegMap(@Self)^.&set := $00000080;
  16563. end;
  16564. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16565. begin
  16566. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16567. end;
  16568. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16569. begin
  16570. pTDefRegMap(@Self)^.&set := $00000100;
  16571. end;
  16572. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16573. begin
  16574. pTDefRegMap(@Self)^.clr := $00000100;
  16575. end;
  16576. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16577. begin
  16578. if thebits = 0 then
  16579. pTDefRegMap(@Self)^.clr := $00000100
  16580. else
  16581. pTDefRegMap(@Self)^.&set := $00000100;
  16582. end;
  16583. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16584. begin
  16585. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16586. end;
  16587. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16588. begin
  16589. pTDefRegMap(@Self)^.&set := $00000200;
  16590. end;
  16591. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16592. begin
  16593. pTDefRegMap(@Self)^.clr := $00000200;
  16594. end;
  16595. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16596. begin
  16597. if thebits = 0 then
  16598. pTDefRegMap(@Self)^.clr := $00000200
  16599. else
  16600. pTDefRegMap(@Self)^.&set := $00000200;
  16601. end;
  16602. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16603. begin
  16604. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16605. end;
  16606. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16607. begin
  16608. pTDefRegMap(@Self)^.&set := $00000400;
  16609. end;
  16610. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16611. begin
  16612. pTDefRegMap(@Self)^.clr := $00000400;
  16613. end;
  16614. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16615. begin
  16616. if thebits = 0 then
  16617. pTDefRegMap(@Self)^.clr := $00000400
  16618. else
  16619. pTDefRegMap(@Self)^.&set := $00000400;
  16620. end;
  16621. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16622. begin
  16623. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16624. end;
  16625. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16626. begin
  16627. pTDefRegMap(@Self)^.&set := $00004000;
  16628. end;
  16629. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16630. begin
  16631. pTDefRegMap(@Self)^.clr := $00004000;
  16632. end;
  16633. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16634. begin
  16635. if thebits = 0 then
  16636. pTDefRegMap(@Self)^.clr := $00004000
  16637. else
  16638. pTDefRegMap(@Self)^.&set := $00004000;
  16639. end;
  16640. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16641. begin
  16642. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16643. end;
  16644. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16645. begin
  16646. pTDefRegMap(@Self)^.&set := $00008000;
  16647. end;
  16648. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16649. begin
  16650. pTDefRegMap(@Self)^.clr := $00008000;
  16651. end;
  16652. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16653. begin
  16654. if thebits = 0 then
  16655. pTDefRegMap(@Self)^.clr := $00008000
  16656. else
  16657. pTDefRegMap(@Self)^.&set := $00008000;
  16658. end;
  16659. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16660. begin
  16661. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16662. end;
  16663. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16664. begin
  16665. pTDefRegMap(@Self)^.&set := $00000040;
  16666. end;
  16667. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16668. begin
  16669. pTDefRegMap(@Self)^.clr := $00000040;
  16670. end;
  16671. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16672. begin
  16673. if thebits = 0 then
  16674. pTDefRegMap(@Self)^.clr := $00000040
  16675. else
  16676. pTDefRegMap(@Self)^.&set := $00000040;
  16677. end;
  16678. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16679. begin
  16680. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16681. end;
  16682. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16683. begin
  16684. pTDefRegMap(@Self)^.val := thebits;
  16685. end;
  16686. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16687. begin
  16688. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16689. end;
  16690. procedure TI2C2_I2C2STAT.setTBF; inline;
  16691. begin
  16692. pTDefRegMap(@Self)^.&set := $00000001;
  16693. end;
  16694. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.clr := $00000001;
  16697. end;
  16698. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16699. begin
  16700. if thebits = 0 then
  16701. pTDefRegMap(@Self)^.clr := $00000001
  16702. else
  16703. pTDefRegMap(@Self)^.&set := $00000001;
  16704. end;
  16705. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16706. begin
  16707. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16708. end;
  16709. procedure TI2C2_I2C2STAT.setRBF; inline;
  16710. begin
  16711. pTDefRegMap(@Self)^.&set := $00000002;
  16712. end;
  16713. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.clr := $00000002;
  16716. end;
  16717. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16718. begin
  16719. if thebits = 0 then
  16720. pTDefRegMap(@Self)^.clr := $00000002
  16721. else
  16722. pTDefRegMap(@Self)^.&set := $00000002;
  16723. end;
  16724. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16725. begin
  16726. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16727. end;
  16728. procedure TI2C2_I2C2STAT.setR_W; inline;
  16729. begin
  16730. pTDefRegMap(@Self)^.&set := $00000004;
  16731. end;
  16732. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.clr := $00000004;
  16735. end;
  16736. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16737. begin
  16738. if thebits = 0 then
  16739. pTDefRegMap(@Self)^.clr := $00000004
  16740. else
  16741. pTDefRegMap(@Self)^.&set := $00000004;
  16742. end;
  16743. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16744. begin
  16745. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16746. end;
  16747. procedure TI2C2_I2C2STAT.setS; inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.&set := $00000008;
  16750. end;
  16751. procedure TI2C2_I2C2STAT.clearS; inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.clr := $00000008;
  16754. end;
  16755. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16756. begin
  16757. if thebits = 0 then
  16758. pTDefRegMap(@Self)^.clr := $00000008
  16759. else
  16760. pTDefRegMap(@Self)^.&set := $00000008;
  16761. end;
  16762. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16763. begin
  16764. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16765. end;
  16766. procedure TI2C2_I2C2STAT.setP; inline;
  16767. begin
  16768. pTDefRegMap(@Self)^.&set := $00000010;
  16769. end;
  16770. procedure TI2C2_I2C2STAT.clearP; inline;
  16771. begin
  16772. pTDefRegMap(@Self)^.clr := $00000010;
  16773. end;
  16774. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16775. begin
  16776. if thebits = 0 then
  16777. pTDefRegMap(@Self)^.clr := $00000010
  16778. else
  16779. pTDefRegMap(@Self)^.&set := $00000010;
  16780. end;
  16781. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16782. begin
  16783. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16784. end;
  16785. procedure TI2C2_I2C2STAT.setD_A; inline;
  16786. begin
  16787. pTDefRegMap(@Self)^.&set := $00000020;
  16788. end;
  16789. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16790. begin
  16791. pTDefRegMap(@Self)^.clr := $00000020;
  16792. end;
  16793. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16794. begin
  16795. if thebits = 0 then
  16796. pTDefRegMap(@Self)^.clr := $00000020
  16797. else
  16798. pTDefRegMap(@Self)^.&set := $00000020;
  16799. end;
  16800. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16801. begin
  16802. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16803. end;
  16804. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16805. begin
  16806. pTDefRegMap(@Self)^.&set := $00000040;
  16807. end;
  16808. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16809. begin
  16810. pTDefRegMap(@Self)^.clr := $00000040;
  16811. end;
  16812. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16813. begin
  16814. if thebits = 0 then
  16815. pTDefRegMap(@Self)^.clr := $00000040
  16816. else
  16817. pTDefRegMap(@Self)^.&set := $00000040;
  16818. end;
  16819. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16820. begin
  16821. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16822. end;
  16823. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16824. begin
  16825. pTDefRegMap(@Self)^.&set := $00000080;
  16826. end;
  16827. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16828. begin
  16829. pTDefRegMap(@Self)^.clr := $00000080;
  16830. end;
  16831. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16832. begin
  16833. if thebits = 0 then
  16834. pTDefRegMap(@Self)^.clr := $00000080
  16835. else
  16836. pTDefRegMap(@Self)^.&set := $00000080;
  16837. end;
  16838. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16839. begin
  16840. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16841. end;
  16842. procedure TI2C2_I2C2STAT.setADD10; inline;
  16843. begin
  16844. pTDefRegMap(@Self)^.&set := $00000100;
  16845. end;
  16846. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16847. begin
  16848. pTDefRegMap(@Self)^.clr := $00000100;
  16849. end;
  16850. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16851. begin
  16852. if thebits = 0 then
  16853. pTDefRegMap(@Self)^.clr := $00000100
  16854. else
  16855. pTDefRegMap(@Self)^.&set := $00000100;
  16856. end;
  16857. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16858. begin
  16859. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16860. end;
  16861. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16862. begin
  16863. pTDefRegMap(@Self)^.&set := $00000200;
  16864. end;
  16865. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16866. begin
  16867. pTDefRegMap(@Self)^.clr := $00000200;
  16868. end;
  16869. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16870. begin
  16871. if thebits = 0 then
  16872. pTDefRegMap(@Self)^.clr := $00000200
  16873. else
  16874. pTDefRegMap(@Self)^.&set := $00000200;
  16875. end;
  16876. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16877. begin
  16878. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16879. end;
  16880. procedure TI2C2_I2C2STAT.setBCL; inline;
  16881. begin
  16882. pTDefRegMap(@Self)^.&set := $00000400;
  16883. end;
  16884. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16885. begin
  16886. pTDefRegMap(@Self)^.clr := $00000400;
  16887. end;
  16888. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16889. begin
  16890. if thebits = 0 then
  16891. pTDefRegMap(@Self)^.clr := $00000400
  16892. else
  16893. pTDefRegMap(@Self)^.&set := $00000400;
  16894. end;
  16895. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16896. begin
  16897. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16898. end;
  16899. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16900. begin
  16901. pTDefRegMap(@Self)^.&set := $00004000;
  16902. end;
  16903. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16904. begin
  16905. pTDefRegMap(@Self)^.clr := $00004000;
  16906. end;
  16907. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16908. begin
  16909. if thebits = 0 then
  16910. pTDefRegMap(@Self)^.clr := $00004000
  16911. else
  16912. pTDefRegMap(@Self)^.&set := $00004000;
  16913. end;
  16914. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16915. begin
  16916. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16917. end;
  16918. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16919. begin
  16920. pTDefRegMap(@Self)^.&set := $00008000;
  16921. end;
  16922. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16923. begin
  16924. pTDefRegMap(@Self)^.clr := $00008000;
  16925. end;
  16926. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16927. begin
  16928. if thebits = 0 then
  16929. pTDefRegMap(@Self)^.clr := $00008000
  16930. else
  16931. pTDefRegMap(@Self)^.&set := $00008000;
  16932. end;
  16933. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16934. begin
  16935. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16936. end;
  16937. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16938. begin
  16939. pTDefRegMap(@Self)^.&set := $00000040;
  16940. end;
  16941. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16942. begin
  16943. pTDefRegMap(@Self)^.clr := $00000040;
  16944. end;
  16945. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16946. begin
  16947. if thebits = 0 then
  16948. pTDefRegMap(@Self)^.clr := $00000040
  16949. else
  16950. pTDefRegMap(@Self)^.&set := $00000040;
  16951. end;
  16952. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16953. begin
  16954. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16955. end;
  16956. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16957. begin
  16958. pTDefRegMap(@Self)^.val := thebits;
  16959. end;
  16960. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16961. begin
  16962. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16963. end;
  16964. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16965. begin
  16966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16967. end;
  16968. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16969. begin
  16970. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16971. end;
  16972. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16973. begin
  16974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16975. end;
  16976. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16977. begin
  16978. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16979. end;
  16980. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16981. begin
  16982. pTDefRegMap(@Self)^.&set := $00000010;
  16983. end;
  16984. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16985. begin
  16986. pTDefRegMap(@Self)^.clr := $00000010;
  16987. end;
  16988. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16989. begin
  16990. if thebits = 0 then
  16991. pTDefRegMap(@Self)^.clr := $00000010
  16992. else
  16993. pTDefRegMap(@Self)^.&set := $00000010;
  16994. end;
  16995. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16996. begin
  16997. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16998. end;
  16999. procedure TSPI1_SPI1CON.setMSTEN; inline;
  17000. begin
  17001. pTDefRegMap(@Self)^.&set := $00000020;
  17002. end;
  17003. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  17004. begin
  17005. pTDefRegMap(@Self)^.clr := $00000020;
  17006. end;
  17007. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  17008. begin
  17009. if thebits = 0 then
  17010. pTDefRegMap(@Self)^.clr := $00000020
  17011. else
  17012. pTDefRegMap(@Self)^.&set := $00000020;
  17013. end;
  17014. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  17015. begin
  17016. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17017. end;
  17018. procedure TSPI1_SPI1CON.setCKP; inline;
  17019. begin
  17020. pTDefRegMap(@Self)^.&set := $00000040;
  17021. end;
  17022. procedure TSPI1_SPI1CON.clearCKP; inline;
  17023. begin
  17024. pTDefRegMap(@Self)^.clr := $00000040;
  17025. end;
  17026. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  17027. begin
  17028. if thebits = 0 then
  17029. pTDefRegMap(@Self)^.clr := $00000040
  17030. else
  17031. pTDefRegMap(@Self)^.&set := $00000040;
  17032. end;
  17033. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  17034. begin
  17035. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17036. end;
  17037. procedure TSPI1_SPI1CON.setSSEN; inline;
  17038. begin
  17039. pTDefRegMap(@Self)^.&set := $00000080;
  17040. end;
  17041. procedure TSPI1_SPI1CON.clearSSEN; inline;
  17042. begin
  17043. pTDefRegMap(@Self)^.clr := $00000080;
  17044. end;
  17045. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  17046. begin
  17047. if thebits = 0 then
  17048. pTDefRegMap(@Self)^.clr := $00000080
  17049. else
  17050. pTDefRegMap(@Self)^.&set := $00000080;
  17051. end;
  17052. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  17053. begin
  17054. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17055. end;
  17056. procedure TSPI1_SPI1CON.setCKE; inline;
  17057. begin
  17058. pTDefRegMap(@Self)^.&set := $00000100;
  17059. end;
  17060. procedure TSPI1_SPI1CON.clearCKE; inline;
  17061. begin
  17062. pTDefRegMap(@Self)^.clr := $00000100;
  17063. end;
  17064. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  17065. begin
  17066. if thebits = 0 then
  17067. pTDefRegMap(@Self)^.clr := $00000100
  17068. else
  17069. pTDefRegMap(@Self)^.&set := $00000100;
  17070. end;
  17071. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  17072. begin
  17073. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17074. end;
  17075. procedure TSPI1_SPI1CON.setSMP; inline;
  17076. begin
  17077. pTDefRegMap(@Self)^.&set := $00000200;
  17078. end;
  17079. procedure TSPI1_SPI1CON.clearSMP; inline;
  17080. begin
  17081. pTDefRegMap(@Self)^.clr := $00000200;
  17082. end;
  17083. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  17084. begin
  17085. if thebits = 0 then
  17086. pTDefRegMap(@Self)^.clr := $00000200
  17087. else
  17088. pTDefRegMap(@Self)^.&set := $00000200;
  17089. end;
  17090. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  17091. begin
  17092. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17093. end;
  17094. procedure TSPI1_SPI1CON.setMODE16; inline;
  17095. begin
  17096. pTDefRegMap(@Self)^.&set := $00000400;
  17097. end;
  17098. procedure TSPI1_SPI1CON.clearMODE16; inline;
  17099. begin
  17100. pTDefRegMap(@Self)^.clr := $00000400;
  17101. end;
  17102. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  17103. begin
  17104. if thebits = 0 then
  17105. pTDefRegMap(@Self)^.clr := $00000400
  17106. else
  17107. pTDefRegMap(@Self)^.&set := $00000400;
  17108. end;
  17109. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  17110. begin
  17111. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17112. end;
  17113. procedure TSPI1_SPI1CON.setMODE32; inline;
  17114. begin
  17115. pTDefRegMap(@Self)^.&set := $00000800;
  17116. end;
  17117. procedure TSPI1_SPI1CON.clearMODE32; inline;
  17118. begin
  17119. pTDefRegMap(@Self)^.clr := $00000800;
  17120. end;
  17121. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  17122. begin
  17123. if thebits = 0 then
  17124. pTDefRegMap(@Self)^.clr := $00000800
  17125. else
  17126. pTDefRegMap(@Self)^.&set := $00000800;
  17127. end;
  17128. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  17129. begin
  17130. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17131. end;
  17132. procedure TSPI1_SPI1CON.setDISSDO; inline;
  17133. begin
  17134. pTDefRegMap(@Self)^.&set := $00001000;
  17135. end;
  17136. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  17137. begin
  17138. pTDefRegMap(@Self)^.clr := $00001000;
  17139. end;
  17140. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  17141. begin
  17142. if thebits = 0 then
  17143. pTDefRegMap(@Self)^.clr := $00001000
  17144. else
  17145. pTDefRegMap(@Self)^.&set := $00001000;
  17146. end;
  17147. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  17148. begin
  17149. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17150. end;
  17151. procedure TSPI1_SPI1CON.setSIDL; inline;
  17152. begin
  17153. pTDefRegMap(@Self)^.&set := $00002000;
  17154. end;
  17155. procedure TSPI1_SPI1CON.clearSIDL; inline;
  17156. begin
  17157. pTDefRegMap(@Self)^.clr := $00002000;
  17158. end;
  17159. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  17160. begin
  17161. if thebits = 0 then
  17162. pTDefRegMap(@Self)^.clr := $00002000
  17163. else
  17164. pTDefRegMap(@Self)^.&set := $00002000;
  17165. end;
  17166. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  17167. begin
  17168. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17169. end;
  17170. procedure TSPI1_SPI1CON.setON; inline;
  17171. begin
  17172. pTDefRegMap(@Self)^.&set := $00008000;
  17173. end;
  17174. procedure TSPI1_SPI1CON.clearON; inline;
  17175. begin
  17176. pTDefRegMap(@Self)^.clr := $00008000;
  17177. end;
  17178. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  17179. begin
  17180. if thebits = 0 then
  17181. pTDefRegMap(@Self)^.clr := $00008000
  17182. else
  17183. pTDefRegMap(@Self)^.&set := $00008000;
  17184. end;
  17185. function TSPI1_SPI1CON.getON : TBits_1; inline;
  17186. begin
  17187. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17188. end;
  17189. procedure TSPI1_SPI1CON.setENHBUF; inline;
  17190. begin
  17191. pTDefRegMap(@Self)^.&set := $00010000;
  17192. end;
  17193. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  17194. begin
  17195. pTDefRegMap(@Self)^.clr := $00010000;
  17196. end;
  17197. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  17198. begin
  17199. if thebits = 0 then
  17200. pTDefRegMap(@Self)^.clr := $00010000
  17201. else
  17202. pTDefRegMap(@Self)^.&set := $00010000;
  17203. end;
  17204. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  17205. begin
  17206. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17207. end;
  17208. procedure TSPI1_SPI1CON.setSPIFE; inline;
  17209. begin
  17210. pTDefRegMap(@Self)^.&set := $00020000;
  17211. end;
  17212. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  17213. begin
  17214. pTDefRegMap(@Self)^.clr := $00020000;
  17215. end;
  17216. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  17217. begin
  17218. if thebits = 0 then
  17219. pTDefRegMap(@Self)^.clr := $00020000
  17220. else
  17221. pTDefRegMap(@Self)^.&set := $00020000;
  17222. end;
  17223. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  17224. begin
  17225. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17226. end;
  17227. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  17228. begin
  17229. pTDefRegMap(@Self)^.&set := $00800000;
  17230. end;
  17231. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  17232. begin
  17233. pTDefRegMap(@Self)^.clr := $00800000;
  17234. end;
  17235. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  17236. begin
  17237. if thebits = 0 then
  17238. pTDefRegMap(@Self)^.clr := $00800000
  17239. else
  17240. pTDefRegMap(@Self)^.&set := $00800000;
  17241. end;
  17242. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  17243. begin
  17244. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17245. end;
  17246. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  17247. begin
  17248. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17249. end;
  17250. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  17251. begin
  17252. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17253. end;
  17254. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  17255. begin
  17256. pTDefRegMap(@Self)^.&set := $08000000;
  17257. end;
  17258. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  17259. begin
  17260. pTDefRegMap(@Self)^.clr := $08000000;
  17261. end;
  17262. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  17263. begin
  17264. if thebits = 0 then
  17265. pTDefRegMap(@Self)^.clr := $08000000
  17266. else
  17267. pTDefRegMap(@Self)^.&set := $08000000;
  17268. end;
  17269. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  17270. begin
  17271. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17272. end;
  17273. procedure TSPI1_SPI1CON.setMSSEN; inline;
  17274. begin
  17275. pTDefRegMap(@Self)^.&set := $10000000;
  17276. end;
  17277. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  17278. begin
  17279. pTDefRegMap(@Self)^.clr := $10000000;
  17280. end;
  17281. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  17282. begin
  17283. if thebits = 0 then
  17284. pTDefRegMap(@Self)^.clr := $10000000
  17285. else
  17286. pTDefRegMap(@Self)^.&set := $10000000;
  17287. end;
  17288. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  17289. begin
  17290. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17291. end;
  17292. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  17293. begin
  17294. pTDefRegMap(@Self)^.&set := $20000000;
  17295. end;
  17296. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  17297. begin
  17298. pTDefRegMap(@Self)^.clr := $20000000;
  17299. end;
  17300. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  17301. begin
  17302. if thebits = 0 then
  17303. pTDefRegMap(@Self)^.clr := $20000000
  17304. else
  17305. pTDefRegMap(@Self)^.&set := $20000000;
  17306. end;
  17307. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  17308. begin
  17309. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17310. end;
  17311. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  17312. begin
  17313. pTDefRegMap(@Self)^.&set := $40000000;
  17314. end;
  17315. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  17316. begin
  17317. pTDefRegMap(@Self)^.clr := $40000000;
  17318. end;
  17319. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  17320. begin
  17321. if thebits = 0 then
  17322. pTDefRegMap(@Self)^.clr := $40000000
  17323. else
  17324. pTDefRegMap(@Self)^.&set := $40000000;
  17325. end;
  17326. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  17327. begin
  17328. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17329. end;
  17330. procedure TSPI1_SPI1CON.setFRMEN; inline;
  17331. begin
  17332. pTDefRegMap(@Self)^.&set := $80000000;
  17333. end;
  17334. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  17335. begin
  17336. pTDefRegMap(@Self)^.clr := $80000000;
  17337. end;
  17338. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  17339. begin
  17340. if thebits = 0 then
  17341. pTDefRegMap(@Self)^.clr := $80000000
  17342. else
  17343. pTDefRegMap(@Self)^.&set := $80000000;
  17344. end;
  17345. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  17346. begin
  17347. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17348. end;
  17349. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  17350. begin
  17351. pTDefRegMap(@Self)^.val := thebits;
  17352. end;
  17353. function TSPI1_SPI1CON.getw : TBits_32; inline;
  17354. begin
  17355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17356. end;
  17357. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  17358. begin
  17359. pTDefRegMap(@Self)^.&set := $00000001;
  17360. end;
  17361. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  17362. begin
  17363. pTDefRegMap(@Self)^.clr := $00000001;
  17364. end;
  17365. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  17366. begin
  17367. if thebits = 0 then
  17368. pTDefRegMap(@Self)^.clr := $00000001
  17369. else
  17370. pTDefRegMap(@Self)^.&set := $00000001;
  17371. end;
  17372. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  17373. begin
  17374. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17375. end;
  17376. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  17377. begin
  17378. pTDefRegMap(@Self)^.&set := $00000002;
  17379. end;
  17380. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  17381. begin
  17382. pTDefRegMap(@Self)^.clr := $00000002;
  17383. end;
  17384. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  17385. begin
  17386. if thebits = 0 then
  17387. pTDefRegMap(@Self)^.clr := $00000002
  17388. else
  17389. pTDefRegMap(@Self)^.&set := $00000002;
  17390. end;
  17391. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  17392. begin
  17393. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17394. end;
  17395. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  17396. begin
  17397. pTDefRegMap(@Self)^.&set := $00000008;
  17398. end;
  17399. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  17400. begin
  17401. pTDefRegMap(@Self)^.clr := $00000008;
  17402. end;
  17403. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  17404. begin
  17405. if thebits = 0 then
  17406. pTDefRegMap(@Self)^.clr := $00000008
  17407. else
  17408. pTDefRegMap(@Self)^.&set := $00000008;
  17409. end;
  17410. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  17411. begin
  17412. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17413. end;
  17414. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  17415. begin
  17416. pTDefRegMap(@Self)^.&set := $00000020;
  17417. end;
  17418. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  17419. begin
  17420. pTDefRegMap(@Self)^.clr := $00000020;
  17421. end;
  17422. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  17423. begin
  17424. if thebits = 0 then
  17425. pTDefRegMap(@Self)^.clr := $00000020
  17426. else
  17427. pTDefRegMap(@Self)^.&set := $00000020;
  17428. end;
  17429. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  17430. begin
  17431. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17432. end;
  17433. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  17434. begin
  17435. pTDefRegMap(@Self)^.&set := $00000040;
  17436. end;
  17437. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  17438. begin
  17439. pTDefRegMap(@Self)^.clr := $00000040;
  17440. end;
  17441. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  17442. begin
  17443. if thebits = 0 then
  17444. pTDefRegMap(@Self)^.clr := $00000040
  17445. else
  17446. pTDefRegMap(@Self)^.&set := $00000040;
  17447. end;
  17448. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  17449. begin
  17450. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17451. end;
  17452. procedure TSPI1_SPI1STAT.setSRMT; inline;
  17453. begin
  17454. pTDefRegMap(@Self)^.&set := $00000080;
  17455. end;
  17456. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  17457. begin
  17458. pTDefRegMap(@Self)^.clr := $00000080;
  17459. end;
  17460. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  17461. begin
  17462. if thebits = 0 then
  17463. pTDefRegMap(@Self)^.clr := $00000080
  17464. else
  17465. pTDefRegMap(@Self)^.&set := $00000080;
  17466. end;
  17467. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  17468. begin
  17469. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17470. end;
  17471. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  17472. begin
  17473. pTDefRegMap(@Self)^.&set := $00000100;
  17474. end;
  17475. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  17476. begin
  17477. pTDefRegMap(@Self)^.clr := $00000100;
  17478. end;
  17479. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  17480. begin
  17481. if thebits = 0 then
  17482. pTDefRegMap(@Self)^.clr := $00000100
  17483. else
  17484. pTDefRegMap(@Self)^.&set := $00000100;
  17485. end;
  17486. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  17487. begin
  17488. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17489. end;
  17490. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  17491. begin
  17492. pTDefRegMap(@Self)^.&set := $00000800;
  17493. end;
  17494. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  17495. begin
  17496. pTDefRegMap(@Self)^.clr := $00000800;
  17497. end;
  17498. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17499. begin
  17500. if thebits = 0 then
  17501. pTDefRegMap(@Self)^.clr := $00000800
  17502. else
  17503. pTDefRegMap(@Self)^.&set := $00000800;
  17504. end;
  17505. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17506. begin
  17507. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17508. end;
  17509. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17510. begin
  17511. pTDefRegMap(@Self)^.&set := $00001000;
  17512. end;
  17513. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17514. begin
  17515. pTDefRegMap(@Self)^.clr := $00001000;
  17516. end;
  17517. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17518. begin
  17519. if thebits = 0 then
  17520. pTDefRegMap(@Self)^.clr := $00001000
  17521. else
  17522. pTDefRegMap(@Self)^.&set := $00001000;
  17523. end;
  17524. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17525. begin
  17526. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17527. end;
  17528. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17529. begin
  17530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17531. end;
  17532. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17533. begin
  17534. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17535. end;
  17536. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17537. begin
  17538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17539. end;
  17540. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17541. begin
  17542. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17543. end;
  17544. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17545. begin
  17546. pTDefRegMap(@Self)^.val := thebits;
  17547. end;
  17548. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17549. begin
  17550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17551. end;
  17552. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17553. begin
  17554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17555. end;
  17556. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17557. begin
  17558. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17559. end;
  17560. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17561. begin
  17562. pTDefRegMap(@Self)^.&set := $00000008;
  17563. end;
  17564. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17565. begin
  17566. pTDefRegMap(@Self)^.clr := $00000008;
  17567. end;
  17568. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17569. begin
  17570. if thebits = 0 then
  17571. pTDefRegMap(@Self)^.clr := $00000008
  17572. else
  17573. pTDefRegMap(@Self)^.&set := $00000008;
  17574. end;
  17575. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17576. begin
  17577. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17578. end;
  17579. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17580. begin
  17581. pTDefRegMap(@Self)^.&set := $00000080;
  17582. end;
  17583. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17584. begin
  17585. pTDefRegMap(@Self)^.clr := $00000080;
  17586. end;
  17587. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17588. begin
  17589. if thebits = 0 then
  17590. pTDefRegMap(@Self)^.clr := $00000080
  17591. else
  17592. pTDefRegMap(@Self)^.&set := $00000080;
  17593. end;
  17594. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17595. begin
  17596. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17597. end;
  17598. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17599. begin
  17600. pTDefRegMap(@Self)^.&set := $00000100;
  17601. end;
  17602. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17603. begin
  17604. pTDefRegMap(@Self)^.clr := $00000100;
  17605. end;
  17606. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17607. begin
  17608. if thebits = 0 then
  17609. pTDefRegMap(@Self)^.clr := $00000100
  17610. else
  17611. pTDefRegMap(@Self)^.&set := $00000100;
  17612. end;
  17613. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17614. begin
  17615. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17616. end;
  17617. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17618. begin
  17619. pTDefRegMap(@Self)^.&set := $00000200;
  17620. end;
  17621. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17622. begin
  17623. pTDefRegMap(@Self)^.clr := $00000200;
  17624. end;
  17625. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17626. begin
  17627. if thebits = 0 then
  17628. pTDefRegMap(@Self)^.clr := $00000200
  17629. else
  17630. pTDefRegMap(@Self)^.&set := $00000200;
  17631. end;
  17632. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17633. begin
  17634. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17635. end;
  17636. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17637. begin
  17638. pTDefRegMap(@Self)^.&set := $00000400;
  17639. end;
  17640. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17641. begin
  17642. pTDefRegMap(@Self)^.clr := $00000400;
  17643. end;
  17644. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17645. begin
  17646. if thebits = 0 then
  17647. pTDefRegMap(@Self)^.clr := $00000400
  17648. else
  17649. pTDefRegMap(@Self)^.&set := $00000400;
  17650. end;
  17651. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17652. begin
  17653. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17654. end;
  17655. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17656. begin
  17657. pTDefRegMap(@Self)^.&set := $00000800;
  17658. end;
  17659. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17660. begin
  17661. pTDefRegMap(@Self)^.clr := $00000800;
  17662. end;
  17663. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17664. begin
  17665. if thebits = 0 then
  17666. pTDefRegMap(@Self)^.clr := $00000800
  17667. else
  17668. pTDefRegMap(@Self)^.&set := $00000800;
  17669. end;
  17670. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17671. begin
  17672. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17673. end;
  17674. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17675. begin
  17676. pTDefRegMap(@Self)^.&set := $00001000;
  17677. end;
  17678. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17679. begin
  17680. pTDefRegMap(@Self)^.clr := $00001000;
  17681. end;
  17682. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17683. begin
  17684. if thebits = 0 then
  17685. pTDefRegMap(@Self)^.clr := $00001000
  17686. else
  17687. pTDefRegMap(@Self)^.&set := $00001000;
  17688. end;
  17689. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17690. begin
  17691. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17692. end;
  17693. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17694. begin
  17695. pTDefRegMap(@Self)^.&set := $00008000;
  17696. end;
  17697. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17698. begin
  17699. pTDefRegMap(@Self)^.clr := $00008000;
  17700. end;
  17701. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17702. begin
  17703. if thebits = 0 then
  17704. pTDefRegMap(@Self)^.clr := $00008000
  17705. else
  17706. pTDefRegMap(@Self)^.&set := $00008000;
  17707. end;
  17708. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17709. begin
  17710. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17711. end;
  17712. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17713. begin
  17714. pTDefRegMap(@Self)^.&set := $00000001;
  17715. end;
  17716. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17717. begin
  17718. pTDefRegMap(@Self)^.clr := $00000001;
  17719. end;
  17720. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17721. begin
  17722. if thebits = 0 then
  17723. pTDefRegMap(@Self)^.clr := $00000001
  17724. else
  17725. pTDefRegMap(@Self)^.&set := $00000001;
  17726. end;
  17727. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17728. begin
  17729. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17730. end;
  17731. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17732. begin
  17733. pTDefRegMap(@Self)^.&set := $00000002;
  17734. end;
  17735. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17736. begin
  17737. pTDefRegMap(@Self)^.clr := $00000002;
  17738. end;
  17739. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17740. begin
  17741. if thebits = 0 then
  17742. pTDefRegMap(@Self)^.clr := $00000002
  17743. else
  17744. pTDefRegMap(@Self)^.&set := $00000002;
  17745. end;
  17746. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17747. begin
  17748. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17749. end;
  17750. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17751. begin
  17752. pTDefRegMap(@Self)^.val := thebits;
  17753. end;
  17754. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17755. begin
  17756. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17757. end;
  17758. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17759. begin
  17760. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17761. end;
  17762. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17763. begin
  17764. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17765. end;
  17766. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17767. begin
  17768. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17769. end;
  17770. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17771. begin
  17772. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17773. end;
  17774. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17775. begin
  17776. pTDefRegMap(@Self)^.&set := $00000010;
  17777. end;
  17778. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17779. begin
  17780. pTDefRegMap(@Self)^.clr := $00000010;
  17781. end;
  17782. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17783. begin
  17784. if thebits = 0 then
  17785. pTDefRegMap(@Self)^.clr := $00000010
  17786. else
  17787. pTDefRegMap(@Self)^.&set := $00000010;
  17788. end;
  17789. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17790. begin
  17791. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17792. end;
  17793. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17794. begin
  17795. pTDefRegMap(@Self)^.&set := $00000020;
  17796. end;
  17797. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17798. begin
  17799. pTDefRegMap(@Self)^.clr := $00000020;
  17800. end;
  17801. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17802. begin
  17803. if thebits = 0 then
  17804. pTDefRegMap(@Self)^.clr := $00000020
  17805. else
  17806. pTDefRegMap(@Self)^.&set := $00000020;
  17807. end;
  17808. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17809. begin
  17810. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17811. end;
  17812. procedure TSPI2_SPI2CON.setCKP; inline;
  17813. begin
  17814. pTDefRegMap(@Self)^.&set := $00000040;
  17815. end;
  17816. procedure TSPI2_SPI2CON.clearCKP; inline;
  17817. begin
  17818. pTDefRegMap(@Self)^.clr := $00000040;
  17819. end;
  17820. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17821. begin
  17822. if thebits = 0 then
  17823. pTDefRegMap(@Self)^.clr := $00000040
  17824. else
  17825. pTDefRegMap(@Self)^.&set := $00000040;
  17826. end;
  17827. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17828. begin
  17829. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17830. end;
  17831. procedure TSPI2_SPI2CON.setSSEN; inline;
  17832. begin
  17833. pTDefRegMap(@Self)^.&set := $00000080;
  17834. end;
  17835. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17836. begin
  17837. pTDefRegMap(@Self)^.clr := $00000080;
  17838. end;
  17839. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17840. begin
  17841. if thebits = 0 then
  17842. pTDefRegMap(@Self)^.clr := $00000080
  17843. else
  17844. pTDefRegMap(@Self)^.&set := $00000080;
  17845. end;
  17846. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17847. begin
  17848. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17849. end;
  17850. procedure TSPI2_SPI2CON.setCKE; inline;
  17851. begin
  17852. pTDefRegMap(@Self)^.&set := $00000100;
  17853. end;
  17854. procedure TSPI2_SPI2CON.clearCKE; inline;
  17855. begin
  17856. pTDefRegMap(@Self)^.clr := $00000100;
  17857. end;
  17858. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17859. begin
  17860. if thebits = 0 then
  17861. pTDefRegMap(@Self)^.clr := $00000100
  17862. else
  17863. pTDefRegMap(@Self)^.&set := $00000100;
  17864. end;
  17865. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17866. begin
  17867. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17868. end;
  17869. procedure TSPI2_SPI2CON.setSMP; inline;
  17870. begin
  17871. pTDefRegMap(@Self)^.&set := $00000200;
  17872. end;
  17873. procedure TSPI2_SPI2CON.clearSMP; inline;
  17874. begin
  17875. pTDefRegMap(@Self)^.clr := $00000200;
  17876. end;
  17877. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17878. begin
  17879. if thebits = 0 then
  17880. pTDefRegMap(@Self)^.clr := $00000200
  17881. else
  17882. pTDefRegMap(@Self)^.&set := $00000200;
  17883. end;
  17884. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17885. begin
  17886. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17887. end;
  17888. procedure TSPI2_SPI2CON.setMODE16; inline;
  17889. begin
  17890. pTDefRegMap(@Self)^.&set := $00000400;
  17891. end;
  17892. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17893. begin
  17894. pTDefRegMap(@Self)^.clr := $00000400;
  17895. end;
  17896. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17897. begin
  17898. if thebits = 0 then
  17899. pTDefRegMap(@Self)^.clr := $00000400
  17900. else
  17901. pTDefRegMap(@Self)^.&set := $00000400;
  17902. end;
  17903. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17904. begin
  17905. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17906. end;
  17907. procedure TSPI2_SPI2CON.setMODE32; inline;
  17908. begin
  17909. pTDefRegMap(@Self)^.&set := $00000800;
  17910. end;
  17911. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17912. begin
  17913. pTDefRegMap(@Self)^.clr := $00000800;
  17914. end;
  17915. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17916. begin
  17917. if thebits = 0 then
  17918. pTDefRegMap(@Self)^.clr := $00000800
  17919. else
  17920. pTDefRegMap(@Self)^.&set := $00000800;
  17921. end;
  17922. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17923. begin
  17924. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17925. end;
  17926. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17927. begin
  17928. pTDefRegMap(@Self)^.&set := $00001000;
  17929. end;
  17930. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17931. begin
  17932. pTDefRegMap(@Self)^.clr := $00001000;
  17933. end;
  17934. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17935. begin
  17936. if thebits = 0 then
  17937. pTDefRegMap(@Self)^.clr := $00001000
  17938. else
  17939. pTDefRegMap(@Self)^.&set := $00001000;
  17940. end;
  17941. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17942. begin
  17943. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17944. end;
  17945. procedure TSPI2_SPI2CON.setSIDL; inline;
  17946. begin
  17947. pTDefRegMap(@Self)^.&set := $00002000;
  17948. end;
  17949. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17950. begin
  17951. pTDefRegMap(@Self)^.clr := $00002000;
  17952. end;
  17953. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17954. begin
  17955. if thebits = 0 then
  17956. pTDefRegMap(@Self)^.clr := $00002000
  17957. else
  17958. pTDefRegMap(@Self)^.&set := $00002000;
  17959. end;
  17960. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17961. begin
  17962. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17963. end;
  17964. procedure TSPI2_SPI2CON.setON; inline;
  17965. begin
  17966. pTDefRegMap(@Self)^.&set := $00008000;
  17967. end;
  17968. procedure TSPI2_SPI2CON.clearON; inline;
  17969. begin
  17970. pTDefRegMap(@Self)^.clr := $00008000;
  17971. end;
  17972. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17973. begin
  17974. if thebits = 0 then
  17975. pTDefRegMap(@Self)^.clr := $00008000
  17976. else
  17977. pTDefRegMap(@Self)^.&set := $00008000;
  17978. end;
  17979. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17980. begin
  17981. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17982. end;
  17983. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17984. begin
  17985. pTDefRegMap(@Self)^.&set := $00010000;
  17986. end;
  17987. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17988. begin
  17989. pTDefRegMap(@Self)^.clr := $00010000;
  17990. end;
  17991. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17992. begin
  17993. if thebits = 0 then
  17994. pTDefRegMap(@Self)^.clr := $00010000
  17995. else
  17996. pTDefRegMap(@Self)^.&set := $00010000;
  17997. end;
  17998. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17999. begin
  18000. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18001. end;
  18002. procedure TSPI2_SPI2CON.setSPIFE; inline;
  18003. begin
  18004. pTDefRegMap(@Self)^.&set := $00020000;
  18005. end;
  18006. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  18007. begin
  18008. pTDefRegMap(@Self)^.clr := $00020000;
  18009. end;
  18010. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  18011. begin
  18012. if thebits = 0 then
  18013. pTDefRegMap(@Self)^.clr := $00020000
  18014. else
  18015. pTDefRegMap(@Self)^.&set := $00020000;
  18016. end;
  18017. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  18018. begin
  18019. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18020. end;
  18021. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  18022. begin
  18023. pTDefRegMap(@Self)^.&set := $00800000;
  18024. end;
  18025. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  18026. begin
  18027. pTDefRegMap(@Self)^.clr := $00800000;
  18028. end;
  18029. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  18030. begin
  18031. if thebits = 0 then
  18032. pTDefRegMap(@Self)^.clr := $00800000
  18033. else
  18034. pTDefRegMap(@Self)^.&set := $00800000;
  18035. end;
  18036. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  18037. begin
  18038. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  18039. end;
  18040. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  18041. begin
  18042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18043. end;
  18044. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  18045. begin
  18046. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18047. end;
  18048. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  18049. begin
  18050. pTDefRegMap(@Self)^.&set := $08000000;
  18051. end;
  18052. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  18053. begin
  18054. pTDefRegMap(@Self)^.clr := $08000000;
  18055. end;
  18056. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  18057. begin
  18058. if thebits = 0 then
  18059. pTDefRegMap(@Self)^.clr := $08000000
  18060. else
  18061. pTDefRegMap(@Self)^.&set := $08000000;
  18062. end;
  18063. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  18064. begin
  18065. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18066. end;
  18067. procedure TSPI2_SPI2CON.setMSSEN; inline;
  18068. begin
  18069. pTDefRegMap(@Self)^.&set := $10000000;
  18070. end;
  18071. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  18072. begin
  18073. pTDefRegMap(@Self)^.clr := $10000000;
  18074. end;
  18075. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  18076. begin
  18077. if thebits = 0 then
  18078. pTDefRegMap(@Self)^.clr := $10000000
  18079. else
  18080. pTDefRegMap(@Self)^.&set := $10000000;
  18081. end;
  18082. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  18083. begin
  18084. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18085. end;
  18086. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  18087. begin
  18088. pTDefRegMap(@Self)^.&set := $20000000;
  18089. end;
  18090. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  18091. begin
  18092. pTDefRegMap(@Self)^.clr := $20000000;
  18093. end;
  18094. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  18095. begin
  18096. if thebits = 0 then
  18097. pTDefRegMap(@Self)^.clr := $20000000
  18098. else
  18099. pTDefRegMap(@Self)^.&set := $20000000;
  18100. end;
  18101. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  18102. begin
  18103. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18104. end;
  18105. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  18106. begin
  18107. pTDefRegMap(@Self)^.&set := $40000000;
  18108. end;
  18109. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  18110. begin
  18111. pTDefRegMap(@Self)^.clr := $40000000;
  18112. end;
  18113. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  18114. begin
  18115. if thebits = 0 then
  18116. pTDefRegMap(@Self)^.clr := $40000000
  18117. else
  18118. pTDefRegMap(@Self)^.&set := $40000000;
  18119. end;
  18120. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  18121. begin
  18122. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  18123. end;
  18124. procedure TSPI2_SPI2CON.setFRMEN; inline;
  18125. begin
  18126. pTDefRegMap(@Self)^.&set := $80000000;
  18127. end;
  18128. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  18129. begin
  18130. pTDefRegMap(@Self)^.clr := $80000000;
  18131. end;
  18132. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  18133. begin
  18134. if thebits = 0 then
  18135. pTDefRegMap(@Self)^.clr := $80000000
  18136. else
  18137. pTDefRegMap(@Self)^.&set := $80000000;
  18138. end;
  18139. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  18140. begin
  18141. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18142. end;
  18143. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  18144. begin
  18145. pTDefRegMap(@Self)^.val := thebits;
  18146. end;
  18147. function TSPI2_SPI2CON.getw : TBits_32; inline;
  18148. begin
  18149. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18150. end;
  18151. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  18152. begin
  18153. pTDefRegMap(@Self)^.&set := $00000001;
  18154. end;
  18155. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  18156. begin
  18157. pTDefRegMap(@Self)^.clr := $00000001;
  18158. end;
  18159. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  18160. begin
  18161. if thebits = 0 then
  18162. pTDefRegMap(@Self)^.clr := $00000001
  18163. else
  18164. pTDefRegMap(@Self)^.&set := $00000001;
  18165. end;
  18166. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  18167. begin
  18168. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18169. end;
  18170. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  18171. begin
  18172. pTDefRegMap(@Self)^.&set := $00000002;
  18173. end;
  18174. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  18175. begin
  18176. pTDefRegMap(@Self)^.clr := $00000002;
  18177. end;
  18178. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  18179. begin
  18180. if thebits = 0 then
  18181. pTDefRegMap(@Self)^.clr := $00000002
  18182. else
  18183. pTDefRegMap(@Self)^.&set := $00000002;
  18184. end;
  18185. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  18186. begin
  18187. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18188. end;
  18189. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  18190. begin
  18191. pTDefRegMap(@Self)^.&set := $00000008;
  18192. end;
  18193. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  18194. begin
  18195. pTDefRegMap(@Self)^.clr := $00000008;
  18196. end;
  18197. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  18198. begin
  18199. if thebits = 0 then
  18200. pTDefRegMap(@Self)^.clr := $00000008
  18201. else
  18202. pTDefRegMap(@Self)^.&set := $00000008;
  18203. end;
  18204. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  18205. begin
  18206. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18207. end;
  18208. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  18209. begin
  18210. pTDefRegMap(@Self)^.&set := $00000020;
  18211. end;
  18212. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  18213. begin
  18214. pTDefRegMap(@Self)^.clr := $00000020;
  18215. end;
  18216. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  18217. begin
  18218. if thebits = 0 then
  18219. pTDefRegMap(@Self)^.clr := $00000020
  18220. else
  18221. pTDefRegMap(@Self)^.&set := $00000020;
  18222. end;
  18223. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  18224. begin
  18225. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18226. end;
  18227. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  18228. begin
  18229. pTDefRegMap(@Self)^.&set := $00000040;
  18230. end;
  18231. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  18232. begin
  18233. pTDefRegMap(@Self)^.clr := $00000040;
  18234. end;
  18235. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  18236. begin
  18237. if thebits = 0 then
  18238. pTDefRegMap(@Self)^.clr := $00000040
  18239. else
  18240. pTDefRegMap(@Self)^.&set := $00000040;
  18241. end;
  18242. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  18243. begin
  18244. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18245. end;
  18246. procedure TSPI2_SPI2STAT.setSRMT; inline;
  18247. begin
  18248. pTDefRegMap(@Self)^.&set := $00000080;
  18249. end;
  18250. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.clr := $00000080;
  18253. end;
  18254. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  18255. begin
  18256. if thebits = 0 then
  18257. pTDefRegMap(@Self)^.clr := $00000080
  18258. else
  18259. pTDefRegMap(@Self)^.&set := $00000080;
  18260. end;
  18261. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  18262. begin
  18263. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18264. end;
  18265. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  18266. begin
  18267. pTDefRegMap(@Self)^.&set := $00000100;
  18268. end;
  18269. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.clr := $00000100;
  18272. end;
  18273. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  18274. begin
  18275. if thebits = 0 then
  18276. pTDefRegMap(@Self)^.clr := $00000100
  18277. else
  18278. pTDefRegMap(@Self)^.&set := $00000100;
  18279. end;
  18280. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  18281. begin
  18282. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18283. end;
  18284. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.&set := $00000800;
  18287. end;
  18288. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.clr := $00000800;
  18291. end;
  18292. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  18293. begin
  18294. if thebits = 0 then
  18295. pTDefRegMap(@Self)^.clr := $00000800
  18296. else
  18297. pTDefRegMap(@Self)^.&set := $00000800;
  18298. end;
  18299. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  18300. begin
  18301. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18302. end;
  18303. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.&set := $00001000;
  18306. end;
  18307. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.clr := $00001000;
  18310. end;
  18311. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  18312. begin
  18313. if thebits = 0 then
  18314. pTDefRegMap(@Self)^.clr := $00001000
  18315. else
  18316. pTDefRegMap(@Self)^.&set := $00001000;
  18317. end;
  18318. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  18319. begin
  18320. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18321. end;
  18322. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  18325. end;
  18326. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  18327. begin
  18328. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  18329. end;
  18330. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  18333. end;
  18334. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  18335. begin
  18336. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  18337. end;
  18338. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  18339. begin
  18340. pTDefRegMap(@Self)^.val := thebits;
  18341. end;
  18342. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  18343. begin
  18344. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18345. end;
  18346. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  18347. begin
  18348. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18349. end;
  18350. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  18351. begin
  18352. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18353. end;
  18354. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  18355. begin
  18356. pTDefRegMap(@Self)^.&set := $00000008;
  18357. end;
  18358. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  18359. begin
  18360. pTDefRegMap(@Self)^.clr := $00000008;
  18361. end;
  18362. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  18363. begin
  18364. if thebits = 0 then
  18365. pTDefRegMap(@Self)^.clr := $00000008
  18366. else
  18367. pTDefRegMap(@Self)^.&set := $00000008;
  18368. end;
  18369. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  18370. begin
  18371. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18372. end;
  18373. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  18374. begin
  18375. pTDefRegMap(@Self)^.&set := $00000080;
  18376. end;
  18377. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  18378. begin
  18379. pTDefRegMap(@Self)^.clr := $00000080;
  18380. end;
  18381. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  18382. begin
  18383. if thebits = 0 then
  18384. pTDefRegMap(@Self)^.clr := $00000080
  18385. else
  18386. pTDefRegMap(@Self)^.&set := $00000080;
  18387. end;
  18388. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  18389. begin
  18390. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18391. end;
  18392. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  18393. begin
  18394. pTDefRegMap(@Self)^.&set := $00000100;
  18395. end;
  18396. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  18397. begin
  18398. pTDefRegMap(@Self)^.clr := $00000100;
  18399. end;
  18400. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  18401. begin
  18402. if thebits = 0 then
  18403. pTDefRegMap(@Self)^.clr := $00000100
  18404. else
  18405. pTDefRegMap(@Self)^.&set := $00000100;
  18406. end;
  18407. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  18408. begin
  18409. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18410. end;
  18411. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  18412. begin
  18413. pTDefRegMap(@Self)^.&set := $00000200;
  18414. end;
  18415. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  18416. begin
  18417. pTDefRegMap(@Self)^.clr := $00000200;
  18418. end;
  18419. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  18420. begin
  18421. if thebits = 0 then
  18422. pTDefRegMap(@Self)^.clr := $00000200
  18423. else
  18424. pTDefRegMap(@Self)^.&set := $00000200;
  18425. end;
  18426. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  18427. begin
  18428. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18429. end;
  18430. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  18431. begin
  18432. pTDefRegMap(@Self)^.&set := $00000400;
  18433. end;
  18434. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  18435. begin
  18436. pTDefRegMap(@Self)^.clr := $00000400;
  18437. end;
  18438. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  18439. begin
  18440. if thebits = 0 then
  18441. pTDefRegMap(@Self)^.clr := $00000400
  18442. else
  18443. pTDefRegMap(@Self)^.&set := $00000400;
  18444. end;
  18445. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  18446. begin
  18447. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18448. end;
  18449. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  18450. begin
  18451. pTDefRegMap(@Self)^.&set := $00000800;
  18452. end;
  18453. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  18454. begin
  18455. pTDefRegMap(@Self)^.clr := $00000800;
  18456. end;
  18457. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  18458. begin
  18459. if thebits = 0 then
  18460. pTDefRegMap(@Self)^.clr := $00000800
  18461. else
  18462. pTDefRegMap(@Self)^.&set := $00000800;
  18463. end;
  18464. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  18465. begin
  18466. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18467. end;
  18468. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  18469. begin
  18470. pTDefRegMap(@Self)^.&set := $00001000;
  18471. end;
  18472. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  18473. begin
  18474. pTDefRegMap(@Self)^.clr := $00001000;
  18475. end;
  18476. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  18477. begin
  18478. if thebits = 0 then
  18479. pTDefRegMap(@Self)^.clr := $00001000
  18480. else
  18481. pTDefRegMap(@Self)^.&set := $00001000;
  18482. end;
  18483. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  18484. begin
  18485. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18486. end;
  18487. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  18488. begin
  18489. pTDefRegMap(@Self)^.&set := $00008000;
  18490. end;
  18491. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  18492. begin
  18493. pTDefRegMap(@Self)^.clr := $00008000;
  18494. end;
  18495. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  18496. begin
  18497. if thebits = 0 then
  18498. pTDefRegMap(@Self)^.clr := $00008000
  18499. else
  18500. pTDefRegMap(@Self)^.&set := $00008000;
  18501. end;
  18502. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18503. begin
  18504. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18505. end;
  18506. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18507. begin
  18508. pTDefRegMap(@Self)^.&set := $00000001;
  18509. end;
  18510. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18511. begin
  18512. pTDefRegMap(@Self)^.clr := $00000001;
  18513. end;
  18514. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18515. begin
  18516. if thebits = 0 then
  18517. pTDefRegMap(@Self)^.clr := $00000001
  18518. else
  18519. pTDefRegMap(@Self)^.&set := $00000001;
  18520. end;
  18521. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18522. begin
  18523. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18524. end;
  18525. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18526. begin
  18527. pTDefRegMap(@Self)^.&set := $00000002;
  18528. end;
  18529. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18530. begin
  18531. pTDefRegMap(@Self)^.clr := $00000002;
  18532. end;
  18533. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18534. begin
  18535. if thebits = 0 then
  18536. pTDefRegMap(@Self)^.clr := $00000002
  18537. else
  18538. pTDefRegMap(@Self)^.&set := $00000002;
  18539. end;
  18540. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18541. begin
  18542. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18543. end;
  18544. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18545. begin
  18546. pTDefRegMap(@Self)^.val := thebits;
  18547. end;
  18548. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18549. begin
  18550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18551. end;
  18552. procedure TUART1_U1AMODE.setSTSEL; inline;
  18553. begin
  18554. pTDefRegMap(@Self)^.&set := $00000001;
  18555. end;
  18556. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18557. begin
  18558. pTDefRegMap(@Self)^.clr := $00000001;
  18559. end;
  18560. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18561. begin
  18562. if thebits = 0 then
  18563. pTDefRegMap(@Self)^.clr := $00000001
  18564. else
  18565. pTDefRegMap(@Self)^.&set := $00000001;
  18566. end;
  18567. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18568. begin
  18569. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18570. end;
  18571. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18572. begin
  18573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18574. end;
  18575. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18576. begin
  18577. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18578. end;
  18579. procedure TUART1_U1AMODE.setBRGH; inline;
  18580. begin
  18581. pTDefRegMap(@Self)^.&set := $00000008;
  18582. end;
  18583. procedure TUART1_U1AMODE.clearBRGH; inline;
  18584. begin
  18585. pTDefRegMap(@Self)^.clr := $00000008;
  18586. end;
  18587. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18588. begin
  18589. if thebits = 0 then
  18590. pTDefRegMap(@Self)^.clr := $00000008
  18591. else
  18592. pTDefRegMap(@Self)^.&set := $00000008;
  18593. end;
  18594. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18595. begin
  18596. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18597. end;
  18598. procedure TUART1_U1AMODE.setRXINV; inline;
  18599. begin
  18600. pTDefRegMap(@Self)^.&set := $00000010;
  18601. end;
  18602. procedure TUART1_U1AMODE.clearRXINV; inline;
  18603. begin
  18604. pTDefRegMap(@Self)^.clr := $00000010;
  18605. end;
  18606. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18607. begin
  18608. if thebits = 0 then
  18609. pTDefRegMap(@Self)^.clr := $00000010
  18610. else
  18611. pTDefRegMap(@Self)^.&set := $00000010;
  18612. end;
  18613. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18614. begin
  18615. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18616. end;
  18617. procedure TUART1_U1AMODE.setABAUD; inline;
  18618. begin
  18619. pTDefRegMap(@Self)^.&set := $00000020;
  18620. end;
  18621. procedure TUART1_U1AMODE.clearABAUD; inline;
  18622. begin
  18623. pTDefRegMap(@Self)^.clr := $00000020;
  18624. end;
  18625. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18626. begin
  18627. if thebits = 0 then
  18628. pTDefRegMap(@Self)^.clr := $00000020
  18629. else
  18630. pTDefRegMap(@Self)^.&set := $00000020;
  18631. end;
  18632. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18633. begin
  18634. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18635. end;
  18636. procedure TUART1_U1AMODE.setLPBACK; inline;
  18637. begin
  18638. pTDefRegMap(@Self)^.&set := $00000040;
  18639. end;
  18640. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18641. begin
  18642. pTDefRegMap(@Self)^.clr := $00000040;
  18643. end;
  18644. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18645. begin
  18646. if thebits = 0 then
  18647. pTDefRegMap(@Self)^.clr := $00000040
  18648. else
  18649. pTDefRegMap(@Self)^.&set := $00000040;
  18650. end;
  18651. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18652. begin
  18653. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18654. end;
  18655. procedure TUART1_U1AMODE.setWAKE; inline;
  18656. begin
  18657. pTDefRegMap(@Self)^.&set := $00000080;
  18658. end;
  18659. procedure TUART1_U1AMODE.clearWAKE; inline;
  18660. begin
  18661. pTDefRegMap(@Self)^.clr := $00000080;
  18662. end;
  18663. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18664. begin
  18665. if thebits = 0 then
  18666. pTDefRegMap(@Self)^.clr := $00000080
  18667. else
  18668. pTDefRegMap(@Self)^.&set := $00000080;
  18669. end;
  18670. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18671. begin
  18672. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18673. end;
  18674. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18675. begin
  18676. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18677. end;
  18678. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18679. begin
  18680. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18681. end;
  18682. procedure TUART1_U1AMODE.setRTSMD; inline;
  18683. begin
  18684. pTDefRegMap(@Self)^.&set := $00000800;
  18685. end;
  18686. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18687. begin
  18688. pTDefRegMap(@Self)^.clr := $00000800;
  18689. end;
  18690. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18691. begin
  18692. if thebits = 0 then
  18693. pTDefRegMap(@Self)^.clr := $00000800
  18694. else
  18695. pTDefRegMap(@Self)^.&set := $00000800;
  18696. end;
  18697. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18698. begin
  18699. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18700. end;
  18701. procedure TUART1_U1AMODE.setIREN; inline;
  18702. begin
  18703. pTDefRegMap(@Self)^.&set := $00001000;
  18704. end;
  18705. procedure TUART1_U1AMODE.clearIREN; inline;
  18706. begin
  18707. pTDefRegMap(@Self)^.clr := $00001000;
  18708. end;
  18709. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18710. begin
  18711. if thebits = 0 then
  18712. pTDefRegMap(@Self)^.clr := $00001000
  18713. else
  18714. pTDefRegMap(@Self)^.&set := $00001000;
  18715. end;
  18716. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18717. begin
  18718. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18719. end;
  18720. procedure TUART1_U1AMODE.setSIDL; inline;
  18721. begin
  18722. pTDefRegMap(@Self)^.&set := $00002000;
  18723. end;
  18724. procedure TUART1_U1AMODE.clearSIDL; inline;
  18725. begin
  18726. pTDefRegMap(@Self)^.clr := $00002000;
  18727. end;
  18728. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18729. begin
  18730. if thebits = 0 then
  18731. pTDefRegMap(@Self)^.clr := $00002000
  18732. else
  18733. pTDefRegMap(@Self)^.&set := $00002000;
  18734. end;
  18735. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18736. begin
  18737. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18738. end;
  18739. procedure TUART1_U1AMODE.setON; inline;
  18740. begin
  18741. pTDefRegMap(@Self)^.&set := $00008000;
  18742. end;
  18743. procedure TUART1_U1AMODE.clearON; inline;
  18744. begin
  18745. pTDefRegMap(@Self)^.clr := $00008000;
  18746. end;
  18747. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18748. begin
  18749. if thebits = 0 then
  18750. pTDefRegMap(@Self)^.clr := $00008000
  18751. else
  18752. pTDefRegMap(@Self)^.&set := $00008000;
  18753. end;
  18754. function TUART1_U1AMODE.getON : TBits_1; inline;
  18755. begin
  18756. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18757. end;
  18758. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18759. begin
  18760. pTDefRegMap(@Self)^.&set := $00000002;
  18761. end;
  18762. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18763. begin
  18764. pTDefRegMap(@Self)^.clr := $00000002;
  18765. end;
  18766. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18767. begin
  18768. if thebits = 0 then
  18769. pTDefRegMap(@Self)^.clr := $00000002
  18770. else
  18771. pTDefRegMap(@Self)^.&set := $00000002;
  18772. end;
  18773. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18774. begin
  18775. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18776. end;
  18777. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18778. begin
  18779. pTDefRegMap(@Self)^.&set := $00000004;
  18780. end;
  18781. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18782. begin
  18783. pTDefRegMap(@Self)^.clr := $00000004;
  18784. end;
  18785. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18786. begin
  18787. if thebits = 0 then
  18788. pTDefRegMap(@Self)^.clr := $00000004
  18789. else
  18790. pTDefRegMap(@Self)^.&set := $00000004;
  18791. end;
  18792. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18793. begin
  18794. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18795. end;
  18796. procedure TUART1_U1AMODE.setUEN0; inline;
  18797. begin
  18798. pTDefRegMap(@Self)^.&set := $00000100;
  18799. end;
  18800. procedure TUART1_U1AMODE.clearUEN0; inline;
  18801. begin
  18802. pTDefRegMap(@Self)^.clr := $00000100;
  18803. end;
  18804. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18805. begin
  18806. if thebits = 0 then
  18807. pTDefRegMap(@Self)^.clr := $00000100
  18808. else
  18809. pTDefRegMap(@Self)^.&set := $00000100;
  18810. end;
  18811. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18812. begin
  18813. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18814. end;
  18815. procedure TUART1_U1AMODE.setUEN1; inline;
  18816. begin
  18817. pTDefRegMap(@Self)^.&set := $00000200;
  18818. end;
  18819. procedure TUART1_U1AMODE.clearUEN1; inline;
  18820. begin
  18821. pTDefRegMap(@Self)^.clr := $00000200;
  18822. end;
  18823. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18824. begin
  18825. if thebits = 0 then
  18826. pTDefRegMap(@Self)^.clr := $00000200
  18827. else
  18828. pTDefRegMap(@Self)^.&set := $00000200;
  18829. end;
  18830. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18831. begin
  18832. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18833. end;
  18834. procedure TUART1_U1AMODE.setUSIDL; inline;
  18835. begin
  18836. pTDefRegMap(@Self)^.&set := $00002000;
  18837. end;
  18838. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18839. begin
  18840. pTDefRegMap(@Self)^.clr := $00002000;
  18841. end;
  18842. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18843. begin
  18844. if thebits = 0 then
  18845. pTDefRegMap(@Self)^.clr := $00002000
  18846. else
  18847. pTDefRegMap(@Self)^.&set := $00002000;
  18848. end;
  18849. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18850. begin
  18851. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18852. end;
  18853. procedure TUART1_U1AMODE.setUARTEN; inline;
  18854. begin
  18855. pTDefRegMap(@Self)^.&set := $00008000;
  18856. end;
  18857. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18858. begin
  18859. pTDefRegMap(@Self)^.clr := $00008000;
  18860. end;
  18861. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18862. begin
  18863. if thebits = 0 then
  18864. pTDefRegMap(@Self)^.clr := $00008000
  18865. else
  18866. pTDefRegMap(@Self)^.&set := $00008000;
  18867. end;
  18868. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18869. begin
  18870. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18871. end;
  18872. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18873. begin
  18874. pTDefRegMap(@Self)^.val := thebits;
  18875. end;
  18876. function TUART1_U1AMODE.getw : TBits_32; inline;
  18877. begin
  18878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18879. end;
  18880. procedure TUART1_U1MODE.setSTSEL; inline;
  18881. begin
  18882. pTDefRegMap(@Self)^.&set := $00000001;
  18883. end;
  18884. procedure TUART1_U1MODE.clearSTSEL; inline;
  18885. begin
  18886. pTDefRegMap(@Self)^.clr := $00000001;
  18887. end;
  18888. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18889. begin
  18890. if thebits = 0 then
  18891. pTDefRegMap(@Self)^.clr := $00000001
  18892. else
  18893. pTDefRegMap(@Self)^.&set := $00000001;
  18894. end;
  18895. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18896. begin
  18897. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18898. end;
  18899. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18900. begin
  18901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18902. end;
  18903. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18904. begin
  18905. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18906. end;
  18907. procedure TUART1_U1MODE.setBRGH; inline;
  18908. begin
  18909. pTDefRegMap(@Self)^.&set := $00000008;
  18910. end;
  18911. procedure TUART1_U1MODE.clearBRGH; inline;
  18912. begin
  18913. pTDefRegMap(@Self)^.clr := $00000008;
  18914. end;
  18915. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18916. begin
  18917. if thebits = 0 then
  18918. pTDefRegMap(@Self)^.clr := $00000008
  18919. else
  18920. pTDefRegMap(@Self)^.&set := $00000008;
  18921. end;
  18922. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18923. begin
  18924. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18925. end;
  18926. procedure TUART1_U1MODE.setRXINV; inline;
  18927. begin
  18928. pTDefRegMap(@Self)^.&set := $00000010;
  18929. end;
  18930. procedure TUART1_U1MODE.clearRXINV; inline;
  18931. begin
  18932. pTDefRegMap(@Self)^.clr := $00000010;
  18933. end;
  18934. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18935. begin
  18936. if thebits = 0 then
  18937. pTDefRegMap(@Self)^.clr := $00000010
  18938. else
  18939. pTDefRegMap(@Self)^.&set := $00000010;
  18940. end;
  18941. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18942. begin
  18943. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18944. end;
  18945. procedure TUART1_U1MODE.setABAUD; inline;
  18946. begin
  18947. pTDefRegMap(@Self)^.&set := $00000020;
  18948. end;
  18949. procedure TUART1_U1MODE.clearABAUD; inline;
  18950. begin
  18951. pTDefRegMap(@Self)^.clr := $00000020;
  18952. end;
  18953. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18954. begin
  18955. if thebits = 0 then
  18956. pTDefRegMap(@Self)^.clr := $00000020
  18957. else
  18958. pTDefRegMap(@Self)^.&set := $00000020;
  18959. end;
  18960. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18961. begin
  18962. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18963. end;
  18964. procedure TUART1_U1MODE.setLPBACK; inline;
  18965. begin
  18966. pTDefRegMap(@Self)^.&set := $00000040;
  18967. end;
  18968. procedure TUART1_U1MODE.clearLPBACK; inline;
  18969. begin
  18970. pTDefRegMap(@Self)^.clr := $00000040;
  18971. end;
  18972. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18973. begin
  18974. if thebits = 0 then
  18975. pTDefRegMap(@Self)^.clr := $00000040
  18976. else
  18977. pTDefRegMap(@Self)^.&set := $00000040;
  18978. end;
  18979. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18980. begin
  18981. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18982. end;
  18983. procedure TUART1_U1MODE.setWAKE; inline;
  18984. begin
  18985. pTDefRegMap(@Self)^.&set := $00000080;
  18986. end;
  18987. procedure TUART1_U1MODE.clearWAKE; inline;
  18988. begin
  18989. pTDefRegMap(@Self)^.clr := $00000080;
  18990. end;
  18991. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18992. begin
  18993. if thebits = 0 then
  18994. pTDefRegMap(@Self)^.clr := $00000080
  18995. else
  18996. pTDefRegMap(@Self)^.&set := $00000080;
  18997. end;
  18998. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18999. begin
  19000. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19001. end;
  19002. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  19003. begin
  19004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19005. end;
  19006. function TUART1_U1MODE.getUEN : TBits_2; inline;
  19007. begin
  19008. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19009. end;
  19010. procedure TUART1_U1MODE.setRTSMD; inline;
  19011. begin
  19012. pTDefRegMap(@Self)^.&set := $00000800;
  19013. end;
  19014. procedure TUART1_U1MODE.clearRTSMD; inline;
  19015. begin
  19016. pTDefRegMap(@Self)^.clr := $00000800;
  19017. end;
  19018. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  19019. begin
  19020. if thebits = 0 then
  19021. pTDefRegMap(@Self)^.clr := $00000800
  19022. else
  19023. pTDefRegMap(@Self)^.&set := $00000800;
  19024. end;
  19025. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  19026. begin
  19027. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19028. end;
  19029. procedure TUART1_U1MODE.setIREN; inline;
  19030. begin
  19031. pTDefRegMap(@Self)^.&set := $00001000;
  19032. end;
  19033. procedure TUART1_U1MODE.clearIREN; inline;
  19034. begin
  19035. pTDefRegMap(@Self)^.clr := $00001000;
  19036. end;
  19037. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  19038. begin
  19039. if thebits = 0 then
  19040. pTDefRegMap(@Self)^.clr := $00001000
  19041. else
  19042. pTDefRegMap(@Self)^.&set := $00001000;
  19043. end;
  19044. function TUART1_U1MODE.getIREN : TBits_1; inline;
  19045. begin
  19046. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19047. end;
  19048. procedure TUART1_U1MODE.setSIDL; inline;
  19049. begin
  19050. pTDefRegMap(@Self)^.&set := $00002000;
  19051. end;
  19052. procedure TUART1_U1MODE.clearSIDL; inline;
  19053. begin
  19054. pTDefRegMap(@Self)^.clr := $00002000;
  19055. end;
  19056. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  19057. begin
  19058. if thebits = 0 then
  19059. pTDefRegMap(@Self)^.clr := $00002000
  19060. else
  19061. pTDefRegMap(@Self)^.&set := $00002000;
  19062. end;
  19063. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  19064. begin
  19065. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19066. end;
  19067. procedure TUART1_U1MODE.setON; inline;
  19068. begin
  19069. pTDefRegMap(@Self)^.&set := $00008000;
  19070. end;
  19071. procedure TUART1_U1MODE.clearON; inline;
  19072. begin
  19073. pTDefRegMap(@Self)^.clr := $00008000;
  19074. end;
  19075. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  19076. begin
  19077. if thebits = 0 then
  19078. pTDefRegMap(@Self)^.clr := $00008000
  19079. else
  19080. pTDefRegMap(@Self)^.&set := $00008000;
  19081. end;
  19082. function TUART1_U1MODE.getON : TBits_1; inline;
  19083. begin
  19084. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19085. end;
  19086. procedure TUART1_U1MODE.setPDSEL0; inline;
  19087. begin
  19088. pTDefRegMap(@Self)^.&set := $00000002;
  19089. end;
  19090. procedure TUART1_U1MODE.clearPDSEL0; inline;
  19091. begin
  19092. pTDefRegMap(@Self)^.clr := $00000002;
  19093. end;
  19094. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  19095. begin
  19096. if thebits = 0 then
  19097. pTDefRegMap(@Self)^.clr := $00000002
  19098. else
  19099. pTDefRegMap(@Self)^.&set := $00000002;
  19100. end;
  19101. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  19102. begin
  19103. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19104. end;
  19105. procedure TUART1_U1MODE.setPDSEL1; inline;
  19106. begin
  19107. pTDefRegMap(@Self)^.&set := $00000004;
  19108. end;
  19109. procedure TUART1_U1MODE.clearPDSEL1; inline;
  19110. begin
  19111. pTDefRegMap(@Self)^.clr := $00000004;
  19112. end;
  19113. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  19114. begin
  19115. if thebits = 0 then
  19116. pTDefRegMap(@Self)^.clr := $00000004
  19117. else
  19118. pTDefRegMap(@Self)^.&set := $00000004;
  19119. end;
  19120. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  19121. begin
  19122. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19123. end;
  19124. procedure TUART1_U1MODE.setUEN0; inline;
  19125. begin
  19126. pTDefRegMap(@Self)^.&set := $00000100;
  19127. end;
  19128. procedure TUART1_U1MODE.clearUEN0; inline;
  19129. begin
  19130. pTDefRegMap(@Self)^.clr := $00000100;
  19131. end;
  19132. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  19133. begin
  19134. if thebits = 0 then
  19135. pTDefRegMap(@Self)^.clr := $00000100
  19136. else
  19137. pTDefRegMap(@Self)^.&set := $00000100;
  19138. end;
  19139. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  19140. begin
  19141. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19142. end;
  19143. procedure TUART1_U1MODE.setUEN1; inline;
  19144. begin
  19145. pTDefRegMap(@Self)^.&set := $00000200;
  19146. end;
  19147. procedure TUART1_U1MODE.clearUEN1; inline;
  19148. begin
  19149. pTDefRegMap(@Self)^.clr := $00000200;
  19150. end;
  19151. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  19152. begin
  19153. if thebits = 0 then
  19154. pTDefRegMap(@Self)^.clr := $00000200
  19155. else
  19156. pTDefRegMap(@Self)^.&set := $00000200;
  19157. end;
  19158. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  19159. begin
  19160. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19161. end;
  19162. procedure TUART1_U1MODE.setUSIDL; inline;
  19163. begin
  19164. pTDefRegMap(@Self)^.&set := $00002000;
  19165. end;
  19166. procedure TUART1_U1MODE.clearUSIDL; inline;
  19167. begin
  19168. pTDefRegMap(@Self)^.clr := $00002000;
  19169. end;
  19170. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  19171. begin
  19172. if thebits = 0 then
  19173. pTDefRegMap(@Self)^.clr := $00002000
  19174. else
  19175. pTDefRegMap(@Self)^.&set := $00002000;
  19176. end;
  19177. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  19178. begin
  19179. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19180. end;
  19181. procedure TUART1_U1MODE.setUARTEN; inline;
  19182. begin
  19183. pTDefRegMap(@Self)^.&set := $00008000;
  19184. end;
  19185. procedure TUART1_U1MODE.clearUARTEN; inline;
  19186. begin
  19187. pTDefRegMap(@Self)^.clr := $00008000;
  19188. end;
  19189. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  19190. begin
  19191. if thebits = 0 then
  19192. pTDefRegMap(@Self)^.clr := $00008000
  19193. else
  19194. pTDefRegMap(@Self)^.&set := $00008000;
  19195. end;
  19196. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  19197. begin
  19198. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19199. end;
  19200. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  19201. begin
  19202. pTDefRegMap(@Self)^.val := thebits;
  19203. end;
  19204. function TUART1_U1MODE.getw : TBits_32; inline;
  19205. begin
  19206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19207. end;
  19208. procedure TUART1_U1ASTA.setURXDA; inline;
  19209. begin
  19210. pTDefRegMap(@Self)^.&set := $00000001;
  19211. end;
  19212. procedure TUART1_U1ASTA.clearURXDA; inline;
  19213. begin
  19214. pTDefRegMap(@Self)^.clr := $00000001;
  19215. end;
  19216. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  19217. begin
  19218. if thebits = 0 then
  19219. pTDefRegMap(@Self)^.clr := $00000001
  19220. else
  19221. pTDefRegMap(@Self)^.&set := $00000001;
  19222. end;
  19223. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  19224. begin
  19225. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19226. end;
  19227. procedure TUART1_U1ASTA.setOERR; inline;
  19228. begin
  19229. pTDefRegMap(@Self)^.&set := $00000002;
  19230. end;
  19231. procedure TUART1_U1ASTA.clearOERR; inline;
  19232. begin
  19233. pTDefRegMap(@Self)^.clr := $00000002;
  19234. end;
  19235. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  19236. begin
  19237. if thebits = 0 then
  19238. pTDefRegMap(@Self)^.clr := $00000002
  19239. else
  19240. pTDefRegMap(@Self)^.&set := $00000002;
  19241. end;
  19242. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  19243. begin
  19244. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19245. end;
  19246. procedure TUART1_U1ASTA.setFERR; inline;
  19247. begin
  19248. pTDefRegMap(@Self)^.&set := $00000004;
  19249. end;
  19250. procedure TUART1_U1ASTA.clearFERR; inline;
  19251. begin
  19252. pTDefRegMap(@Self)^.clr := $00000004;
  19253. end;
  19254. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  19255. begin
  19256. if thebits = 0 then
  19257. pTDefRegMap(@Self)^.clr := $00000004
  19258. else
  19259. pTDefRegMap(@Self)^.&set := $00000004;
  19260. end;
  19261. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  19262. begin
  19263. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19264. end;
  19265. procedure TUART1_U1ASTA.setPERR; inline;
  19266. begin
  19267. pTDefRegMap(@Self)^.&set := $00000008;
  19268. end;
  19269. procedure TUART1_U1ASTA.clearPERR; inline;
  19270. begin
  19271. pTDefRegMap(@Self)^.clr := $00000008;
  19272. end;
  19273. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  19274. begin
  19275. if thebits = 0 then
  19276. pTDefRegMap(@Self)^.clr := $00000008
  19277. else
  19278. pTDefRegMap(@Self)^.&set := $00000008;
  19279. end;
  19280. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  19281. begin
  19282. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19283. end;
  19284. procedure TUART1_U1ASTA.setRIDLE; inline;
  19285. begin
  19286. pTDefRegMap(@Self)^.&set := $00000010;
  19287. end;
  19288. procedure TUART1_U1ASTA.clearRIDLE; inline;
  19289. begin
  19290. pTDefRegMap(@Self)^.clr := $00000010;
  19291. end;
  19292. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  19293. begin
  19294. if thebits = 0 then
  19295. pTDefRegMap(@Self)^.clr := $00000010
  19296. else
  19297. pTDefRegMap(@Self)^.&set := $00000010;
  19298. end;
  19299. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  19300. begin
  19301. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19302. end;
  19303. procedure TUART1_U1ASTA.setADDEN; inline;
  19304. begin
  19305. pTDefRegMap(@Self)^.&set := $00000020;
  19306. end;
  19307. procedure TUART1_U1ASTA.clearADDEN; inline;
  19308. begin
  19309. pTDefRegMap(@Self)^.clr := $00000020;
  19310. end;
  19311. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  19312. begin
  19313. if thebits = 0 then
  19314. pTDefRegMap(@Self)^.clr := $00000020
  19315. else
  19316. pTDefRegMap(@Self)^.&set := $00000020;
  19317. end;
  19318. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  19319. begin
  19320. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19321. end;
  19322. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  19323. begin
  19324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19325. end;
  19326. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  19327. begin
  19328. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19329. end;
  19330. procedure TUART1_U1ASTA.setTRMT; inline;
  19331. begin
  19332. pTDefRegMap(@Self)^.&set := $00000100;
  19333. end;
  19334. procedure TUART1_U1ASTA.clearTRMT; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.clr := $00000100;
  19337. end;
  19338. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  19339. begin
  19340. if thebits = 0 then
  19341. pTDefRegMap(@Self)^.clr := $00000100
  19342. else
  19343. pTDefRegMap(@Self)^.&set := $00000100;
  19344. end;
  19345. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  19346. begin
  19347. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19348. end;
  19349. procedure TUART1_U1ASTA.setUTXBF; inline;
  19350. begin
  19351. pTDefRegMap(@Self)^.&set := $00000200;
  19352. end;
  19353. procedure TUART1_U1ASTA.clearUTXBF; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.clr := $00000200;
  19356. end;
  19357. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  19358. begin
  19359. if thebits = 0 then
  19360. pTDefRegMap(@Self)^.clr := $00000200
  19361. else
  19362. pTDefRegMap(@Self)^.&set := $00000200;
  19363. end;
  19364. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  19365. begin
  19366. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19367. end;
  19368. procedure TUART1_U1ASTA.setUTXEN; inline;
  19369. begin
  19370. pTDefRegMap(@Self)^.&set := $00000400;
  19371. end;
  19372. procedure TUART1_U1ASTA.clearUTXEN; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.clr := $00000400;
  19375. end;
  19376. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  19377. begin
  19378. if thebits = 0 then
  19379. pTDefRegMap(@Self)^.clr := $00000400
  19380. else
  19381. pTDefRegMap(@Self)^.&set := $00000400;
  19382. end;
  19383. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  19384. begin
  19385. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19386. end;
  19387. procedure TUART1_U1ASTA.setUTXBRK; inline;
  19388. begin
  19389. pTDefRegMap(@Self)^.&set := $00000800;
  19390. end;
  19391. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.clr := $00000800;
  19394. end;
  19395. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  19396. begin
  19397. if thebits = 0 then
  19398. pTDefRegMap(@Self)^.clr := $00000800
  19399. else
  19400. pTDefRegMap(@Self)^.&set := $00000800;
  19401. end;
  19402. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  19403. begin
  19404. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19405. end;
  19406. procedure TUART1_U1ASTA.setURXEN; inline;
  19407. begin
  19408. pTDefRegMap(@Self)^.&set := $00001000;
  19409. end;
  19410. procedure TUART1_U1ASTA.clearURXEN; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.clr := $00001000;
  19413. end;
  19414. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  19415. begin
  19416. if thebits = 0 then
  19417. pTDefRegMap(@Self)^.clr := $00001000
  19418. else
  19419. pTDefRegMap(@Self)^.&set := $00001000;
  19420. end;
  19421. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  19422. begin
  19423. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19424. end;
  19425. procedure TUART1_U1ASTA.setUTXINV; inline;
  19426. begin
  19427. pTDefRegMap(@Self)^.&set := $00002000;
  19428. end;
  19429. procedure TUART1_U1ASTA.clearUTXINV; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.clr := $00002000;
  19432. end;
  19433. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  19434. begin
  19435. if thebits = 0 then
  19436. pTDefRegMap(@Self)^.clr := $00002000
  19437. else
  19438. pTDefRegMap(@Self)^.&set := $00002000;
  19439. end;
  19440. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  19441. begin
  19442. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19443. end;
  19444. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  19445. begin
  19446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19447. end;
  19448. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  19449. begin
  19450. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19451. end;
  19452. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  19453. begin
  19454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19455. end;
  19456. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  19457. begin
  19458. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19459. end;
  19460. procedure TUART1_U1ASTA.setADM_EN; inline;
  19461. begin
  19462. pTDefRegMap(@Self)^.&set := $01000000;
  19463. end;
  19464. procedure TUART1_U1ASTA.clearADM_EN; inline;
  19465. begin
  19466. pTDefRegMap(@Self)^.clr := $01000000;
  19467. end;
  19468. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  19469. begin
  19470. if thebits = 0 then
  19471. pTDefRegMap(@Self)^.clr := $01000000
  19472. else
  19473. pTDefRegMap(@Self)^.&set := $01000000;
  19474. end;
  19475. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  19476. begin
  19477. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19478. end;
  19479. procedure TUART1_U1ASTA.setURXISEL0; inline;
  19480. begin
  19481. pTDefRegMap(@Self)^.&set := $00000040;
  19482. end;
  19483. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  19484. begin
  19485. pTDefRegMap(@Self)^.clr := $00000040;
  19486. end;
  19487. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  19488. begin
  19489. if thebits = 0 then
  19490. pTDefRegMap(@Self)^.clr := $00000040
  19491. else
  19492. pTDefRegMap(@Self)^.&set := $00000040;
  19493. end;
  19494. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  19495. begin
  19496. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19497. end;
  19498. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19499. begin
  19500. pTDefRegMap(@Self)^.&set := $00000080;
  19501. end;
  19502. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19503. begin
  19504. pTDefRegMap(@Self)^.clr := $00000080;
  19505. end;
  19506. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19507. begin
  19508. if thebits = 0 then
  19509. pTDefRegMap(@Self)^.clr := $00000080
  19510. else
  19511. pTDefRegMap(@Self)^.&set := $00000080;
  19512. end;
  19513. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19514. begin
  19515. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19516. end;
  19517. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19518. begin
  19519. pTDefRegMap(@Self)^.&set := $00004000;
  19520. end;
  19521. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19522. begin
  19523. pTDefRegMap(@Self)^.clr := $00004000;
  19524. end;
  19525. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19526. begin
  19527. if thebits = 0 then
  19528. pTDefRegMap(@Self)^.clr := $00004000
  19529. else
  19530. pTDefRegMap(@Self)^.&set := $00004000;
  19531. end;
  19532. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19533. begin
  19534. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19535. end;
  19536. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.&set := $00008000;
  19539. end;
  19540. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19541. begin
  19542. pTDefRegMap(@Self)^.clr := $00008000;
  19543. end;
  19544. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19545. begin
  19546. if thebits = 0 then
  19547. pTDefRegMap(@Self)^.clr := $00008000
  19548. else
  19549. pTDefRegMap(@Self)^.&set := $00008000;
  19550. end;
  19551. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19552. begin
  19553. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19554. end;
  19555. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19556. begin
  19557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19558. end;
  19559. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19560. begin
  19561. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19562. end;
  19563. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19564. begin
  19565. pTDefRegMap(@Self)^.val := thebits;
  19566. end;
  19567. function TUART1_U1ASTA.getw : TBits_32; inline;
  19568. begin
  19569. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19570. end;
  19571. procedure TUART1_U1STA.setURXDA; inline;
  19572. begin
  19573. pTDefRegMap(@Self)^.&set := $00000001;
  19574. end;
  19575. procedure TUART1_U1STA.clearURXDA; inline;
  19576. begin
  19577. pTDefRegMap(@Self)^.clr := $00000001;
  19578. end;
  19579. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19580. begin
  19581. if thebits = 0 then
  19582. pTDefRegMap(@Self)^.clr := $00000001
  19583. else
  19584. pTDefRegMap(@Self)^.&set := $00000001;
  19585. end;
  19586. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19587. begin
  19588. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19589. end;
  19590. procedure TUART1_U1STA.setOERR; inline;
  19591. begin
  19592. pTDefRegMap(@Self)^.&set := $00000002;
  19593. end;
  19594. procedure TUART1_U1STA.clearOERR; inline;
  19595. begin
  19596. pTDefRegMap(@Self)^.clr := $00000002;
  19597. end;
  19598. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19599. begin
  19600. if thebits = 0 then
  19601. pTDefRegMap(@Self)^.clr := $00000002
  19602. else
  19603. pTDefRegMap(@Self)^.&set := $00000002;
  19604. end;
  19605. function TUART1_U1STA.getOERR : TBits_1; inline;
  19606. begin
  19607. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19608. end;
  19609. procedure TUART1_U1STA.setFERR; inline;
  19610. begin
  19611. pTDefRegMap(@Self)^.&set := $00000004;
  19612. end;
  19613. procedure TUART1_U1STA.clearFERR; inline;
  19614. begin
  19615. pTDefRegMap(@Self)^.clr := $00000004;
  19616. end;
  19617. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19618. begin
  19619. if thebits = 0 then
  19620. pTDefRegMap(@Self)^.clr := $00000004
  19621. else
  19622. pTDefRegMap(@Self)^.&set := $00000004;
  19623. end;
  19624. function TUART1_U1STA.getFERR : TBits_1; inline;
  19625. begin
  19626. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19627. end;
  19628. procedure TUART1_U1STA.setPERR; inline;
  19629. begin
  19630. pTDefRegMap(@Self)^.&set := $00000008;
  19631. end;
  19632. procedure TUART1_U1STA.clearPERR; inline;
  19633. begin
  19634. pTDefRegMap(@Self)^.clr := $00000008;
  19635. end;
  19636. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19637. begin
  19638. if thebits = 0 then
  19639. pTDefRegMap(@Self)^.clr := $00000008
  19640. else
  19641. pTDefRegMap(@Self)^.&set := $00000008;
  19642. end;
  19643. function TUART1_U1STA.getPERR : TBits_1; inline;
  19644. begin
  19645. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19646. end;
  19647. procedure TUART1_U1STA.setRIDLE; inline;
  19648. begin
  19649. pTDefRegMap(@Self)^.&set := $00000010;
  19650. end;
  19651. procedure TUART1_U1STA.clearRIDLE; inline;
  19652. begin
  19653. pTDefRegMap(@Self)^.clr := $00000010;
  19654. end;
  19655. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19656. begin
  19657. if thebits = 0 then
  19658. pTDefRegMap(@Self)^.clr := $00000010
  19659. else
  19660. pTDefRegMap(@Self)^.&set := $00000010;
  19661. end;
  19662. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19663. begin
  19664. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19665. end;
  19666. procedure TUART1_U1STA.setADDEN; inline;
  19667. begin
  19668. pTDefRegMap(@Self)^.&set := $00000020;
  19669. end;
  19670. procedure TUART1_U1STA.clearADDEN; inline;
  19671. begin
  19672. pTDefRegMap(@Self)^.clr := $00000020;
  19673. end;
  19674. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19675. begin
  19676. if thebits = 0 then
  19677. pTDefRegMap(@Self)^.clr := $00000020
  19678. else
  19679. pTDefRegMap(@Self)^.&set := $00000020;
  19680. end;
  19681. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19682. begin
  19683. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19684. end;
  19685. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19686. begin
  19687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19688. end;
  19689. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19690. begin
  19691. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19692. end;
  19693. procedure TUART1_U1STA.setTRMT; inline;
  19694. begin
  19695. pTDefRegMap(@Self)^.&set := $00000100;
  19696. end;
  19697. procedure TUART1_U1STA.clearTRMT; inline;
  19698. begin
  19699. pTDefRegMap(@Self)^.clr := $00000100;
  19700. end;
  19701. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19702. begin
  19703. if thebits = 0 then
  19704. pTDefRegMap(@Self)^.clr := $00000100
  19705. else
  19706. pTDefRegMap(@Self)^.&set := $00000100;
  19707. end;
  19708. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19709. begin
  19710. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19711. end;
  19712. procedure TUART1_U1STA.setUTXBF; inline;
  19713. begin
  19714. pTDefRegMap(@Self)^.&set := $00000200;
  19715. end;
  19716. procedure TUART1_U1STA.clearUTXBF; inline;
  19717. begin
  19718. pTDefRegMap(@Self)^.clr := $00000200;
  19719. end;
  19720. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19721. begin
  19722. if thebits = 0 then
  19723. pTDefRegMap(@Self)^.clr := $00000200
  19724. else
  19725. pTDefRegMap(@Self)^.&set := $00000200;
  19726. end;
  19727. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19728. begin
  19729. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19730. end;
  19731. procedure TUART1_U1STA.setUTXEN; inline;
  19732. begin
  19733. pTDefRegMap(@Self)^.&set := $00000400;
  19734. end;
  19735. procedure TUART1_U1STA.clearUTXEN; inline;
  19736. begin
  19737. pTDefRegMap(@Self)^.clr := $00000400;
  19738. end;
  19739. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19740. begin
  19741. if thebits = 0 then
  19742. pTDefRegMap(@Self)^.clr := $00000400
  19743. else
  19744. pTDefRegMap(@Self)^.&set := $00000400;
  19745. end;
  19746. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19747. begin
  19748. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19749. end;
  19750. procedure TUART1_U1STA.setUTXBRK; inline;
  19751. begin
  19752. pTDefRegMap(@Self)^.&set := $00000800;
  19753. end;
  19754. procedure TUART1_U1STA.clearUTXBRK; inline;
  19755. begin
  19756. pTDefRegMap(@Self)^.clr := $00000800;
  19757. end;
  19758. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19759. begin
  19760. if thebits = 0 then
  19761. pTDefRegMap(@Self)^.clr := $00000800
  19762. else
  19763. pTDefRegMap(@Self)^.&set := $00000800;
  19764. end;
  19765. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19766. begin
  19767. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19768. end;
  19769. procedure TUART1_U1STA.setURXEN; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.&set := $00001000;
  19772. end;
  19773. procedure TUART1_U1STA.clearURXEN; inline;
  19774. begin
  19775. pTDefRegMap(@Self)^.clr := $00001000;
  19776. end;
  19777. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19778. begin
  19779. if thebits = 0 then
  19780. pTDefRegMap(@Self)^.clr := $00001000
  19781. else
  19782. pTDefRegMap(@Self)^.&set := $00001000;
  19783. end;
  19784. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19785. begin
  19786. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19787. end;
  19788. procedure TUART1_U1STA.setUTXINV; inline;
  19789. begin
  19790. pTDefRegMap(@Self)^.&set := $00002000;
  19791. end;
  19792. procedure TUART1_U1STA.clearUTXINV; inline;
  19793. begin
  19794. pTDefRegMap(@Self)^.clr := $00002000;
  19795. end;
  19796. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19797. begin
  19798. if thebits = 0 then
  19799. pTDefRegMap(@Self)^.clr := $00002000
  19800. else
  19801. pTDefRegMap(@Self)^.&set := $00002000;
  19802. end;
  19803. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19804. begin
  19805. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19806. end;
  19807. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19808. begin
  19809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19810. end;
  19811. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19812. begin
  19813. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19814. end;
  19815. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19816. begin
  19817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19818. end;
  19819. function TUART1_U1STA.getADDR : TBits_8; inline;
  19820. begin
  19821. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19822. end;
  19823. procedure TUART1_U1STA.setADM_EN; inline;
  19824. begin
  19825. pTDefRegMap(@Self)^.&set := $01000000;
  19826. end;
  19827. procedure TUART1_U1STA.clearADM_EN; inline;
  19828. begin
  19829. pTDefRegMap(@Self)^.clr := $01000000;
  19830. end;
  19831. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19832. begin
  19833. if thebits = 0 then
  19834. pTDefRegMap(@Self)^.clr := $01000000
  19835. else
  19836. pTDefRegMap(@Self)^.&set := $01000000;
  19837. end;
  19838. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19839. begin
  19840. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19841. end;
  19842. procedure TUART1_U1STA.setURXISEL0; inline;
  19843. begin
  19844. pTDefRegMap(@Self)^.&set := $00000040;
  19845. end;
  19846. procedure TUART1_U1STA.clearURXISEL0; inline;
  19847. begin
  19848. pTDefRegMap(@Self)^.clr := $00000040;
  19849. end;
  19850. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19851. begin
  19852. if thebits = 0 then
  19853. pTDefRegMap(@Self)^.clr := $00000040
  19854. else
  19855. pTDefRegMap(@Self)^.&set := $00000040;
  19856. end;
  19857. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19858. begin
  19859. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19860. end;
  19861. procedure TUART1_U1STA.setURXISEL1; inline;
  19862. begin
  19863. pTDefRegMap(@Self)^.&set := $00000080;
  19864. end;
  19865. procedure TUART1_U1STA.clearURXISEL1; inline;
  19866. begin
  19867. pTDefRegMap(@Self)^.clr := $00000080;
  19868. end;
  19869. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19870. begin
  19871. if thebits = 0 then
  19872. pTDefRegMap(@Self)^.clr := $00000080
  19873. else
  19874. pTDefRegMap(@Self)^.&set := $00000080;
  19875. end;
  19876. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19877. begin
  19878. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19879. end;
  19880. procedure TUART1_U1STA.setUTXISEL0; inline;
  19881. begin
  19882. pTDefRegMap(@Self)^.&set := $00004000;
  19883. end;
  19884. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19885. begin
  19886. pTDefRegMap(@Self)^.clr := $00004000;
  19887. end;
  19888. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19889. begin
  19890. if thebits = 0 then
  19891. pTDefRegMap(@Self)^.clr := $00004000
  19892. else
  19893. pTDefRegMap(@Self)^.&set := $00004000;
  19894. end;
  19895. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19896. begin
  19897. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19898. end;
  19899. procedure TUART1_U1STA.setUTXISEL1; inline;
  19900. begin
  19901. pTDefRegMap(@Self)^.&set := $00008000;
  19902. end;
  19903. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19904. begin
  19905. pTDefRegMap(@Self)^.clr := $00008000;
  19906. end;
  19907. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19908. begin
  19909. if thebits = 0 then
  19910. pTDefRegMap(@Self)^.clr := $00008000
  19911. else
  19912. pTDefRegMap(@Self)^.&set := $00008000;
  19913. end;
  19914. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19915. begin
  19916. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19917. end;
  19918. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19919. begin
  19920. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19921. end;
  19922. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19923. begin
  19924. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19925. end;
  19926. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19927. begin
  19928. pTDefRegMap(@Self)^.val := thebits;
  19929. end;
  19930. function TUART1_U1STA.getw : TBits_32; inline;
  19931. begin
  19932. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19933. end;
  19934. procedure TUART2_U2MODE.setSTSEL; inline;
  19935. begin
  19936. pTDefRegMap(@Self)^.&set := $00000001;
  19937. end;
  19938. procedure TUART2_U2MODE.clearSTSEL; inline;
  19939. begin
  19940. pTDefRegMap(@Self)^.clr := $00000001;
  19941. end;
  19942. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19943. begin
  19944. if thebits = 0 then
  19945. pTDefRegMap(@Self)^.clr := $00000001
  19946. else
  19947. pTDefRegMap(@Self)^.&set := $00000001;
  19948. end;
  19949. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19950. begin
  19951. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19952. end;
  19953. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19954. begin
  19955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19956. end;
  19957. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19958. begin
  19959. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19960. end;
  19961. procedure TUART2_U2MODE.setBRGH; inline;
  19962. begin
  19963. pTDefRegMap(@Self)^.&set := $00000008;
  19964. end;
  19965. procedure TUART2_U2MODE.clearBRGH; inline;
  19966. begin
  19967. pTDefRegMap(@Self)^.clr := $00000008;
  19968. end;
  19969. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19970. begin
  19971. if thebits = 0 then
  19972. pTDefRegMap(@Self)^.clr := $00000008
  19973. else
  19974. pTDefRegMap(@Self)^.&set := $00000008;
  19975. end;
  19976. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19977. begin
  19978. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19979. end;
  19980. procedure TUART2_U2MODE.setRXINV; inline;
  19981. begin
  19982. pTDefRegMap(@Self)^.&set := $00000010;
  19983. end;
  19984. procedure TUART2_U2MODE.clearRXINV; inline;
  19985. begin
  19986. pTDefRegMap(@Self)^.clr := $00000010;
  19987. end;
  19988. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19989. begin
  19990. if thebits = 0 then
  19991. pTDefRegMap(@Self)^.clr := $00000010
  19992. else
  19993. pTDefRegMap(@Self)^.&set := $00000010;
  19994. end;
  19995. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19996. begin
  19997. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19998. end;
  19999. procedure TUART2_U2MODE.setABAUD; inline;
  20000. begin
  20001. pTDefRegMap(@Self)^.&set := $00000020;
  20002. end;
  20003. procedure TUART2_U2MODE.clearABAUD; inline;
  20004. begin
  20005. pTDefRegMap(@Self)^.clr := $00000020;
  20006. end;
  20007. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  20008. begin
  20009. if thebits = 0 then
  20010. pTDefRegMap(@Self)^.clr := $00000020
  20011. else
  20012. pTDefRegMap(@Self)^.&set := $00000020;
  20013. end;
  20014. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  20015. begin
  20016. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20017. end;
  20018. procedure TUART2_U2MODE.setLPBACK; inline;
  20019. begin
  20020. pTDefRegMap(@Self)^.&set := $00000040;
  20021. end;
  20022. procedure TUART2_U2MODE.clearLPBACK; inline;
  20023. begin
  20024. pTDefRegMap(@Self)^.clr := $00000040;
  20025. end;
  20026. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  20027. begin
  20028. if thebits = 0 then
  20029. pTDefRegMap(@Self)^.clr := $00000040
  20030. else
  20031. pTDefRegMap(@Self)^.&set := $00000040;
  20032. end;
  20033. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  20034. begin
  20035. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20036. end;
  20037. procedure TUART2_U2MODE.setWAKE; inline;
  20038. begin
  20039. pTDefRegMap(@Self)^.&set := $00000080;
  20040. end;
  20041. procedure TUART2_U2MODE.clearWAKE; inline;
  20042. begin
  20043. pTDefRegMap(@Self)^.clr := $00000080;
  20044. end;
  20045. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  20046. begin
  20047. if thebits = 0 then
  20048. pTDefRegMap(@Self)^.clr := $00000080
  20049. else
  20050. pTDefRegMap(@Self)^.&set := $00000080;
  20051. end;
  20052. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  20053. begin
  20054. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20055. end;
  20056. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  20057. begin
  20058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20059. end;
  20060. function TUART2_U2MODE.getUEN : TBits_2; inline;
  20061. begin
  20062. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20063. end;
  20064. procedure TUART2_U2MODE.setRTSMD; inline;
  20065. begin
  20066. pTDefRegMap(@Self)^.&set := $00000800;
  20067. end;
  20068. procedure TUART2_U2MODE.clearRTSMD; inline;
  20069. begin
  20070. pTDefRegMap(@Self)^.clr := $00000800;
  20071. end;
  20072. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  20073. begin
  20074. if thebits = 0 then
  20075. pTDefRegMap(@Self)^.clr := $00000800
  20076. else
  20077. pTDefRegMap(@Self)^.&set := $00000800;
  20078. end;
  20079. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  20080. begin
  20081. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20082. end;
  20083. procedure TUART2_U2MODE.setIREN; inline;
  20084. begin
  20085. pTDefRegMap(@Self)^.&set := $00001000;
  20086. end;
  20087. procedure TUART2_U2MODE.clearIREN; inline;
  20088. begin
  20089. pTDefRegMap(@Self)^.clr := $00001000;
  20090. end;
  20091. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  20092. begin
  20093. if thebits = 0 then
  20094. pTDefRegMap(@Self)^.clr := $00001000
  20095. else
  20096. pTDefRegMap(@Self)^.&set := $00001000;
  20097. end;
  20098. function TUART2_U2MODE.getIREN : TBits_1; inline;
  20099. begin
  20100. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20101. end;
  20102. procedure TUART2_U2MODE.setSIDL; inline;
  20103. begin
  20104. pTDefRegMap(@Self)^.&set := $00002000;
  20105. end;
  20106. procedure TUART2_U2MODE.clearSIDL; inline;
  20107. begin
  20108. pTDefRegMap(@Self)^.clr := $00002000;
  20109. end;
  20110. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  20111. begin
  20112. if thebits = 0 then
  20113. pTDefRegMap(@Self)^.clr := $00002000
  20114. else
  20115. pTDefRegMap(@Self)^.&set := $00002000;
  20116. end;
  20117. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  20118. begin
  20119. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20120. end;
  20121. procedure TUART2_U2MODE.setON; inline;
  20122. begin
  20123. pTDefRegMap(@Self)^.&set := $00008000;
  20124. end;
  20125. procedure TUART2_U2MODE.clearON; inline;
  20126. begin
  20127. pTDefRegMap(@Self)^.clr := $00008000;
  20128. end;
  20129. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  20130. begin
  20131. if thebits = 0 then
  20132. pTDefRegMap(@Self)^.clr := $00008000
  20133. else
  20134. pTDefRegMap(@Self)^.&set := $00008000;
  20135. end;
  20136. function TUART2_U2MODE.getON : TBits_1; inline;
  20137. begin
  20138. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20139. end;
  20140. procedure TUART2_U2MODE.setPDSEL0; inline;
  20141. begin
  20142. pTDefRegMap(@Self)^.&set := $00000002;
  20143. end;
  20144. procedure TUART2_U2MODE.clearPDSEL0; inline;
  20145. begin
  20146. pTDefRegMap(@Self)^.clr := $00000002;
  20147. end;
  20148. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  20149. begin
  20150. if thebits = 0 then
  20151. pTDefRegMap(@Self)^.clr := $00000002
  20152. else
  20153. pTDefRegMap(@Self)^.&set := $00000002;
  20154. end;
  20155. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  20156. begin
  20157. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20158. end;
  20159. procedure TUART2_U2MODE.setPDSEL1; inline;
  20160. begin
  20161. pTDefRegMap(@Self)^.&set := $00000004;
  20162. end;
  20163. procedure TUART2_U2MODE.clearPDSEL1; inline;
  20164. begin
  20165. pTDefRegMap(@Self)^.clr := $00000004;
  20166. end;
  20167. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  20168. begin
  20169. if thebits = 0 then
  20170. pTDefRegMap(@Self)^.clr := $00000004
  20171. else
  20172. pTDefRegMap(@Self)^.&set := $00000004;
  20173. end;
  20174. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  20175. begin
  20176. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20177. end;
  20178. procedure TUART2_U2MODE.setUEN0; inline;
  20179. begin
  20180. pTDefRegMap(@Self)^.&set := $00000100;
  20181. end;
  20182. procedure TUART2_U2MODE.clearUEN0; inline;
  20183. begin
  20184. pTDefRegMap(@Self)^.clr := $00000100;
  20185. end;
  20186. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  20187. begin
  20188. if thebits = 0 then
  20189. pTDefRegMap(@Self)^.clr := $00000100
  20190. else
  20191. pTDefRegMap(@Self)^.&set := $00000100;
  20192. end;
  20193. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  20194. begin
  20195. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20196. end;
  20197. procedure TUART2_U2MODE.setUEN1; inline;
  20198. begin
  20199. pTDefRegMap(@Self)^.&set := $00000200;
  20200. end;
  20201. procedure TUART2_U2MODE.clearUEN1; inline;
  20202. begin
  20203. pTDefRegMap(@Self)^.clr := $00000200;
  20204. end;
  20205. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  20206. begin
  20207. if thebits = 0 then
  20208. pTDefRegMap(@Self)^.clr := $00000200
  20209. else
  20210. pTDefRegMap(@Self)^.&set := $00000200;
  20211. end;
  20212. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  20213. begin
  20214. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20215. end;
  20216. procedure TUART2_U2MODE.setUSIDL; inline;
  20217. begin
  20218. pTDefRegMap(@Self)^.&set := $00002000;
  20219. end;
  20220. procedure TUART2_U2MODE.clearUSIDL; inline;
  20221. begin
  20222. pTDefRegMap(@Self)^.clr := $00002000;
  20223. end;
  20224. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  20225. begin
  20226. if thebits = 0 then
  20227. pTDefRegMap(@Self)^.clr := $00002000
  20228. else
  20229. pTDefRegMap(@Self)^.&set := $00002000;
  20230. end;
  20231. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  20232. begin
  20233. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20234. end;
  20235. procedure TUART2_U2MODE.setUARTEN; inline;
  20236. begin
  20237. pTDefRegMap(@Self)^.&set := $00008000;
  20238. end;
  20239. procedure TUART2_U2MODE.clearUARTEN; inline;
  20240. begin
  20241. pTDefRegMap(@Self)^.clr := $00008000;
  20242. end;
  20243. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  20244. begin
  20245. if thebits = 0 then
  20246. pTDefRegMap(@Self)^.clr := $00008000
  20247. else
  20248. pTDefRegMap(@Self)^.&set := $00008000;
  20249. end;
  20250. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  20251. begin
  20252. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20253. end;
  20254. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  20255. begin
  20256. pTDefRegMap(@Self)^.val := thebits;
  20257. end;
  20258. function TUART2_U2MODE.getw : TBits_32; inline;
  20259. begin
  20260. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20261. end;
  20262. procedure TUART2_U3AMODE.setSTSEL; inline;
  20263. begin
  20264. pTDefRegMap(@Self)^.&set := $00000001;
  20265. end;
  20266. procedure TUART2_U3AMODE.clearSTSEL; inline;
  20267. begin
  20268. pTDefRegMap(@Self)^.clr := $00000001;
  20269. end;
  20270. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  20271. begin
  20272. if thebits = 0 then
  20273. pTDefRegMap(@Self)^.clr := $00000001
  20274. else
  20275. pTDefRegMap(@Self)^.&set := $00000001;
  20276. end;
  20277. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  20278. begin
  20279. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20280. end;
  20281. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  20282. begin
  20283. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20284. end;
  20285. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  20286. begin
  20287. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20288. end;
  20289. procedure TUART2_U3AMODE.setBRGH; inline;
  20290. begin
  20291. pTDefRegMap(@Self)^.&set := $00000008;
  20292. end;
  20293. procedure TUART2_U3AMODE.clearBRGH; inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.clr := $00000008;
  20296. end;
  20297. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  20298. begin
  20299. if thebits = 0 then
  20300. pTDefRegMap(@Self)^.clr := $00000008
  20301. else
  20302. pTDefRegMap(@Self)^.&set := $00000008;
  20303. end;
  20304. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  20305. begin
  20306. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20307. end;
  20308. procedure TUART2_U3AMODE.setRXINV; inline;
  20309. begin
  20310. pTDefRegMap(@Self)^.&set := $00000010;
  20311. end;
  20312. procedure TUART2_U3AMODE.clearRXINV; inline;
  20313. begin
  20314. pTDefRegMap(@Self)^.clr := $00000010;
  20315. end;
  20316. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  20317. begin
  20318. if thebits = 0 then
  20319. pTDefRegMap(@Self)^.clr := $00000010
  20320. else
  20321. pTDefRegMap(@Self)^.&set := $00000010;
  20322. end;
  20323. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  20324. begin
  20325. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20326. end;
  20327. procedure TUART2_U3AMODE.setABAUD; inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.&set := $00000020;
  20330. end;
  20331. procedure TUART2_U3AMODE.clearABAUD; inline;
  20332. begin
  20333. pTDefRegMap(@Self)^.clr := $00000020;
  20334. end;
  20335. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  20336. begin
  20337. if thebits = 0 then
  20338. pTDefRegMap(@Self)^.clr := $00000020
  20339. else
  20340. pTDefRegMap(@Self)^.&set := $00000020;
  20341. end;
  20342. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  20343. begin
  20344. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20345. end;
  20346. procedure TUART2_U3AMODE.setLPBACK; inline;
  20347. begin
  20348. pTDefRegMap(@Self)^.&set := $00000040;
  20349. end;
  20350. procedure TUART2_U3AMODE.clearLPBACK; inline;
  20351. begin
  20352. pTDefRegMap(@Self)^.clr := $00000040;
  20353. end;
  20354. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  20355. begin
  20356. if thebits = 0 then
  20357. pTDefRegMap(@Self)^.clr := $00000040
  20358. else
  20359. pTDefRegMap(@Self)^.&set := $00000040;
  20360. end;
  20361. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  20362. begin
  20363. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20364. end;
  20365. procedure TUART2_U3AMODE.setWAKE; inline;
  20366. begin
  20367. pTDefRegMap(@Self)^.&set := $00000080;
  20368. end;
  20369. procedure TUART2_U3AMODE.clearWAKE; inline;
  20370. begin
  20371. pTDefRegMap(@Self)^.clr := $00000080;
  20372. end;
  20373. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  20374. begin
  20375. if thebits = 0 then
  20376. pTDefRegMap(@Self)^.clr := $00000080
  20377. else
  20378. pTDefRegMap(@Self)^.&set := $00000080;
  20379. end;
  20380. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  20381. begin
  20382. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20383. end;
  20384. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  20385. begin
  20386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20387. end;
  20388. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  20389. begin
  20390. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20391. end;
  20392. procedure TUART2_U3AMODE.setRTSMD; inline;
  20393. begin
  20394. pTDefRegMap(@Self)^.&set := $00000800;
  20395. end;
  20396. procedure TUART2_U3AMODE.clearRTSMD; inline;
  20397. begin
  20398. pTDefRegMap(@Self)^.clr := $00000800;
  20399. end;
  20400. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  20401. begin
  20402. if thebits = 0 then
  20403. pTDefRegMap(@Self)^.clr := $00000800
  20404. else
  20405. pTDefRegMap(@Self)^.&set := $00000800;
  20406. end;
  20407. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  20408. begin
  20409. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20410. end;
  20411. procedure TUART2_U3AMODE.setIREN; inline;
  20412. begin
  20413. pTDefRegMap(@Self)^.&set := $00001000;
  20414. end;
  20415. procedure TUART2_U3AMODE.clearIREN; inline;
  20416. begin
  20417. pTDefRegMap(@Self)^.clr := $00001000;
  20418. end;
  20419. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  20420. begin
  20421. if thebits = 0 then
  20422. pTDefRegMap(@Self)^.clr := $00001000
  20423. else
  20424. pTDefRegMap(@Self)^.&set := $00001000;
  20425. end;
  20426. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  20427. begin
  20428. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20429. end;
  20430. procedure TUART2_U3AMODE.setSIDL; inline;
  20431. begin
  20432. pTDefRegMap(@Self)^.&set := $00002000;
  20433. end;
  20434. procedure TUART2_U3AMODE.clearSIDL; inline;
  20435. begin
  20436. pTDefRegMap(@Self)^.clr := $00002000;
  20437. end;
  20438. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  20439. begin
  20440. if thebits = 0 then
  20441. pTDefRegMap(@Self)^.clr := $00002000
  20442. else
  20443. pTDefRegMap(@Self)^.&set := $00002000;
  20444. end;
  20445. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  20446. begin
  20447. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20448. end;
  20449. procedure TUART2_U3AMODE.setON; inline;
  20450. begin
  20451. pTDefRegMap(@Self)^.&set := $00008000;
  20452. end;
  20453. procedure TUART2_U3AMODE.clearON; inline;
  20454. begin
  20455. pTDefRegMap(@Self)^.clr := $00008000;
  20456. end;
  20457. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  20458. begin
  20459. if thebits = 0 then
  20460. pTDefRegMap(@Self)^.clr := $00008000
  20461. else
  20462. pTDefRegMap(@Self)^.&set := $00008000;
  20463. end;
  20464. function TUART2_U3AMODE.getON : TBits_1; inline;
  20465. begin
  20466. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20467. end;
  20468. procedure TUART2_U3AMODE.setPDSEL0; inline;
  20469. begin
  20470. pTDefRegMap(@Self)^.&set := $00000002;
  20471. end;
  20472. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  20473. begin
  20474. pTDefRegMap(@Self)^.clr := $00000002;
  20475. end;
  20476. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  20477. begin
  20478. if thebits = 0 then
  20479. pTDefRegMap(@Self)^.clr := $00000002
  20480. else
  20481. pTDefRegMap(@Self)^.&set := $00000002;
  20482. end;
  20483. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  20484. begin
  20485. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20486. end;
  20487. procedure TUART2_U3AMODE.setPDSEL1; inline;
  20488. begin
  20489. pTDefRegMap(@Self)^.&set := $00000004;
  20490. end;
  20491. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  20492. begin
  20493. pTDefRegMap(@Self)^.clr := $00000004;
  20494. end;
  20495. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  20496. begin
  20497. if thebits = 0 then
  20498. pTDefRegMap(@Self)^.clr := $00000004
  20499. else
  20500. pTDefRegMap(@Self)^.&set := $00000004;
  20501. end;
  20502. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20503. begin
  20504. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20505. end;
  20506. procedure TUART2_U3AMODE.setUEN0; inline;
  20507. begin
  20508. pTDefRegMap(@Self)^.&set := $00000100;
  20509. end;
  20510. procedure TUART2_U3AMODE.clearUEN0; inline;
  20511. begin
  20512. pTDefRegMap(@Self)^.clr := $00000100;
  20513. end;
  20514. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20515. begin
  20516. if thebits = 0 then
  20517. pTDefRegMap(@Self)^.clr := $00000100
  20518. else
  20519. pTDefRegMap(@Self)^.&set := $00000100;
  20520. end;
  20521. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20522. begin
  20523. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20524. end;
  20525. procedure TUART2_U3AMODE.setUEN1; inline;
  20526. begin
  20527. pTDefRegMap(@Self)^.&set := $00000200;
  20528. end;
  20529. procedure TUART2_U3AMODE.clearUEN1; inline;
  20530. begin
  20531. pTDefRegMap(@Self)^.clr := $00000200;
  20532. end;
  20533. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20534. begin
  20535. if thebits = 0 then
  20536. pTDefRegMap(@Self)^.clr := $00000200
  20537. else
  20538. pTDefRegMap(@Self)^.&set := $00000200;
  20539. end;
  20540. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20541. begin
  20542. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20543. end;
  20544. procedure TUART2_U3AMODE.setUSIDL; inline;
  20545. begin
  20546. pTDefRegMap(@Self)^.&set := $00002000;
  20547. end;
  20548. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20549. begin
  20550. pTDefRegMap(@Self)^.clr := $00002000;
  20551. end;
  20552. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20553. begin
  20554. if thebits = 0 then
  20555. pTDefRegMap(@Self)^.clr := $00002000
  20556. else
  20557. pTDefRegMap(@Self)^.&set := $00002000;
  20558. end;
  20559. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20560. begin
  20561. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20562. end;
  20563. procedure TUART2_U3AMODE.setUARTEN; inline;
  20564. begin
  20565. pTDefRegMap(@Self)^.&set := $00008000;
  20566. end;
  20567. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20568. begin
  20569. pTDefRegMap(@Self)^.clr := $00008000;
  20570. end;
  20571. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20572. begin
  20573. if thebits = 0 then
  20574. pTDefRegMap(@Self)^.clr := $00008000
  20575. else
  20576. pTDefRegMap(@Self)^.&set := $00008000;
  20577. end;
  20578. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20579. begin
  20580. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20581. end;
  20582. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20583. begin
  20584. pTDefRegMap(@Self)^.val := thebits;
  20585. end;
  20586. function TUART2_U3AMODE.getw : TBits_32; inline;
  20587. begin
  20588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20589. end;
  20590. procedure TUART2_U2STA.setURXDA; inline;
  20591. begin
  20592. pTDefRegMap(@Self)^.&set := $00000001;
  20593. end;
  20594. procedure TUART2_U2STA.clearURXDA; inline;
  20595. begin
  20596. pTDefRegMap(@Self)^.clr := $00000001;
  20597. end;
  20598. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20599. begin
  20600. if thebits = 0 then
  20601. pTDefRegMap(@Self)^.clr := $00000001
  20602. else
  20603. pTDefRegMap(@Self)^.&set := $00000001;
  20604. end;
  20605. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20606. begin
  20607. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20608. end;
  20609. procedure TUART2_U2STA.setOERR; inline;
  20610. begin
  20611. pTDefRegMap(@Self)^.&set := $00000002;
  20612. end;
  20613. procedure TUART2_U2STA.clearOERR; inline;
  20614. begin
  20615. pTDefRegMap(@Self)^.clr := $00000002;
  20616. end;
  20617. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20618. begin
  20619. if thebits = 0 then
  20620. pTDefRegMap(@Self)^.clr := $00000002
  20621. else
  20622. pTDefRegMap(@Self)^.&set := $00000002;
  20623. end;
  20624. function TUART2_U2STA.getOERR : TBits_1; inline;
  20625. begin
  20626. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20627. end;
  20628. procedure TUART2_U2STA.setFERR; inline;
  20629. begin
  20630. pTDefRegMap(@Self)^.&set := $00000004;
  20631. end;
  20632. procedure TUART2_U2STA.clearFERR; inline;
  20633. begin
  20634. pTDefRegMap(@Self)^.clr := $00000004;
  20635. end;
  20636. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20637. begin
  20638. if thebits = 0 then
  20639. pTDefRegMap(@Self)^.clr := $00000004
  20640. else
  20641. pTDefRegMap(@Self)^.&set := $00000004;
  20642. end;
  20643. function TUART2_U2STA.getFERR : TBits_1; inline;
  20644. begin
  20645. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20646. end;
  20647. procedure TUART2_U2STA.setPERR; inline;
  20648. begin
  20649. pTDefRegMap(@Self)^.&set := $00000008;
  20650. end;
  20651. procedure TUART2_U2STA.clearPERR; inline;
  20652. begin
  20653. pTDefRegMap(@Self)^.clr := $00000008;
  20654. end;
  20655. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20656. begin
  20657. if thebits = 0 then
  20658. pTDefRegMap(@Self)^.clr := $00000008
  20659. else
  20660. pTDefRegMap(@Self)^.&set := $00000008;
  20661. end;
  20662. function TUART2_U2STA.getPERR : TBits_1; inline;
  20663. begin
  20664. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20665. end;
  20666. procedure TUART2_U2STA.setRIDLE; inline;
  20667. begin
  20668. pTDefRegMap(@Self)^.&set := $00000010;
  20669. end;
  20670. procedure TUART2_U2STA.clearRIDLE; inline;
  20671. begin
  20672. pTDefRegMap(@Self)^.clr := $00000010;
  20673. end;
  20674. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  20675. begin
  20676. if thebits = 0 then
  20677. pTDefRegMap(@Self)^.clr := $00000010
  20678. else
  20679. pTDefRegMap(@Self)^.&set := $00000010;
  20680. end;
  20681. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  20682. begin
  20683. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20684. end;
  20685. procedure TUART2_U2STA.setADDEN; inline;
  20686. begin
  20687. pTDefRegMap(@Self)^.&set := $00000020;
  20688. end;
  20689. procedure TUART2_U2STA.clearADDEN; inline;
  20690. begin
  20691. pTDefRegMap(@Self)^.clr := $00000020;
  20692. end;
  20693. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  20694. begin
  20695. if thebits = 0 then
  20696. pTDefRegMap(@Self)^.clr := $00000020
  20697. else
  20698. pTDefRegMap(@Self)^.&set := $00000020;
  20699. end;
  20700. function TUART2_U2STA.getADDEN : TBits_1; inline;
  20701. begin
  20702. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20703. end;
  20704. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20705. begin
  20706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20707. end;
  20708. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20709. begin
  20710. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20711. end;
  20712. procedure TUART2_U2STA.setTRMT; inline;
  20713. begin
  20714. pTDefRegMap(@Self)^.&set := $00000100;
  20715. end;
  20716. procedure TUART2_U2STA.clearTRMT; inline;
  20717. begin
  20718. pTDefRegMap(@Self)^.clr := $00000100;
  20719. end;
  20720. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20721. begin
  20722. if thebits = 0 then
  20723. pTDefRegMap(@Self)^.clr := $00000100
  20724. else
  20725. pTDefRegMap(@Self)^.&set := $00000100;
  20726. end;
  20727. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20728. begin
  20729. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20730. end;
  20731. procedure TUART2_U2STA.setUTXBF; inline;
  20732. begin
  20733. pTDefRegMap(@Self)^.&set := $00000200;
  20734. end;
  20735. procedure TUART2_U2STA.clearUTXBF; inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.clr := $00000200;
  20738. end;
  20739. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20740. begin
  20741. if thebits = 0 then
  20742. pTDefRegMap(@Self)^.clr := $00000200
  20743. else
  20744. pTDefRegMap(@Self)^.&set := $00000200;
  20745. end;
  20746. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20747. begin
  20748. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20749. end;
  20750. procedure TUART2_U2STA.setUTXEN; inline;
  20751. begin
  20752. pTDefRegMap(@Self)^.&set := $00000400;
  20753. end;
  20754. procedure TUART2_U2STA.clearUTXEN; inline;
  20755. begin
  20756. pTDefRegMap(@Self)^.clr := $00000400;
  20757. end;
  20758. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20759. begin
  20760. if thebits = 0 then
  20761. pTDefRegMap(@Self)^.clr := $00000400
  20762. else
  20763. pTDefRegMap(@Self)^.&set := $00000400;
  20764. end;
  20765. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20766. begin
  20767. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20768. end;
  20769. procedure TUART2_U2STA.setUTXBRK; inline;
  20770. begin
  20771. pTDefRegMap(@Self)^.&set := $00000800;
  20772. end;
  20773. procedure TUART2_U2STA.clearUTXBRK; inline;
  20774. begin
  20775. pTDefRegMap(@Self)^.clr := $00000800;
  20776. end;
  20777. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20778. begin
  20779. if thebits = 0 then
  20780. pTDefRegMap(@Self)^.clr := $00000800
  20781. else
  20782. pTDefRegMap(@Self)^.&set := $00000800;
  20783. end;
  20784. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20785. begin
  20786. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20787. end;
  20788. procedure TUART2_U2STA.setURXEN; inline;
  20789. begin
  20790. pTDefRegMap(@Self)^.&set := $00001000;
  20791. end;
  20792. procedure TUART2_U2STA.clearURXEN; inline;
  20793. begin
  20794. pTDefRegMap(@Self)^.clr := $00001000;
  20795. end;
  20796. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20797. begin
  20798. if thebits = 0 then
  20799. pTDefRegMap(@Self)^.clr := $00001000
  20800. else
  20801. pTDefRegMap(@Self)^.&set := $00001000;
  20802. end;
  20803. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20804. begin
  20805. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20806. end;
  20807. procedure TUART2_U2STA.setUTXINV; inline;
  20808. begin
  20809. pTDefRegMap(@Self)^.&set := $00002000;
  20810. end;
  20811. procedure TUART2_U2STA.clearUTXINV; inline;
  20812. begin
  20813. pTDefRegMap(@Self)^.clr := $00002000;
  20814. end;
  20815. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20816. begin
  20817. if thebits = 0 then
  20818. pTDefRegMap(@Self)^.clr := $00002000
  20819. else
  20820. pTDefRegMap(@Self)^.&set := $00002000;
  20821. end;
  20822. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20823. begin
  20824. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20825. end;
  20826. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20827. begin
  20828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20829. end;
  20830. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20831. begin
  20832. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20833. end;
  20834. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20835. begin
  20836. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20837. end;
  20838. function TUART2_U2STA.getADDR : TBits_8; inline;
  20839. begin
  20840. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20841. end;
  20842. procedure TUART2_U2STA.setADM_EN; inline;
  20843. begin
  20844. pTDefRegMap(@Self)^.&set := $01000000;
  20845. end;
  20846. procedure TUART2_U2STA.clearADM_EN; inline;
  20847. begin
  20848. pTDefRegMap(@Self)^.clr := $01000000;
  20849. end;
  20850. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20851. begin
  20852. if thebits = 0 then
  20853. pTDefRegMap(@Self)^.clr := $01000000
  20854. else
  20855. pTDefRegMap(@Self)^.&set := $01000000;
  20856. end;
  20857. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20858. begin
  20859. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20860. end;
  20861. procedure TUART2_U2STA.setURXISEL0; inline;
  20862. begin
  20863. pTDefRegMap(@Self)^.&set := $00000040;
  20864. end;
  20865. procedure TUART2_U2STA.clearURXISEL0; inline;
  20866. begin
  20867. pTDefRegMap(@Self)^.clr := $00000040;
  20868. end;
  20869. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20870. begin
  20871. if thebits = 0 then
  20872. pTDefRegMap(@Self)^.clr := $00000040
  20873. else
  20874. pTDefRegMap(@Self)^.&set := $00000040;
  20875. end;
  20876. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20877. begin
  20878. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20879. end;
  20880. procedure TUART2_U2STA.setURXISEL1; inline;
  20881. begin
  20882. pTDefRegMap(@Self)^.&set := $00000080;
  20883. end;
  20884. procedure TUART2_U2STA.clearURXISEL1; inline;
  20885. begin
  20886. pTDefRegMap(@Self)^.clr := $00000080;
  20887. end;
  20888. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20889. begin
  20890. if thebits = 0 then
  20891. pTDefRegMap(@Self)^.clr := $00000080
  20892. else
  20893. pTDefRegMap(@Self)^.&set := $00000080;
  20894. end;
  20895. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20896. begin
  20897. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20898. end;
  20899. procedure TUART2_U2STA.setUTXISEL0; inline;
  20900. begin
  20901. pTDefRegMap(@Self)^.&set := $00004000;
  20902. end;
  20903. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20904. begin
  20905. pTDefRegMap(@Self)^.clr := $00004000;
  20906. end;
  20907. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20908. begin
  20909. if thebits = 0 then
  20910. pTDefRegMap(@Self)^.clr := $00004000
  20911. else
  20912. pTDefRegMap(@Self)^.&set := $00004000;
  20913. end;
  20914. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20915. begin
  20916. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20917. end;
  20918. procedure TUART2_U2STA.setUTXISEL1; inline;
  20919. begin
  20920. pTDefRegMap(@Self)^.&set := $00008000;
  20921. end;
  20922. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20923. begin
  20924. pTDefRegMap(@Self)^.clr := $00008000;
  20925. end;
  20926. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20927. begin
  20928. if thebits = 0 then
  20929. pTDefRegMap(@Self)^.clr := $00008000
  20930. else
  20931. pTDefRegMap(@Self)^.&set := $00008000;
  20932. end;
  20933. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20934. begin
  20935. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20936. end;
  20937. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20938. begin
  20939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20940. end;
  20941. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20942. begin
  20943. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20944. end;
  20945. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.val := thebits;
  20948. end;
  20949. function TUART2_U2STA.getw : TBits_32; inline;
  20950. begin
  20951. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20952. end;
  20953. procedure TUART2_U3ASTA.setURXDA; inline;
  20954. begin
  20955. pTDefRegMap(@Self)^.&set := $00000001;
  20956. end;
  20957. procedure TUART2_U3ASTA.clearURXDA; inline;
  20958. begin
  20959. pTDefRegMap(@Self)^.clr := $00000001;
  20960. end;
  20961. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20962. begin
  20963. if thebits = 0 then
  20964. pTDefRegMap(@Self)^.clr := $00000001
  20965. else
  20966. pTDefRegMap(@Self)^.&set := $00000001;
  20967. end;
  20968. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20969. begin
  20970. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20971. end;
  20972. procedure TUART2_U3ASTA.setOERR; inline;
  20973. begin
  20974. pTDefRegMap(@Self)^.&set := $00000002;
  20975. end;
  20976. procedure TUART2_U3ASTA.clearOERR; inline;
  20977. begin
  20978. pTDefRegMap(@Self)^.clr := $00000002;
  20979. end;
  20980. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20981. begin
  20982. if thebits = 0 then
  20983. pTDefRegMap(@Self)^.clr := $00000002
  20984. else
  20985. pTDefRegMap(@Self)^.&set := $00000002;
  20986. end;
  20987. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20988. begin
  20989. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20990. end;
  20991. procedure TUART2_U3ASTA.setFERR; inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.&set := $00000004;
  20994. end;
  20995. procedure TUART2_U3ASTA.clearFERR; inline;
  20996. begin
  20997. pTDefRegMap(@Self)^.clr := $00000004;
  20998. end;
  20999. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  21000. begin
  21001. if thebits = 0 then
  21002. pTDefRegMap(@Self)^.clr := $00000004
  21003. else
  21004. pTDefRegMap(@Self)^.&set := $00000004;
  21005. end;
  21006. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  21007. begin
  21008. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21009. end;
  21010. procedure TUART2_U3ASTA.setPERR; inline;
  21011. begin
  21012. pTDefRegMap(@Self)^.&set := $00000008;
  21013. end;
  21014. procedure TUART2_U3ASTA.clearPERR; inline;
  21015. begin
  21016. pTDefRegMap(@Self)^.clr := $00000008;
  21017. end;
  21018. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  21019. begin
  21020. if thebits = 0 then
  21021. pTDefRegMap(@Self)^.clr := $00000008
  21022. else
  21023. pTDefRegMap(@Self)^.&set := $00000008;
  21024. end;
  21025. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  21026. begin
  21027. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21028. end;
  21029. procedure TUART2_U3ASTA.setRIDLE; inline;
  21030. begin
  21031. pTDefRegMap(@Self)^.&set := $00000010;
  21032. end;
  21033. procedure TUART2_U3ASTA.clearRIDLE; inline;
  21034. begin
  21035. pTDefRegMap(@Self)^.clr := $00000010;
  21036. end;
  21037. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  21038. begin
  21039. if thebits = 0 then
  21040. pTDefRegMap(@Self)^.clr := $00000010
  21041. else
  21042. pTDefRegMap(@Self)^.&set := $00000010;
  21043. end;
  21044. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  21045. begin
  21046. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21047. end;
  21048. procedure TUART2_U3ASTA.setADDEN; inline;
  21049. begin
  21050. pTDefRegMap(@Self)^.&set := $00000020;
  21051. end;
  21052. procedure TUART2_U3ASTA.clearADDEN; inline;
  21053. begin
  21054. pTDefRegMap(@Self)^.clr := $00000020;
  21055. end;
  21056. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  21057. begin
  21058. if thebits = 0 then
  21059. pTDefRegMap(@Self)^.clr := $00000020
  21060. else
  21061. pTDefRegMap(@Self)^.&set := $00000020;
  21062. end;
  21063. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  21064. begin
  21065. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21066. end;
  21067. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21070. end;
  21071. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  21072. begin
  21073. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21074. end;
  21075. procedure TUART2_U3ASTA.setTRMT; inline;
  21076. begin
  21077. pTDefRegMap(@Self)^.&set := $00000100;
  21078. end;
  21079. procedure TUART2_U3ASTA.clearTRMT; inline;
  21080. begin
  21081. pTDefRegMap(@Self)^.clr := $00000100;
  21082. end;
  21083. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  21084. begin
  21085. if thebits = 0 then
  21086. pTDefRegMap(@Self)^.clr := $00000100
  21087. else
  21088. pTDefRegMap(@Self)^.&set := $00000100;
  21089. end;
  21090. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  21091. begin
  21092. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21093. end;
  21094. procedure TUART2_U3ASTA.setUTXBF; inline;
  21095. begin
  21096. pTDefRegMap(@Self)^.&set := $00000200;
  21097. end;
  21098. procedure TUART2_U3ASTA.clearUTXBF; inline;
  21099. begin
  21100. pTDefRegMap(@Self)^.clr := $00000200;
  21101. end;
  21102. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  21103. begin
  21104. if thebits = 0 then
  21105. pTDefRegMap(@Self)^.clr := $00000200
  21106. else
  21107. pTDefRegMap(@Self)^.&set := $00000200;
  21108. end;
  21109. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  21110. begin
  21111. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21112. end;
  21113. procedure TUART2_U3ASTA.setUTXEN; inline;
  21114. begin
  21115. pTDefRegMap(@Self)^.&set := $00000400;
  21116. end;
  21117. procedure TUART2_U3ASTA.clearUTXEN; inline;
  21118. begin
  21119. pTDefRegMap(@Self)^.clr := $00000400;
  21120. end;
  21121. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  21122. begin
  21123. if thebits = 0 then
  21124. pTDefRegMap(@Self)^.clr := $00000400
  21125. else
  21126. pTDefRegMap(@Self)^.&set := $00000400;
  21127. end;
  21128. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  21129. begin
  21130. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21131. end;
  21132. procedure TUART2_U3ASTA.setUTXBRK; inline;
  21133. begin
  21134. pTDefRegMap(@Self)^.&set := $00000800;
  21135. end;
  21136. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  21137. begin
  21138. pTDefRegMap(@Self)^.clr := $00000800;
  21139. end;
  21140. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  21141. begin
  21142. if thebits = 0 then
  21143. pTDefRegMap(@Self)^.clr := $00000800
  21144. else
  21145. pTDefRegMap(@Self)^.&set := $00000800;
  21146. end;
  21147. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  21148. begin
  21149. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21150. end;
  21151. procedure TUART2_U3ASTA.setURXEN; inline;
  21152. begin
  21153. pTDefRegMap(@Self)^.&set := $00001000;
  21154. end;
  21155. procedure TUART2_U3ASTA.clearURXEN; inline;
  21156. begin
  21157. pTDefRegMap(@Self)^.clr := $00001000;
  21158. end;
  21159. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  21160. begin
  21161. if thebits = 0 then
  21162. pTDefRegMap(@Self)^.clr := $00001000
  21163. else
  21164. pTDefRegMap(@Self)^.&set := $00001000;
  21165. end;
  21166. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  21167. begin
  21168. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21169. end;
  21170. procedure TUART2_U3ASTA.setUTXINV; inline;
  21171. begin
  21172. pTDefRegMap(@Self)^.&set := $00002000;
  21173. end;
  21174. procedure TUART2_U3ASTA.clearUTXINV; inline;
  21175. begin
  21176. pTDefRegMap(@Self)^.clr := $00002000;
  21177. end;
  21178. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  21179. begin
  21180. if thebits = 0 then
  21181. pTDefRegMap(@Self)^.clr := $00002000
  21182. else
  21183. pTDefRegMap(@Self)^.&set := $00002000;
  21184. end;
  21185. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  21186. begin
  21187. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21188. end;
  21189. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  21190. begin
  21191. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21192. end;
  21193. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  21194. begin
  21195. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21196. end;
  21197. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  21198. begin
  21199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21200. end;
  21201. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  21202. begin
  21203. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21204. end;
  21205. procedure TUART2_U3ASTA.setADM_EN; inline;
  21206. begin
  21207. pTDefRegMap(@Self)^.&set := $01000000;
  21208. end;
  21209. procedure TUART2_U3ASTA.clearADM_EN; inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.clr := $01000000;
  21212. end;
  21213. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  21214. begin
  21215. if thebits = 0 then
  21216. pTDefRegMap(@Self)^.clr := $01000000
  21217. else
  21218. pTDefRegMap(@Self)^.&set := $01000000;
  21219. end;
  21220. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  21221. begin
  21222. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21223. end;
  21224. procedure TUART2_U3ASTA.setURXISEL0; inline;
  21225. begin
  21226. pTDefRegMap(@Self)^.&set := $00000040;
  21227. end;
  21228. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  21229. begin
  21230. pTDefRegMap(@Self)^.clr := $00000040;
  21231. end;
  21232. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  21233. begin
  21234. if thebits = 0 then
  21235. pTDefRegMap(@Self)^.clr := $00000040
  21236. else
  21237. pTDefRegMap(@Self)^.&set := $00000040;
  21238. end;
  21239. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  21240. begin
  21241. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21242. end;
  21243. procedure TUART2_U3ASTA.setURXISEL1; inline;
  21244. begin
  21245. pTDefRegMap(@Self)^.&set := $00000080;
  21246. end;
  21247. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  21248. begin
  21249. pTDefRegMap(@Self)^.clr := $00000080;
  21250. end;
  21251. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  21252. begin
  21253. if thebits = 0 then
  21254. pTDefRegMap(@Self)^.clr := $00000080
  21255. else
  21256. pTDefRegMap(@Self)^.&set := $00000080;
  21257. end;
  21258. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  21259. begin
  21260. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21261. end;
  21262. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  21263. begin
  21264. pTDefRegMap(@Self)^.&set := $00004000;
  21265. end;
  21266. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  21267. begin
  21268. pTDefRegMap(@Self)^.clr := $00004000;
  21269. end;
  21270. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  21271. begin
  21272. if thebits = 0 then
  21273. pTDefRegMap(@Self)^.clr := $00004000
  21274. else
  21275. pTDefRegMap(@Self)^.&set := $00004000;
  21276. end;
  21277. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  21278. begin
  21279. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21280. end;
  21281. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  21282. begin
  21283. pTDefRegMap(@Self)^.&set := $00008000;
  21284. end;
  21285. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  21286. begin
  21287. pTDefRegMap(@Self)^.clr := $00008000;
  21288. end;
  21289. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  21290. begin
  21291. if thebits = 0 then
  21292. pTDefRegMap(@Self)^.clr := $00008000
  21293. else
  21294. pTDefRegMap(@Self)^.&set := $00008000;
  21295. end;
  21296. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  21297. begin
  21298. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21299. end;
  21300. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  21301. begin
  21302. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21303. end;
  21304. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  21305. begin
  21306. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21307. end;
  21308. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  21309. begin
  21310. pTDefRegMap(@Self)^.val := thebits;
  21311. end;
  21312. function TUART2_U3ASTA.getw : TBits_32; inline;
  21313. begin
  21314. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21315. end;
  21316. procedure TPMP_PMCON.setRDSP; inline;
  21317. begin
  21318. pTDefRegMap(@Self)^.&set := $00000001;
  21319. end;
  21320. procedure TPMP_PMCON.clearRDSP; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.clr := $00000001;
  21323. end;
  21324. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  21325. begin
  21326. if thebits = 0 then
  21327. pTDefRegMap(@Self)^.clr := $00000001
  21328. else
  21329. pTDefRegMap(@Self)^.&set := $00000001;
  21330. end;
  21331. function TPMP_PMCON.getRDSP : TBits_1; inline;
  21332. begin
  21333. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21334. end;
  21335. procedure TPMP_PMCON.setWRSP; inline;
  21336. begin
  21337. pTDefRegMap(@Self)^.&set := $00000002;
  21338. end;
  21339. procedure TPMP_PMCON.clearWRSP; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.clr := $00000002;
  21342. end;
  21343. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  21344. begin
  21345. if thebits = 0 then
  21346. pTDefRegMap(@Self)^.clr := $00000002
  21347. else
  21348. pTDefRegMap(@Self)^.&set := $00000002;
  21349. end;
  21350. function TPMP_PMCON.getWRSP : TBits_1; inline;
  21351. begin
  21352. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21353. end;
  21354. procedure TPMP_PMCON.setCS1P; inline;
  21355. begin
  21356. pTDefRegMap(@Self)^.&set := $00000008;
  21357. end;
  21358. procedure TPMP_PMCON.clearCS1P; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.clr := $00000008;
  21361. end;
  21362. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  21363. begin
  21364. if thebits = 0 then
  21365. pTDefRegMap(@Self)^.clr := $00000008
  21366. else
  21367. pTDefRegMap(@Self)^.&set := $00000008;
  21368. end;
  21369. function TPMP_PMCON.getCS1P : TBits_1; inline;
  21370. begin
  21371. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21372. end;
  21373. procedure TPMP_PMCON.setALP; inline;
  21374. begin
  21375. pTDefRegMap(@Self)^.&set := $00000020;
  21376. end;
  21377. procedure TPMP_PMCON.clearALP; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.clr := $00000020;
  21380. end;
  21381. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  21382. begin
  21383. if thebits = 0 then
  21384. pTDefRegMap(@Self)^.clr := $00000020
  21385. else
  21386. pTDefRegMap(@Self)^.&set := $00000020;
  21387. end;
  21388. function TPMP_PMCON.getALP : TBits_1; inline;
  21389. begin
  21390. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21391. end;
  21392. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  21393. begin
  21394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21395. end;
  21396. function TPMP_PMCON.getCSF : TBits_2; inline;
  21397. begin
  21398. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21399. end;
  21400. procedure TPMP_PMCON.setPTRDEN; inline;
  21401. begin
  21402. pTDefRegMap(@Self)^.&set := $00000100;
  21403. end;
  21404. procedure TPMP_PMCON.clearPTRDEN; inline;
  21405. begin
  21406. pTDefRegMap(@Self)^.clr := $00000100;
  21407. end;
  21408. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  21409. begin
  21410. if thebits = 0 then
  21411. pTDefRegMap(@Self)^.clr := $00000100
  21412. else
  21413. pTDefRegMap(@Self)^.&set := $00000100;
  21414. end;
  21415. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  21416. begin
  21417. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21418. end;
  21419. procedure TPMP_PMCON.setPTWREN; inline;
  21420. begin
  21421. pTDefRegMap(@Self)^.&set := $00000200;
  21422. end;
  21423. procedure TPMP_PMCON.clearPTWREN; inline;
  21424. begin
  21425. pTDefRegMap(@Self)^.clr := $00000200;
  21426. end;
  21427. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  21428. begin
  21429. if thebits = 0 then
  21430. pTDefRegMap(@Self)^.clr := $00000200
  21431. else
  21432. pTDefRegMap(@Self)^.&set := $00000200;
  21433. end;
  21434. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  21435. begin
  21436. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21437. end;
  21438. procedure TPMP_PMCON.setPMPTTL; inline;
  21439. begin
  21440. pTDefRegMap(@Self)^.&set := $00000400;
  21441. end;
  21442. procedure TPMP_PMCON.clearPMPTTL; inline;
  21443. begin
  21444. pTDefRegMap(@Self)^.clr := $00000400;
  21445. end;
  21446. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  21447. begin
  21448. if thebits = 0 then
  21449. pTDefRegMap(@Self)^.clr := $00000400
  21450. else
  21451. pTDefRegMap(@Self)^.&set := $00000400;
  21452. end;
  21453. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  21454. begin
  21455. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21456. end;
  21457. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  21458. begin
  21459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21460. end;
  21461. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  21462. begin
  21463. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21464. end;
  21465. procedure TPMP_PMCON.setSIDL; inline;
  21466. begin
  21467. pTDefRegMap(@Self)^.&set := $00002000;
  21468. end;
  21469. procedure TPMP_PMCON.clearSIDL; inline;
  21470. begin
  21471. pTDefRegMap(@Self)^.clr := $00002000;
  21472. end;
  21473. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  21474. begin
  21475. if thebits = 0 then
  21476. pTDefRegMap(@Self)^.clr := $00002000
  21477. else
  21478. pTDefRegMap(@Self)^.&set := $00002000;
  21479. end;
  21480. function TPMP_PMCON.getSIDL : TBits_1; inline;
  21481. begin
  21482. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21483. end;
  21484. procedure TPMP_PMCON.setON; inline;
  21485. begin
  21486. pTDefRegMap(@Self)^.&set := $00008000;
  21487. end;
  21488. procedure TPMP_PMCON.clearON; inline;
  21489. begin
  21490. pTDefRegMap(@Self)^.clr := $00008000;
  21491. end;
  21492. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  21493. begin
  21494. if thebits = 0 then
  21495. pTDefRegMap(@Self)^.clr := $00008000
  21496. else
  21497. pTDefRegMap(@Self)^.&set := $00008000;
  21498. end;
  21499. function TPMP_PMCON.getON : TBits_1; inline;
  21500. begin
  21501. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21502. end;
  21503. procedure TPMP_PMCON.setCSF0; inline;
  21504. begin
  21505. pTDefRegMap(@Self)^.&set := $00000040;
  21506. end;
  21507. procedure TPMP_PMCON.clearCSF0; inline;
  21508. begin
  21509. pTDefRegMap(@Self)^.clr := $00000040;
  21510. end;
  21511. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21512. begin
  21513. if thebits = 0 then
  21514. pTDefRegMap(@Self)^.clr := $00000040
  21515. else
  21516. pTDefRegMap(@Self)^.&set := $00000040;
  21517. end;
  21518. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21519. begin
  21520. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21521. end;
  21522. procedure TPMP_PMCON.setCSF1; inline;
  21523. begin
  21524. pTDefRegMap(@Self)^.&set := $00000080;
  21525. end;
  21526. procedure TPMP_PMCON.clearCSF1; inline;
  21527. begin
  21528. pTDefRegMap(@Self)^.clr := $00000080;
  21529. end;
  21530. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21531. begin
  21532. if thebits = 0 then
  21533. pTDefRegMap(@Self)^.clr := $00000080
  21534. else
  21535. pTDefRegMap(@Self)^.&set := $00000080;
  21536. end;
  21537. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21538. begin
  21539. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21540. end;
  21541. procedure TPMP_PMCON.setADRMUX0; inline;
  21542. begin
  21543. pTDefRegMap(@Self)^.&set := $00000800;
  21544. end;
  21545. procedure TPMP_PMCON.clearADRMUX0; inline;
  21546. begin
  21547. pTDefRegMap(@Self)^.clr := $00000800;
  21548. end;
  21549. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21550. begin
  21551. if thebits = 0 then
  21552. pTDefRegMap(@Self)^.clr := $00000800
  21553. else
  21554. pTDefRegMap(@Self)^.&set := $00000800;
  21555. end;
  21556. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21557. begin
  21558. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21559. end;
  21560. procedure TPMP_PMCON.setADRMUX1; inline;
  21561. begin
  21562. pTDefRegMap(@Self)^.&set := $00001000;
  21563. end;
  21564. procedure TPMP_PMCON.clearADRMUX1; inline;
  21565. begin
  21566. pTDefRegMap(@Self)^.clr := $00001000;
  21567. end;
  21568. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21569. begin
  21570. if thebits = 0 then
  21571. pTDefRegMap(@Self)^.clr := $00001000
  21572. else
  21573. pTDefRegMap(@Self)^.&set := $00001000;
  21574. end;
  21575. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21576. begin
  21577. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21578. end;
  21579. procedure TPMP_PMCON.setPSIDL; inline;
  21580. begin
  21581. pTDefRegMap(@Self)^.&set := $00002000;
  21582. end;
  21583. procedure TPMP_PMCON.clearPSIDL; inline;
  21584. begin
  21585. pTDefRegMap(@Self)^.clr := $00002000;
  21586. end;
  21587. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21588. begin
  21589. if thebits = 0 then
  21590. pTDefRegMap(@Self)^.clr := $00002000
  21591. else
  21592. pTDefRegMap(@Self)^.&set := $00002000;
  21593. end;
  21594. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21595. begin
  21596. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21597. end;
  21598. procedure TPMP_PMCON.setPMPEN; inline;
  21599. begin
  21600. pTDefRegMap(@Self)^.&set := $00008000;
  21601. end;
  21602. procedure TPMP_PMCON.clearPMPEN; inline;
  21603. begin
  21604. pTDefRegMap(@Self)^.clr := $00008000;
  21605. end;
  21606. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21607. begin
  21608. if thebits = 0 then
  21609. pTDefRegMap(@Self)^.clr := $00008000
  21610. else
  21611. pTDefRegMap(@Self)^.&set := $00008000;
  21612. end;
  21613. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21614. begin
  21615. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21616. end;
  21617. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21618. begin
  21619. pTDefRegMap(@Self)^.val := thebits;
  21620. end;
  21621. function TPMP_PMCON.getw : TBits_32; inline;
  21622. begin
  21623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21624. end;
  21625. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21626. begin
  21627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21628. end;
  21629. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21630. begin
  21631. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21632. end;
  21633. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21634. begin
  21635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21636. end;
  21637. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21638. begin
  21639. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21640. end;
  21641. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21642. begin
  21643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21644. end;
  21645. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21646. begin
  21647. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21648. end;
  21649. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21650. begin
  21651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21652. end;
  21653. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21654. begin
  21655. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21656. end;
  21657. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21660. end;
  21661. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21662. begin
  21663. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21664. end;
  21665. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21666. begin
  21667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21668. end;
  21669. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21670. begin
  21671. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21672. end;
  21673. procedure TPMP_PMMODE.setBUSY; inline;
  21674. begin
  21675. pTDefRegMap(@Self)^.&set := $00008000;
  21676. end;
  21677. procedure TPMP_PMMODE.clearBUSY; inline;
  21678. begin
  21679. pTDefRegMap(@Self)^.clr := $00008000;
  21680. end;
  21681. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21682. begin
  21683. if thebits = 0 then
  21684. pTDefRegMap(@Self)^.clr := $00008000
  21685. else
  21686. pTDefRegMap(@Self)^.&set := $00008000;
  21687. end;
  21688. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21689. begin
  21690. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21691. end;
  21692. procedure TPMP_PMMODE.setWAITE0; inline;
  21693. begin
  21694. pTDefRegMap(@Self)^.&set := $00000001;
  21695. end;
  21696. procedure TPMP_PMMODE.clearWAITE0; inline;
  21697. begin
  21698. pTDefRegMap(@Self)^.clr := $00000001;
  21699. end;
  21700. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21701. begin
  21702. if thebits = 0 then
  21703. pTDefRegMap(@Self)^.clr := $00000001
  21704. else
  21705. pTDefRegMap(@Self)^.&set := $00000001;
  21706. end;
  21707. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21708. begin
  21709. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21710. end;
  21711. procedure TPMP_PMMODE.setWAITE1; inline;
  21712. begin
  21713. pTDefRegMap(@Self)^.&set := $00000002;
  21714. end;
  21715. procedure TPMP_PMMODE.clearWAITE1; inline;
  21716. begin
  21717. pTDefRegMap(@Self)^.clr := $00000002;
  21718. end;
  21719. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21720. begin
  21721. if thebits = 0 then
  21722. pTDefRegMap(@Self)^.clr := $00000002
  21723. else
  21724. pTDefRegMap(@Self)^.&set := $00000002;
  21725. end;
  21726. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21727. begin
  21728. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21729. end;
  21730. procedure TPMP_PMMODE.setWAITM0; inline;
  21731. begin
  21732. pTDefRegMap(@Self)^.&set := $00000004;
  21733. end;
  21734. procedure TPMP_PMMODE.clearWAITM0; inline;
  21735. begin
  21736. pTDefRegMap(@Self)^.clr := $00000004;
  21737. end;
  21738. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21739. begin
  21740. if thebits = 0 then
  21741. pTDefRegMap(@Self)^.clr := $00000004
  21742. else
  21743. pTDefRegMap(@Self)^.&set := $00000004;
  21744. end;
  21745. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21746. begin
  21747. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21748. end;
  21749. procedure TPMP_PMMODE.setWAITM1; inline;
  21750. begin
  21751. pTDefRegMap(@Self)^.&set := $00000008;
  21752. end;
  21753. procedure TPMP_PMMODE.clearWAITM1; inline;
  21754. begin
  21755. pTDefRegMap(@Self)^.clr := $00000008;
  21756. end;
  21757. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21758. begin
  21759. if thebits = 0 then
  21760. pTDefRegMap(@Self)^.clr := $00000008
  21761. else
  21762. pTDefRegMap(@Self)^.&set := $00000008;
  21763. end;
  21764. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21765. begin
  21766. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21767. end;
  21768. procedure TPMP_PMMODE.setWAITM2; inline;
  21769. begin
  21770. pTDefRegMap(@Self)^.&set := $00000010;
  21771. end;
  21772. procedure TPMP_PMMODE.clearWAITM2; inline;
  21773. begin
  21774. pTDefRegMap(@Self)^.clr := $00000010;
  21775. end;
  21776. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21777. begin
  21778. if thebits = 0 then
  21779. pTDefRegMap(@Self)^.clr := $00000010
  21780. else
  21781. pTDefRegMap(@Self)^.&set := $00000010;
  21782. end;
  21783. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21784. begin
  21785. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21786. end;
  21787. procedure TPMP_PMMODE.setWAITM3; inline;
  21788. begin
  21789. pTDefRegMap(@Self)^.&set := $00000020;
  21790. end;
  21791. procedure TPMP_PMMODE.clearWAITM3; inline;
  21792. begin
  21793. pTDefRegMap(@Self)^.clr := $00000020;
  21794. end;
  21795. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21796. begin
  21797. if thebits = 0 then
  21798. pTDefRegMap(@Self)^.clr := $00000020
  21799. else
  21800. pTDefRegMap(@Self)^.&set := $00000020;
  21801. end;
  21802. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21803. begin
  21804. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21805. end;
  21806. procedure TPMP_PMMODE.setWAITB0; inline;
  21807. begin
  21808. pTDefRegMap(@Self)^.&set := $00000040;
  21809. end;
  21810. procedure TPMP_PMMODE.clearWAITB0; inline;
  21811. begin
  21812. pTDefRegMap(@Self)^.clr := $00000040;
  21813. end;
  21814. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21815. begin
  21816. if thebits = 0 then
  21817. pTDefRegMap(@Self)^.clr := $00000040
  21818. else
  21819. pTDefRegMap(@Self)^.&set := $00000040;
  21820. end;
  21821. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21822. begin
  21823. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21824. end;
  21825. procedure TPMP_PMMODE.setWAITB1; inline;
  21826. begin
  21827. pTDefRegMap(@Self)^.&set := $00000080;
  21828. end;
  21829. procedure TPMP_PMMODE.clearWAITB1; inline;
  21830. begin
  21831. pTDefRegMap(@Self)^.clr := $00000080;
  21832. end;
  21833. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21834. begin
  21835. if thebits = 0 then
  21836. pTDefRegMap(@Self)^.clr := $00000080
  21837. else
  21838. pTDefRegMap(@Self)^.&set := $00000080;
  21839. end;
  21840. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21841. begin
  21842. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21843. end;
  21844. procedure TPMP_PMMODE.setMODE0; inline;
  21845. begin
  21846. pTDefRegMap(@Self)^.&set := $00000100;
  21847. end;
  21848. procedure TPMP_PMMODE.clearMODE0; inline;
  21849. begin
  21850. pTDefRegMap(@Self)^.clr := $00000100;
  21851. end;
  21852. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21853. begin
  21854. if thebits = 0 then
  21855. pTDefRegMap(@Self)^.clr := $00000100
  21856. else
  21857. pTDefRegMap(@Self)^.&set := $00000100;
  21858. end;
  21859. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21860. begin
  21861. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21862. end;
  21863. procedure TPMP_PMMODE.setMODE1; inline;
  21864. begin
  21865. pTDefRegMap(@Self)^.&set := $00000200;
  21866. end;
  21867. procedure TPMP_PMMODE.clearMODE1; inline;
  21868. begin
  21869. pTDefRegMap(@Self)^.clr := $00000200;
  21870. end;
  21871. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21872. begin
  21873. if thebits = 0 then
  21874. pTDefRegMap(@Self)^.clr := $00000200
  21875. else
  21876. pTDefRegMap(@Self)^.&set := $00000200;
  21877. end;
  21878. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21879. begin
  21880. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21881. end;
  21882. procedure TPMP_PMMODE.setINCM0; inline;
  21883. begin
  21884. pTDefRegMap(@Self)^.&set := $00000800;
  21885. end;
  21886. procedure TPMP_PMMODE.clearINCM0; inline;
  21887. begin
  21888. pTDefRegMap(@Self)^.clr := $00000800;
  21889. end;
  21890. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21891. begin
  21892. if thebits = 0 then
  21893. pTDefRegMap(@Self)^.clr := $00000800
  21894. else
  21895. pTDefRegMap(@Self)^.&set := $00000800;
  21896. end;
  21897. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21898. begin
  21899. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21900. end;
  21901. procedure TPMP_PMMODE.setINCM1; inline;
  21902. begin
  21903. pTDefRegMap(@Self)^.&set := $00001000;
  21904. end;
  21905. procedure TPMP_PMMODE.clearINCM1; inline;
  21906. begin
  21907. pTDefRegMap(@Self)^.clr := $00001000;
  21908. end;
  21909. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21910. begin
  21911. if thebits = 0 then
  21912. pTDefRegMap(@Self)^.clr := $00001000
  21913. else
  21914. pTDefRegMap(@Self)^.&set := $00001000;
  21915. end;
  21916. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21917. begin
  21918. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21919. end;
  21920. procedure TPMP_PMMODE.setIRQM0; inline;
  21921. begin
  21922. pTDefRegMap(@Self)^.&set := $00002000;
  21923. end;
  21924. procedure TPMP_PMMODE.clearIRQM0; inline;
  21925. begin
  21926. pTDefRegMap(@Self)^.clr := $00002000;
  21927. end;
  21928. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21929. begin
  21930. if thebits = 0 then
  21931. pTDefRegMap(@Self)^.clr := $00002000
  21932. else
  21933. pTDefRegMap(@Self)^.&set := $00002000;
  21934. end;
  21935. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21936. begin
  21937. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21938. end;
  21939. procedure TPMP_PMMODE.setIRQM1; inline;
  21940. begin
  21941. pTDefRegMap(@Self)^.&set := $00004000;
  21942. end;
  21943. procedure TPMP_PMMODE.clearIRQM1; inline;
  21944. begin
  21945. pTDefRegMap(@Self)^.clr := $00004000;
  21946. end;
  21947. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21948. begin
  21949. if thebits = 0 then
  21950. pTDefRegMap(@Self)^.clr := $00004000
  21951. else
  21952. pTDefRegMap(@Self)^.&set := $00004000;
  21953. end;
  21954. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21955. begin
  21956. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21957. end;
  21958. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21959. begin
  21960. pTDefRegMap(@Self)^.val := thebits;
  21961. end;
  21962. function TPMP_PMMODE.getw : TBits_32; inline;
  21963. begin
  21964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21965. end;
  21966. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21967. begin
  21968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21969. end;
  21970. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21971. begin
  21972. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21973. end;
  21974. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21975. begin
  21976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21977. end;
  21978. function TPMP_PMADDR.getCS : TBits_2; inline;
  21979. begin
  21980. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21981. end;
  21982. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21983. begin
  21984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21985. end;
  21986. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21987. begin
  21988. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21989. end;
  21990. procedure TPMP_PMADDR.setCS1; inline;
  21991. begin
  21992. pTDefRegMap(@Self)^.&set := $00004000;
  21993. end;
  21994. procedure TPMP_PMADDR.clearCS1; inline;
  21995. begin
  21996. pTDefRegMap(@Self)^.clr := $00004000;
  21997. end;
  21998. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21999. begin
  22000. if thebits = 0 then
  22001. pTDefRegMap(@Self)^.clr := $00004000
  22002. else
  22003. pTDefRegMap(@Self)^.&set := $00004000;
  22004. end;
  22005. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  22006. begin
  22007. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22008. end;
  22009. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  22010. begin
  22011. pTDefRegMap(@Self)^.val := thebits;
  22012. end;
  22013. function TPMP_PMADDR.getw : TBits_32; inline;
  22014. begin
  22015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22016. end;
  22017. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  22018. begin
  22019. pTDefRegMap(@Self)^.val := thebits;
  22020. end;
  22021. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  22022. begin
  22023. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22024. end;
  22025. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  22026. begin
  22027. pTDefRegMap(@Self)^.val := thebits;
  22028. end;
  22029. function TPMP_PMDOUT.getw : TBits_32; inline;
  22030. begin
  22031. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22032. end;
  22033. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  22034. begin
  22035. pTDefRegMap(@Self)^.val := thebits;
  22036. end;
  22037. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  22038. begin
  22039. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22040. end;
  22041. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  22042. begin
  22043. pTDefRegMap(@Self)^.val := thebits;
  22044. end;
  22045. function TPMP_PMDIN.getw : TBits_32; inline;
  22046. begin
  22047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22048. end;
  22049. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  22050. begin
  22051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22052. end;
  22053. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  22054. begin
  22055. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22056. end;
  22057. procedure TPMP_PMAEN.setPTEN0; inline;
  22058. begin
  22059. pTDefRegMap(@Self)^.&set := $00000001;
  22060. end;
  22061. procedure TPMP_PMAEN.clearPTEN0; inline;
  22062. begin
  22063. pTDefRegMap(@Self)^.clr := $00000001;
  22064. end;
  22065. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  22066. begin
  22067. if thebits = 0 then
  22068. pTDefRegMap(@Self)^.clr := $00000001
  22069. else
  22070. pTDefRegMap(@Self)^.&set := $00000001;
  22071. end;
  22072. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  22073. begin
  22074. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22075. end;
  22076. procedure TPMP_PMAEN.setPTEN1; inline;
  22077. begin
  22078. pTDefRegMap(@Self)^.&set := $00000002;
  22079. end;
  22080. procedure TPMP_PMAEN.clearPTEN1; inline;
  22081. begin
  22082. pTDefRegMap(@Self)^.clr := $00000002;
  22083. end;
  22084. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  22085. begin
  22086. if thebits = 0 then
  22087. pTDefRegMap(@Self)^.clr := $00000002
  22088. else
  22089. pTDefRegMap(@Self)^.&set := $00000002;
  22090. end;
  22091. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  22092. begin
  22093. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22094. end;
  22095. procedure TPMP_PMAEN.setPTEN2; inline;
  22096. begin
  22097. pTDefRegMap(@Self)^.&set := $00000004;
  22098. end;
  22099. procedure TPMP_PMAEN.clearPTEN2; inline;
  22100. begin
  22101. pTDefRegMap(@Self)^.clr := $00000004;
  22102. end;
  22103. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  22104. begin
  22105. if thebits = 0 then
  22106. pTDefRegMap(@Self)^.clr := $00000004
  22107. else
  22108. pTDefRegMap(@Self)^.&set := $00000004;
  22109. end;
  22110. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  22111. begin
  22112. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22113. end;
  22114. procedure TPMP_PMAEN.setPTEN3; inline;
  22115. begin
  22116. pTDefRegMap(@Self)^.&set := $00000008;
  22117. end;
  22118. procedure TPMP_PMAEN.clearPTEN3; inline;
  22119. begin
  22120. pTDefRegMap(@Self)^.clr := $00000008;
  22121. end;
  22122. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  22123. begin
  22124. if thebits = 0 then
  22125. pTDefRegMap(@Self)^.clr := $00000008
  22126. else
  22127. pTDefRegMap(@Self)^.&set := $00000008;
  22128. end;
  22129. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  22130. begin
  22131. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22132. end;
  22133. procedure TPMP_PMAEN.setPTEN4; inline;
  22134. begin
  22135. pTDefRegMap(@Self)^.&set := $00000010;
  22136. end;
  22137. procedure TPMP_PMAEN.clearPTEN4; inline;
  22138. begin
  22139. pTDefRegMap(@Self)^.clr := $00000010;
  22140. end;
  22141. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  22142. begin
  22143. if thebits = 0 then
  22144. pTDefRegMap(@Self)^.clr := $00000010
  22145. else
  22146. pTDefRegMap(@Self)^.&set := $00000010;
  22147. end;
  22148. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  22149. begin
  22150. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22151. end;
  22152. procedure TPMP_PMAEN.setPTEN5; inline;
  22153. begin
  22154. pTDefRegMap(@Self)^.&set := $00000020;
  22155. end;
  22156. procedure TPMP_PMAEN.clearPTEN5; inline;
  22157. begin
  22158. pTDefRegMap(@Self)^.clr := $00000020;
  22159. end;
  22160. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  22161. begin
  22162. if thebits = 0 then
  22163. pTDefRegMap(@Self)^.clr := $00000020
  22164. else
  22165. pTDefRegMap(@Self)^.&set := $00000020;
  22166. end;
  22167. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  22168. begin
  22169. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22170. end;
  22171. procedure TPMP_PMAEN.setPTEN6; inline;
  22172. begin
  22173. pTDefRegMap(@Self)^.&set := $00000040;
  22174. end;
  22175. procedure TPMP_PMAEN.clearPTEN6; inline;
  22176. begin
  22177. pTDefRegMap(@Self)^.clr := $00000040;
  22178. end;
  22179. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  22180. begin
  22181. if thebits = 0 then
  22182. pTDefRegMap(@Self)^.clr := $00000040
  22183. else
  22184. pTDefRegMap(@Self)^.&set := $00000040;
  22185. end;
  22186. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  22187. begin
  22188. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22189. end;
  22190. procedure TPMP_PMAEN.setPTEN7; inline;
  22191. begin
  22192. pTDefRegMap(@Self)^.&set := $00000080;
  22193. end;
  22194. procedure TPMP_PMAEN.clearPTEN7; inline;
  22195. begin
  22196. pTDefRegMap(@Self)^.clr := $00000080;
  22197. end;
  22198. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  22199. begin
  22200. if thebits = 0 then
  22201. pTDefRegMap(@Self)^.clr := $00000080
  22202. else
  22203. pTDefRegMap(@Self)^.&set := $00000080;
  22204. end;
  22205. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  22206. begin
  22207. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22208. end;
  22209. procedure TPMP_PMAEN.setPTEN8; inline;
  22210. begin
  22211. pTDefRegMap(@Self)^.&set := $00000100;
  22212. end;
  22213. procedure TPMP_PMAEN.clearPTEN8; inline;
  22214. begin
  22215. pTDefRegMap(@Self)^.clr := $00000100;
  22216. end;
  22217. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  22218. begin
  22219. if thebits = 0 then
  22220. pTDefRegMap(@Self)^.clr := $00000100
  22221. else
  22222. pTDefRegMap(@Self)^.&set := $00000100;
  22223. end;
  22224. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  22225. begin
  22226. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22227. end;
  22228. procedure TPMP_PMAEN.setPTEN9; inline;
  22229. begin
  22230. pTDefRegMap(@Self)^.&set := $00000200;
  22231. end;
  22232. procedure TPMP_PMAEN.clearPTEN9; inline;
  22233. begin
  22234. pTDefRegMap(@Self)^.clr := $00000200;
  22235. end;
  22236. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  22237. begin
  22238. if thebits = 0 then
  22239. pTDefRegMap(@Self)^.clr := $00000200
  22240. else
  22241. pTDefRegMap(@Self)^.&set := $00000200;
  22242. end;
  22243. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  22244. begin
  22245. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22246. end;
  22247. procedure TPMP_PMAEN.setPTEN10; inline;
  22248. begin
  22249. pTDefRegMap(@Self)^.&set := $00000400;
  22250. end;
  22251. procedure TPMP_PMAEN.clearPTEN10; inline;
  22252. begin
  22253. pTDefRegMap(@Self)^.clr := $00000400;
  22254. end;
  22255. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  22256. begin
  22257. if thebits = 0 then
  22258. pTDefRegMap(@Self)^.clr := $00000400
  22259. else
  22260. pTDefRegMap(@Self)^.&set := $00000400;
  22261. end;
  22262. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  22263. begin
  22264. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22265. end;
  22266. procedure TPMP_PMAEN.setPTEN11; inline;
  22267. begin
  22268. pTDefRegMap(@Self)^.&set := $00000800;
  22269. end;
  22270. procedure TPMP_PMAEN.clearPTEN11; inline;
  22271. begin
  22272. pTDefRegMap(@Self)^.clr := $00000800;
  22273. end;
  22274. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  22275. begin
  22276. if thebits = 0 then
  22277. pTDefRegMap(@Self)^.clr := $00000800
  22278. else
  22279. pTDefRegMap(@Self)^.&set := $00000800;
  22280. end;
  22281. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  22282. begin
  22283. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22284. end;
  22285. procedure TPMP_PMAEN.setPTEN12; inline;
  22286. begin
  22287. pTDefRegMap(@Self)^.&set := $00001000;
  22288. end;
  22289. procedure TPMP_PMAEN.clearPTEN12; inline;
  22290. begin
  22291. pTDefRegMap(@Self)^.clr := $00001000;
  22292. end;
  22293. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  22294. begin
  22295. if thebits = 0 then
  22296. pTDefRegMap(@Self)^.clr := $00001000
  22297. else
  22298. pTDefRegMap(@Self)^.&set := $00001000;
  22299. end;
  22300. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  22301. begin
  22302. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22303. end;
  22304. procedure TPMP_PMAEN.setPTEN13; inline;
  22305. begin
  22306. pTDefRegMap(@Self)^.&set := $00002000;
  22307. end;
  22308. procedure TPMP_PMAEN.clearPTEN13; inline;
  22309. begin
  22310. pTDefRegMap(@Self)^.clr := $00002000;
  22311. end;
  22312. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  22313. begin
  22314. if thebits = 0 then
  22315. pTDefRegMap(@Self)^.clr := $00002000
  22316. else
  22317. pTDefRegMap(@Self)^.&set := $00002000;
  22318. end;
  22319. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  22320. begin
  22321. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22322. end;
  22323. procedure TPMP_PMAEN.setPTEN14; inline;
  22324. begin
  22325. pTDefRegMap(@Self)^.&set := $00004000;
  22326. end;
  22327. procedure TPMP_PMAEN.clearPTEN14; inline;
  22328. begin
  22329. pTDefRegMap(@Self)^.clr := $00004000;
  22330. end;
  22331. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  22332. begin
  22333. if thebits = 0 then
  22334. pTDefRegMap(@Self)^.clr := $00004000
  22335. else
  22336. pTDefRegMap(@Self)^.&set := $00004000;
  22337. end;
  22338. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  22339. begin
  22340. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22341. end;
  22342. procedure TPMP_PMAEN.setPTEN15; inline;
  22343. begin
  22344. pTDefRegMap(@Self)^.&set := $00008000;
  22345. end;
  22346. procedure TPMP_PMAEN.clearPTEN15; inline;
  22347. begin
  22348. pTDefRegMap(@Self)^.clr := $00008000;
  22349. end;
  22350. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  22351. begin
  22352. if thebits = 0 then
  22353. pTDefRegMap(@Self)^.clr := $00008000
  22354. else
  22355. pTDefRegMap(@Self)^.&set := $00008000;
  22356. end;
  22357. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  22358. begin
  22359. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22360. end;
  22361. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  22362. begin
  22363. pTDefRegMap(@Self)^.val := thebits;
  22364. end;
  22365. function TPMP_PMAEN.getw : TBits_32; inline;
  22366. begin
  22367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22368. end;
  22369. procedure TPMP_PMSTAT.setOB0E; inline;
  22370. begin
  22371. pTDefRegMap(@Self)^.&set := $00000001;
  22372. end;
  22373. procedure TPMP_PMSTAT.clearOB0E; inline;
  22374. begin
  22375. pTDefRegMap(@Self)^.clr := $00000001;
  22376. end;
  22377. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  22378. begin
  22379. if thebits = 0 then
  22380. pTDefRegMap(@Self)^.clr := $00000001
  22381. else
  22382. pTDefRegMap(@Self)^.&set := $00000001;
  22383. end;
  22384. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  22385. begin
  22386. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22387. end;
  22388. procedure TPMP_PMSTAT.setOB1E; inline;
  22389. begin
  22390. pTDefRegMap(@Self)^.&set := $00000002;
  22391. end;
  22392. procedure TPMP_PMSTAT.clearOB1E; inline;
  22393. begin
  22394. pTDefRegMap(@Self)^.clr := $00000002;
  22395. end;
  22396. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  22397. begin
  22398. if thebits = 0 then
  22399. pTDefRegMap(@Self)^.clr := $00000002
  22400. else
  22401. pTDefRegMap(@Self)^.&set := $00000002;
  22402. end;
  22403. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  22404. begin
  22405. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22406. end;
  22407. procedure TPMP_PMSTAT.setOB2E; inline;
  22408. begin
  22409. pTDefRegMap(@Self)^.&set := $00000004;
  22410. end;
  22411. procedure TPMP_PMSTAT.clearOB2E; inline;
  22412. begin
  22413. pTDefRegMap(@Self)^.clr := $00000004;
  22414. end;
  22415. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  22416. begin
  22417. if thebits = 0 then
  22418. pTDefRegMap(@Self)^.clr := $00000004
  22419. else
  22420. pTDefRegMap(@Self)^.&set := $00000004;
  22421. end;
  22422. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  22423. begin
  22424. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22425. end;
  22426. procedure TPMP_PMSTAT.setOB3E; inline;
  22427. begin
  22428. pTDefRegMap(@Self)^.&set := $00000008;
  22429. end;
  22430. procedure TPMP_PMSTAT.clearOB3E; inline;
  22431. begin
  22432. pTDefRegMap(@Self)^.clr := $00000008;
  22433. end;
  22434. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  22435. begin
  22436. if thebits = 0 then
  22437. pTDefRegMap(@Self)^.clr := $00000008
  22438. else
  22439. pTDefRegMap(@Self)^.&set := $00000008;
  22440. end;
  22441. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  22442. begin
  22443. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22444. end;
  22445. procedure TPMP_PMSTAT.setOBUF; inline;
  22446. begin
  22447. pTDefRegMap(@Self)^.&set := $00000040;
  22448. end;
  22449. procedure TPMP_PMSTAT.clearOBUF; inline;
  22450. begin
  22451. pTDefRegMap(@Self)^.clr := $00000040;
  22452. end;
  22453. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  22454. begin
  22455. if thebits = 0 then
  22456. pTDefRegMap(@Self)^.clr := $00000040
  22457. else
  22458. pTDefRegMap(@Self)^.&set := $00000040;
  22459. end;
  22460. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  22461. begin
  22462. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22463. end;
  22464. procedure TPMP_PMSTAT.setOBE; inline;
  22465. begin
  22466. pTDefRegMap(@Self)^.&set := $00000080;
  22467. end;
  22468. procedure TPMP_PMSTAT.clearOBE; inline;
  22469. begin
  22470. pTDefRegMap(@Self)^.clr := $00000080;
  22471. end;
  22472. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  22473. begin
  22474. if thebits = 0 then
  22475. pTDefRegMap(@Self)^.clr := $00000080
  22476. else
  22477. pTDefRegMap(@Self)^.&set := $00000080;
  22478. end;
  22479. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  22480. begin
  22481. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22482. end;
  22483. procedure TPMP_PMSTAT.setIB0F; inline;
  22484. begin
  22485. pTDefRegMap(@Self)^.&set := $00000100;
  22486. end;
  22487. procedure TPMP_PMSTAT.clearIB0F; inline;
  22488. begin
  22489. pTDefRegMap(@Self)^.clr := $00000100;
  22490. end;
  22491. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  22492. begin
  22493. if thebits = 0 then
  22494. pTDefRegMap(@Self)^.clr := $00000100
  22495. else
  22496. pTDefRegMap(@Self)^.&set := $00000100;
  22497. end;
  22498. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22499. begin
  22500. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22501. end;
  22502. procedure TPMP_PMSTAT.setIB1F; inline;
  22503. begin
  22504. pTDefRegMap(@Self)^.&set := $00000200;
  22505. end;
  22506. procedure TPMP_PMSTAT.clearIB1F; inline;
  22507. begin
  22508. pTDefRegMap(@Self)^.clr := $00000200;
  22509. end;
  22510. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22511. begin
  22512. if thebits = 0 then
  22513. pTDefRegMap(@Self)^.clr := $00000200
  22514. else
  22515. pTDefRegMap(@Self)^.&set := $00000200;
  22516. end;
  22517. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22518. begin
  22519. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22520. end;
  22521. procedure TPMP_PMSTAT.setIB2F; inline;
  22522. begin
  22523. pTDefRegMap(@Self)^.&set := $00000400;
  22524. end;
  22525. procedure TPMP_PMSTAT.clearIB2F; inline;
  22526. begin
  22527. pTDefRegMap(@Self)^.clr := $00000400;
  22528. end;
  22529. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22530. begin
  22531. if thebits = 0 then
  22532. pTDefRegMap(@Self)^.clr := $00000400
  22533. else
  22534. pTDefRegMap(@Self)^.&set := $00000400;
  22535. end;
  22536. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22537. begin
  22538. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22539. end;
  22540. procedure TPMP_PMSTAT.setIB3F; inline;
  22541. begin
  22542. pTDefRegMap(@Self)^.&set := $00000800;
  22543. end;
  22544. procedure TPMP_PMSTAT.clearIB3F; inline;
  22545. begin
  22546. pTDefRegMap(@Self)^.clr := $00000800;
  22547. end;
  22548. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22549. begin
  22550. if thebits = 0 then
  22551. pTDefRegMap(@Self)^.clr := $00000800
  22552. else
  22553. pTDefRegMap(@Self)^.&set := $00000800;
  22554. end;
  22555. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22556. begin
  22557. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22558. end;
  22559. procedure TPMP_PMSTAT.setIBOV; inline;
  22560. begin
  22561. pTDefRegMap(@Self)^.&set := $00004000;
  22562. end;
  22563. procedure TPMP_PMSTAT.clearIBOV; inline;
  22564. begin
  22565. pTDefRegMap(@Self)^.clr := $00004000;
  22566. end;
  22567. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22568. begin
  22569. if thebits = 0 then
  22570. pTDefRegMap(@Self)^.clr := $00004000
  22571. else
  22572. pTDefRegMap(@Self)^.&set := $00004000;
  22573. end;
  22574. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22575. begin
  22576. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22577. end;
  22578. procedure TPMP_PMSTAT.setIBF; inline;
  22579. begin
  22580. pTDefRegMap(@Self)^.&set := $00008000;
  22581. end;
  22582. procedure TPMP_PMSTAT.clearIBF; inline;
  22583. begin
  22584. pTDefRegMap(@Self)^.clr := $00008000;
  22585. end;
  22586. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22587. begin
  22588. if thebits = 0 then
  22589. pTDefRegMap(@Self)^.clr := $00008000
  22590. else
  22591. pTDefRegMap(@Self)^.&set := $00008000;
  22592. end;
  22593. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22594. begin
  22595. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22596. end;
  22597. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22598. begin
  22599. pTDefRegMap(@Self)^.val := thebits;
  22600. end;
  22601. function TPMP_PMSTAT.getw : TBits_32; inline;
  22602. begin
  22603. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22604. end;
  22605. procedure TADC10_AD1CON1.setDONE; inline;
  22606. begin
  22607. pTDefRegMap(@Self)^.&set := $00000001;
  22608. end;
  22609. procedure TADC10_AD1CON1.clearDONE; inline;
  22610. begin
  22611. pTDefRegMap(@Self)^.clr := $00000001;
  22612. end;
  22613. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22614. begin
  22615. if thebits = 0 then
  22616. pTDefRegMap(@Self)^.clr := $00000001
  22617. else
  22618. pTDefRegMap(@Self)^.&set := $00000001;
  22619. end;
  22620. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22621. begin
  22622. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22623. end;
  22624. procedure TADC10_AD1CON1.setSAMP; inline;
  22625. begin
  22626. pTDefRegMap(@Self)^.&set := $00000002;
  22627. end;
  22628. procedure TADC10_AD1CON1.clearSAMP; inline;
  22629. begin
  22630. pTDefRegMap(@Self)^.clr := $00000002;
  22631. end;
  22632. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22633. begin
  22634. if thebits = 0 then
  22635. pTDefRegMap(@Self)^.clr := $00000002
  22636. else
  22637. pTDefRegMap(@Self)^.&set := $00000002;
  22638. end;
  22639. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22640. begin
  22641. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22642. end;
  22643. procedure TADC10_AD1CON1.setASAM; inline;
  22644. begin
  22645. pTDefRegMap(@Self)^.&set := $00000004;
  22646. end;
  22647. procedure TADC10_AD1CON1.clearASAM; inline;
  22648. begin
  22649. pTDefRegMap(@Self)^.clr := $00000004;
  22650. end;
  22651. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22652. begin
  22653. if thebits = 0 then
  22654. pTDefRegMap(@Self)^.clr := $00000004
  22655. else
  22656. pTDefRegMap(@Self)^.&set := $00000004;
  22657. end;
  22658. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22659. begin
  22660. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22661. end;
  22662. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22663. begin
  22664. pTDefRegMap(@Self)^.&set := $00000010;
  22665. end;
  22666. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22667. begin
  22668. pTDefRegMap(@Self)^.clr := $00000010;
  22669. end;
  22670. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22671. begin
  22672. if thebits = 0 then
  22673. pTDefRegMap(@Self)^.clr := $00000010
  22674. else
  22675. pTDefRegMap(@Self)^.&set := $00000010;
  22676. end;
  22677. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22678. begin
  22679. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22680. end;
  22681. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22682. begin
  22683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22684. end;
  22685. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22686. begin
  22687. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22688. end;
  22689. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22690. begin
  22691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22692. end;
  22693. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22694. begin
  22695. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22696. end;
  22697. procedure TADC10_AD1CON1.setSIDL; inline;
  22698. begin
  22699. pTDefRegMap(@Self)^.&set := $00002000;
  22700. end;
  22701. procedure TADC10_AD1CON1.clearSIDL; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.clr := $00002000;
  22704. end;
  22705. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22706. begin
  22707. if thebits = 0 then
  22708. pTDefRegMap(@Self)^.clr := $00002000
  22709. else
  22710. pTDefRegMap(@Self)^.&set := $00002000;
  22711. end;
  22712. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22713. begin
  22714. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22715. end;
  22716. procedure TADC10_AD1CON1.setON; inline;
  22717. begin
  22718. pTDefRegMap(@Self)^.&set := $00008000;
  22719. end;
  22720. procedure TADC10_AD1CON1.clearON; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.clr := $00008000;
  22723. end;
  22724. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22725. begin
  22726. if thebits = 0 then
  22727. pTDefRegMap(@Self)^.clr := $00008000
  22728. else
  22729. pTDefRegMap(@Self)^.&set := $00008000;
  22730. end;
  22731. function TADC10_AD1CON1.getON : TBits_1; inline;
  22732. begin
  22733. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22734. end;
  22735. procedure TADC10_AD1CON1.setSSRC0; inline;
  22736. begin
  22737. pTDefRegMap(@Self)^.&set := $00000020;
  22738. end;
  22739. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.clr := $00000020;
  22742. end;
  22743. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22744. begin
  22745. if thebits = 0 then
  22746. pTDefRegMap(@Self)^.clr := $00000020
  22747. else
  22748. pTDefRegMap(@Self)^.&set := $00000020;
  22749. end;
  22750. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22751. begin
  22752. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22753. end;
  22754. procedure TADC10_AD1CON1.setSSRC1; inline;
  22755. begin
  22756. pTDefRegMap(@Self)^.&set := $00000040;
  22757. end;
  22758. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.clr := $00000040;
  22761. end;
  22762. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22763. begin
  22764. if thebits = 0 then
  22765. pTDefRegMap(@Self)^.clr := $00000040
  22766. else
  22767. pTDefRegMap(@Self)^.&set := $00000040;
  22768. end;
  22769. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22770. begin
  22771. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22772. end;
  22773. procedure TADC10_AD1CON1.setSSRC2; inline;
  22774. begin
  22775. pTDefRegMap(@Self)^.&set := $00000080;
  22776. end;
  22777. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.clr := $00000080;
  22780. end;
  22781. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22782. begin
  22783. if thebits = 0 then
  22784. pTDefRegMap(@Self)^.clr := $00000080
  22785. else
  22786. pTDefRegMap(@Self)^.&set := $00000080;
  22787. end;
  22788. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22789. begin
  22790. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22791. end;
  22792. procedure TADC10_AD1CON1.setFORM0; inline;
  22793. begin
  22794. pTDefRegMap(@Self)^.&set := $00000100;
  22795. end;
  22796. procedure TADC10_AD1CON1.clearFORM0; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.clr := $00000100;
  22799. end;
  22800. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22801. begin
  22802. if thebits = 0 then
  22803. pTDefRegMap(@Self)^.clr := $00000100
  22804. else
  22805. pTDefRegMap(@Self)^.&set := $00000100;
  22806. end;
  22807. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22808. begin
  22809. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22810. end;
  22811. procedure TADC10_AD1CON1.setFORM1; inline;
  22812. begin
  22813. pTDefRegMap(@Self)^.&set := $00000200;
  22814. end;
  22815. procedure TADC10_AD1CON1.clearFORM1; inline;
  22816. begin
  22817. pTDefRegMap(@Self)^.clr := $00000200;
  22818. end;
  22819. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22820. begin
  22821. if thebits = 0 then
  22822. pTDefRegMap(@Self)^.clr := $00000200
  22823. else
  22824. pTDefRegMap(@Self)^.&set := $00000200;
  22825. end;
  22826. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22827. begin
  22828. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22829. end;
  22830. procedure TADC10_AD1CON1.setFORM2; inline;
  22831. begin
  22832. pTDefRegMap(@Self)^.&set := $00000400;
  22833. end;
  22834. procedure TADC10_AD1CON1.clearFORM2; inline;
  22835. begin
  22836. pTDefRegMap(@Self)^.clr := $00000400;
  22837. end;
  22838. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22839. begin
  22840. if thebits = 0 then
  22841. pTDefRegMap(@Self)^.clr := $00000400
  22842. else
  22843. pTDefRegMap(@Self)^.&set := $00000400;
  22844. end;
  22845. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22846. begin
  22847. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22848. end;
  22849. procedure TADC10_AD1CON1.setADSIDL; inline;
  22850. begin
  22851. pTDefRegMap(@Self)^.&set := $00002000;
  22852. end;
  22853. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.clr := $00002000;
  22856. end;
  22857. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22858. begin
  22859. if thebits = 0 then
  22860. pTDefRegMap(@Self)^.clr := $00002000
  22861. else
  22862. pTDefRegMap(@Self)^.&set := $00002000;
  22863. end;
  22864. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22865. begin
  22866. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22867. end;
  22868. procedure TADC10_AD1CON1.setADON; inline;
  22869. begin
  22870. pTDefRegMap(@Self)^.&set := $00008000;
  22871. end;
  22872. procedure TADC10_AD1CON1.clearADON; inline;
  22873. begin
  22874. pTDefRegMap(@Self)^.clr := $00008000;
  22875. end;
  22876. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22877. begin
  22878. if thebits = 0 then
  22879. pTDefRegMap(@Self)^.clr := $00008000
  22880. else
  22881. pTDefRegMap(@Self)^.&set := $00008000;
  22882. end;
  22883. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22884. begin
  22885. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22886. end;
  22887. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22888. begin
  22889. pTDefRegMap(@Self)^.val := thebits;
  22890. end;
  22891. function TADC10_AD1CON1.getw : TBits_32; inline;
  22892. begin
  22893. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22894. end;
  22895. procedure TADC10_AD1CON2.setALTS; inline;
  22896. begin
  22897. pTDefRegMap(@Self)^.&set := $00000001;
  22898. end;
  22899. procedure TADC10_AD1CON2.clearALTS; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.clr := $00000001;
  22902. end;
  22903. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22904. begin
  22905. if thebits = 0 then
  22906. pTDefRegMap(@Self)^.clr := $00000001
  22907. else
  22908. pTDefRegMap(@Self)^.&set := $00000001;
  22909. end;
  22910. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22911. begin
  22912. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22913. end;
  22914. procedure TADC10_AD1CON2.setBUFM; inline;
  22915. begin
  22916. pTDefRegMap(@Self)^.&set := $00000002;
  22917. end;
  22918. procedure TADC10_AD1CON2.clearBUFM; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.clr := $00000002;
  22921. end;
  22922. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22923. begin
  22924. if thebits = 0 then
  22925. pTDefRegMap(@Self)^.clr := $00000002
  22926. else
  22927. pTDefRegMap(@Self)^.&set := $00000002;
  22928. end;
  22929. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22930. begin
  22931. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22932. end;
  22933. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22934. begin
  22935. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22936. end;
  22937. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22938. begin
  22939. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22940. end;
  22941. procedure TADC10_AD1CON2.setBUFS; inline;
  22942. begin
  22943. pTDefRegMap(@Self)^.&set := $00000080;
  22944. end;
  22945. procedure TADC10_AD1CON2.clearBUFS; inline;
  22946. begin
  22947. pTDefRegMap(@Self)^.clr := $00000080;
  22948. end;
  22949. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22950. begin
  22951. if thebits = 0 then
  22952. pTDefRegMap(@Self)^.clr := $00000080
  22953. else
  22954. pTDefRegMap(@Self)^.&set := $00000080;
  22955. end;
  22956. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22957. begin
  22958. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22959. end;
  22960. procedure TADC10_AD1CON2.setCSCNA; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.&set := $00000400;
  22963. end;
  22964. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22965. begin
  22966. pTDefRegMap(@Self)^.clr := $00000400;
  22967. end;
  22968. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22969. begin
  22970. if thebits = 0 then
  22971. pTDefRegMap(@Self)^.clr := $00000400
  22972. else
  22973. pTDefRegMap(@Self)^.&set := $00000400;
  22974. end;
  22975. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22976. begin
  22977. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22978. end;
  22979. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.&set := $00001000;
  22982. end;
  22983. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22984. begin
  22985. pTDefRegMap(@Self)^.clr := $00001000;
  22986. end;
  22987. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22988. begin
  22989. if thebits = 0 then
  22990. pTDefRegMap(@Self)^.clr := $00001000
  22991. else
  22992. pTDefRegMap(@Self)^.&set := $00001000;
  22993. end;
  22994. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22995. begin
  22996. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22997. end;
  22998. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  23001. end;
  23002. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  23003. begin
  23004. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  23005. end;
  23006. procedure TADC10_AD1CON2.setSMPI0; inline;
  23007. begin
  23008. pTDefRegMap(@Self)^.&set := $00000004;
  23009. end;
  23010. procedure TADC10_AD1CON2.clearSMPI0; inline;
  23011. begin
  23012. pTDefRegMap(@Self)^.clr := $00000004;
  23013. end;
  23014. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  23015. begin
  23016. if thebits = 0 then
  23017. pTDefRegMap(@Self)^.clr := $00000004
  23018. else
  23019. pTDefRegMap(@Self)^.&set := $00000004;
  23020. end;
  23021. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  23022. begin
  23023. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23024. end;
  23025. procedure TADC10_AD1CON2.setSMPI1; inline;
  23026. begin
  23027. pTDefRegMap(@Self)^.&set := $00000008;
  23028. end;
  23029. procedure TADC10_AD1CON2.clearSMPI1; inline;
  23030. begin
  23031. pTDefRegMap(@Self)^.clr := $00000008;
  23032. end;
  23033. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  23034. begin
  23035. if thebits = 0 then
  23036. pTDefRegMap(@Self)^.clr := $00000008
  23037. else
  23038. pTDefRegMap(@Self)^.&set := $00000008;
  23039. end;
  23040. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  23041. begin
  23042. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23043. end;
  23044. procedure TADC10_AD1CON2.setSMPI2; inline;
  23045. begin
  23046. pTDefRegMap(@Self)^.&set := $00000010;
  23047. end;
  23048. procedure TADC10_AD1CON2.clearSMPI2; inline;
  23049. begin
  23050. pTDefRegMap(@Self)^.clr := $00000010;
  23051. end;
  23052. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  23053. begin
  23054. if thebits = 0 then
  23055. pTDefRegMap(@Self)^.clr := $00000010
  23056. else
  23057. pTDefRegMap(@Self)^.&set := $00000010;
  23058. end;
  23059. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  23060. begin
  23061. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23062. end;
  23063. procedure TADC10_AD1CON2.setSMPI3; inline;
  23064. begin
  23065. pTDefRegMap(@Self)^.&set := $00000020;
  23066. end;
  23067. procedure TADC10_AD1CON2.clearSMPI3; inline;
  23068. begin
  23069. pTDefRegMap(@Self)^.clr := $00000020;
  23070. end;
  23071. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  23072. begin
  23073. if thebits = 0 then
  23074. pTDefRegMap(@Self)^.clr := $00000020
  23075. else
  23076. pTDefRegMap(@Self)^.&set := $00000020;
  23077. end;
  23078. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  23079. begin
  23080. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23081. end;
  23082. procedure TADC10_AD1CON2.setVCFG0; inline;
  23083. begin
  23084. pTDefRegMap(@Self)^.&set := $00002000;
  23085. end;
  23086. procedure TADC10_AD1CON2.clearVCFG0; inline;
  23087. begin
  23088. pTDefRegMap(@Self)^.clr := $00002000;
  23089. end;
  23090. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  23091. begin
  23092. if thebits = 0 then
  23093. pTDefRegMap(@Self)^.clr := $00002000
  23094. else
  23095. pTDefRegMap(@Self)^.&set := $00002000;
  23096. end;
  23097. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  23098. begin
  23099. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23100. end;
  23101. procedure TADC10_AD1CON2.setVCFG1; inline;
  23102. begin
  23103. pTDefRegMap(@Self)^.&set := $00004000;
  23104. end;
  23105. procedure TADC10_AD1CON2.clearVCFG1; inline;
  23106. begin
  23107. pTDefRegMap(@Self)^.clr := $00004000;
  23108. end;
  23109. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  23110. begin
  23111. if thebits = 0 then
  23112. pTDefRegMap(@Self)^.clr := $00004000
  23113. else
  23114. pTDefRegMap(@Self)^.&set := $00004000;
  23115. end;
  23116. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  23117. begin
  23118. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23119. end;
  23120. procedure TADC10_AD1CON2.setVCFG2; inline;
  23121. begin
  23122. pTDefRegMap(@Self)^.&set := $00008000;
  23123. end;
  23124. procedure TADC10_AD1CON2.clearVCFG2; inline;
  23125. begin
  23126. pTDefRegMap(@Self)^.clr := $00008000;
  23127. end;
  23128. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  23129. begin
  23130. if thebits = 0 then
  23131. pTDefRegMap(@Self)^.clr := $00008000
  23132. else
  23133. pTDefRegMap(@Self)^.&set := $00008000;
  23134. end;
  23135. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  23136. begin
  23137. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23138. end;
  23139. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  23140. begin
  23141. pTDefRegMap(@Self)^.val := thebits;
  23142. end;
  23143. function TADC10_AD1CON2.getw : TBits_32; inline;
  23144. begin
  23145. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23146. end;
  23147. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  23148. begin
  23149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  23150. end;
  23151. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  23152. begin
  23153. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  23154. end;
  23155. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  23156. begin
  23157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  23158. end;
  23159. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  23160. begin
  23161. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  23162. end;
  23163. procedure TADC10_AD1CON3.setADRC; inline;
  23164. begin
  23165. pTDefRegMap(@Self)^.&set := $00008000;
  23166. end;
  23167. procedure TADC10_AD1CON3.clearADRC; inline;
  23168. begin
  23169. pTDefRegMap(@Self)^.clr := $00008000;
  23170. end;
  23171. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  23172. begin
  23173. if thebits = 0 then
  23174. pTDefRegMap(@Self)^.clr := $00008000
  23175. else
  23176. pTDefRegMap(@Self)^.&set := $00008000;
  23177. end;
  23178. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  23179. begin
  23180. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23181. end;
  23182. procedure TADC10_AD1CON3.setADCS0; inline;
  23183. begin
  23184. pTDefRegMap(@Self)^.&set := $00000001;
  23185. end;
  23186. procedure TADC10_AD1CON3.clearADCS0; inline;
  23187. begin
  23188. pTDefRegMap(@Self)^.clr := $00000001;
  23189. end;
  23190. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  23191. begin
  23192. if thebits = 0 then
  23193. pTDefRegMap(@Self)^.clr := $00000001
  23194. else
  23195. pTDefRegMap(@Self)^.&set := $00000001;
  23196. end;
  23197. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  23198. begin
  23199. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23200. end;
  23201. procedure TADC10_AD1CON3.setADCS1; inline;
  23202. begin
  23203. pTDefRegMap(@Self)^.&set := $00000002;
  23204. end;
  23205. procedure TADC10_AD1CON3.clearADCS1; inline;
  23206. begin
  23207. pTDefRegMap(@Self)^.clr := $00000002;
  23208. end;
  23209. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  23210. begin
  23211. if thebits = 0 then
  23212. pTDefRegMap(@Self)^.clr := $00000002
  23213. else
  23214. pTDefRegMap(@Self)^.&set := $00000002;
  23215. end;
  23216. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  23217. begin
  23218. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23219. end;
  23220. procedure TADC10_AD1CON3.setADCS2; inline;
  23221. begin
  23222. pTDefRegMap(@Self)^.&set := $00000004;
  23223. end;
  23224. procedure TADC10_AD1CON3.clearADCS2; inline;
  23225. begin
  23226. pTDefRegMap(@Self)^.clr := $00000004;
  23227. end;
  23228. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  23229. begin
  23230. if thebits = 0 then
  23231. pTDefRegMap(@Self)^.clr := $00000004
  23232. else
  23233. pTDefRegMap(@Self)^.&set := $00000004;
  23234. end;
  23235. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  23236. begin
  23237. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23238. end;
  23239. procedure TADC10_AD1CON3.setADCS3; inline;
  23240. begin
  23241. pTDefRegMap(@Self)^.&set := $00000008;
  23242. end;
  23243. procedure TADC10_AD1CON3.clearADCS3; inline;
  23244. begin
  23245. pTDefRegMap(@Self)^.clr := $00000008;
  23246. end;
  23247. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  23248. begin
  23249. if thebits = 0 then
  23250. pTDefRegMap(@Self)^.clr := $00000008
  23251. else
  23252. pTDefRegMap(@Self)^.&set := $00000008;
  23253. end;
  23254. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  23255. begin
  23256. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23257. end;
  23258. procedure TADC10_AD1CON3.setADCS4; inline;
  23259. begin
  23260. pTDefRegMap(@Self)^.&set := $00000010;
  23261. end;
  23262. procedure TADC10_AD1CON3.clearADCS4; inline;
  23263. begin
  23264. pTDefRegMap(@Self)^.clr := $00000010;
  23265. end;
  23266. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  23267. begin
  23268. if thebits = 0 then
  23269. pTDefRegMap(@Self)^.clr := $00000010
  23270. else
  23271. pTDefRegMap(@Self)^.&set := $00000010;
  23272. end;
  23273. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  23274. begin
  23275. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23276. end;
  23277. procedure TADC10_AD1CON3.setADCS5; inline;
  23278. begin
  23279. pTDefRegMap(@Self)^.&set := $00000020;
  23280. end;
  23281. procedure TADC10_AD1CON3.clearADCS5; inline;
  23282. begin
  23283. pTDefRegMap(@Self)^.clr := $00000020;
  23284. end;
  23285. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  23286. begin
  23287. if thebits = 0 then
  23288. pTDefRegMap(@Self)^.clr := $00000020
  23289. else
  23290. pTDefRegMap(@Self)^.&set := $00000020;
  23291. end;
  23292. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  23293. begin
  23294. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23295. end;
  23296. procedure TADC10_AD1CON3.setADCS6; inline;
  23297. begin
  23298. pTDefRegMap(@Self)^.&set := $00000040;
  23299. end;
  23300. procedure TADC10_AD1CON3.clearADCS6; inline;
  23301. begin
  23302. pTDefRegMap(@Self)^.clr := $00000040;
  23303. end;
  23304. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  23305. begin
  23306. if thebits = 0 then
  23307. pTDefRegMap(@Self)^.clr := $00000040
  23308. else
  23309. pTDefRegMap(@Self)^.&set := $00000040;
  23310. end;
  23311. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  23312. begin
  23313. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23314. end;
  23315. procedure TADC10_AD1CON3.setADCS7; inline;
  23316. begin
  23317. pTDefRegMap(@Self)^.&set := $00000080;
  23318. end;
  23319. procedure TADC10_AD1CON3.clearADCS7; inline;
  23320. begin
  23321. pTDefRegMap(@Self)^.clr := $00000080;
  23322. end;
  23323. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  23324. begin
  23325. if thebits = 0 then
  23326. pTDefRegMap(@Self)^.clr := $00000080
  23327. else
  23328. pTDefRegMap(@Self)^.&set := $00000080;
  23329. end;
  23330. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  23331. begin
  23332. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23333. end;
  23334. procedure TADC10_AD1CON3.setSAMC0; inline;
  23335. begin
  23336. pTDefRegMap(@Self)^.&set := $00000100;
  23337. end;
  23338. procedure TADC10_AD1CON3.clearSAMC0; inline;
  23339. begin
  23340. pTDefRegMap(@Self)^.clr := $00000100;
  23341. end;
  23342. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  23343. begin
  23344. if thebits = 0 then
  23345. pTDefRegMap(@Self)^.clr := $00000100
  23346. else
  23347. pTDefRegMap(@Self)^.&set := $00000100;
  23348. end;
  23349. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  23350. begin
  23351. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23352. end;
  23353. procedure TADC10_AD1CON3.setSAMC1; inline;
  23354. begin
  23355. pTDefRegMap(@Self)^.&set := $00000200;
  23356. end;
  23357. procedure TADC10_AD1CON3.clearSAMC1; inline;
  23358. begin
  23359. pTDefRegMap(@Self)^.clr := $00000200;
  23360. end;
  23361. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  23362. begin
  23363. if thebits = 0 then
  23364. pTDefRegMap(@Self)^.clr := $00000200
  23365. else
  23366. pTDefRegMap(@Self)^.&set := $00000200;
  23367. end;
  23368. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  23369. begin
  23370. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23371. end;
  23372. procedure TADC10_AD1CON3.setSAMC2; inline;
  23373. begin
  23374. pTDefRegMap(@Self)^.&set := $00000400;
  23375. end;
  23376. procedure TADC10_AD1CON3.clearSAMC2; inline;
  23377. begin
  23378. pTDefRegMap(@Self)^.clr := $00000400;
  23379. end;
  23380. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  23381. begin
  23382. if thebits = 0 then
  23383. pTDefRegMap(@Self)^.clr := $00000400
  23384. else
  23385. pTDefRegMap(@Self)^.&set := $00000400;
  23386. end;
  23387. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  23388. begin
  23389. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23390. end;
  23391. procedure TADC10_AD1CON3.setSAMC3; inline;
  23392. begin
  23393. pTDefRegMap(@Self)^.&set := $00000800;
  23394. end;
  23395. procedure TADC10_AD1CON3.clearSAMC3; inline;
  23396. begin
  23397. pTDefRegMap(@Self)^.clr := $00000800;
  23398. end;
  23399. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  23400. begin
  23401. if thebits = 0 then
  23402. pTDefRegMap(@Self)^.clr := $00000800
  23403. else
  23404. pTDefRegMap(@Self)^.&set := $00000800;
  23405. end;
  23406. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  23407. begin
  23408. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23409. end;
  23410. procedure TADC10_AD1CON3.setSAMC4; inline;
  23411. begin
  23412. pTDefRegMap(@Self)^.&set := $00001000;
  23413. end;
  23414. procedure TADC10_AD1CON3.clearSAMC4; inline;
  23415. begin
  23416. pTDefRegMap(@Self)^.clr := $00001000;
  23417. end;
  23418. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  23419. begin
  23420. if thebits = 0 then
  23421. pTDefRegMap(@Self)^.clr := $00001000
  23422. else
  23423. pTDefRegMap(@Self)^.&set := $00001000;
  23424. end;
  23425. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  23426. begin
  23427. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23428. end;
  23429. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  23430. begin
  23431. pTDefRegMap(@Self)^.val := thebits;
  23432. end;
  23433. function TADC10_AD1CON3.getw : TBits_32; inline;
  23434. begin
  23435. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23436. end;
  23437. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  23438. begin
  23439. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  23440. end;
  23441. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  23442. begin
  23443. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  23444. end;
  23445. procedure TADC10_AD1CHS.setCH0NA; inline;
  23446. begin
  23447. pTDefRegMap(@Self)^.&set := $00800000;
  23448. end;
  23449. procedure TADC10_AD1CHS.clearCH0NA; inline;
  23450. begin
  23451. pTDefRegMap(@Self)^.clr := $00800000;
  23452. end;
  23453. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  23454. begin
  23455. if thebits = 0 then
  23456. pTDefRegMap(@Self)^.clr := $00800000
  23457. else
  23458. pTDefRegMap(@Self)^.&set := $00800000;
  23459. end;
  23460. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  23461. begin
  23462. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23463. end;
  23464. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  23465. begin
  23466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  23467. end;
  23468. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  23469. begin
  23470. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  23471. end;
  23472. procedure TADC10_AD1CHS.setCH0NB; inline;
  23473. begin
  23474. pTDefRegMap(@Self)^.&set := $80000000;
  23475. end;
  23476. procedure TADC10_AD1CHS.clearCH0NB; inline;
  23477. begin
  23478. pTDefRegMap(@Self)^.clr := $80000000;
  23479. end;
  23480. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  23481. begin
  23482. if thebits = 0 then
  23483. pTDefRegMap(@Self)^.clr := $80000000
  23484. else
  23485. pTDefRegMap(@Self)^.&set := $80000000;
  23486. end;
  23487. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  23488. begin
  23489. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23490. end;
  23491. procedure TADC10_AD1CHS.setCH0SA0; inline;
  23492. begin
  23493. pTDefRegMap(@Self)^.&set := $00010000;
  23494. end;
  23495. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  23496. begin
  23497. pTDefRegMap(@Self)^.clr := $00010000;
  23498. end;
  23499. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23500. begin
  23501. if thebits = 0 then
  23502. pTDefRegMap(@Self)^.clr := $00010000
  23503. else
  23504. pTDefRegMap(@Self)^.&set := $00010000;
  23505. end;
  23506. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23507. begin
  23508. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23509. end;
  23510. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23511. begin
  23512. pTDefRegMap(@Self)^.&set := $00020000;
  23513. end;
  23514. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23515. begin
  23516. pTDefRegMap(@Self)^.clr := $00020000;
  23517. end;
  23518. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23519. begin
  23520. if thebits = 0 then
  23521. pTDefRegMap(@Self)^.clr := $00020000
  23522. else
  23523. pTDefRegMap(@Self)^.&set := $00020000;
  23524. end;
  23525. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23526. begin
  23527. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23528. end;
  23529. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23530. begin
  23531. pTDefRegMap(@Self)^.&set := $00040000;
  23532. end;
  23533. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23534. begin
  23535. pTDefRegMap(@Self)^.clr := $00040000;
  23536. end;
  23537. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23538. begin
  23539. if thebits = 0 then
  23540. pTDefRegMap(@Self)^.clr := $00040000
  23541. else
  23542. pTDefRegMap(@Self)^.&set := $00040000;
  23543. end;
  23544. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23545. begin
  23546. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23547. end;
  23548. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23549. begin
  23550. pTDefRegMap(@Self)^.&set := $00080000;
  23551. end;
  23552. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23553. begin
  23554. pTDefRegMap(@Self)^.clr := $00080000;
  23555. end;
  23556. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23557. begin
  23558. if thebits = 0 then
  23559. pTDefRegMap(@Self)^.clr := $00080000
  23560. else
  23561. pTDefRegMap(@Self)^.&set := $00080000;
  23562. end;
  23563. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23564. begin
  23565. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23566. end;
  23567. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23568. begin
  23569. pTDefRegMap(@Self)^.&set := $01000000;
  23570. end;
  23571. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23572. begin
  23573. pTDefRegMap(@Self)^.clr := $01000000;
  23574. end;
  23575. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23576. begin
  23577. if thebits = 0 then
  23578. pTDefRegMap(@Self)^.clr := $01000000
  23579. else
  23580. pTDefRegMap(@Self)^.&set := $01000000;
  23581. end;
  23582. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23583. begin
  23584. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23585. end;
  23586. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23587. begin
  23588. pTDefRegMap(@Self)^.&set := $02000000;
  23589. end;
  23590. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23591. begin
  23592. pTDefRegMap(@Self)^.clr := $02000000;
  23593. end;
  23594. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23595. begin
  23596. if thebits = 0 then
  23597. pTDefRegMap(@Self)^.clr := $02000000
  23598. else
  23599. pTDefRegMap(@Self)^.&set := $02000000;
  23600. end;
  23601. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23602. begin
  23603. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23604. end;
  23605. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23606. begin
  23607. pTDefRegMap(@Self)^.&set := $04000000;
  23608. end;
  23609. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23610. begin
  23611. pTDefRegMap(@Self)^.clr := $04000000;
  23612. end;
  23613. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23614. begin
  23615. if thebits = 0 then
  23616. pTDefRegMap(@Self)^.clr := $04000000
  23617. else
  23618. pTDefRegMap(@Self)^.&set := $04000000;
  23619. end;
  23620. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23621. begin
  23622. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23623. end;
  23624. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23625. begin
  23626. pTDefRegMap(@Self)^.&set := $08000000;
  23627. end;
  23628. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23629. begin
  23630. pTDefRegMap(@Self)^.clr := $08000000;
  23631. end;
  23632. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23633. begin
  23634. if thebits = 0 then
  23635. pTDefRegMap(@Self)^.clr := $08000000
  23636. else
  23637. pTDefRegMap(@Self)^.&set := $08000000;
  23638. end;
  23639. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23640. begin
  23641. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23642. end;
  23643. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23644. begin
  23645. pTDefRegMap(@Self)^.val := thebits;
  23646. end;
  23647. function TADC10_AD1CHS.getw : TBits_32; inline;
  23648. begin
  23649. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23650. end;
  23651. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23652. begin
  23653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23654. end;
  23655. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23656. begin
  23657. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23658. end;
  23659. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23660. begin
  23661. pTDefRegMap(@Self)^.&set := $00000001;
  23662. end;
  23663. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23664. begin
  23665. pTDefRegMap(@Self)^.clr := $00000001;
  23666. end;
  23667. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23668. begin
  23669. if thebits = 0 then
  23670. pTDefRegMap(@Self)^.clr := $00000001
  23671. else
  23672. pTDefRegMap(@Self)^.&set := $00000001;
  23673. end;
  23674. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23675. begin
  23676. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23677. end;
  23678. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23679. begin
  23680. pTDefRegMap(@Self)^.&set := $00000002;
  23681. end;
  23682. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23683. begin
  23684. pTDefRegMap(@Self)^.clr := $00000002;
  23685. end;
  23686. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23687. begin
  23688. if thebits = 0 then
  23689. pTDefRegMap(@Self)^.clr := $00000002
  23690. else
  23691. pTDefRegMap(@Self)^.&set := $00000002;
  23692. end;
  23693. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23694. begin
  23695. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23696. end;
  23697. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23698. begin
  23699. pTDefRegMap(@Self)^.&set := $00000004;
  23700. end;
  23701. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23702. begin
  23703. pTDefRegMap(@Self)^.clr := $00000004;
  23704. end;
  23705. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23706. begin
  23707. if thebits = 0 then
  23708. pTDefRegMap(@Self)^.clr := $00000004
  23709. else
  23710. pTDefRegMap(@Self)^.&set := $00000004;
  23711. end;
  23712. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23713. begin
  23714. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23715. end;
  23716. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23717. begin
  23718. pTDefRegMap(@Self)^.&set := $00000008;
  23719. end;
  23720. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23721. begin
  23722. pTDefRegMap(@Self)^.clr := $00000008;
  23723. end;
  23724. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23725. begin
  23726. if thebits = 0 then
  23727. pTDefRegMap(@Self)^.clr := $00000008
  23728. else
  23729. pTDefRegMap(@Self)^.&set := $00000008;
  23730. end;
  23731. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23732. begin
  23733. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23734. end;
  23735. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23736. begin
  23737. pTDefRegMap(@Self)^.&set := $00000010;
  23738. end;
  23739. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23740. begin
  23741. pTDefRegMap(@Self)^.clr := $00000010;
  23742. end;
  23743. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23744. begin
  23745. if thebits = 0 then
  23746. pTDefRegMap(@Self)^.clr := $00000010
  23747. else
  23748. pTDefRegMap(@Self)^.&set := $00000010;
  23749. end;
  23750. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23751. begin
  23752. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23753. end;
  23754. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23755. begin
  23756. pTDefRegMap(@Self)^.&set := $00000020;
  23757. end;
  23758. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23759. begin
  23760. pTDefRegMap(@Self)^.clr := $00000020;
  23761. end;
  23762. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23763. begin
  23764. if thebits = 0 then
  23765. pTDefRegMap(@Self)^.clr := $00000020
  23766. else
  23767. pTDefRegMap(@Self)^.&set := $00000020;
  23768. end;
  23769. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23770. begin
  23771. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23772. end;
  23773. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23774. begin
  23775. pTDefRegMap(@Self)^.&set := $00000040;
  23776. end;
  23777. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23778. begin
  23779. pTDefRegMap(@Self)^.clr := $00000040;
  23780. end;
  23781. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23782. begin
  23783. if thebits = 0 then
  23784. pTDefRegMap(@Self)^.clr := $00000040
  23785. else
  23786. pTDefRegMap(@Self)^.&set := $00000040;
  23787. end;
  23788. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23789. begin
  23790. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23791. end;
  23792. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23793. begin
  23794. pTDefRegMap(@Self)^.&set := $00000080;
  23795. end;
  23796. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23797. begin
  23798. pTDefRegMap(@Self)^.clr := $00000080;
  23799. end;
  23800. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23801. begin
  23802. if thebits = 0 then
  23803. pTDefRegMap(@Self)^.clr := $00000080
  23804. else
  23805. pTDefRegMap(@Self)^.&set := $00000080;
  23806. end;
  23807. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23808. begin
  23809. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23810. end;
  23811. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23812. begin
  23813. pTDefRegMap(@Self)^.&set := $00000100;
  23814. end;
  23815. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23816. begin
  23817. pTDefRegMap(@Self)^.clr := $00000100;
  23818. end;
  23819. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23820. begin
  23821. if thebits = 0 then
  23822. pTDefRegMap(@Self)^.clr := $00000100
  23823. else
  23824. pTDefRegMap(@Self)^.&set := $00000100;
  23825. end;
  23826. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23827. begin
  23828. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23829. end;
  23830. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23831. begin
  23832. pTDefRegMap(@Self)^.&set := $00000200;
  23833. end;
  23834. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23835. begin
  23836. pTDefRegMap(@Self)^.clr := $00000200;
  23837. end;
  23838. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23839. begin
  23840. if thebits = 0 then
  23841. pTDefRegMap(@Self)^.clr := $00000200
  23842. else
  23843. pTDefRegMap(@Self)^.&set := $00000200;
  23844. end;
  23845. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23846. begin
  23847. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23848. end;
  23849. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23850. begin
  23851. pTDefRegMap(@Self)^.&set := $00000400;
  23852. end;
  23853. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23854. begin
  23855. pTDefRegMap(@Self)^.clr := $00000400;
  23856. end;
  23857. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23858. begin
  23859. if thebits = 0 then
  23860. pTDefRegMap(@Self)^.clr := $00000400
  23861. else
  23862. pTDefRegMap(@Self)^.&set := $00000400;
  23863. end;
  23864. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23865. begin
  23866. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23867. end;
  23868. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23869. begin
  23870. pTDefRegMap(@Self)^.&set := $00000800;
  23871. end;
  23872. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23873. begin
  23874. pTDefRegMap(@Self)^.clr := $00000800;
  23875. end;
  23876. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23877. begin
  23878. if thebits = 0 then
  23879. pTDefRegMap(@Self)^.clr := $00000800
  23880. else
  23881. pTDefRegMap(@Self)^.&set := $00000800;
  23882. end;
  23883. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23884. begin
  23885. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23886. end;
  23887. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23888. begin
  23889. pTDefRegMap(@Self)^.&set := $00001000;
  23890. end;
  23891. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23892. begin
  23893. pTDefRegMap(@Self)^.clr := $00001000;
  23894. end;
  23895. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23896. begin
  23897. if thebits = 0 then
  23898. pTDefRegMap(@Self)^.clr := $00001000
  23899. else
  23900. pTDefRegMap(@Self)^.&set := $00001000;
  23901. end;
  23902. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23903. begin
  23904. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23905. end;
  23906. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23907. begin
  23908. pTDefRegMap(@Self)^.&set := $00002000;
  23909. end;
  23910. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23911. begin
  23912. pTDefRegMap(@Self)^.clr := $00002000;
  23913. end;
  23914. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23915. begin
  23916. if thebits = 0 then
  23917. pTDefRegMap(@Self)^.clr := $00002000
  23918. else
  23919. pTDefRegMap(@Self)^.&set := $00002000;
  23920. end;
  23921. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23922. begin
  23923. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23924. end;
  23925. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23926. begin
  23927. pTDefRegMap(@Self)^.&set := $00004000;
  23928. end;
  23929. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23930. begin
  23931. pTDefRegMap(@Self)^.clr := $00004000;
  23932. end;
  23933. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23934. begin
  23935. if thebits = 0 then
  23936. pTDefRegMap(@Self)^.clr := $00004000
  23937. else
  23938. pTDefRegMap(@Self)^.&set := $00004000;
  23939. end;
  23940. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23941. begin
  23942. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23943. end;
  23944. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23945. begin
  23946. pTDefRegMap(@Self)^.&set := $00008000;
  23947. end;
  23948. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23949. begin
  23950. pTDefRegMap(@Self)^.clr := $00008000;
  23951. end;
  23952. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23953. begin
  23954. if thebits = 0 then
  23955. pTDefRegMap(@Self)^.clr := $00008000
  23956. else
  23957. pTDefRegMap(@Self)^.&set := $00008000;
  23958. end;
  23959. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23960. begin
  23961. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23962. end;
  23963. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23964. begin
  23965. pTDefRegMap(@Self)^.val := thebits;
  23966. end;
  23967. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23968. begin
  23969. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23970. end;
  23971. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23974. end;
  23975. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23976. begin
  23977. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23978. end;
  23979. procedure TCVR_CVRCON.setCVRSS; inline;
  23980. begin
  23981. pTDefRegMap(@Self)^.&set := $00000010;
  23982. end;
  23983. procedure TCVR_CVRCON.clearCVRSS; inline;
  23984. begin
  23985. pTDefRegMap(@Self)^.clr := $00000010;
  23986. end;
  23987. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23988. begin
  23989. if thebits = 0 then
  23990. pTDefRegMap(@Self)^.clr := $00000010
  23991. else
  23992. pTDefRegMap(@Self)^.&set := $00000010;
  23993. end;
  23994. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23995. begin
  23996. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23997. end;
  23998. procedure TCVR_CVRCON.setCVRR; inline;
  23999. begin
  24000. pTDefRegMap(@Self)^.&set := $00000020;
  24001. end;
  24002. procedure TCVR_CVRCON.clearCVRR; inline;
  24003. begin
  24004. pTDefRegMap(@Self)^.clr := $00000020;
  24005. end;
  24006. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  24007. begin
  24008. if thebits = 0 then
  24009. pTDefRegMap(@Self)^.clr := $00000020
  24010. else
  24011. pTDefRegMap(@Self)^.&set := $00000020;
  24012. end;
  24013. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  24014. begin
  24015. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24016. end;
  24017. procedure TCVR_CVRCON.setCVROE; inline;
  24018. begin
  24019. pTDefRegMap(@Self)^.&set := $00000040;
  24020. end;
  24021. procedure TCVR_CVRCON.clearCVROE; inline;
  24022. begin
  24023. pTDefRegMap(@Self)^.clr := $00000040;
  24024. end;
  24025. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  24026. begin
  24027. if thebits = 0 then
  24028. pTDefRegMap(@Self)^.clr := $00000040
  24029. else
  24030. pTDefRegMap(@Self)^.&set := $00000040;
  24031. end;
  24032. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  24033. begin
  24034. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24035. end;
  24036. procedure TCVR_CVRCON.setON; inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.&set := $00008000;
  24039. end;
  24040. procedure TCVR_CVRCON.clearON; inline;
  24041. begin
  24042. pTDefRegMap(@Self)^.clr := $00008000;
  24043. end;
  24044. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  24045. begin
  24046. if thebits = 0 then
  24047. pTDefRegMap(@Self)^.clr := $00008000
  24048. else
  24049. pTDefRegMap(@Self)^.&set := $00008000;
  24050. end;
  24051. function TCVR_CVRCON.getON : TBits_1; inline;
  24052. begin
  24053. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24054. end;
  24055. procedure TCVR_CVRCON.setCVR0; inline;
  24056. begin
  24057. pTDefRegMap(@Self)^.&set := $00000001;
  24058. end;
  24059. procedure TCVR_CVRCON.clearCVR0; inline;
  24060. begin
  24061. pTDefRegMap(@Self)^.clr := $00000001;
  24062. end;
  24063. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  24064. begin
  24065. if thebits = 0 then
  24066. pTDefRegMap(@Self)^.clr := $00000001
  24067. else
  24068. pTDefRegMap(@Self)^.&set := $00000001;
  24069. end;
  24070. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  24071. begin
  24072. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24073. end;
  24074. procedure TCVR_CVRCON.setCVR1; inline;
  24075. begin
  24076. pTDefRegMap(@Self)^.&set := $00000002;
  24077. end;
  24078. procedure TCVR_CVRCON.clearCVR1; inline;
  24079. begin
  24080. pTDefRegMap(@Self)^.clr := $00000002;
  24081. end;
  24082. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  24083. begin
  24084. if thebits = 0 then
  24085. pTDefRegMap(@Self)^.clr := $00000002
  24086. else
  24087. pTDefRegMap(@Self)^.&set := $00000002;
  24088. end;
  24089. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  24090. begin
  24091. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24092. end;
  24093. procedure TCVR_CVRCON.setCVR2; inline;
  24094. begin
  24095. pTDefRegMap(@Self)^.&set := $00000004;
  24096. end;
  24097. procedure TCVR_CVRCON.clearCVR2; inline;
  24098. begin
  24099. pTDefRegMap(@Self)^.clr := $00000004;
  24100. end;
  24101. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  24102. begin
  24103. if thebits = 0 then
  24104. pTDefRegMap(@Self)^.clr := $00000004
  24105. else
  24106. pTDefRegMap(@Self)^.&set := $00000004;
  24107. end;
  24108. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  24109. begin
  24110. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24111. end;
  24112. procedure TCVR_CVRCON.setCVR3; inline;
  24113. begin
  24114. pTDefRegMap(@Self)^.&set := $00000008;
  24115. end;
  24116. procedure TCVR_CVRCON.clearCVR3; inline;
  24117. begin
  24118. pTDefRegMap(@Self)^.clr := $00000008;
  24119. end;
  24120. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  24121. begin
  24122. if thebits = 0 then
  24123. pTDefRegMap(@Self)^.clr := $00000008
  24124. else
  24125. pTDefRegMap(@Self)^.&set := $00000008;
  24126. end;
  24127. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  24128. begin
  24129. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24130. end;
  24131. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  24132. begin
  24133. pTDefRegMap(@Self)^.val := thebits;
  24134. end;
  24135. function TCVR_CVRCON.getw : TBits_32; inline;
  24136. begin
  24137. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24138. end;
  24139. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  24140. begin
  24141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24142. end;
  24143. function TCMP_CM1CON.getCCH : TBits_2; inline;
  24144. begin
  24145. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24146. end;
  24147. procedure TCMP_CM1CON.setCREF; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.&set := $00000010;
  24150. end;
  24151. procedure TCMP_CM1CON.clearCREF; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.clr := $00000010;
  24154. end;
  24155. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  24156. begin
  24157. if thebits = 0 then
  24158. pTDefRegMap(@Self)^.clr := $00000010
  24159. else
  24160. pTDefRegMap(@Self)^.&set := $00000010;
  24161. end;
  24162. function TCMP_CM1CON.getCREF : TBits_1; inline;
  24163. begin
  24164. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24165. end;
  24166. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24169. end;
  24170. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  24171. begin
  24172. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24173. end;
  24174. procedure TCMP_CM1CON.setCOUT; inline;
  24175. begin
  24176. pTDefRegMap(@Self)^.&set := $00000100;
  24177. end;
  24178. procedure TCMP_CM1CON.clearCOUT; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.clr := $00000100;
  24181. end;
  24182. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  24183. begin
  24184. if thebits = 0 then
  24185. pTDefRegMap(@Self)^.clr := $00000100
  24186. else
  24187. pTDefRegMap(@Self)^.&set := $00000100;
  24188. end;
  24189. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  24190. begin
  24191. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24192. end;
  24193. procedure TCMP_CM1CON.setCPOL; inline;
  24194. begin
  24195. pTDefRegMap(@Self)^.&set := $00002000;
  24196. end;
  24197. procedure TCMP_CM1CON.clearCPOL; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.clr := $00002000;
  24200. end;
  24201. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  24202. begin
  24203. if thebits = 0 then
  24204. pTDefRegMap(@Self)^.clr := $00002000
  24205. else
  24206. pTDefRegMap(@Self)^.&set := $00002000;
  24207. end;
  24208. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  24209. begin
  24210. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24211. end;
  24212. procedure TCMP_CM1CON.setCOE; inline;
  24213. begin
  24214. pTDefRegMap(@Self)^.&set := $00004000;
  24215. end;
  24216. procedure TCMP_CM1CON.clearCOE; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.clr := $00004000;
  24219. end;
  24220. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  24221. begin
  24222. if thebits = 0 then
  24223. pTDefRegMap(@Self)^.clr := $00004000
  24224. else
  24225. pTDefRegMap(@Self)^.&set := $00004000;
  24226. end;
  24227. function TCMP_CM1CON.getCOE : TBits_1; inline;
  24228. begin
  24229. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24230. end;
  24231. procedure TCMP_CM1CON.setON; inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.&set := $00008000;
  24234. end;
  24235. procedure TCMP_CM1CON.clearON; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.clr := $00008000;
  24238. end;
  24239. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  24240. begin
  24241. if thebits = 0 then
  24242. pTDefRegMap(@Self)^.clr := $00008000
  24243. else
  24244. pTDefRegMap(@Self)^.&set := $00008000;
  24245. end;
  24246. function TCMP_CM1CON.getON : TBits_1; inline;
  24247. begin
  24248. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24249. end;
  24250. procedure TCMP_CM1CON.setCCH0; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.&set := $00000001;
  24253. end;
  24254. procedure TCMP_CM1CON.clearCCH0; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.clr := $00000001;
  24257. end;
  24258. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  24259. begin
  24260. if thebits = 0 then
  24261. pTDefRegMap(@Self)^.clr := $00000001
  24262. else
  24263. pTDefRegMap(@Self)^.&set := $00000001;
  24264. end;
  24265. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  24266. begin
  24267. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24268. end;
  24269. procedure TCMP_CM1CON.setCCH1; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.&set := $00000002;
  24272. end;
  24273. procedure TCMP_CM1CON.clearCCH1; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.clr := $00000002;
  24276. end;
  24277. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  24278. begin
  24279. if thebits = 0 then
  24280. pTDefRegMap(@Self)^.clr := $00000002
  24281. else
  24282. pTDefRegMap(@Self)^.&set := $00000002;
  24283. end;
  24284. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  24285. begin
  24286. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24287. end;
  24288. procedure TCMP_CM1CON.setEVPOL0; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.&set := $00000040;
  24291. end;
  24292. procedure TCMP_CM1CON.clearEVPOL0; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.clr := $00000040;
  24295. end;
  24296. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  24297. begin
  24298. if thebits = 0 then
  24299. pTDefRegMap(@Self)^.clr := $00000040
  24300. else
  24301. pTDefRegMap(@Self)^.&set := $00000040;
  24302. end;
  24303. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  24304. begin
  24305. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24306. end;
  24307. procedure TCMP_CM1CON.setEVPOL1; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.&set := $00000080;
  24310. end;
  24311. procedure TCMP_CM1CON.clearEVPOL1; inline;
  24312. begin
  24313. pTDefRegMap(@Self)^.clr := $00000080;
  24314. end;
  24315. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  24316. begin
  24317. if thebits = 0 then
  24318. pTDefRegMap(@Self)^.clr := $00000080
  24319. else
  24320. pTDefRegMap(@Self)^.&set := $00000080;
  24321. end;
  24322. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  24323. begin
  24324. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24325. end;
  24326. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.val := thebits;
  24329. end;
  24330. function TCMP_CM1CON.getw : TBits_32; inline;
  24331. begin
  24332. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24333. end;
  24334. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  24335. begin
  24336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24337. end;
  24338. function TCMP_CM2CON.getCCH : TBits_2; inline;
  24339. begin
  24340. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24341. end;
  24342. procedure TCMP_CM2CON.setCREF; inline;
  24343. begin
  24344. pTDefRegMap(@Self)^.&set := $00000010;
  24345. end;
  24346. procedure TCMP_CM2CON.clearCREF; inline;
  24347. begin
  24348. pTDefRegMap(@Self)^.clr := $00000010;
  24349. end;
  24350. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  24351. begin
  24352. if thebits = 0 then
  24353. pTDefRegMap(@Self)^.clr := $00000010
  24354. else
  24355. pTDefRegMap(@Self)^.&set := $00000010;
  24356. end;
  24357. function TCMP_CM2CON.getCREF : TBits_1; inline;
  24358. begin
  24359. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24360. end;
  24361. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  24362. begin
  24363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24364. end;
  24365. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  24366. begin
  24367. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24368. end;
  24369. procedure TCMP_CM2CON.setCOUT; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.&set := $00000100;
  24372. end;
  24373. procedure TCMP_CM2CON.clearCOUT; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.clr := $00000100;
  24376. end;
  24377. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  24378. begin
  24379. if thebits = 0 then
  24380. pTDefRegMap(@Self)^.clr := $00000100
  24381. else
  24382. pTDefRegMap(@Self)^.&set := $00000100;
  24383. end;
  24384. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  24385. begin
  24386. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24387. end;
  24388. procedure TCMP_CM2CON.setCPOL; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.&set := $00002000;
  24391. end;
  24392. procedure TCMP_CM2CON.clearCPOL; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.clr := $00002000;
  24395. end;
  24396. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  24397. begin
  24398. if thebits = 0 then
  24399. pTDefRegMap(@Self)^.clr := $00002000
  24400. else
  24401. pTDefRegMap(@Self)^.&set := $00002000;
  24402. end;
  24403. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  24404. begin
  24405. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24406. end;
  24407. procedure TCMP_CM2CON.setCOE; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.&set := $00004000;
  24410. end;
  24411. procedure TCMP_CM2CON.clearCOE; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.clr := $00004000;
  24414. end;
  24415. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  24416. begin
  24417. if thebits = 0 then
  24418. pTDefRegMap(@Self)^.clr := $00004000
  24419. else
  24420. pTDefRegMap(@Self)^.&set := $00004000;
  24421. end;
  24422. function TCMP_CM2CON.getCOE : TBits_1; inline;
  24423. begin
  24424. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24425. end;
  24426. procedure TCMP_CM2CON.setON; inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.&set := $00008000;
  24429. end;
  24430. procedure TCMP_CM2CON.clearON; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.clr := $00008000;
  24433. end;
  24434. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  24435. begin
  24436. if thebits = 0 then
  24437. pTDefRegMap(@Self)^.clr := $00008000
  24438. else
  24439. pTDefRegMap(@Self)^.&set := $00008000;
  24440. end;
  24441. function TCMP_CM2CON.getON : TBits_1; inline;
  24442. begin
  24443. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24444. end;
  24445. procedure TCMP_CM2CON.setCCH0; inline;
  24446. begin
  24447. pTDefRegMap(@Self)^.&set := $00000001;
  24448. end;
  24449. procedure TCMP_CM2CON.clearCCH0; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.clr := $00000001;
  24452. end;
  24453. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  24454. begin
  24455. if thebits = 0 then
  24456. pTDefRegMap(@Self)^.clr := $00000001
  24457. else
  24458. pTDefRegMap(@Self)^.&set := $00000001;
  24459. end;
  24460. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  24461. begin
  24462. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24463. end;
  24464. procedure TCMP_CM2CON.setCCH1; inline;
  24465. begin
  24466. pTDefRegMap(@Self)^.&set := $00000002;
  24467. end;
  24468. procedure TCMP_CM2CON.clearCCH1; inline;
  24469. begin
  24470. pTDefRegMap(@Self)^.clr := $00000002;
  24471. end;
  24472. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  24473. begin
  24474. if thebits = 0 then
  24475. pTDefRegMap(@Self)^.clr := $00000002
  24476. else
  24477. pTDefRegMap(@Self)^.&set := $00000002;
  24478. end;
  24479. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  24480. begin
  24481. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24482. end;
  24483. procedure TCMP_CM2CON.setEVPOL0; inline;
  24484. begin
  24485. pTDefRegMap(@Self)^.&set := $00000040;
  24486. end;
  24487. procedure TCMP_CM2CON.clearEVPOL0; inline;
  24488. begin
  24489. pTDefRegMap(@Self)^.clr := $00000040;
  24490. end;
  24491. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  24492. begin
  24493. if thebits = 0 then
  24494. pTDefRegMap(@Self)^.clr := $00000040
  24495. else
  24496. pTDefRegMap(@Self)^.&set := $00000040;
  24497. end;
  24498. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24499. begin
  24500. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24501. end;
  24502. procedure TCMP_CM2CON.setEVPOL1; inline;
  24503. begin
  24504. pTDefRegMap(@Self)^.&set := $00000080;
  24505. end;
  24506. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24507. begin
  24508. pTDefRegMap(@Self)^.clr := $00000080;
  24509. end;
  24510. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24511. begin
  24512. if thebits = 0 then
  24513. pTDefRegMap(@Self)^.clr := $00000080
  24514. else
  24515. pTDefRegMap(@Self)^.&set := $00000080;
  24516. end;
  24517. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24518. begin
  24519. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24520. end;
  24521. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24522. begin
  24523. pTDefRegMap(@Self)^.val := thebits;
  24524. end;
  24525. function TCMP_CM2CON.getw : TBits_32; inline;
  24526. begin
  24527. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24528. end;
  24529. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24530. begin
  24531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24532. end;
  24533. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24534. begin
  24535. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24536. end;
  24537. procedure TCMP_CM3CON.setCREF; inline;
  24538. begin
  24539. pTDefRegMap(@Self)^.&set := $00000010;
  24540. end;
  24541. procedure TCMP_CM3CON.clearCREF; inline;
  24542. begin
  24543. pTDefRegMap(@Self)^.clr := $00000010;
  24544. end;
  24545. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  24546. begin
  24547. if thebits = 0 then
  24548. pTDefRegMap(@Self)^.clr := $00000010
  24549. else
  24550. pTDefRegMap(@Self)^.&set := $00000010;
  24551. end;
  24552. function TCMP_CM3CON.getCREF : TBits_1; inline;
  24553. begin
  24554. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24555. end;
  24556. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24557. begin
  24558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24559. end;
  24560. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24561. begin
  24562. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24563. end;
  24564. procedure TCMP_CM3CON.setCOUT; inline;
  24565. begin
  24566. pTDefRegMap(@Self)^.&set := $00000100;
  24567. end;
  24568. procedure TCMP_CM3CON.clearCOUT; inline;
  24569. begin
  24570. pTDefRegMap(@Self)^.clr := $00000100;
  24571. end;
  24572. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24573. begin
  24574. if thebits = 0 then
  24575. pTDefRegMap(@Self)^.clr := $00000100
  24576. else
  24577. pTDefRegMap(@Self)^.&set := $00000100;
  24578. end;
  24579. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24580. begin
  24581. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24582. end;
  24583. procedure TCMP_CM3CON.setCPOL; inline;
  24584. begin
  24585. pTDefRegMap(@Self)^.&set := $00002000;
  24586. end;
  24587. procedure TCMP_CM3CON.clearCPOL; inline;
  24588. begin
  24589. pTDefRegMap(@Self)^.clr := $00002000;
  24590. end;
  24591. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24592. begin
  24593. if thebits = 0 then
  24594. pTDefRegMap(@Self)^.clr := $00002000
  24595. else
  24596. pTDefRegMap(@Self)^.&set := $00002000;
  24597. end;
  24598. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24599. begin
  24600. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24601. end;
  24602. procedure TCMP_CM3CON.setCOE; inline;
  24603. begin
  24604. pTDefRegMap(@Self)^.&set := $00004000;
  24605. end;
  24606. procedure TCMP_CM3CON.clearCOE; inline;
  24607. begin
  24608. pTDefRegMap(@Self)^.clr := $00004000;
  24609. end;
  24610. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24611. begin
  24612. if thebits = 0 then
  24613. pTDefRegMap(@Self)^.clr := $00004000
  24614. else
  24615. pTDefRegMap(@Self)^.&set := $00004000;
  24616. end;
  24617. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24618. begin
  24619. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24620. end;
  24621. procedure TCMP_CM3CON.setON; inline;
  24622. begin
  24623. pTDefRegMap(@Self)^.&set := $00008000;
  24624. end;
  24625. procedure TCMP_CM3CON.clearON; inline;
  24626. begin
  24627. pTDefRegMap(@Self)^.clr := $00008000;
  24628. end;
  24629. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24630. begin
  24631. if thebits = 0 then
  24632. pTDefRegMap(@Self)^.clr := $00008000
  24633. else
  24634. pTDefRegMap(@Self)^.&set := $00008000;
  24635. end;
  24636. function TCMP_CM3CON.getON : TBits_1; inline;
  24637. begin
  24638. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24639. end;
  24640. procedure TCMP_CM3CON.setCCH0; inline;
  24641. begin
  24642. pTDefRegMap(@Self)^.&set := $00000001;
  24643. end;
  24644. procedure TCMP_CM3CON.clearCCH0; inline;
  24645. begin
  24646. pTDefRegMap(@Self)^.clr := $00000001;
  24647. end;
  24648. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24649. begin
  24650. if thebits = 0 then
  24651. pTDefRegMap(@Self)^.clr := $00000001
  24652. else
  24653. pTDefRegMap(@Self)^.&set := $00000001;
  24654. end;
  24655. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24656. begin
  24657. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24658. end;
  24659. procedure TCMP_CM3CON.setCCH1; inline;
  24660. begin
  24661. pTDefRegMap(@Self)^.&set := $00000002;
  24662. end;
  24663. procedure TCMP_CM3CON.clearCCH1; inline;
  24664. begin
  24665. pTDefRegMap(@Self)^.clr := $00000002;
  24666. end;
  24667. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24668. begin
  24669. if thebits = 0 then
  24670. pTDefRegMap(@Self)^.clr := $00000002
  24671. else
  24672. pTDefRegMap(@Self)^.&set := $00000002;
  24673. end;
  24674. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24675. begin
  24676. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24677. end;
  24678. procedure TCMP_CM3CON.setEVPOL0; inline;
  24679. begin
  24680. pTDefRegMap(@Self)^.&set := $00000040;
  24681. end;
  24682. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24683. begin
  24684. pTDefRegMap(@Self)^.clr := $00000040;
  24685. end;
  24686. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24687. begin
  24688. if thebits = 0 then
  24689. pTDefRegMap(@Self)^.clr := $00000040
  24690. else
  24691. pTDefRegMap(@Self)^.&set := $00000040;
  24692. end;
  24693. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24694. begin
  24695. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24696. end;
  24697. procedure TCMP_CM3CON.setEVPOL1; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.&set := $00000080;
  24700. end;
  24701. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24702. begin
  24703. pTDefRegMap(@Self)^.clr := $00000080;
  24704. end;
  24705. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24706. begin
  24707. if thebits = 0 then
  24708. pTDefRegMap(@Self)^.clr := $00000080
  24709. else
  24710. pTDefRegMap(@Self)^.&set := $00000080;
  24711. end;
  24712. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24713. begin
  24714. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24715. end;
  24716. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.val := thebits;
  24719. end;
  24720. function TCMP_CM3CON.getw : TBits_32; inline;
  24721. begin
  24722. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24723. end;
  24724. procedure TCMP_CMSTAT.setC1OUT; inline;
  24725. begin
  24726. pTDefRegMap(@Self)^.&set := $00000001;
  24727. end;
  24728. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24729. begin
  24730. pTDefRegMap(@Self)^.clr := $00000001;
  24731. end;
  24732. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24733. begin
  24734. if thebits = 0 then
  24735. pTDefRegMap(@Self)^.clr := $00000001
  24736. else
  24737. pTDefRegMap(@Self)^.&set := $00000001;
  24738. end;
  24739. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24740. begin
  24741. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24742. end;
  24743. procedure TCMP_CMSTAT.setC2OUT; inline;
  24744. begin
  24745. pTDefRegMap(@Self)^.&set := $00000002;
  24746. end;
  24747. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24748. begin
  24749. pTDefRegMap(@Self)^.clr := $00000002;
  24750. end;
  24751. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24752. begin
  24753. if thebits = 0 then
  24754. pTDefRegMap(@Self)^.clr := $00000002
  24755. else
  24756. pTDefRegMap(@Self)^.&set := $00000002;
  24757. end;
  24758. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24759. begin
  24760. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24761. end;
  24762. procedure TCMP_CMSTAT.setC3OUT; inline;
  24763. begin
  24764. pTDefRegMap(@Self)^.&set := $00000004;
  24765. end;
  24766. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24767. begin
  24768. pTDefRegMap(@Self)^.clr := $00000004;
  24769. end;
  24770. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24771. begin
  24772. if thebits = 0 then
  24773. pTDefRegMap(@Self)^.clr := $00000004
  24774. else
  24775. pTDefRegMap(@Self)^.&set := $00000004;
  24776. end;
  24777. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24778. begin
  24779. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24780. end;
  24781. procedure TCMP_CMSTAT.setSIDL; inline;
  24782. begin
  24783. pTDefRegMap(@Self)^.&set := $00002000;
  24784. end;
  24785. procedure TCMP_CMSTAT.clearSIDL; inline;
  24786. begin
  24787. pTDefRegMap(@Self)^.clr := $00002000;
  24788. end;
  24789. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24790. begin
  24791. if thebits = 0 then
  24792. pTDefRegMap(@Self)^.clr := $00002000
  24793. else
  24794. pTDefRegMap(@Self)^.&set := $00002000;
  24795. end;
  24796. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24797. begin
  24798. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24799. end;
  24800. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24801. begin
  24802. pTDefRegMap(@Self)^.val := thebits;
  24803. end;
  24804. function TCMP_CMSTAT.getw : TBits_32; inline;
  24805. begin
  24806. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24807. end;
  24808. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24809. begin
  24810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24811. end;
  24812. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24813. begin
  24814. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24815. end;
  24816. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24817. begin
  24818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24819. end;
  24820. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24821. begin
  24822. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24823. end;
  24824. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24825. begin
  24826. pTDefRegMap(@Self)^.&set := $00000100;
  24827. end;
  24828. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24829. begin
  24830. pTDefRegMap(@Self)^.clr := $00000100;
  24831. end;
  24832. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24833. begin
  24834. if thebits = 0 then
  24835. pTDefRegMap(@Self)^.clr := $00000100
  24836. else
  24837. pTDefRegMap(@Self)^.&set := $00000100;
  24838. end;
  24839. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24840. begin
  24841. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24842. end;
  24843. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24844. begin
  24845. pTDefRegMap(@Self)^.&set := $00000200;
  24846. end;
  24847. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24848. begin
  24849. pTDefRegMap(@Self)^.clr := $00000200;
  24850. end;
  24851. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24852. begin
  24853. if thebits = 0 then
  24854. pTDefRegMap(@Self)^.clr := $00000200
  24855. else
  24856. pTDefRegMap(@Self)^.&set := $00000200;
  24857. end;
  24858. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24859. begin
  24860. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24861. end;
  24862. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24863. begin
  24864. pTDefRegMap(@Self)^.&set := $00000400;
  24865. end;
  24866. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24867. begin
  24868. pTDefRegMap(@Self)^.clr := $00000400;
  24869. end;
  24870. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24871. begin
  24872. if thebits = 0 then
  24873. pTDefRegMap(@Self)^.clr := $00000400
  24874. else
  24875. pTDefRegMap(@Self)^.&set := $00000400;
  24876. end;
  24877. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24878. begin
  24879. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24880. end;
  24881. procedure TCMP_CTMUCON.setEDGEN; inline;
  24882. begin
  24883. pTDefRegMap(@Self)^.&set := $00000800;
  24884. end;
  24885. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24886. begin
  24887. pTDefRegMap(@Self)^.clr := $00000800;
  24888. end;
  24889. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24890. begin
  24891. if thebits = 0 then
  24892. pTDefRegMap(@Self)^.clr := $00000800
  24893. else
  24894. pTDefRegMap(@Self)^.&set := $00000800;
  24895. end;
  24896. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24897. begin
  24898. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24899. end;
  24900. procedure TCMP_CTMUCON.setTGEN; inline;
  24901. begin
  24902. pTDefRegMap(@Self)^.&set := $00001000;
  24903. end;
  24904. procedure TCMP_CTMUCON.clearTGEN; inline;
  24905. begin
  24906. pTDefRegMap(@Self)^.clr := $00001000;
  24907. end;
  24908. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24909. begin
  24910. if thebits = 0 then
  24911. pTDefRegMap(@Self)^.clr := $00001000
  24912. else
  24913. pTDefRegMap(@Self)^.&set := $00001000;
  24914. end;
  24915. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24916. begin
  24917. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24918. end;
  24919. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24920. begin
  24921. pTDefRegMap(@Self)^.&set := $00002000;
  24922. end;
  24923. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24924. begin
  24925. pTDefRegMap(@Self)^.clr := $00002000;
  24926. end;
  24927. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24928. begin
  24929. if thebits = 0 then
  24930. pTDefRegMap(@Self)^.clr := $00002000
  24931. else
  24932. pTDefRegMap(@Self)^.&set := $00002000;
  24933. end;
  24934. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24935. begin
  24936. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24937. end;
  24938. procedure TCMP_CTMUCON.setON; inline;
  24939. begin
  24940. pTDefRegMap(@Self)^.&set := $00008000;
  24941. end;
  24942. procedure TCMP_CTMUCON.clearON; inline;
  24943. begin
  24944. pTDefRegMap(@Self)^.clr := $00008000;
  24945. end;
  24946. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24947. begin
  24948. if thebits = 0 then
  24949. pTDefRegMap(@Self)^.clr := $00008000
  24950. else
  24951. pTDefRegMap(@Self)^.&set := $00008000;
  24952. end;
  24953. function TCMP_CTMUCON.getON : TBits_1; inline;
  24954. begin
  24955. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24956. end;
  24957. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24958. begin
  24959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24960. end;
  24961. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24962. begin
  24963. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24964. end;
  24965. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24966. begin
  24967. pTDefRegMap(@Self)^.&set := $00400000;
  24968. end;
  24969. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24970. begin
  24971. pTDefRegMap(@Self)^.clr := $00400000;
  24972. end;
  24973. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24974. begin
  24975. if thebits = 0 then
  24976. pTDefRegMap(@Self)^.clr := $00400000
  24977. else
  24978. pTDefRegMap(@Self)^.&set := $00400000;
  24979. end;
  24980. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24981. begin
  24982. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24983. end;
  24984. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24985. begin
  24986. pTDefRegMap(@Self)^.&set := $00800000;
  24987. end;
  24988. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24989. begin
  24990. pTDefRegMap(@Self)^.clr := $00800000;
  24991. end;
  24992. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24993. begin
  24994. if thebits = 0 then
  24995. pTDefRegMap(@Self)^.clr := $00800000
  24996. else
  24997. pTDefRegMap(@Self)^.&set := $00800000;
  24998. end;
  24999. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  25000. begin
  25001. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  25002. end;
  25003. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  25004. begin
  25005. pTDefRegMap(@Self)^.&set := $01000000;
  25006. end;
  25007. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  25008. begin
  25009. pTDefRegMap(@Self)^.clr := $01000000;
  25010. end;
  25011. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  25012. begin
  25013. if thebits = 0 then
  25014. pTDefRegMap(@Self)^.clr := $01000000
  25015. else
  25016. pTDefRegMap(@Self)^.&set := $01000000;
  25017. end;
  25018. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  25019. begin
  25020. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25021. end;
  25022. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  25023. begin
  25024. pTDefRegMap(@Self)^.&set := $02000000;
  25025. end;
  25026. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  25027. begin
  25028. pTDefRegMap(@Self)^.clr := $02000000;
  25029. end;
  25030. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  25031. begin
  25032. if thebits = 0 then
  25033. pTDefRegMap(@Self)^.clr := $02000000
  25034. else
  25035. pTDefRegMap(@Self)^.&set := $02000000;
  25036. end;
  25037. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  25038. begin
  25039. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25040. end;
  25041. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  25042. begin
  25043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  25044. end;
  25045. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  25046. begin
  25047. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  25048. end;
  25049. procedure TCMP_CTMUCON.setEDG1POL; inline;
  25050. begin
  25051. pTDefRegMap(@Self)^.&set := $40000000;
  25052. end;
  25053. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  25054. begin
  25055. pTDefRegMap(@Self)^.clr := $40000000;
  25056. end;
  25057. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  25058. begin
  25059. if thebits = 0 then
  25060. pTDefRegMap(@Self)^.clr := $40000000
  25061. else
  25062. pTDefRegMap(@Self)^.&set := $40000000;
  25063. end;
  25064. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  25065. begin
  25066. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25067. end;
  25068. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  25069. begin
  25070. pTDefRegMap(@Self)^.&set := $80000000;
  25071. end;
  25072. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.clr := $80000000;
  25075. end;
  25076. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  25077. begin
  25078. if thebits = 0 then
  25079. pTDefRegMap(@Self)^.clr := $80000000
  25080. else
  25081. pTDefRegMap(@Self)^.&set := $80000000;
  25082. end;
  25083. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  25084. begin
  25085. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25086. end;
  25087. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  25088. begin
  25089. pTDefRegMap(@Self)^.val := thebits;
  25090. end;
  25091. function TCMP_CTMUCON.getw : TBits_32; inline;
  25092. begin
  25093. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25094. end;
  25095. procedure TOSC_OSCCON.setOSWEN; inline;
  25096. begin
  25097. pTDefRegMap(@Self)^.&set := $00000001;
  25098. end;
  25099. procedure TOSC_OSCCON.clearOSWEN; inline;
  25100. begin
  25101. pTDefRegMap(@Self)^.clr := $00000001;
  25102. end;
  25103. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  25104. begin
  25105. if thebits = 0 then
  25106. pTDefRegMap(@Self)^.clr := $00000001
  25107. else
  25108. pTDefRegMap(@Self)^.&set := $00000001;
  25109. end;
  25110. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  25111. begin
  25112. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25113. end;
  25114. procedure TOSC_OSCCON.setSOSCEN; inline;
  25115. begin
  25116. pTDefRegMap(@Self)^.&set := $00000002;
  25117. end;
  25118. procedure TOSC_OSCCON.clearSOSCEN; inline;
  25119. begin
  25120. pTDefRegMap(@Self)^.clr := $00000002;
  25121. end;
  25122. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  25123. begin
  25124. if thebits = 0 then
  25125. pTDefRegMap(@Self)^.clr := $00000002
  25126. else
  25127. pTDefRegMap(@Self)^.&set := $00000002;
  25128. end;
  25129. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  25130. begin
  25131. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25132. end;
  25133. procedure TOSC_OSCCON.setUFRCEN; inline;
  25134. begin
  25135. pTDefRegMap(@Self)^.&set := $00000004;
  25136. end;
  25137. procedure TOSC_OSCCON.clearUFRCEN; inline;
  25138. begin
  25139. pTDefRegMap(@Self)^.clr := $00000004;
  25140. end;
  25141. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  25142. begin
  25143. if thebits = 0 then
  25144. pTDefRegMap(@Self)^.clr := $00000004
  25145. else
  25146. pTDefRegMap(@Self)^.&set := $00000004;
  25147. end;
  25148. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  25149. begin
  25150. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25151. end;
  25152. procedure TOSC_OSCCON.setCF; inline;
  25153. begin
  25154. pTDefRegMap(@Self)^.&set := $00000008;
  25155. end;
  25156. procedure TOSC_OSCCON.clearCF; inline;
  25157. begin
  25158. pTDefRegMap(@Self)^.clr := $00000008;
  25159. end;
  25160. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  25161. begin
  25162. if thebits = 0 then
  25163. pTDefRegMap(@Self)^.clr := $00000008
  25164. else
  25165. pTDefRegMap(@Self)^.&set := $00000008;
  25166. end;
  25167. function TOSC_OSCCON.getCF : TBits_1; inline;
  25168. begin
  25169. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25170. end;
  25171. procedure TOSC_OSCCON.setSLPEN; inline;
  25172. begin
  25173. pTDefRegMap(@Self)^.&set := $00000010;
  25174. end;
  25175. procedure TOSC_OSCCON.clearSLPEN; inline;
  25176. begin
  25177. pTDefRegMap(@Self)^.clr := $00000010;
  25178. end;
  25179. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  25180. begin
  25181. if thebits = 0 then
  25182. pTDefRegMap(@Self)^.clr := $00000010
  25183. else
  25184. pTDefRegMap(@Self)^.&set := $00000010;
  25185. end;
  25186. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  25187. begin
  25188. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25189. end;
  25190. procedure TOSC_OSCCON.setSLOCK; inline;
  25191. begin
  25192. pTDefRegMap(@Self)^.&set := $00000020;
  25193. end;
  25194. procedure TOSC_OSCCON.clearSLOCK; inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.clr := $00000020;
  25197. end;
  25198. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  25199. begin
  25200. if thebits = 0 then
  25201. pTDefRegMap(@Self)^.clr := $00000020
  25202. else
  25203. pTDefRegMap(@Self)^.&set := $00000020;
  25204. end;
  25205. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  25206. begin
  25207. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25208. end;
  25209. procedure TOSC_OSCCON.setULOCK; inline;
  25210. begin
  25211. pTDefRegMap(@Self)^.&set := $00000040;
  25212. end;
  25213. procedure TOSC_OSCCON.clearULOCK; inline;
  25214. begin
  25215. pTDefRegMap(@Self)^.clr := $00000040;
  25216. end;
  25217. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  25218. begin
  25219. if thebits = 0 then
  25220. pTDefRegMap(@Self)^.clr := $00000040
  25221. else
  25222. pTDefRegMap(@Self)^.&set := $00000040;
  25223. end;
  25224. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  25225. begin
  25226. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25227. end;
  25228. procedure TOSC_OSCCON.setCLKLOCK; inline;
  25229. begin
  25230. pTDefRegMap(@Self)^.&set := $00000080;
  25231. end;
  25232. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  25233. begin
  25234. pTDefRegMap(@Self)^.clr := $00000080;
  25235. end;
  25236. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  25237. begin
  25238. if thebits = 0 then
  25239. pTDefRegMap(@Self)^.clr := $00000080
  25240. else
  25241. pTDefRegMap(@Self)^.&set := $00000080;
  25242. end;
  25243. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  25244. begin
  25245. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25246. end;
  25247. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  25248. begin
  25249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25250. end;
  25251. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  25252. begin
  25253. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25254. end;
  25255. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  25256. begin
  25257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  25258. end;
  25259. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  25260. begin
  25261. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  25262. end;
  25263. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  25264. begin
  25265. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  25266. end;
  25267. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  25268. begin
  25269. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  25270. end;
  25271. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  25272. begin
  25273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  25274. end;
  25275. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  25276. begin
  25277. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  25278. end;
  25279. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  25280. begin
  25281. pTDefRegMap(@Self)^.&set := $00200000;
  25282. end;
  25283. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  25284. begin
  25285. pTDefRegMap(@Self)^.clr := $00200000;
  25286. end;
  25287. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  25288. begin
  25289. if thebits = 0 then
  25290. pTDefRegMap(@Self)^.clr := $00200000
  25291. else
  25292. pTDefRegMap(@Self)^.&set := $00200000;
  25293. end;
  25294. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  25295. begin
  25296. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  25297. end;
  25298. procedure TOSC_OSCCON.setSOSCRDY; inline;
  25299. begin
  25300. pTDefRegMap(@Self)^.&set := $00400000;
  25301. end;
  25302. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  25303. begin
  25304. pTDefRegMap(@Self)^.clr := $00400000;
  25305. end;
  25306. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  25307. begin
  25308. if thebits = 0 then
  25309. pTDefRegMap(@Self)^.clr := $00400000
  25310. else
  25311. pTDefRegMap(@Self)^.&set := $00400000;
  25312. end;
  25313. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  25314. begin
  25315. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  25316. end;
  25317. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  25318. begin
  25319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25320. end;
  25321. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  25322. begin
  25323. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25324. end;
  25325. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  25326. begin
  25327. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  25328. end;
  25329. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  25330. begin
  25331. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  25332. end;
  25333. procedure TOSC_OSCCON.setNOSC0; inline;
  25334. begin
  25335. pTDefRegMap(@Self)^.&set := $00000100;
  25336. end;
  25337. procedure TOSC_OSCCON.clearNOSC0; inline;
  25338. begin
  25339. pTDefRegMap(@Self)^.clr := $00000100;
  25340. end;
  25341. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  25342. begin
  25343. if thebits = 0 then
  25344. pTDefRegMap(@Self)^.clr := $00000100
  25345. else
  25346. pTDefRegMap(@Self)^.&set := $00000100;
  25347. end;
  25348. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  25349. begin
  25350. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25351. end;
  25352. procedure TOSC_OSCCON.setNOSC1; inline;
  25353. begin
  25354. pTDefRegMap(@Self)^.&set := $00000200;
  25355. end;
  25356. procedure TOSC_OSCCON.clearNOSC1; inline;
  25357. begin
  25358. pTDefRegMap(@Self)^.clr := $00000200;
  25359. end;
  25360. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  25361. begin
  25362. if thebits = 0 then
  25363. pTDefRegMap(@Self)^.clr := $00000200
  25364. else
  25365. pTDefRegMap(@Self)^.&set := $00000200;
  25366. end;
  25367. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  25368. begin
  25369. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25370. end;
  25371. procedure TOSC_OSCCON.setNOSC2; inline;
  25372. begin
  25373. pTDefRegMap(@Self)^.&set := $00000400;
  25374. end;
  25375. procedure TOSC_OSCCON.clearNOSC2; inline;
  25376. begin
  25377. pTDefRegMap(@Self)^.clr := $00000400;
  25378. end;
  25379. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  25380. begin
  25381. if thebits = 0 then
  25382. pTDefRegMap(@Self)^.clr := $00000400
  25383. else
  25384. pTDefRegMap(@Self)^.&set := $00000400;
  25385. end;
  25386. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  25387. begin
  25388. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25389. end;
  25390. procedure TOSC_OSCCON.setCOSC0; inline;
  25391. begin
  25392. pTDefRegMap(@Self)^.&set := $00001000;
  25393. end;
  25394. procedure TOSC_OSCCON.clearCOSC0; inline;
  25395. begin
  25396. pTDefRegMap(@Self)^.clr := $00001000;
  25397. end;
  25398. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  25399. begin
  25400. if thebits = 0 then
  25401. pTDefRegMap(@Self)^.clr := $00001000
  25402. else
  25403. pTDefRegMap(@Self)^.&set := $00001000;
  25404. end;
  25405. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  25406. begin
  25407. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25408. end;
  25409. procedure TOSC_OSCCON.setCOSC1; inline;
  25410. begin
  25411. pTDefRegMap(@Self)^.&set := $00002000;
  25412. end;
  25413. procedure TOSC_OSCCON.clearCOSC1; inline;
  25414. begin
  25415. pTDefRegMap(@Self)^.clr := $00002000;
  25416. end;
  25417. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  25418. begin
  25419. if thebits = 0 then
  25420. pTDefRegMap(@Self)^.clr := $00002000
  25421. else
  25422. pTDefRegMap(@Self)^.&set := $00002000;
  25423. end;
  25424. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  25425. begin
  25426. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25427. end;
  25428. procedure TOSC_OSCCON.setCOSC2; inline;
  25429. begin
  25430. pTDefRegMap(@Self)^.&set := $00004000;
  25431. end;
  25432. procedure TOSC_OSCCON.clearCOSC2; inline;
  25433. begin
  25434. pTDefRegMap(@Self)^.clr := $00004000;
  25435. end;
  25436. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  25437. begin
  25438. if thebits = 0 then
  25439. pTDefRegMap(@Self)^.clr := $00004000
  25440. else
  25441. pTDefRegMap(@Self)^.&set := $00004000;
  25442. end;
  25443. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  25444. begin
  25445. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25446. end;
  25447. procedure TOSC_OSCCON.setPLLMULT0; inline;
  25448. begin
  25449. pTDefRegMap(@Self)^.&set := $00010000;
  25450. end;
  25451. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  25452. begin
  25453. pTDefRegMap(@Self)^.clr := $00010000;
  25454. end;
  25455. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  25456. begin
  25457. if thebits = 0 then
  25458. pTDefRegMap(@Self)^.clr := $00010000
  25459. else
  25460. pTDefRegMap(@Self)^.&set := $00010000;
  25461. end;
  25462. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  25463. begin
  25464. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25465. end;
  25466. procedure TOSC_OSCCON.setPLLMULT1; inline;
  25467. begin
  25468. pTDefRegMap(@Self)^.&set := $00020000;
  25469. end;
  25470. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  25471. begin
  25472. pTDefRegMap(@Self)^.clr := $00020000;
  25473. end;
  25474. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  25475. begin
  25476. if thebits = 0 then
  25477. pTDefRegMap(@Self)^.clr := $00020000
  25478. else
  25479. pTDefRegMap(@Self)^.&set := $00020000;
  25480. end;
  25481. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  25482. begin
  25483. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25484. end;
  25485. procedure TOSC_OSCCON.setPLLMULT2; inline;
  25486. begin
  25487. pTDefRegMap(@Self)^.&set := $00040000;
  25488. end;
  25489. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  25490. begin
  25491. pTDefRegMap(@Self)^.clr := $00040000;
  25492. end;
  25493. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  25494. begin
  25495. if thebits = 0 then
  25496. pTDefRegMap(@Self)^.clr := $00040000
  25497. else
  25498. pTDefRegMap(@Self)^.&set := $00040000;
  25499. end;
  25500. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25501. begin
  25502. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25503. end;
  25504. procedure TOSC_OSCCON.setPBDIV0; inline;
  25505. begin
  25506. pTDefRegMap(@Self)^.&set := $00080000;
  25507. end;
  25508. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25509. begin
  25510. pTDefRegMap(@Self)^.clr := $00080000;
  25511. end;
  25512. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25513. begin
  25514. if thebits = 0 then
  25515. pTDefRegMap(@Self)^.clr := $00080000
  25516. else
  25517. pTDefRegMap(@Self)^.&set := $00080000;
  25518. end;
  25519. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25520. begin
  25521. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25522. end;
  25523. procedure TOSC_OSCCON.setPBDIV1; inline;
  25524. begin
  25525. pTDefRegMap(@Self)^.&set := $00100000;
  25526. end;
  25527. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25528. begin
  25529. pTDefRegMap(@Self)^.clr := $00100000;
  25530. end;
  25531. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25532. begin
  25533. if thebits = 0 then
  25534. pTDefRegMap(@Self)^.clr := $00100000
  25535. else
  25536. pTDefRegMap(@Self)^.&set := $00100000;
  25537. end;
  25538. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25539. begin
  25540. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25541. end;
  25542. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25543. begin
  25544. pTDefRegMap(@Self)^.&set := $01000000;
  25545. end;
  25546. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25547. begin
  25548. pTDefRegMap(@Self)^.clr := $01000000;
  25549. end;
  25550. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25551. begin
  25552. if thebits = 0 then
  25553. pTDefRegMap(@Self)^.clr := $01000000
  25554. else
  25555. pTDefRegMap(@Self)^.&set := $01000000;
  25556. end;
  25557. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25558. begin
  25559. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25560. end;
  25561. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25562. begin
  25563. pTDefRegMap(@Self)^.&set := $02000000;
  25564. end;
  25565. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25566. begin
  25567. pTDefRegMap(@Self)^.clr := $02000000;
  25568. end;
  25569. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25570. begin
  25571. if thebits = 0 then
  25572. pTDefRegMap(@Self)^.clr := $02000000
  25573. else
  25574. pTDefRegMap(@Self)^.&set := $02000000;
  25575. end;
  25576. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25577. begin
  25578. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25579. end;
  25580. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25581. begin
  25582. pTDefRegMap(@Self)^.&set := $04000000;
  25583. end;
  25584. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25585. begin
  25586. pTDefRegMap(@Self)^.clr := $04000000;
  25587. end;
  25588. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25589. begin
  25590. if thebits = 0 then
  25591. pTDefRegMap(@Self)^.clr := $04000000
  25592. else
  25593. pTDefRegMap(@Self)^.&set := $04000000;
  25594. end;
  25595. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25596. begin
  25597. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25598. end;
  25599. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25600. begin
  25601. pTDefRegMap(@Self)^.&set := $08000000;
  25602. end;
  25603. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25604. begin
  25605. pTDefRegMap(@Self)^.clr := $08000000;
  25606. end;
  25607. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25608. begin
  25609. if thebits = 0 then
  25610. pTDefRegMap(@Self)^.clr := $08000000
  25611. else
  25612. pTDefRegMap(@Self)^.&set := $08000000;
  25613. end;
  25614. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25615. begin
  25616. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25617. end;
  25618. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25619. begin
  25620. pTDefRegMap(@Self)^.&set := $10000000;
  25621. end;
  25622. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25623. begin
  25624. pTDefRegMap(@Self)^.clr := $10000000;
  25625. end;
  25626. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25627. begin
  25628. if thebits = 0 then
  25629. pTDefRegMap(@Self)^.clr := $10000000
  25630. else
  25631. pTDefRegMap(@Self)^.&set := $10000000;
  25632. end;
  25633. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25634. begin
  25635. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25636. end;
  25637. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25638. begin
  25639. pTDefRegMap(@Self)^.&set := $20000000;
  25640. end;
  25641. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25642. begin
  25643. pTDefRegMap(@Self)^.clr := $20000000;
  25644. end;
  25645. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25646. begin
  25647. if thebits = 0 then
  25648. pTDefRegMap(@Self)^.clr := $20000000
  25649. else
  25650. pTDefRegMap(@Self)^.&set := $20000000;
  25651. end;
  25652. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25653. begin
  25654. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25655. end;
  25656. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25657. begin
  25658. pTDefRegMap(@Self)^.val := thebits;
  25659. end;
  25660. function TOSC_OSCCON.getw : TBits_32; inline;
  25661. begin
  25662. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25663. end;
  25664. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25665. begin
  25666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25667. end;
  25668. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25669. begin
  25670. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25671. end;
  25672. procedure TOSC_OSCTUN.setTUN0; inline;
  25673. begin
  25674. pTDefRegMap(@Self)^.&set := $00000001;
  25675. end;
  25676. procedure TOSC_OSCTUN.clearTUN0; inline;
  25677. begin
  25678. pTDefRegMap(@Self)^.clr := $00000001;
  25679. end;
  25680. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25681. begin
  25682. if thebits = 0 then
  25683. pTDefRegMap(@Self)^.clr := $00000001
  25684. else
  25685. pTDefRegMap(@Self)^.&set := $00000001;
  25686. end;
  25687. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25688. begin
  25689. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25690. end;
  25691. procedure TOSC_OSCTUN.setTUN1; inline;
  25692. begin
  25693. pTDefRegMap(@Self)^.&set := $00000002;
  25694. end;
  25695. procedure TOSC_OSCTUN.clearTUN1; inline;
  25696. begin
  25697. pTDefRegMap(@Self)^.clr := $00000002;
  25698. end;
  25699. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25700. begin
  25701. if thebits = 0 then
  25702. pTDefRegMap(@Self)^.clr := $00000002
  25703. else
  25704. pTDefRegMap(@Self)^.&set := $00000002;
  25705. end;
  25706. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25707. begin
  25708. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25709. end;
  25710. procedure TOSC_OSCTUN.setTUN2; inline;
  25711. begin
  25712. pTDefRegMap(@Self)^.&set := $00000004;
  25713. end;
  25714. procedure TOSC_OSCTUN.clearTUN2; inline;
  25715. begin
  25716. pTDefRegMap(@Self)^.clr := $00000004;
  25717. end;
  25718. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25719. begin
  25720. if thebits = 0 then
  25721. pTDefRegMap(@Self)^.clr := $00000004
  25722. else
  25723. pTDefRegMap(@Self)^.&set := $00000004;
  25724. end;
  25725. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25726. begin
  25727. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25728. end;
  25729. procedure TOSC_OSCTUN.setTUN3; inline;
  25730. begin
  25731. pTDefRegMap(@Self)^.&set := $00000008;
  25732. end;
  25733. procedure TOSC_OSCTUN.clearTUN3; inline;
  25734. begin
  25735. pTDefRegMap(@Self)^.clr := $00000008;
  25736. end;
  25737. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25738. begin
  25739. if thebits = 0 then
  25740. pTDefRegMap(@Self)^.clr := $00000008
  25741. else
  25742. pTDefRegMap(@Self)^.&set := $00000008;
  25743. end;
  25744. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25745. begin
  25746. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25747. end;
  25748. procedure TOSC_OSCTUN.setTUN4; inline;
  25749. begin
  25750. pTDefRegMap(@Self)^.&set := $00000010;
  25751. end;
  25752. procedure TOSC_OSCTUN.clearTUN4; inline;
  25753. begin
  25754. pTDefRegMap(@Self)^.clr := $00000010;
  25755. end;
  25756. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25757. begin
  25758. if thebits = 0 then
  25759. pTDefRegMap(@Self)^.clr := $00000010
  25760. else
  25761. pTDefRegMap(@Self)^.&set := $00000010;
  25762. end;
  25763. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25764. begin
  25765. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25766. end;
  25767. procedure TOSC_OSCTUN.setTUN5; inline;
  25768. begin
  25769. pTDefRegMap(@Self)^.&set := $00000020;
  25770. end;
  25771. procedure TOSC_OSCTUN.clearTUN5; inline;
  25772. begin
  25773. pTDefRegMap(@Self)^.clr := $00000020;
  25774. end;
  25775. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25776. begin
  25777. if thebits = 0 then
  25778. pTDefRegMap(@Self)^.clr := $00000020
  25779. else
  25780. pTDefRegMap(@Self)^.&set := $00000020;
  25781. end;
  25782. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25783. begin
  25784. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25785. end;
  25786. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25787. begin
  25788. pTDefRegMap(@Self)^.val := thebits;
  25789. end;
  25790. function TOSC_OSCTUN.getw : TBits_32; inline;
  25791. begin
  25792. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25793. end;
  25794. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25795. begin
  25796. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25797. end;
  25798. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25799. begin
  25800. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25801. end;
  25802. procedure TOSC_REFOCON.setACTIVE; inline;
  25803. begin
  25804. pTDefRegMap(@Self)^.&set := $00000100;
  25805. end;
  25806. procedure TOSC_REFOCON.clearACTIVE; inline;
  25807. begin
  25808. pTDefRegMap(@Self)^.clr := $00000100;
  25809. end;
  25810. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25811. begin
  25812. if thebits = 0 then
  25813. pTDefRegMap(@Self)^.clr := $00000100
  25814. else
  25815. pTDefRegMap(@Self)^.&set := $00000100;
  25816. end;
  25817. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25818. begin
  25819. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25820. end;
  25821. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25822. begin
  25823. pTDefRegMap(@Self)^.&set := $00000200;
  25824. end;
  25825. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25826. begin
  25827. pTDefRegMap(@Self)^.clr := $00000200;
  25828. end;
  25829. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25830. begin
  25831. if thebits = 0 then
  25832. pTDefRegMap(@Self)^.clr := $00000200
  25833. else
  25834. pTDefRegMap(@Self)^.&set := $00000200;
  25835. end;
  25836. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25837. begin
  25838. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25839. end;
  25840. procedure TOSC_REFOCON.setRSLP; inline;
  25841. begin
  25842. pTDefRegMap(@Self)^.&set := $00000800;
  25843. end;
  25844. procedure TOSC_REFOCON.clearRSLP; inline;
  25845. begin
  25846. pTDefRegMap(@Self)^.clr := $00000800;
  25847. end;
  25848. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25849. begin
  25850. if thebits = 0 then
  25851. pTDefRegMap(@Self)^.clr := $00000800
  25852. else
  25853. pTDefRegMap(@Self)^.&set := $00000800;
  25854. end;
  25855. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25856. begin
  25857. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25858. end;
  25859. procedure TOSC_REFOCON.setOE; inline;
  25860. begin
  25861. pTDefRegMap(@Self)^.&set := $00001000;
  25862. end;
  25863. procedure TOSC_REFOCON.clearOE; inline;
  25864. begin
  25865. pTDefRegMap(@Self)^.clr := $00001000;
  25866. end;
  25867. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25868. begin
  25869. if thebits = 0 then
  25870. pTDefRegMap(@Self)^.clr := $00001000
  25871. else
  25872. pTDefRegMap(@Self)^.&set := $00001000;
  25873. end;
  25874. function TOSC_REFOCON.getOE : TBits_1; inline;
  25875. begin
  25876. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25877. end;
  25878. procedure TOSC_REFOCON.setSIDL; inline;
  25879. begin
  25880. pTDefRegMap(@Self)^.&set := $00002000;
  25881. end;
  25882. procedure TOSC_REFOCON.clearSIDL; inline;
  25883. begin
  25884. pTDefRegMap(@Self)^.clr := $00002000;
  25885. end;
  25886. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25887. begin
  25888. if thebits = 0 then
  25889. pTDefRegMap(@Self)^.clr := $00002000
  25890. else
  25891. pTDefRegMap(@Self)^.&set := $00002000;
  25892. end;
  25893. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25894. begin
  25895. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25896. end;
  25897. procedure TOSC_REFOCON.setON; inline;
  25898. begin
  25899. pTDefRegMap(@Self)^.&set := $00008000;
  25900. end;
  25901. procedure TOSC_REFOCON.clearON; inline;
  25902. begin
  25903. pTDefRegMap(@Self)^.clr := $00008000;
  25904. end;
  25905. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25906. begin
  25907. if thebits = 0 then
  25908. pTDefRegMap(@Self)^.clr := $00008000
  25909. else
  25910. pTDefRegMap(@Self)^.&set := $00008000;
  25911. end;
  25912. function TOSC_REFOCON.getON : TBits_1; inline;
  25913. begin
  25914. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25915. end;
  25916. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25917. begin
  25918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25919. end;
  25920. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25921. begin
  25922. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25923. end;
  25924. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25925. begin
  25926. pTDefRegMap(@Self)^.val := thebits;
  25927. end;
  25928. function TOSC_REFOCON.getw : TBits_32; inline;
  25929. begin
  25930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25931. end;
  25932. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25935. end;
  25936. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25937. begin
  25938. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25939. end;
  25940. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25941. begin
  25942. pTDefRegMap(@Self)^.val := thebits;
  25943. end;
  25944. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25945. begin
  25946. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25947. end;
  25948. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25949. begin
  25950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25951. end;
  25952. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25953. begin
  25954. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25955. end;
  25956. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.&set := $00000800;
  25959. end;
  25960. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25961. begin
  25962. pTDefRegMap(@Self)^.clr := $00000800;
  25963. end;
  25964. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25965. begin
  25966. if thebits = 0 then
  25967. pTDefRegMap(@Self)^.clr := $00000800
  25968. else
  25969. pTDefRegMap(@Self)^.&set := $00000800;
  25970. end;
  25971. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25972. begin
  25973. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25974. end;
  25975. procedure TNVM_NVMCON.setLVDERR; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.&set := $00001000;
  25978. end;
  25979. procedure TNVM_NVMCON.clearLVDERR; inline;
  25980. begin
  25981. pTDefRegMap(@Self)^.clr := $00001000;
  25982. end;
  25983. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25984. begin
  25985. if thebits = 0 then
  25986. pTDefRegMap(@Self)^.clr := $00001000
  25987. else
  25988. pTDefRegMap(@Self)^.&set := $00001000;
  25989. end;
  25990. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25991. begin
  25992. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25993. end;
  25994. procedure TNVM_NVMCON.setWRERR; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.&set := $00002000;
  25997. end;
  25998. procedure TNVM_NVMCON.clearWRERR; inline;
  25999. begin
  26000. pTDefRegMap(@Self)^.clr := $00002000;
  26001. end;
  26002. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  26003. begin
  26004. if thebits = 0 then
  26005. pTDefRegMap(@Self)^.clr := $00002000
  26006. else
  26007. pTDefRegMap(@Self)^.&set := $00002000;
  26008. end;
  26009. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  26010. begin
  26011. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26012. end;
  26013. procedure TNVM_NVMCON.setWREN; inline;
  26014. begin
  26015. pTDefRegMap(@Self)^.&set := $00004000;
  26016. end;
  26017. procedure TNVM_NVMCON.clearWREN; inline;
  26018. begin
  26019. pTDefRegMap(@Self)^.clr := $00004000;
  26020. end;
  26021. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  26022. begin
  26023. if thebits = 0 then
  26024. pTDefRegMap(@Self)^.clr := $00004000
  26025. else
  26026. pTDefRegMap(@Self)^.&set := $00004000;
  26027. end;
  26028. function TNVM_NVMCON.getWREN : TBits_1; inline;
  26029. begin
  26030. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26031. end;
  26032. procedure TNVM_NVMCON.setWR; inline;
  26033. begin
  26034. pTDefRegMap(@Self)^.&set := $00008000;
  26035. end;
  26036. procedure TNVM_NVMCON.clearWR; inline;
  26037. begin
  26038. pTDefRegMap(@Self)^.clr := $00008000;
  26039. end;
  26040. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  26041. begin
  26042. if thebits = 0 then
  26043. pTDefRegMap(@Self)^.clr := $00008000
  26044. else
  26045. pTDefRegMap(@Self)^.&set := $00008000;
  26046. end;
  26047. function TNVM_NVMCON.getWR : TBits_1; inline;
  26048. begin
  26049. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26050. end;
  26051. procedure TNVM_NVMCON.setNVMOP0; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.&set := $00000001;
  26054. end;
  26055. procedure TNVM_NVMCON.clearNVMOP0; inline;
  26056. begin
  26057. pTDefRegMap(@Self)^.clr := $00000001;
  26058. end;
  26059. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  26060. begin
  26061. if thebits = 0 then
  26062. pTDefRegMap(@Self)^.clr := $00000001
  26063. else
  26064. pTDefRegMap(@Self)^.&set := $00000001;
  26065. end;
  26066. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  26067. begin
  26068. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26069. end;
  26070. procedure TNVM_NVMCON.setNVMOP1; inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.&set := $00000002;
  26073. end;
  26074. procedure TNVM_NVMCON.clearNVMOP1; inline;
  26075. begin
  26076. pTDefRegMap(@Self)^.clr := $00000002;
  26077. end;
  26078. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  26079. begin
  26080. if thebits = 0 then
  26081. pTDefRegMap(@Self)^.clr := $00000002
  26082. else
  26083. pTDefRegMap(@Self)^.&set := $00000002;
  26084. end;
  26085. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  26086. begin
  26087. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26088. end;
  26089. procedure TNVM_NVMCON.setNVMOP2; inline;
  26090. begin
  26091. pTDefRegMap(@Self)^.&set := $00000004;
  26092. end;
  26093. procedure TNVM_NVMCON.clearNVMOP2; inline;
  26094. begin
  26095. pTDefRegMap(@Self)^.clr := $00000004;
  26096. end;
  26097. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  26098. begin
  26099. if thebits = 0 then
  26100. pTDefRegMap(@Self)^.clr := $00000004
  26101. else
  26102. pTDefRegMap(@Self)^.&set := $00000004;
  26103. end;
  26104. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  26105. begin
  26106. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26107. end;
  26108. procedure TNVM_NVMCON.setNVMOP3; inline;
  26109. begin
  26110. pTDefRegMap(@Self)^.&set := $00000008;
  26111. end;
  26112. procedure TNVM_NVMCON.clearNVMOP3; inline;
  26113. begin
  26114. pTDefRegMap(@Self)^.clr := $00000008;
  26115. end;
  26116. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  26117. begin
  26118. if thebits = 0 then
  26119. pTDefRegMap(@Self)^.clr := $00000008
  26120. else
  26121. pTDefRegMap(@Self)^.&set := $00000008;
  26122. end;
  26123. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  26124. begin
  26125. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26126. end;
  26127. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  26128. begin
  26129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26130. end;
  26131. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  26132. begin
  26133. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26134. end;
  26135. procedure TNVM_NVMCON.setPROGOP0; inline;
  26136. begin
  26137. pTDefRegMap(@Self)^.&set := $00000001;
  26138. end;
  26139. procedure TNVM_NVMCON.clearPROGOP0; inline;
  26140. begin
  26141. pTDefRegMap(@Self)^.clr := $00000001;
  26142. end;
  26143. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  26144. begin
  26145. if thebits = 0 then
  26146. pTDefRegMap(@Self)^.clr := $00000001
  26147. else
  26148. pTDefRegMap(@Self)^.&set := $00000001;
  26149. end;
  26150. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  26151. begin
  26152. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26153. end;
  26154. procedure TNVM_NVMCON.setPROGOP1; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.&set := $00000002;
  26157. end;
  26158. procedure TNVM_NVMCON.clearPROGOP1; inline;
  26159. begin
  26160. pTDefRegMap(@Self)^.clr := $00000002;
  26161. end;
  26162. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  26163. begin
  26164. if thebits = 0 then
  26165. pTDefRegMap(@Self)^.clr := $00000002
  26166. else
  26167. pTDefRegMap(@Self)^.&set := $00000002;
  26168. end;
  26169. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  26170. begin
  26171. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26172. end;
  26173. procedure TNVM_NVMCON.setPROGOP2; inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.&set := $00000004;
  26176. end;
  26177. procedure TNVM_NVMCON.clearPROGOP2; inline;
  26178. begin
  26179. pTDefRegMap(@Self)^.clr := $00000004;
  26180. end;
  26181. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  26182. begin
  26183. if thebits = 0 then
  26184. pTDefRegMap(@Self)^.clr := $00000004
  26185. else
  26186. pTDefRegMap(@Self)^.&set := $00000004;
  26187. end;
  26188. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  26189. begin
  26190. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26191. end;
  26192. procedure TNVM_NVMCON.setPROGOP3; inline;
  26193. begin
  26194. pTDefRegMap(@Self)^.&set := $00000008;
  26195. end;
  26196. procedure TNVM_NVMCON.clearPROGOP3; inline;
  26197. begin
  26198. pTDefRegMap(@Self)^.clr := $00000008;
  26199. end;
  26200. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  26201. begin
  26202. if thebits = 0 then
  26203. pTDefRegMap(@Self)^.clr := $00000008
  26204. else
  26205. pTDefRegMap(@Self)^.&set := $00000008;
  26206. end;
  26207. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  26208. begin
  26209. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26210. end;
  26211. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  26212. begin
  26213. pTDefRegMap(@Self)^.val := thebits;
  26214. end;
  26215. function TNVM_NVMCON.getw : TBits_32; inline;
  26216. begin
  26217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26218. end;
  26219. procedure TRCON_RCON.setPOR; inline;
  26220. begin
  26221. pTDefRegMap(@Self)^.&set := $00000001;
  26222. end;
  26223. procedure TRCON_RCON.clearPOR; inline;
  26224. begin
  26225. pTDefRegMap(@Self)^.clr := $00000001;
  26226. end;
  26227. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  26228. begin
  26229. if thebits = 0 then
  26230. pTDefRegMap(@Self)^.clr := $00000001
  26231. else
  26232. pTDefRegMap(@Self)^.&set := $00000001;
  26233. end;
  26234. function TRCON_RCON.getPOR : TBits_1; inline;
  26235. begin
  26236. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26237. end;
  26238. procedure TRCON_RCON.setBOR; inline;
  26239. begin
  26240. pTDefRegMap(@Self)^.&set := $00000002;
  26241. end;
  26242. procedure TRCON_RCON.clearBOR; inline;
  26243. begin
  26244. pTDefRegMap(@Self)^.clr := $00000002;
  26245. end;
  26246. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  26247. begin
  26248. if thebits = 0 then
  26249. pTDefRegMap(@Self)^.clr := $00000002
  26250. else
  26251. pTDefRegMap(@Self)^.&set := $00000002;
  26252. end;
  26253. function TRCON_RCON.getBOR : TBits_1; inline;
  26254. begin
  26255. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26256. end;
  26257. procedure TRCON_RCON.setIDLE; inline;
  26258. begin
  26259. pTDefRegMap(@Self)^.&set := $00000004;
  26260. end;
  26261. procedure TRCON_RCON.clearIDLE; inline;
  26262. begin
  26263. pTDefRegMap(@Self)^.clr := $00000004;
  26264. end;
  26265. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  26266. begin
  26267. if thebits = 0 then
  26268. pTDefRegMap(@Self)^.clr := $00000004
  26269. else
  26270. pTDefRegMap(@Self)^.&set := $00000004;
  26271. end;
  26272. function TRCON_RCON.getIDLE : TBits_1; inline;
  26273. begin
  26274. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26275. end;
  26276. procedure TRCON_RCON.setSLEEP; inline;
  26277. begin
  26278. pTDefRegMap(@Self)^.&set := $00000008;
  26279. end;
  26280. procedure TRCON_RCON.clearSLEEP; inline;
  26281. begin
  26282. pTDefRegMap(@Self)^.clr := $00000008;
  26283. end;
  26284. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  26285. begin
  26286. if thebits = 0 then
  26287. pTDefRegMap(@Self)^.clr := $00000008
  26288. else
  26289. pTDefRegMap(@Self)^.&set := $00000008;
  26290. end;
  26291. function TRCON_RCON.getSLEEP : TBits_1; inline;
  26292. begin
  26293. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26294. end;
  26295. procedure TRCON_RCON.setWDTO; inline;
  26296. begin
  26297. pTDefRegMap(@Self)^.&set := $00000010;
  26298. end;
  26299. procedure TRCON_RCON.clearWDTO; inline;
  26300. begin
  26301. pTDefRegMap(@Self)^.clr := $00000010;
  26302. end;
  26303. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  26304. begin
  26305. if thebits = 0 then
  26306. pTDefRegMap(@Self)^.clr := $00000010
  26307. else
  26308. pTDefRegMap(@Self)^.&set := $00000010;
  26309. end;
  26310. function TRCON_RCON.getWDTO : TBits_1; inline;
  26311. begin
  26312. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26313. end;
  26314. procedure TRCON_RCON.setSWR; inline;
  26315. begin
  26316. pTDefRegMap(@Self)^.&set := $00000040;
  26317. end;
  26318. procedure TRCON_RCON.clearSWR; inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.clr := $00000040;
  26321. end;
  26322. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  26323. begin
  26324. if thebits = 0 then
  26325. pTDefRegMap(@Self)^.clr := $00000040
  26326. else
  26327. pTDefRegMap(@Self)^.&set := $00000040;
  26328. end;
  26329. function TRCON_RCON.getSWR : TBits_1; inline;
  26330. begin
  26331. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26332. end;
  26333. procedure TRCON_RCON.setEXTR; inline;
  26334. begin
  26335. pTDefRegMap(@Self)^.&set := $00000080;
  26336. end;
  26337. procedure TRCON_RCON.clearEXTR; inline;
  26338. begin
  26339. pTDefRegMap(@Self)^.clr := $00000080;
  26340. end;
  26341. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  26342. begin
  26343. if thebits = 0 then
  26344. pTDefRegMap(@Self)^.clr := $00000080
  26345. else
  26346. pTDefRegMap(@Self)^.&set := $00000080;
  26347. end;
  26348. function TRCON_RCON.getEXTR : TBits_1; inline;
  26349. begin
  26350. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26351. end;
  26352. procedure TRCON_RCON.setVREGS; inline;
  26353. begin
  26354. pTDefRegMap(@Self)^.&set := $00000100;
  26355. end;
  26356. procedure TRCON_RCON.clearVREGS; inline;
  26357. begin
  26358. pTDefRegMap(@Self)^.clr := $00000100;
  26359. end;
  26360. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  26361. begin
  26362. if thebits = 0 then
  26363. pTDefRegMap(@Self)^.clr := $00000100
  26364. else
  26365. pTDefRegMap(@Self)^.&set := $00000100;
  26366. end;
  26367. function TRCON_RCON.getVREGS : TBits_1; inline;
  26368. begin
  26369. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26370. end;
  26371. procedure TRCON_RCON.setCMR; inline;
  26372. begin
  26373. pTDefRegMap(@Self)^.&set := $00000200;
  26374. end;
  26375. procedure TRCON_RCON.clearCMR; inline;
  26376. begin
  26377. pTDefRegMap(@Self)^.clr := $00000200;
  26378. end;
  26379. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  26380. begin
  26381. if thebits = 0 then
  26382. pTDefRegMap(@Self)^.clr := $00000200
  26383. else
  26384. pTDefRegMap(@Self)^.&set := $00000200;
  26385. end;
  26386. function TRCON_RCON.getCMR : TBits_1; inline;
  26387. begin
  26388. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26389. end;
  26390. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  26391. begin
  26392. pTDefRegMap(@Self)^.val := thebits;
  26393. end;
  26394. function TRCON_RCON.getw : TBits_32; inline;
  26395. begin
  26396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26397. end;
  26398. procedure TRCON_RSWRST.setSWRST; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.&set := $00000001;
  26401. end;
  26402. procedure TRCON_RSWRST.clearSWRST; inline;
  26403. begin
  26404. pTDefRegMap(@Self)^.clr := $00000001;
  26405. end;
  26406. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  26407. begin
  26408. if thebits = 0 then
  26409. pTDefRegMap(@Self)^.clr := $00000001
  26410. else
  26411. pTDefRegMap(@Self)^.&set := $00000001;
  26412. end;
  26413. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  26414. begin
  26415. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26416. end;
  26417. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.val := thebits;
  26420. end;
  26421. function TRCON_RSWRST.getw : TBits_32; inline;
  26422. begin
  26423. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26424. end;
  26425. procedure TINT_INTCON.setINT0EP; inline;
  26426. begin
  26427. pTDefRegMap(@Self)^.&set := $00000001;
  26428. end;
  26429. procedure TINT_INTCON.clearINT0EP; inline;
  26430. begin
  26431. pTDefRegMap(@Self)^.clr := $00000001;
  26432. end;
  26433. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  26434. begin
  26435. if thebits = 0 then
  26436. pTDefRegMap(@Self)^.clr := $00000001
  26437. else
  26438. pTDefRegMap(@Self)^.&set := $00000001;
  26439. end;
  26440. function TINT_INTCON.getINT0EP : TBits_1; inline;
  26441. begin
  26442. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26443. end;
  26444. procedure TINT_INTCON.setINT1EP; inline;
  26445. begin
  26446. pTDefRegMap(@Self)^.&set := $00000002;
  26447. end;
  26448. procedure TINT_INTCON.clearINT1EP; inline;
  26449. begin
  26450. pTDefRegMap(@Self)^.clr := $00000002;
  26451. end;
  26452. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  26453. begin
  26454. if thebits = 0 then
  26455. pTDefRegMap(@Self)^.clr := $00000002
  26456. else
  26457. pTDefRegMap(@Self)^.&set := $00000002;
  26458. end;
  26459. function TINT_INTCON.getINT1EP : TBits_1; inline;
  26460. begin
  26461. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26462. end;
  26463. procedure TINT_INTCON.setINT2EP; inline;
  26464. begin
  26465. pTDefRegMap(@Self)^.&set := $00000004;
  26466. end;
  26467. procedure TINT_INTCON.clearINT2EP; inline;
  26468. begin
  26469. pTDefRegMap(@Self)^.clr := $00000004;
  26470. end;
  26471. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  26472. begin
  26473. if thebits = 0 then
  26474. pTDefRegMap(@Self)^.clr := $00000004
  26475. else
  26476. pTDefRegMap(@Self)^.&set := $00000004;
  26477. end;
  26478. function TINT_INTCON.getINT2EP : TBits_1; inline;
  26479. begin
  26480. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26481. end;
  26482. procedure TINT_INTCON.setINT3EP; inline;
  26483. begin
  26484. pTDefRegMap(@Self)^.&set := $00000008;
  26485. end;
  26486. procedure TINT_INTCON.clearINT3EP; inline;
  26487. begin
  26488. pTDefRegMap(@Self)^.clr := $00000008;
  26489. end;
  26490. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  26491. begin
  26492. if thebits = 0 then
  26493. pTDefRegMap(@Self)^.clr := $00000008
  26494. else
  26495. pTDefRegMap(@Self)^.&set := $00000008;
  26496. end;
  26497. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26498. begin
  26499. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26500. end;
  26501. procedure TINT_INTCON.setINT4EP; inline;
  26502. begin
  26503. pTDefRegMap(@Self)^.&set := $00000010;
  26504. end;
  26505. procedure TINT_INTCON.clearINT4EP; inline;
  26506. begin
  26507. pTDefRegMap(@Self)^.clr := $00000010;
  26508. end;
  26509. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26510. begin
  26511. if thebits = 0 then
  26512. pTDefRegMap(@Self)^.clr := $00000010
  26513. else
  26514. pTDefRegMap(@Self)^.&set := $00000010;
  26515. end;
  26516. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26517. begin
  26518. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26519. end;
  26520. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26521. begin
  26522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26523. end;
  26524. function TINT_INTCON.getTPC : TBits_3; inline;
  26525. begin
  26526. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26527. end;
  26528. procedure TINT_INTCON.setMVEC; inline;
  26529. begin
  26530. pTDefRegMap(@Self)^.&set := $00001000;
  26531. end;
  26532. procedure TINT_INTCON.clearMVEC; inline;
  26533. begin
  26534. pTDefRegMap(@Self)^.clr := $00001000;
  26535. end;
  26536. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26537. begin
  26538. if thebits = 0 then
  26539. pTDefRegMap(@Self)^.clr := $00001000
  26540. else
  26541. pTDefRegMap(@Self)^.&set := $00001000;
  26542. end;
  26543. function TINT_INTCON.getMVEC : TBits_1; inline;
  26544. begin
  26545. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26546. end;
  26547. procedure TINT_INTCON.setSS0; inline;
  26548. begin
  26549. pTDefRegMap(@Self)^.&set := $00010000;
  26550. end;
  26551. procedure TINT_INTCON.clearSS0; inline;
  26552. begin
  26553. pTDefRegMap(@Self)^.clr := $00010000;
  26554. end;
  26555. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26556. begin
  26557. if thebits = 0 then
  26558. pTDefRegMap(@Self)^.clr := $00010000
  26559. else
  26560. pTDefRegMap(@Self)^.&set := $00010000;
  26561. end;
  26562. function TINT_INTCON.getSS0 : TBits_1; inline;
  26563. begin
  26564. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26565. end;
  26566. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.val := thebits;
  26569. end;
  26570. function TINT_INTCON.getw : TBits_32; inline;
  26571. begin
  26572. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26573. end;
  26574. procedure TINT_IFS0.setCTIF; inline;
  26575. begin
  26576. pTDefRegMap(@Self)^.&set := $00000001;
  26577. end;
  26578. procedure TINT_IFS0.clearCTIF; inline;
  26579. begin
  26580. pTDefRegMap(@Self)^.clr := $00000001;
  26581. end;
  26582. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26583. begin
  26584. if thebits = 0 then
  26585. pTDefRegMap(@Self)^.clr := $00000001
  26586. else
  26587. pTDefRegMap(@Self)^.&set := $00000001;
  26588. end;
  26589. function TINT_IFS0.getCTIF : TBits_1; inline;
  26590. begin
  26591. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26592. end;
  26593. procedure TINT_IFS0.setCS0IF; inline;
  26594. begin
  26595. pTDefRegMap(@Self)^.&set := $00000002;
  26596. end;
  26597. procedure TINT_IFS0.clearCS0IF; inline;
  26598. begin
  26599. pTDefRegMap(@Self)^.clr := $00000002;
  26600. end;
  26601. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26602. begin
  26603. if thebits = 0 then
  26604. pTDefRegMap(@Self)^.clr := $00000002
  26605. else
  26606. pTDefRegMap(@Self)^.&set := $00000002;
  26607. end;
  26608. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26609. begin
  26610. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26611. end;
  26612. procedure TINT_IFS0.setCS1IF; inline;
  26613. begin
  26614. pTDefRegMap(@Self)^.&set := $00000004;
  26615. end;
  26616. procedure TINT_IFS0.clearCS1IF; inline;
  26617. begin
  26618. pTDefRegMap(@Self)^.clr := $00000004;
  26619. end;
  26620. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26621. begin
  26622. if thebits = 0 then
  26623. pTDefRegMap(@Self)^.clr := $00000004
  26624. else
  26625. pTDefRegMap(@Self)^.&set := $00000004;
  26626. end;
  26627. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26628. begin
  26629. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26630. end;
  26631. procedure TINT_IFS0.setINT0IF; inline;
  26632. begin
  26633. pTDefRegMap(@Self)^.&set := $00000008;
  26634. end;
  26635. procedure TINT_IFS0.clearINT0IF; inline;
  26636. begin
  26637. pTDefRegMap(@Self)^.clr := $00000008;
  26638. end;
  26639. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26640. begin
  26641. if thebits = 0 then
  26642. pTDefRegMap(@Self)^.clr := $00000008
  26643. else
  26644. pTDefRegMap(@Self)^.&set := $00000008;
  26645. end;
  26646. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26647. begin
  26648. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26649. end;
  26650. procedure TINT_IFS0.setT1IF; inline;
  26651. begin
  26652. pTDefRegMap(@Self)^.&set := $00000010;
  26653. end;
  26654. procedure TINT_IFS0.clearT1IF; inline;
  26655. begin
  26656. pTDefRegMap(@Self)^.clr := $00000010;
  26657. end;
  26658. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26659. begin
  26660. if thebits = 0 then
  26661. pTDefRegMap(@Self)^.clr := $00000010
  26662. else
  26663. pTDefRegMap(@Self)^.&set := $00000010;
  26664. end;
  26665. function TINT_IFS0.getT1IF : TBits_1; inline;
  26666. begin
  26667. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26668. end;
  26669. procedure TINT_IFS0.setIC1EIF; inline;
  26670. begin
  26671. pTDefRegMap(@Self)^.&set := $00000020;
  26672. end;
  26673. procedure TINT_IFS0.clearIC1EIF; inline;
  26674. begin
  26675. pTDefRegMap(@Self)^.clr := $00000020;
  26676. end;
  26677. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26678. begin
  26679. if thebits = 0 then
  26680. pTDefRegMap(@Self)^.clr := $00000020
  26681. else
  26682. pTDefRegMap(@Self)^.&set := $00000020;
  26683. end;
  26684. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26685. begin
  26686. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26687. end;
  26688. procedure TINT_IFS0.setIC1IF; inline;
  26689. begin
  26690. pTDefRegMap(@Self)^.&set := $00000040;
  26691. end;
  26692. procedure TINT_IFS0.clearIC1IF; inline;
  26693. begin
  26694. pTDefRegMap(@Self)^.clr := $00000040;
  26695. end;
  26696. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26697. begin
  26698. if thebits = 0 then
  26699. pTDefRegMap(@Self)^.clr := $00000040
  26700. else
  26701. pTDefRegMap(@Self)^.&set := $00000040;
  26702. end;
  26703. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26704. begin
  26705. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26706. end;
  26707. procedure TINT_IFS0.setOC1IF; inline;
  26708. begin
  26709. pTDefRegMap(@Self)^.&set := $00000080;
  26710. end;
  26711. procedure TINT_IFS0.clearOC1IF; inline;
  26712. begin
  26713. pTDefRegMap(@Self)^.clr := $00000080;
  26714. end;
  26715. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26716. begin
  26717. if thebits = 0 then
  26718. pTDefRegMap(@Self)^.clr := $00000080
  26719. else
  26720. pTDefRegMap(@Self)^.&set := $00000080;
  26721. end;
  26722. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26723. begin
  26724. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26725. end;
  26726. procedure TINT_IFS0.setINT1IF; inline;
  26727. begin
  26728. pTDefRegMap(@Self)^.&set := $00000100;
  26729. end;
  26730. procedure TINT_IFS0.clearINT1IF; inline;
  26731. begin
  26732. pTDefRegMap(@Self)^.clr := $00000100;
  26733. end;
  26734. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26735. begin
  26736. if thebits = 0 then
  26737. pTDefRegMap(@Self)^.clr := $00000100
  26738. else
  26739. pTDefRegMap(@Self)^.&set := $00000100;
  26740. end;
  26741. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26742. begin
  26743. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26744. end;
  26745. procedure TINT_IFS0.setT2IF; inline;
  26746. begin
  26747. pTDefRegMap(@Self)^.&set := $00000200;
  26748. end;
  26749. procedure TINT_IFS0.clearT2IF; inline;
  26750. begin
  26751. pTDefRegMap(@Self)^.clr := $00000200;
  26752. end;
  26753. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26754. begin
  26755. if thebits = 0 then
  26756. pTDefRegMap(@Self)^.clr := $00000200
  26757. else
  26758. pTDefRegMap(@Self)^.&set := $00000200;
  26759. end;
  26760. function TINT_IFS0.getT2IF : TBits_1; inline;
  26761. begin
  26762. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26763. end;
  26764. procedure TINT_IFS0.setIC2EIF; inline;
  26765. begin
  26766. pTDefRegMap(@Self)^.&set := $00000400;
  26767. end;
  26768. procedure TINT_IFS0.clearIC2EIF; inline;
  26769. begin
  26770. pTDefRegMap(@Self)^.clr := $00000400;
  26771. end;
  26772. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26773. begin
  26774. if thebits = 0 then
  26775. pTDefRegMap(@Self)^.clr := $00000400
  26776. else
  26777. pTDefRegMap(@Self)^.&set := $00000400;
  26778. end;
  26779. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26780. begin
  26781. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26782. end;
  26783. procedure TINT_IFS0.setIC2IF; inline;
  26784. begin
  26785. pTDefRegMap(@Self)^.&set := $00000800;
  26786. end;
  26787. procedure TINT_IFS0.clearIC2IF; inline;
  26788. begin
  26789. pTDefRegMap(@Self)^.clr := $00000800;
  26790. end;
  26791. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26792. begin
  26793. if thebits = 0 then
  26794. pTDefRegMap(@Self)^.clr := $00000800
  26795. else
  26796. pTDefRegMap(@Self)^.&set := $00000800;
  26797. end;
  26798. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26799. begin
  26800. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26801. end;
  26802. procedure TINT_IFS0.setOC2IF; inline;
  26803. begin
  26804. pTDefRegMap(@Self)^.&set := $00001000;
  26805. end;
  26806. procedure TINT_IFS0.clearOC2IF; inline;
  26807. begin
  26808. pTDefRegMap(@Self)^.clr := $00001000;
  26809. end;
  26810. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26811. begin
  26812. if thebits = 0 then
  26813. pTDefRegMap(@Self)^.clr := $00001000
  26814. else
  26815. pTDefRegMap(@Self)^.&set := $00001000;
  26816. end;
  26817. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26818. begin
  26819. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26820. end;
  26821. procedure TINT_IFS0.setINT2IF; inline;
  26822. begin
  26823. pTDefRegMap(@Self)^.&set := $00002000;
  26824. end;
  26825. procedure TINT_IFS0.clearINT2IF; inline;
  26826. begin
  26827. pTDefRegMap(@Self)^.clr := $00002000;
  26828. end;
  26829. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26830. begin
  26831. if thebits = 0 then
  26832. pTDefRegMap(@Self)^.clr := $00002000
  26833. else
  26834. pTDefRegMap(@Self)^.&set := $00002000;
  26835. end;
  26836. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26837. begin
  26838. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26839. end;
  26840. procedure TINT_IFS0.setT3IF; inline;
  26841. begin
  26842. pTDefRegMap(@Self)^.&set := $00004000;
  26843. end;
  26844. procedure TINT_IFS0.clearT3IF; inline;
  26845. begin
  26846. pTDefRegMap(@Self)^.clr := $00004000;
  26847. end;
  26848. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26849. begin
  26850. if thebits = 0 then
  26851. pTDefRegMap(@Self)^.clr := $00004000
  26852. else
  26853. pTDefRegMap(@Self)^.&set := $00004000;
  26854. end;
  26855. function TINT_IFS0.getT3IF : TBits_1; inline;
  26856. begin
  26857. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26858. end;
  26859. procedure TINT_IFS0.setIC3EIF; inline;
  26860. begin
  26861. pTDefRegMap(@Self)^.&set := $00008000;
  26862. end;
  26863. procedure TINT_IFS0.clearIC3EIF; inline;
  26864. begin
  26865. pTDefRegMap(@Self)^.clr := $00008000;
  26866. end;
  26867. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26868. begin
  26869. if thebits = 0 then
  26870. pTDefRegMap(@Self)^.clr := $00008000
  26871. else
  26872. pTDefRegMap(@Self)^.&set := $00008000;
  26873. end;
  26874. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26875. begin
  26876. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26877. end;
  26878. procedure TINT_IFS0.setIC3IF; inline;
  26879. begin
  26880. pTDefRegMap(@Self)^.&set := $00010000;
  26881. end;
  26882. procedure TINT_IFS0.clearIC3IF; inline;
  26883. begin
  26884. pTDefRegMap(@Self)^.clr := $00010000;
  26885. end;
  26886. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26887. begin
  26888. if thebits = 0 then
  26889. pTDefRegMap(@Self)^.clr := $00010000
  26890. else
  26891. pTDefRegMap(@Self)^.&set := $00010000;
  26892. end;
  26893. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26894. begin
  26895. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26896. end;
  26897. procedure TINT_IFS0.setOC3IF; inline;
  26898. begin
  26899. pTDefRegMap(@Self)^.&set := $00020000;
  26900. end;
  26901. procedure TINT_IFS0.clearOC3IF; inline;
  26902. begin
  26903. pTDefRegMap(@Self)^.clr := $00020000;
  26904. end;
  26905. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26906. begin
  26907. if thebits = 0 then
  26908. pTDefRegMap(@Self)^.clr := $00020000
  26909. else
  26910. pTDefRegMap(@Self)^.&set := $00020000;
  26911. end;
  26912. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26913. begin
  26914. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26915. end;
  26916. procedure TINT_IFS0.setINT3IF; inline;
  26917. begin
  26918. pTDefRegMap(@Self)^.&set := $00040000;
  26919. end;
  26920. procedure TINT_IFS0.clearINT3IF; inline;
  26921. begin
  26922. pTDefRegMap(@Self)^.clr := $00040000;
  26923. end;
  26924. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26925. begin
  26926. if thebits = 0 then
  26927. pTDefRegMap(@Self)^.clr := $00040000
  26928. else
  26929. pTDefRegMap(@Self)^.&set := $00040000;
  26930. end;
  26931. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26932. begin
  26933. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26934. end;
  26935. procedure TINT_IFS0.setT4IF; inline;
  26936. begin
  26937. pTDefRegMap(@Self)^.&set := $00080000;
  26938. end;
  26939. procedure TINT_IFS0.clearT4IF; inline;
  26940. begin
  26941. pTDefRegMap(@Self)^.clr := $00080000;
  26942. end;
  26943. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26944. begin
  26945. if thebits = 0 then
  26946. pTDefRegMap(@Self)^.clr := $00080000
  26947. else
  26948. pTDefRegMap(@Self)^.&set := $00080000;
  26949. end;
  26950. function TINT_IFS0.getT4IF : TBits_1; inline;
  26951. begin
  26952. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26953. end;
  26954. procedure TINT_IFS0.setIC4EIF; inline;
  26955. begin
  26956. pTDefRegMap(@Self)^.&set := $00100000;
  26957. end;
  26958. procedure TINT_IFS0.clearIC4EIF; inline;
  26959. begin
  26960. pTDefRegMap(@Self)^.clr := $00100000;
  26961. end;
  26962. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26963. begin
  26964. if thebits = 0 then
  26965. pTDefRegMap(@Self)^.clr := $00100000
  26966. else
  26967. pTDefRegMap(@Self)^.&set := $00100000;
  26968. end;
  26969. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26970. begin
  26971. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26972. end;
  26973. procedure TINT_IFS0.setIC4IF; inline;
  26974. begin
  26975. pTDefRegMap(@Self)^.&set := $00200000;
  26976. end;
  26977. procedure TINT_IFS0.clearIC4IF; inline;
  26978. begin
  26979. pTDefRegMap(@Self)^.clr := $00200000;
  26980. end;
  26981. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26982. begin
  26983. if thebits = 0 then
  26984. pTDefRegMap(@Self)^.clr := $00200000
  26985. else
  26986. pTDefRegMap(@Self)^.&set := $00200000;
  26987. end;
  26988. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26989. begin
  26990. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26991. end;
  26992. procedure TINT_IFS0.setOC4IF; inline;
  26993. begin
  26994. pTDefRegMap(@Self)^.&set := $00400000;
  26995. end;
  26996. procedure TINT_IFS0.clearOC4IF; inline;
  26997. begin
  26998. pTDefRegMap(@Self)^.clr := $00400000;
  26999. end;
  27000. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  27001. begin
  27002. if thebits = 0 then
  27003. pTDefRegMap(@Self)^.clr := $00400000
  27004. else
  27005. pTDefRegMap(@Self)^.&set := $00400000;
  27006. end;
  27007. function TINT_IFS0.getOC4IF : TBits_1; inline;
  27008. begin
  27009. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27010. end;
  27011. procedure TINT_IFS0.setINT4IF; inline;
  27012. begin
  27013. pTDefRegMap(@Self)^.&set := $00800000;
  27014. end;
  27015. procedure TINT_IFS0.clearINT4IF; inline;
  27016. begin
  27017. pTDefRegMap(@Self)^.clr := $00800000;
  27018. end;
  27019. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  27020. begin
  27021. if thebits = 0 then
  27022. pTDefRegMap(@Self)^.clr := $00800000
  27023. else
  27024. pTDefRegMap(@Self)^.&set := $00800000;
  27025. end;
  27026. function TINT_IFS0.getINT4IF : TBits_1; inline;
  27027. begin
  27028. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27029. end;
  27030. procedure TINT_IFS0.setT5IF; inline;
  27031. begin
  27032. pTDefRegMap(@Self)^.&set := $01000000;
  27033. end;
  27034. procedure TINT_IFS0.clearT5IF; inline;
  27035. begin
  27036. pTDefRegMap(@Self)^.clr := $01000000;
  27037. end;
  27038. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  27039. begin
  27040. if thebits = 0 then
  27041. pTDefRegMap(@Self)^.clr := $01000000
  27042. else
  27043. pTDefRegMap(@Self)^.&set := $01000000;
  27044. end;
  27045. function TINT_IFS0.getT5IF : TBits_1; inline;
  27046. begin
  27047. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27048. end;
  27049. procedure TINT_IFS0.setIC5EIF; inline;
  27050. begin
  27051. pTDefRegMap(@Self)^.&set := $02000000;
  27052. end;
  27053. procedure TINT_IFS0.clearIC5EIF; inline;
  27054. begin
  27055. pTDefRegMap(@Self)^.clr := $02000000;
  27056. end;
  27057. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  27058. begin
  27059. if thebits = 0 then
  27060. pTDefRegMap(@Self)^.clr := $02000000
  27061. else
  27062. pTDefRegMap(@Self)^.&set := $02000000;
  27063. end;
  27064. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  27065. begin
  27066. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27067. end;
  27068. procedure TINT_IFS0.setIC5IF; inline;
  27069. begin
  27070. pTDefRegMap(@Self)^.&set := $04000000;
  27071. end;
  27072. procedure TINT_IFS0.clearIC5IF; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.clr := $04000000;
  27075. end;
  27076. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  27077. begin
  27078. if thebits = 0 then
  27079. pTDefRegMap(@Self)^.clr := $04000000
  27080. else
  27081. pTDefRegMap(@Self)^.&set := $04000000;
  27082. end;
  27083. function TINT_IFS0.getIC5IF : TBits_1; inline;
  27084. begin
  27085. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27086. end;
  27087. procedure TINT_IFS0.setOC5IF; inline;
  27088. begin
  27089. pTDefRegMap(@Self)^.&set := $08000000;
  27090. end;
  27091. procedure TINT_IFS0.clearOC5IF; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.clr := $08000000;
  27094. end;
  27095. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  27096. begin
  27097. if thebits = 0 then
  27098. pTDefRegMap(@Self)^.clr := $08000000
  27099. else
  27100. pTDefRegMap(@Self)^.&set := $08000000;
  27101. end;
  27102. function TINT_IFS0.getOC5IF : TBits_1; inline;
  27103. begin
  27104. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27105. end;
  27106. procedure TINT_IFS0.setAD1IF; inline;
  27107. begin
  27108. pTDefRegMap(@Self)^.&set := $10000000;
  27109. end;
  27110. procedure TINT_IFS0.clearAD1IF; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.clr := $10000000;
  27113. end;
  27114. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  27115. begin
  27116. if thebits = 0 then
  27117. pTDefRegMap(@Self)^.clr := $10000000
  27118. else
  27119. pTDefRegMap(@Self)^.&set := $10000000;
  27120. end;
  27121. function TINT_IFS0.getAD1IF : TBits_1; inline;
  27122. begin
  27123. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27124. end;
  27125. procedure TINT_IFS0.setFSCMIF; inline;
  27126. begin
  27127. pTDefRegMap(@Self)^.&set := $20000000;
  27128. end;
  27129. procedure TINT_IFS0.clearFSCMIF; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.clr := $20000000;
  27132. end;
  27133. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  27134. begin
  27135. if thebits = 0 then
  27136. pTDefRegMap(@Self)^.clr := $20000000
  27137. else
  27138. pTDefRegMap(@Self)^.&set := $20000000;
  27139. end;
  27140. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  27141. begin
  27142. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27143. end;
  27144. procedure TINT_IFS0.setRTCCIF; inline;
  27145. begin
  27146. pTDefRegMap(@Self)^.&set := $40000000;
  27147. end;
  27148. procedure TINT_IFS0.clearRTCCIF; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.clr := $40000000;
  27151. end;
  27152. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  27153. begin
  27154. if thebits = 0 then
  27155. pTDefRegMap(@Self)^.clr := $40000000
  27156. else
  27157. pTDefRegMap(@Self)^.&set := $40000000;
  27158. end;
  27159. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  27160. begin
  27161. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27162. end;
  27163. procedure TINT_IFS0.setFCEIF; inline;
  27164. begin
  27165. pTDefRegMap(@Self)^.&set := $80000000;
  27166. end;
  27167. procedure TINT_IFS0.clearFCEIF; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.clr := $80000000;
  27170. end;
  27171. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  27172. begin
  27173. if thebits = 0 then
  27174. pTDefRegMap(@Self)^.clr := $80000000
  27175. else
  27176. pTDefRegMap(@Self)^.&set := $80000000;
  27177. end;
  27178. function TINT_IFS0.getFCEIF : TBits_1; inline;
  27179. begin
  27180. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27181. end;
  27182. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  27183. begin
  27184. pTDefRegMap(@Self)^.val := thebits;
  27185. end;
  27186. function TINT_IFS0.getw : TBits_32; inline;
  27187. begin
  27188. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27189. end;
  27190. procedure TINT_IFS1.setCMP1IF; inline;
  27191. begin
  27192. pTDefRegMap(@Self)^.&set := $00000001;
  27193. end;
  27194. procedure TINT_IFS1.clearCMP1IF; inline;
  27195. begin
  27196. pTDefRegMap(@Self)^.clr := $00000001;
  27197. end;
  27198. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  27199. begin
  27200. if thebits = 0 then
  27201. pTDefRegMap(@Self)^.clr := $00000001
  27202. else
  27203. pTDefRegMap(@Self)^.&set := $00000001;
  27204. end;
  27205. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  27206. begin
  27207. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27208. end;
  27209. procedure TINT_IFS1.setCMP2IF; inline;
  27210. begin
  27211. pTDefRegMap(@Self)^.&set := $00000002;
  27212. end;
  27213. procedure TINT_IFS1.clearCMP2IF; inline;
  27214. begin
  27215. pTDefRegMap(@Self)^.clr := $00000002;
  27216. end;
  27217. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  27218. begin
  27219. if thebits = 0 then
  27220. pTDefRegMap(@Self)^.clr := $00000002
  27221. else
  27222. pTDefRegMap(@Self)^.&set := $00000002;
  27223. end;
  27224. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  27225. begin
  27226. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27227. end;
  27228. procedure TINT_IFS1.setCMP3IF; inline;
  27229. begin
  27230. pTDefRegMap(@Self)^.&set := $00000004;
  27231. end;
  27232. procedure TINT_IFS1.clearCMP3IF; inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.clr := $00000004;
  27235. end;
  27236. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  27237. begin
  27238. if thebits = 0 then
  27239. pTDefRegMap(@Self)^.clr := $00000004
  27240. else
  27241. pTDefRegMap(@Self)^.&set := $00000004;
  27242. end;
  27243. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  27244. begin
  27245. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27246. end;
  27247. procedure TINT_IFS1.setSPI1EIF; inline;
  27248. begin
  27249. pTDefRegMap(@Self)^.&set := $00000010;
  27250. end;
  27251. procedure TINT_IFS1.clearSPI1EIF; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.clr := $00000010;
  27254. end;
  27255. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  27256. begin
  27257. if thebits = 0 then
  27258. pTDefRegMap(@Self)^.clr := $00000010
  27259. else
  27260. pTDefRegMap(@Self)^.&set := $00000010;
  27261. end;
  27262. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  27263. begin
  27264. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27265. end;
  27266. procedure TINT_IFS1.setSPI1RXIF; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.&set := $00000020;
  27269. end;
  27270. procedure TINT_IFS1.clearSPI1RXIF; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.clr := $00000020;
  27273. end;
  27274. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  27275. begin
  27276. if thebits = 0 then
  27277. pTDefRegMap(@Self)^.clr := $00000020
  27278. else
  27279. pTDefRegMap(@Self)^.&set := $00000020;
  27280. end;
  27281. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  27282. begin
  27283. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27284. end;
  27285. procedure TINT_IFS1.setSPI1TXIF; inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.&set := $00000040;
  27288. end;
  27289. procedure TINT_IFS1.clearSPI1TXIF; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.clr := $00000040;
  27292. end;
  27293. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  27294. begin
  27295. if thebits = 0 then
  27296. pTDefRegMap(@Self)^.clr := $00000040
  27297. else
  27298. pTDefRegMap(@Self)^.&set := $00000040;
  27299. end;
  27300. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  27301. begin
  27302. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27303. end;
  27304. procedure TINT_IFS1.setU1EIF; inline;
  27305. begin
  27306. pTDefRegMap(@Self)^.&set := $00000080;
  27307. end;
  27308. procedure TINT_IFS1.clearU1EIF; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.clr := $00000080;
  27311. end;
  27312. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  27313. begin
  27314. if thebits = 0 then
  27315. pTDefRegMap(@Self)^.clr := $00000080
  27316. else
  27317. pTDefRegMap(@Self)^.&set := $00000080;
  27318. end;
  27319. function TINT_IFS1.getU1EIF : TBits_1; inline;
  27320. begin
  27321. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27322. end;
  27323. procedure TINT_IFS1.setU1RXIF; inline;
  27324. begin
  27325. pTDefRegMap(@Self)^.&set := $00000100;
  27326. end;
  27327. procedure TINT_IFS1.clearU1RXIF; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.clr := $00000100;
  27330. end;
  27331. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  27332. begin
  27333. if thebits = 0 then
  27334. pTDefRegMap(@Self)^.clr := $00000100
  27335. else
  27336. pTDefRegMap(@Self)^.&set := $00000100;
  27337. end;
  27338. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  27339. begin
  27340. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27341. end;
  27342. procedure TINT_IFS1.setU1TXIF; inline;
  27343. begin
  27344. pTDefRegMap(@Self)^.&set := $00000200;
  27345. end;
  27346. procedure TINT_IFS1.clearU1TXIF; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.clr := $00000200;
  27349. end;
  27350. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  27351. begin
  27352. if thebits = 0 then
  27353. pTDefRegMap(@Self)^.clr := $00000200
  27354. else
  27355. pTDefRegMap(@Self)^.&set := $00000200;
  27356. end;
  27357. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  27358. begin
  27359. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27360. end;
  27361. procedure TINT_IFS1.setI2C1BIF; inline;
  27362. begin
  27363. pTDefRegMap(@Self)^.&set := $00000400;
  27364. end;
  27365. procedure TINT_IFS1.clearI2C1BIF; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.clr := $00000400;
  27368. end;
  27369. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  27370. begin
  27371. if thebits = 0 then
  27372. pTDefRegMap(@Self)^.clr := $00000400
  27373. else
  27374. pTDefRegMap(@Self)^.&set := $00000400;
  27375. end;
  27376. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  27377. begin
  27378. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27379. end;
  27380. procedure TINT_IFS1.setI2C1SIF; inline;
  27381. begin
  27382. pTDefRegMap(@Self)^.&set := $00000800;
  27383. end;
  27384. procedure TINT_IFS1.clearI2C1SIF; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.clr := $00000800;
  27387. end;
  27388. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  27389. begin
  27390. if thebits = 0 then
  27391. pTDefRegMap(@Self)^.clr := $00000800
  27392. else
  27393. pTDefRegMap(@Self)^.&set := $00000800;
  27394. end;
  27395. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  27396. begin
  27397. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27398. end;
  27399. procedure TINT_IFS1.setI2C1MIF; inline;
  27400. begin
  27401. pTDefRegMap(@Self)^.&set := $00001000;
  27402. end;
  27403. procedure TINT_IFS1.clearI2C1MIF; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.clr := $00001000;
  27406. end;
  27407. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  27408. begin
  27409. if thebits = 0 then
  27410. pTDefRegMap(@Self)^.clr := $00001000
  27411. else
  27412. pTDefRegMap(@Self)^.&set := $00001000;
  27413. end;
  27414. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  27415. begin
  27416. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27417. end;
  27418. procedure TINT_IFS1.setCNAIF; inline;
  27419. begin
  27420. pTDefRegMap(@Self)^.&set := $00002000;
  27421. end;
  27422. procedure TINT_IFS1.clearCNAIF; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.clr := $00002000;
  27425. end;
  27426. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  27427. begin
  27428. if thebits = 0 then
  27429. pTDefRegMap(@Self)^.clr := $00002000
  27430. else
  27431. pTDefRegMap(@Self)^.&set := $00002000;
  27432. end;
  27433. function TINT_IFS1.getCNAIF : TBits_1; inline;
  27434. begin
  27435. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27436. end;
  27437. procedure TINT_IFS1.setCNBIF; inline;
  27438. begin
  27439. pTDefRegMap(@Self)^.&set := $00004000;
  27440. end;
  27441. procedure TINT_IFS1.clearCNBIF; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.clr := $00004000;
  27444. end;
  27445. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  27446. begin
  27447. if thebits = 0 then
  27448. pTDefRegMap(@Self)^.clr := $00004000
  27449. else
  27450. pTDefRegMap(@Self)^.&set := $00004000;
  27451. end;
  27452. function TINT_IFS1.getCNBIF : TBits_1; inline;
  27453. begin
  27454. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27455. end;
  27456. procedure TINT_IFS1.setCNCIF; inline;
  27457. begin
  27458. pTDefRegMap(@Self)^.&set := $00008000;
  27459. end;
  27460. procedure TINT_IFS1.clearCNCIF; inline;
  27461. begin
  27462. pTDefRegMap(@Self)^.clr := $00008000;
  27463. end;
  27464. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  27465. begin
  27466. if thebits = 0 then
  27467. pTDefRegMap(@Self)^.clr := $00008000
  27468. else
  27469. pTDefRegMap(@Self)^.&set := $00008000;
  27470. end;
  27471. function TINT_IFS1.getCNCIF : TBits_1; inline;
  27472. begin
  27473. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27474. end;
  27475. procedure TINT_IFS1.setPMPIF; inline;
  27476. begin
  27477. pTDefRegMap(@Self)^.&set := $00010000;
  27478. end;
  27479. procedure TINT_IFS1.clearPMPIF; inline;
  27480. begin
  27481. pTDefRegMap(@Self)^.clr := $00010000;
  27482. end;
  27483. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  27484. begin
  27485. if thebits = 0 then
  27486. pTDefRegMap(@Self)^.clr := $00010000
  27487. else
  27488. pTDefRegMap(@Self)^.&set := $00010000;
  27489. end;
  27490. function TINT_IFS1.getPMPIF : TBits_1; inline;
  27491. begin
  27492. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27493. end;
  27494. procedure TINT_IFS1.setPMPEIF; inline;
  27495. begin
  27496. pTDefRegMap(@Self)^.&set := $00020000;
  27497. end;
  27498. procedure TINT_IFS1.clearPMPEIF; inline;
  27499. begin
  27500. pTDefRegMap(@Self)^.clr := $00020000;
  27501. end;
  27502. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27503. begin
  27504. if thebits = 0 then
  27505. pTDefRegMap(@Self)^.clr := $00020000
  27506. else
  27507. pTDefRegMap(@Self)^.&set := $00020000;
  27508. end;
  27509. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27510. begin
  27511. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27512. end;
  27513. procedure TINT_IFS1.setSPI2EIF; inline;
  27514. begin
  27515. pTDefRegMap(@Self)^.&set := $00040000;
  27516. end;
  27517. procedure TINT_IFS1.clearSPI2EIF; inline;
  27518. begin
  27519. pTDefRegMap(@Self)^.clr := $00040000;
  27520. end;
  27521. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27522. begin
  27523. if thebits = 0 then
  27524. pTDefRegMap(@Self)^.clr := $00040000
  27525. else
  27526. pTDefRegMap(@Self)^.&set := $00040000;
  27527. end;
  27528. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27529. begin
  27530. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27531. end;
  27532. procedure TINT_IFS1.setSPI2RXIF; inline;
  27533. begin
  27534. pTDefRegMap(@Self)^.&set := $00080000;
  27535. end;
  27536. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27537. begin
  27538. pTDefRegMap(@Self)^.clr := $00080000;
  27539. end;
  27540. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27541. begin
  27542. if thebits = 0 then
  27543. pTDefRegMap(@Self)^.clr := $00080000
  27544. else
  27545. pTDefRegMap(@Self)^.&set := $00080000;
  27546. end;
  27547. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27548. begin
  27549. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27550. end;
  27551. procedure TINT_IFS1.setSPI2TXIF; inline;
  27552. begin
  27553. pTDefRegMap(@Self)^.&set := $00100000;
  27554. end;
  27555. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27556. begin
  27557. pTDefRegMap(@Self)^.clr := $00100000;
  27558. end;
  27559. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27560. begin
  27561. if thebits = 0 then
  27562. pTDefRegMap(@Self)^.clr := $00100000
  27563. else
  27564. pTDefRegMap(@Self)^.&set := $00100000;
  27565. end;
  27566. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27567. begin
  27568. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27569. end;
  27570. procedure TINT_IFS1.setU2EIF; inline;
  27571. begin
  27572. pTDefRegMap(@Self)^.&set := $00200000;
  27573. end;
  27574. procedure TINT_IFS1.clearU2EIF; inline;
  27575. begin
  27576. pTDefRegMap(@Self)^.clr := $00200000;
  27577. end;
  27578. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27579. begin
  27580. if thebits = 0 then
  27581. pTDefRegMap(@Self)^.clr := $00200000
  27582. else
  27583. pTDefRegMap(@Self)^.&set := $00200000;
  27584. end;
  27585. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27586. begin
  27587. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27588. end;
  27589. procedure TINT_IFS1.setU2RXIF; inline;
  27590. begin
  27591. pTDefRegMap(@Self)^.&set := $00400000;
  27592. end;
  27593. procedure TINT_IFS1.clearU2RXIF; inline;
  27594. begin
  27595. pTDefRegMap(@Self)^.clr := $00400000;
  27596. end;
  27597. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27598. begin
  27599. if thebits = 0 then
  27600. pTDefRegMap(@Self)^.clr := $00400000
  27601. else
  27602. pTDefRegMap(@Self)^.&set := $00400000;
  27603. end;
  27604. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27605. begin
  27606. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27607. end;
  27608. procedure TINT_IFS1.setU2TXIF; inline;
  27609. begin
  27610. pTDefRegMap(@Self)^.&set := $00800000;
  27611. end;
  27612. procedure TINT_IFS1.clearU2TXIF; inline;
  27613. begin
  27614. pTDefRegMap(@Self)^.clr := $00800000;
  27615. end;
  27616. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27617. begin
  27618. if thebits = 0 then
  27619. pTDefRegMap(@Self)^.clr := $00800000
  27620. else
  27621. pTDefRegMap(@Self)^.&set := $00800000;
  27622. end;
  27623. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27624. begin
  27625. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27626. end;
  27627. procedure TINT_IFS1.setI2C2BIF; inline;
  27628. begin
  27629. pTDefRegMap(@Self)^.&set := $01000000;
  27630. end;
  27631. procedure TINT_IFS1.clearI2C2BIF; inline;
  27632. begin
  27633. pTDefRegMap(@Self)^.clr := $01000000;
  27634. end;
  27635. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27636. begin
  27637. if thebits = 0 then
  27638. pTDefRegMap(@Self)^.clr := $01000000
  27639. else
  27640. pTDefRegMap(@Self)^.&set := $01000000;
  27641. end;
  27642. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27643. begin
  27644. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27645. end;
  27646. procedure TINT_IFS1.setI2C2SIF; inline;
  27647. begin
  27648. pTDefRegMap(@Self)^.&set := $02000000;
  27649. end;
  27650. procedure TINT_IFS1.clearI2C2SIF; inline;
  27651. begin
  27652. pTDefRegMap(@Self)^.clr := $02000000;
  27653. end;
  27654. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27655. begin
  27656. if thebits = 0 then
  27657. pTDefRegMap(@Self)^.clr := $02000000
  27658. else
  27659. pTDefRegMap(@Self)^.&set := $02000000;
  27660. end;
  27661. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27662. begin
  27663. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27664. end;
  27665. procedure TINT_IFS1.setI2C2MIF; inline;
  27666. begin
  27667. pTDefRegMap(@Self)^.&set := $04000000;
  27668. end;
  27669. procedure TINT_IFS1.clearI2C2MIF; inline;
  27670. begin
  27671. pTDefRegMap(@Self)^.clr := $04000000;
  27672. end;
  27673. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27674. begin
  27675. if thebits = 0 then
  27676. pTDefRegMap(@Self)^.clr := $04000000
  27677. else
  27678. pTDefRegMap(@Self)^.&set := $04000000;
  27679. end;
  27680. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27681. begin
  27682. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27683. end;
  27684. procedure TINT_IFS1.setCTMUIF; inline;
  27685. begin
  27686. pTDefRegMap(@Self)^.&set := $08000000;
  27687. end;
  27688. procedure TINT_IFS1.clearCTMUIF; inline;
  27689. begin
  27690. pTDefRegMap(@Self)^.clr := $08000000;
  27691. end;
  27692. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27693. begin
  27694. if thebits = 0 then
  27695. pTDefRegMap(@Self)^.clr := $08000000
  27696. else
  27697. pTDefRegMap(@Self)^.&set := $08000000;
  27698. end;
  27699. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27700. begin
  27701. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27702. end;
  27703. procedure TINT_IFS1.setDMA0IF; inline;
  27704. begin
  27705. pTDefRegMap(@Self)^.&set := $10000000;
  27706. end;
  27707. procedure TINT_IFS1.clearDMA0IF; inline;
  27708. begin
  27709. pTDefRegMap(@Self)^.clr := $10000000;
  27710. end;
  27711. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27712. begin
  27713. if thebits = 0 then
  27714. pTDefRegMap(@Self)^.clr := $10000000
  27715. else
  27716. pTDefRegMap(@Self)^.&set := $10000000;
  27717. end;
  27718. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27719. begin
  27720. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27721. end;
  27722. procedure TINT_IFS1.setDMA1IF; inline;
  27723. begin
  27724. pTDefRegMap(@Self)^.&set := $20000000;
  27725. end;
  27726. procedure TINT_IFS1.clearDMA1IF; inline;
  27727. begin
  27728. pTDefRegMap(@Self)^.clr := $20000000;
  27729. end;
  27730. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27731. begin
  27732. if thebits = 0 then
  27733. pTDefRegMap(@Self)^.clr := $20000000
  27734. else
  27735. pTDefRegMap(@Self)^.&set := $20000000;
  27736. end;
  27737. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27738. begin
  27739. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27740. end;
  27741. procedure TINT_IFS1.setDMA2IF; inline;
  27742. begin
  27743. pTDefRegMap(@Self)^.&set := $40000000;
  27744. end;
  27745. procedure TINT_IFS1.clearDMA2IF; inline;
  27746. begin
  27747. pTDefRegMap(@Self)^.clr := $40000000;
  27748. end;
  27749. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27750. begin
  27751. if thebits = 0 then
  27752. pTDefRegMap(@Self)^.clr := $40000000
  27753. else
  27754. pTDefRegMap(@Self)^.&set := $40000000;
  27755. end;
  27756. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27757. begin
  27758. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27759. end;
  27760. procedure TINT_IFS1.setDMA3IF; inline;
  27761. begin
  27762. pTDefRegMap(@Self)^.&set := $80000000;
  27763. end;
  27764. procedure TINT_IFS1.clearDMA3IF; inline;
  27765. begin
  27766. pTDefRegMap(@Self)^.clr := $80000000;
  27767. end;
  27768. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27769. begin
  27770. if thebits = 0 then
  27771. pTDefRegMap(@Self)^.clr := $80000000
  27772. else
  27773. pTDefRegMap(@Self)^.&set := $80000000;
  27774. end;
  27775. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27776. begin
  27777. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27778. end;
  27779. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27780. begin
  27781. pTDefRegMap(@Self)^.val := thebits;
  27782. end;
  27783. function TINT_IFS1.getw : TBits_32; inline;
  27784. begin
  27785. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27786. end;
  27787. procedure TINT_IEC0.setCTIE; inline;
  27788. begin
  27789. pTDefRegMap(@Self)^.&set := $00000001;
  27790. end;
  27791. procedure TINT_IEC0.clearCTIE; inline;
  27792. begin
  27793. pTDefRegMap(@Self)^.clr := $00000001;
  27794. end;
  27795. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27796. begin
  27797. if thebits = 0 then
  27798. pTDefRegMap(@Self)^.clr := $00000001
  27799. else
  27800. pTDefRegMap(@Self)^.&set := $00000001;
  27801. end;
  27802. function TINT_IEC0.getCTIE : TBits_1; inline;
  27803. begin
  27804. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27805. end;
  27806. procedure TINT_IEC0.setCS0IE; inline;
  27807. begin
  27808. pTDefRegMap(@Self)^.&set := $00000002;
  27809. end;
  27810. procedure TINT_IEC0.clearCS0IE; inline;
  27811. begin
  27812. pTDefRegMap(@Self)^.clr := $00000002;
  27813. end;
  27814. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27815. begin
  27816. if thebits = 0 then
  27817. pTDefRegMap(@Self)^.clr := $00000002
  27818. else
  27819. pTDefRegMap(@Self)^.&set := $00000002;
  27820. end;
  27821. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27822. begin
  27823. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27824. end;
  27825. procedure TINT_IEC0.setCS1IE; inline;
  27826. begin
  27827. pTDefRegMap(@Self)^.&set := $00000004;
  27828. end;
  27829. procedure TINT_IEC0.clearCS1IE; inline;
  27830. begin
  27831. pTDefRegMap(@Self)^.clr := $00000004;
  27832. end;
  27833. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27834. begin
  27835. if thebits = 0 then
  27836. pTDefRegMap(@Self)^.clr := $00000004
  27837. else
  27838. pTDefRegMap(@Self)^.&set := $00000004;
  27839. end;
  27840. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27841. begin
  27842. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27843. end;
  27844. procedure TINT_IEC0.setINT0IE; inline;
  27845. begin
  27846. pTDefRegMap(@Self)^.&set := $00000008;
  27847. end;
  27848. procedure TINT_IEC0.clearINT0IE; inline;
  27849. begin
  27850. pTDefRegMap(@Self)^.clr := $00000008;
  27851. end;
  27852. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27853. begin
  27854. if thebits = 0 then
  27855. pTDefRegMap(@Self)^.clr := $00000008
  27856. else
  27857. pTDefRegMap(@Self)^.&set := $00000008;
  27858. end;
  27859. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27860. begin
  27861. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27862. end;
  27863. procedure TINT_IEC0.setT1IE; inline;
  27864. begin
  27865. pTDefRegMap(@Self)^.&set := $00000010;
  27866. end;
  27867. procedure TINT_IEC0.clearT1IE; inline;
  27868. begin
  27869. pTDefRegMap(@Self)^.clr := $00000010;
  27870. end;
  27871. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27872. begin
  27873. if thebits = 0 then
  27874. pTDefRegMap(@Self)^.clr := $00000010
  27875. else
  27876. pTDefRegMap(@Self)^.&set := $00000010;
  27877. end;
  27878. function TINT_IEC0.getT1IE : TBits_1; inline;
  27879. begin
  27880. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27881. end;
  27882. procedure TINT_IEC0.setIC1EIE; inline;
  27883. begin
  27884. pTDefRegMap(@Self)^.&set := $00000020;
  27885. end;
  27886. procedure TINT_IEC0.clearIC1EIE; inline;
  27887. begin
  27888. pTDefRegMap(@Self)^.clr := $00000020;
  27889. end;
  27890. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27891. begin
  27892. if thebits = 0 then
  27893. pTDefRegMap(@Self)^.clr := $00000020
  27894. else
  27895. pTDefRegMap(@Self)^.&set := $00000020;
  27896. end;
  27897. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27898. begin
  27899. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27900. end;
  27901. procedure TINT_IEC0.setIC1IE; inline;
  27902. begin
  27903. pTDefRegMap(@Self)^.&set := $00000040;
  27904. end;
  27905. procedure TINT_IEC0.clearIC1IE; inline;
  27906. begin
  27907. pTDefRegMap(@Self)^.clr := $00000040;
  27908. end;
  27909. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27910. begin
  27911. if thebits = 0 then
  27912. pTDefRegMap(@Self)^.clr := $00000040
  27913. else
  27914. pTDefRegMap(@Self)^.&set := $00000040;
  27915. end;
  27916. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27917. begin
  27918. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27919. end;
  27920. procedure TINT_IEC0.setOC1IE; inline;
  27921. begin
  27922. pTDefRegMap(@Self)^.&set := $00000080;
  27923. end;
  27924. procedure TINT_IEC0.clearOC1IE; inline;
  27925. begin
  27926. pTDefRegMap(@Self)^.clr := $00000080;
  27927. end;
  27928. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27929. begin
  27930. if thebits = 0 then
  27931. pTDefRegMap(@Self)^.clr := $00000080
  27932. else
  27933. pTDefRegMap(@Self)^.&set := $00000080;
  27934. end;
  27935. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27936. begin
  27937. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27938. end;
  27939. procedure TINT_IEC0.setINT1IE; inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.&set := $00000100;
  27942. end;
  27943. procedure TINT_IEC0.clearINT1IE; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.clr := $00000100;
  27946. end;
  27947. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27948. begin
  27949. if thebits = 0 then
  27950. pTDefRegMap(@Self)^.clr := $00000100
  27951. else
  27952. pTDefRegMap(@Self)^.&set := $00000100;
  27953. end;
  27954. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27955. begin
  27956. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27957. end;
  27958. procedure TINT_IEC0.setT2IE; inline;
  27959. begin
  27960. pTDefRegMap(@Self)^.&set := $00000200;
  27961. end;
  27962. procedure TINT_IEC0.clearT2IE; inline;
  27963. begin
  27964. pTDefRegMap(@Self)^.clr := $00000200;
  27965. end;
  27966. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27967. begin
  27968. if thebits = 0 then
  27969. pTDefRegMap(@Self)^.clr := $00000200
  27970. else
  27971. pTDefRegMap(@Self)^.&set := $00000200;
  27972. end;
  27973. function TINT_IEC0.getT2IE : TBits_1; inline;
  27974. begin
  27975. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27976. end;
  27977. procedure TINT_IEC0.setIC2EIE; inline;
  27978. begin
  27979. pTDefRegMap(@Self)^.&set := $00000400;
  27980. end;
  27981. procedure TINT_IEC0.clearIC2EIE; inline;
  27982. begin
  27983. pTDefRegMap(@Self)^.clr := $00000400;
  27984. end;
  27985. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27986. begin
  27987. if thebits = 0 then
  27988. pTDefRegMap(@Self)^.clr := $00000400
  27989. else
  27990. pTDefRegMap(@Self)^.&set := $00000400;
  27991. end;
  27992. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27993. begin
  27994. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27995. end;
  27996. procedure TINT_IEC0.setIC2IE; inline;
  27997. begin
  27998. pTDefRegMap(@Self)^.&set := $00000800;
  27999. end;
  28000. procedure TINT_IEC0.clearIC2IE; inline;
  28001. begin
  28002. pTDefRegMap(@Self)^.clr := $00000800;
  28003. end;
  28004. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  28005. begin
  28006. if thebits = 0 then
  28007. pTDefRegMap(@Self)^.clr := $00000800
  28008. else
  28009. pTDefRegMap(@Self)^.&set := $00000800;
  28010. end;
  28011. function TINT_IEC0.getIC2IE : TBits_1; inline;
  28012. begin
  28013. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28014. end;
  28015. procedure TINT_IEC0.setOC2IE; inline;
  28016. begin
  28017. pTDefRegMap(@Self)^.&set := $00001000;
  28018. end;
  28019. procedure TINT_IEC0.clearOC2IE; inline;
  28020. begin
  28021. pTDefRegMap(@Self)^.clr := $00001000;
  28022. end;
  28023. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  28024. begin
  28025. if thebits = 0 then
  28026. pTDefRegMap(@Self)^.clr := $00001000
  28027. else
  28028. pTDefRegMap(@Self)^.&set := $00001000;
  28029. end;
  28030. function TINT_IEC0.getOC2IE : TBits_1; inline;
  28031. begin
  28032. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28033. end;
  28034. procedure TINT_IEC0.setINT2IE; inline;
  28035. begin
  28036. pTDefRegMap(@Self)^.&set := $00002000;
  28037. end;
  28038. procedure TINT_IEC0.clearINT2IE; inline;
  28039. begin
  28040. pTDefRegMap(@Self)^.clr := $00002000;
  28041. end;
  28042. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  28043. begin
  28044. if thebits = 0 then
  28045. pTDefRegMap(@Self)^.clr := $00002000
  28046. else
  28047. pTDefRegMap(@Self)^.&set := $00002000;
  28048. end;
  28049. function TINT_IEC0.getINT2IE : TBits_1; inline;
  28050. begin
  28051. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28052. end;
  28053. procedure TINT_IEC0.setT3IE; inline;
  28054. begin
  28055. pTDefRegMap(@Self)^.&set := $00004000;
  28056. end;
  28057. procedure TINT_IEC0.clearT3IE; inline;
  28058. begin
  28059. pTDefRegMap(@Self)^.clr := $00004000;
  28060. end;
  28061. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  28062. begin
  28063. if thebits = 0 then
  28064. pTDefRegMap(@Self)^.clr := $00004000
  28065. else
  28066. pTDefRegMap(@Self)^.&set := $00004000;
  28067. end;
  28068. function TINT_IEC0.getT3IE : TBits_1; inline;
  28069. begin
  28070. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28071. end;
  28072. procedure TINT_IEC0.setIC3EIE; inline;
  28073. begin
  28074. pTDefRegMap(@Self)^.&set := $00008000;
  28075. end;
  28076. procedure TINT_IEC0.clearIC3EIE; inline;
  28077. begin
  28078. pTDefRegMap(@Self)^.clr := $00008000;
  28079. end;
  28080. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  28081. begin
  28082. if thebits = 0 then
  28083. pTDefRegMap(@Self)^.clr := $00008000
  28084. else
  28085. pTDefRegMap(@Self)^.&set := $00008000;
  28086. end;
  28087. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  28088. begin
  28089. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28090. end;
  28091. procedure TINT_IEC0.setIC3IE; inline;
  28092. begin
  28093. pTDefRegMap(@Self)^.&set := $00010000;
  28094. end;
  28095. procedure TINT_IEC0.clearIC3IE; inline;
  28096. begin
  28097. pTDefRegMap(@Self)^.clr := $00010000;
  28098. end;
  28099. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  28100. begin
  28101. if thebits = 0 then
  28102. pTDefRegMap(@Self)^.clr := $00010000
  28103. else
  28104. pTDefRegMap(@Self)^.&set := $00010000;
  28105. end;
  28106. function TINT_IEC0.getIC3IE : TBits_1; inline;
  28107. begin
  28108. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28109. end;
  28110. procedure TINT_IEC0.setOC3IE; inline;
  28111. begin
  28112. pTDefRegMap(@Self)^.&set := $00020000;
  28113. end;
  28114. procedure TINT_IEC0.clearOC3IE; inline;
  28115. begin
  28116. pTDefRegMap(@Self)^.clr := $00020000;
  28117. end;
  28118. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  28119. begin
  28120. if thebits = 0 then
  28121. pTDefRegMap(@Self)^.clr := $00020000
  28122. else
  28123. pTDefRegMap(@Self)^.&set := $00020000;
  28124. end;
  28125. function TINT_IEC0.getOC3IE : TBits_1; inline;
  28126. begin
  28127. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28128. end;
  28129. procedure TINT_IEC0.setINT3IE; inline;
  28130. begin
  28131. pTDefRegMap(@Self)^.&set := $00040000;
  28132. end;
  28133. procedure TINT_IEC0.clearINT3IE; inline;
  28134. begin
  28135. pTDefRegMap(@Self)^.clr := $00040000;
  28136. end;
  28137. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  28138. begin
  28139. if thebits = 0 then
  28140. pTDefRegMap(@Self)^.clr := $00040000
  28141. else
  28142. pTDefRegMap(@Self)^.&set := $00040000;
  28143. end;
  28144. function TINT_IEC0.getINT3IE : TBits_1; inline;
  28145. begin
  28146. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28147. end;
  28148. procedure TINT_IEC0.setT4IE; inline;
  28149. begin
  28150. pTDefRegMap(@Self)^.&set := $00080000;
  28151. end;
  28152. procedure TINT_IEC0.clearT4IE; inline;
  28153. begin
  28154. pTDefRegMap(@Self)^.clr := $00080000;
  28155. end;
  28156. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  28157. begin
  28158. if thebits = 0 then
  28159. pTDefRegMap(@Self)^.clr := $00080000
  28160. else
  28161. pTDefRegMap(@Self)^.&set := $00080000;
  28162. end;
  28163. function TINT_IEC0.getT4IE : TBits_1; inline;
  28164. begin
  28165. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28166. end;
  28167. procedure TINT_IEC0.setIC4EIE; inline;
  28168. begin
  28169. pTDefRegMap(@Self)^.&set := $00100000;
  28170. end;
  28171. procedure TINT_IEC0.clearIC4EIE; inline;
  28172. begin
  28173. pTDefRegMap(@Self)^.clr := $00100000;
  28174. end;
  28175. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  28176. begin
  28177. if thebits = 0 then
  28178. pTDefRegMap(@Self)^.clr := $00100000
  28179. else
  28180. pTDefRegMap(@Self)^.&set := $00100000;
  28181. end;
  28182. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  28183. begin
  28184. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28185. end;
  28186. procedure TINT_IEC0.setIC4IE; inline;
  28187. begin
  28188. pTDefRegMap(@Self)^.&set := $00200000;
  28189. end;
  28190. procedure TINT_IEC0.clearIC4IE; inline;
  28191. begin
  28192. pTDefRegMap(@Self)^.clr := $00200000;
  28193. end;
  28194. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  28195. begin
  28196. if thebits = 0 then
  28197. pTDefRegMap(@Self)^.clr := $00200000
  28198. else
  28199. pTDefRegMap(@Self)^.&set := $00200000;
  28200. end;
  28201. function TINT_IEC0.getIC4IE : TBits_1; inline;
  28202. begin
  28203. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28204. end;
  28205. procedure TINT_IEC0.setOC4IE; inline;
  28206. begin
  28207. pTDefRegMap(@Self)^.&set := $00400000;
  28208. end;
  28209. procedure TINT_IEC0.clearOC4IE; inline;
  28210. begin
  28211. pTDefRegMap(@Self)^.clr := $00400000;
  28212. end;
  28213. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  28214. begin
  28215. if thebits = 0 then
  28216. pTDefRegMap(@Self)^.clr := $00400000
  28217. else
  28218. pTDefRegMap(@Self)^.&set := $00400000;
  28219. end;
  28220. function TINT_IEC0.getOC4IE : TBits_1; inline;
  28221. begin
  28222. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28223. end;
  28224. procedure TINT_IEC0.setINT4IE; inline;
  28225. begin
  28226. pTDefRegMap(@Self)^.&set := $00800000;
  28227. end;
  28228. procedure TINT_IEC0.clearINT4IE; inline;
  28229. begin
  28230. pTDefRegMap(@Self)^.clr := $00800000;
  28231. end;
  28232. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  28233. begin
  28234. if thebits = 0 then
  28235. pTDefRegMap(@Self)^.clr := $00800000
  28236. else
  28237. pTDefRegMap(@Self)^.&set := $00800000;
  28238. end;
  28239. function TINT_IEC0.getINT4IE : TBits_1; inline;
  28240. begin
  28241. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28242. end;
  28243. procedure TINT_IEC0.setT5IE; inline;
  28244. begin
  28245. pTDefRegMap(@Self)^.&set := $01000000;
  28246. end;
  28247. procedure TINT_IEC0.clearT5IE; inline;
  28248. begin
  28249. pTDefRegMap(@Self)^.clr := $01000000;
  28250. end;
  28251. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  28252. begin
  28253. if thebits = 0 then
  28254. pTDefRegMap(@Self)^.clr := $01000000
  28255. else
  28256. pTDefRegMap(@Self)^.&set := $01000000;
  28257. end;
  28258. function TINT_IEC0.getT5IE : TBits_1; inline;
  28259. begin
  28260. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28261. end;
  28262. procedure TINT_IEC0.setIC5EIE; inline;
  28263. begin
  28264. pTDefRegMap(@Self)^.&set := $02000000;
  28265. end;
  28266. procedure TINT_IEC0.clearIC5EIE; inline;
  28267. begin
  28268. pTDefRegMap(@Self)^.clr := $02000000;
  28269. end;
  28270. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  28271. begin
  28272. if thebits = 0 then
  28273. pTDefRegMap(@Self)^.clr := $02000000
  28274. else
  28275. pTDefRegMap(@Self)^.&set := $02000000;
  28276. end;
  28277. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  28278. begin
  28279. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28280. end;
  28281. procedure TINT_IEC0.setIC5IE; inline;
  28282. begin
  28283. pTDefRegMap(@Self)^.&set := $04000000;
  28284. end;
  28285. procedure TINT_IEC0.clearIC5IE; inline;
  28286. begin
  28287. pTDefRegMap(@Self)^.clr := $04000000;
  28288. end;
  28289. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  28290. begin
  28291. if thebits = 0 then
  28292. pTDefRegMap(@Self)^.clr := $04000000
  28293. else
  28294. pTDefRegMap(@Self)^.&set := $04000000;
  28295. end;
  28296. function TINT_IEC0.getIC5IE : TBits_1; inline;
  28297. begin
  28298. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28299. end;
  28300. procedure TINT_IEC0.setOC5IE; inline;
  28301. begin
  28302. pTDefRegMap(@Self)^.&set := $08000000;
  28303. end;
  28304. procedure TINT_IEC0.clearOC5IE; inline;
  28305. begin
  28306. pTDefRegMap(@Self)^.clr := $08000000;
  28307. end;
  28308. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  28309. begin
  28310. if thebits = 0 then
  28311. pTDefRegMap(@Self)^.clr := $08000000
  28312. else
  28313. pTDefRegMap(@Self)^.&set := $08000000;
  28314. end;
  28315. function TINT_IEC0.getOC5IE : TBits_1; inline;
  28316. begin
  28317. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28318. end;
  28319. procedure TINT_IEC0.setAD1IE; inline;
  28320. begin
  28321. pTDefRegMap(@Self)^.&set := $10000000;
  28322. end;
  28323. procedure TINT_IEC0.clearAD1IE; inline;
  28324. begin
  28325. pTDefRegMap(@Self)^.clr := $10000000;
  28326. end;
  28327. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  28328. begin
  28329. if thebits = 0 then
  28330. pTDefRegMap(@Self)^.clr := $10000000
  28331. else
  28332. pTDefRegMap(@Self)^.&set := $10000000;
  28333. end;
  28334. function TINT_IEC0.getAD1IE : TBits_1; inline;
  28335. begin
  28336. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28337. end;
  28338. procedure TINT_IEC0.setFSCMIE; inline;
  28339. begin
  28340. pTDefRegMap(@Self)^.&set := $20000000;
  28341. end;
  28342. procedure TINT_IEC0.clearFSCMIE; inline;
  28343. begin
  28344. pTDefRegMap(@Self)^.clr := $20000000;
  28345. end;
  28346. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  28347. begin
  28348. if thebits = 0 then
  28349. pTDefRegMap(@Self)^.clr := $20000000
  28350. else
  28351. pTDefRegMap(@Self)^.&set := $20000000;
  28352. end;
  28353. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  28354. begin
  28355. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28356. end;
  28357. procedure TINT_IEC0.setRTCCIE; inline;
  28358. begin
  28359. pTDefRegMap(@Self)^.&set := $40000000;
  28360. end;
  28361. procedure TINT_IEC0.clearRTCCIE; inline;
  28362. begin
  28363. pTDefRegMap(@Self)^.clr := $40000000;
  28364. end;
  28365. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  28366. begin
  28367. if thebits = 0 then
  28368. pTDefRegMap(@Self)^.clr := $40000000
  28369. else
  28370. pTDefRegMap(@Self)^.&set := $40000000;
  28371. end;
  28372. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  28373. begin
  28374. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28375. end;
  28376. procedure TINT_IEC0.setFCEIE; inline;
  28377. begin
  28378. pTDefRegMap(@Self)^.&set := $80000000;
  28379. end;
  28380. procedure TINT_IEC0.clearFCEIE; inline;
  28381. begin
  28382. pTDefRegMap(@Self)^.clr := $80000000;
  28383. end;
  28384. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  28385. begin
  28386. if thebits = 0 then
  28387. pTDefRegMap(@Self)^.clr := $80000000
  28388. else
  28389. pTDefRegMap(@Self)^.&set := $80000000;
  28390. end;
  28391. function TINT_IEC0.getFCEIE : TBits_1; inline;
  28392. begin
  28393. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28394. end;
  28395. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  28396. begin
  28397. pTDefRegMap(@Self)^.val := thebits;
  28398. end;
  28399. function TINT_IEC0.getw : TBits_32; inline;
  28400. begin
  28401. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28402. end;
  28403. procedure TINT_IEC1.setCMP1IE; inline;
  28404. begin
  28405. pTDefRegMap(@Self)^.&set := $00000001;
  28406. end;
  28407. procedure TINT_IEC1.clearCMP1IE; inline;
  28408. begin
  28409. pTDefRegMap(@Self)^.clr := $00000001;
  28410. end;
  28411. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  28412. begin
  28413. if thebits = 0 then
  28414. pTDefRegMap(@Self)^.clr := $00000001
  28415. else
  28416. pTDefRegMap(@Self)^.&set := $00000001;
  28417. end;
  28418. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  28419. begin
  28420. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28421. end;
  28422. procedure TINT_IEC1.setCMP2IE; inline;
  28423. begin
  28424. pTDefRegMap(@Self)^.&set := $00000002;
  28425. end;
  28426. procedure TINT_IEC1.clearCMP2IE; inline;
  28427. begin
  28428. pTDefRegMap(@Self)^.clr := $00000002;
  28429. end;
  28430. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  28431. begin
  28432. if thebits = 0 then
  28433. pTDefRegMap(@Self)^.clr := $00000002
  28434. else
  28435. pTDefRegMap(@Self)^.&set := $00000002;
  28436. end;
  28437. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  28438. begin
  28439. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28440. end;
  28441. procedure TINT_IEC1.setCMP3IE; inline;
  28442. begin
  28443. pTDefRegMap(@Self)^.&set := $00000004;
  28444. end;
  28445. procedure TINT_IEC1.clearCMP3IE; inline;
  28446. begin
  28447. pTDefRegMap(@Self)^.clr := $00000004;
  28448. end;
  28449. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  28450. begin
  28451. if thebits = 0 then
  28452. pTDefRegMap(@Self)^.clr := $00000004
  28453. else
  28454. pTDefRegMap(@Self)^.&set := $00000004;
  28455. end;
  28456. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  28457. begin
  28458. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28459. end;
  28460. procedure TINT_IEC1.setSPI1EIE; inline;
  28461. begin
  28462. pTDefRegMap(@Self)^.&set := $00000010;
  28463. end;
  28464. procedure TINT_IEC1.clearSPI1EIE; inline;
  28465. begin
  28466. pTDefRegMap(@Self)^.clr := $00000010;
  28467. end;
  28468. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  28469. begin
  28470. if thebits = 0 then
  28471. pTDefRegMap(@Self)^.clr := $00000010
  28472. else
  28473. pTDefRegMap(@Self)^.&set := $00000010;
  28474. end;
  28475. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  28476. begin
  28477. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28478. end;
  28479. procedure TINT_IEC1.setSPI1RXIE; inline;
  28480. begin
  28481. pTDefRegMap(@Self)^.&set := $00000020;
  28482. end;
  28483. procedure TINT_IEC1.clearSPI1RXIE; inline;
  28484. begin
  28485. pTDefRegMap(@Self)^.clr := $00000020;
  28486. end;
  28487. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  28488. begin
  28489. if thebits = 0 then
  28490. pTDefRegMap(@Self)^.clr := $00000020
  28491. else
  28492. pTDefRegMap(@Self)^.&set := $00000020;
  28493. end;
  28494. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28495. begin
  28496. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28497. end;
  28498. procedure TINT_IEC1.setSPI1TXIE; inline;
  28499. begin
  28500. pTDefRegMap(@Self)^.&set := $00000040;
  28501. end;
  28502. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28503. begin
  28504. pTDefRegMap(@Self)^.clr := $00000040;
  28505. end;
  28506. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28507. begin
  28508. if thebits = 0 then
  28509. pTDefRegMap(@Self)^.clr := $00000040
  28510. else
  28511. pTDefRegMap(@Self)^.&set := $00000040;
  28512. end;
  28513. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28514. begin
  28515. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28516. end;
  28517. procedure TINT_IEC1.setU1EIE; inline;
  28518. begin
  28519. pTDefRegMap(@Self)^.&set := $00000080;
  28520. end;
  28521. procedure TINT_IEC1.clearU1EIE; inline;
  28522. begin
  28523. pTDefRegMap(@Self)^.clr := $00000080;
  28524. end;
  28525. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28526. begin
  28527. if thebits = 0 then
  28528. pTDefRegMap(@Self)^.clr := $00000080
  28529. else
  28530. pTDefRegMap(@Self)^.&set := $00000080;
  28531. end;
  28532. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28533. begin
  28534. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28535. end;
  28536. procedure TINT_IEC1.setU1RXIE; inline;
  28537. begin
  28538. pTDefRegMap(@Self)^.&set := $00000100;
  28539. end;
  28540. procedure TINT_IEC1.clearU1RXIE; inline;
  28541. begin
  28542. pTDefRegMap(@Self)^.clr := $00000100;
  28543. end;
  28544. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28545. begin
  28546. if thebits = 0 then
  28547. pTDefRegMap(@Self)^.clr := $00000100
  28548. else
  28549. pTDefRegMap(@Self)^.&set := $00000100;
  28550. end;
  28551. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28552. begin
  28553. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28554. end;
  28555. procedure TINT_IEC1.setU1TXIE; inline;
  28556. begin
  28557. pTDefRegMap(@Self)^.&set := $00000200;
  28558. end;
  28559. procedure TINT_IEC1.clearU1TXIE; inline;
  28560. begin
  28561. pTDefRegMap(@Self)^.clr := $00000200;
  28562. end;
  28563. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28564. begin
  28565. if thebits = 0 then
  28566. pTDefRegMap(@Self)^.clr := $00000200
  28567. else
  28568. pTDefRegMap(@Self)^.&set := $00000200;
  28569. end;
  28570. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28571. begin
  28572. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28573. end;
  28574. procedure TINT_IEC1.setI2C1BIE; inline;
  28575. begin
  28576. pTDefRegMap(@Self)^.&set := $00000400;
  28577. end;
  28578. procedure TINT_IEC1.clearI2C1BIE; inline;
  28579. begin
  28580. pTDefRegMap(@Self)^.clr := $00000400;
  28581. end;
  28582. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28583. begin
  28584. if thebits = 0 then
  28585. pTDefRegMap(@Self)^.clr := $00000400
  28586. else
  28587. pTDefRegMap(@Self)^.&set := $00000400;
  28588. end;
  28589. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28590. begin
  28591. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28592. end;
  28593. procedure TINT_IEC1.setI2C1SIE; inline;
  28594. begin
  28595. pTDefRegMap(@Self)^.&set := $00000800;
  28596. end;
  28597. procedure TINT_IEC1.clearI2C1SIE; inline;
  28598. begin
  28599. pTDefRegMap(@Self)^.clr := $00000800;
  28600. end;
  28601. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28602. begin
  28603. if thebits = 0 then
  28604. pTDefRegMap(@Self)^.clr := $00000800
  28605. else
  28606. pTDefRegMap(@Self)^.&set := $00000800;
  28607. end;
  28608. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28609. begin
  28610. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28611. end;
  28612. procedure TINT_IEC1.setI2C1MIE; inline;
  28613. begin
  28614. pTDefRegMap(@Self)^.&set := $00001000;
  28615. end;
  28616. procedure TINT_IEC1.clearI2C1MIE; inline;
  28617. begin
  28618. pTDefRegMap(@Self)^.clr := $00001000;
  28619. end;
  28620. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28621. begin
  28622. if thebits = 0 then
  28623. pTDefRegMap(@Self)^.clr := $00001000
  28624. else
  28625. pTDefRegMap(@Self)^.&set := $00001000;
  28626. end;
  28627. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28628. begin
  28629. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28630. end;
  28631. procedure TINT_IEC1.setCNAIE; inline;
  28632. begin
  28633. pTDefRegMap(@Self)^.&set := $00002000;
  28634. end;
  28635. procedure TINT_IEC1.clearCNAIE; inline;
  28636. begin
  28637. pTDefRegMap(@Self)^.clr := $00002000;
  28638. end;
  28639. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28640. begin
  28641. if thebits = 0 then
  28642. pTDefRegMap(@Self)^.clr := $00002000
  28643. else
  28644. pTDefRegMap(@Self)^.&set := $00002000;
  28645. end;
  28646. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28647. begin
  28648. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28649. end;
  28650. procedure TINT_IEC1.setCNBIE; inline;
  28651. begin
  28652. pTDefRegMap(@Self)^.&set := $00004000;
  28653. end;
  28654. procedure TINT_IEC1.clearCNBIE; inline;
  28655. begin
  28656. pTDefRegMap(@Self)^.clr := $00004000;
  28657. end;
  28658. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28659. begin
  28660. if thebits = 0 then
  28661. pTDefRegMap(@Self)^.clr := $00004000
  28662. else
  28663. pTDefRegMap(@Self)^.&set := $00004000;
  28664. end;
  28665. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28666. begin
  28667. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28668. end;
  28669. procedure TINT_IEC1.setCNCIE; inline;
  28670. begin
  28671. pTDefRegMap(@Self)^.&set := $00008000;
  28672. end;
  28673. procedure TINT_IEC1.clearCNCIE; inline;
  28674. begin
  28675. pTDefRegMap(@Self)^.clr := $00008000;
  28676. end;
  28677. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28678. begin
  28679. if thebits = 0 then
  28680. pTDefRegMap(@Self)^.clr := $00008000
  28681. else
  28682. pTDefRegMap(@Self)^.&set := $00008000;
  28683. end;
  28684. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28685. begin
  28686. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28687. end;
  28688. procedure TINT_IEC1.setPMPIE; inline;
  28689. begin
  28690. pTDefRegMap(@Self)^.&set := $00010000;
  28691. end;
  28692. procedure TINT_IEC1.clearPMPIE; inline;
  28693. begin
  28694. pTDefRegMap(@Self)^.clr := $00010000;
  28695. end;
  28696. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28697. begin
  28698. if thebits = 0 then
  28699. pTDefRegMap(@Self)^.clr := $00010000
  28700. else
  28701. pTDefRegMap(@Self)^.&set := $00010000;
  28702. end;
  28703. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28704. begin
  28705. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28706. end;
  28707. procedure TINT_IEC1.setPMPEIE; inline;
  28708. begin
  28709. pTDefRegMap(@Self)^.&set := $00020000;
  28710. end;
  28711. procedure TINT_IEC1.clearPMPEIE; inline;
  28712. begin
  28713. pTDefRegMap(@Self)^.clr := $00020000;
  28714. end;
  28715. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28716. begin
  28717. if thebits = 0 then
  28718. pTDefRegMap(@Self)^.clr := $00020000
  28719. else
  28720. pTDefRegMap(@Self)^.&set := $00020000;
  28721. end;
  28722. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28723. begin
  28724. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28725. end;
  28726. procedure TINT_IEC1.setSPI2EIE; inline;
  28727. begin
  28728. pTDefRegMap(@Self)^.&set := $00040000;
  28729. end;
  28730. procedure TINT_IEC1.clearSPI2EIE; inline;
  28731. begin
  28732. pTDefRegMap(@Self)^.clr := $00040000;
  28733. end;
  28734. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28735. begin
  28736. if thebits = 0 then
  28737. pTDefRegMap(@Self)^.clr := $00040000
  28738. else
  28739. pTDefRegMap(@Self)^.&set := $00040000;
  28740. end;
  28741. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28742. begin
  28743. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28744. end;
  28745. procedure TINT_IEC1.setSPI2RXIE; inline;
  28746. begin
  28747. pTDefRegMap(@Self)^.&set := $00080000;
  28748. end;
  28749. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28750. begin
  28751. pTDefRegMap(@Self)^.clr := $00080000;
  28752. end;
  28753. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28754. begin
  28755. if thebits = 0 then
  28756. pTDefRegMap(@Self)^.clr := $00080000
  28757. else
  28758. pTDefRegMap(@Self)^.&set := $00080000;
  28759. end;
  28760. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28761. begin
  28762. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28763. end;
  28764. procedure TINT_IEC1.setSPI2TXIE; inline;
  28765. begin
  28766. pTDefRegMap(@Self)^.&set := $00100000;
  28767. end;
  28768. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28769. begin
  28770. pTDefRegMap(@Self)^.clr := $00100000;
  28771. end;
  28772. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28773. begin
  28774. if thebits = 0 then
  28775. pTDefRegMap(@Self)^.clr := $00100000
  28776. else
  28777. pTDefRegMap(@Self)^.&set := $00100000;
  28778. end;
  28779. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28780. begin
  28781. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28782. end;
  28783. procedure TINT_IEC1.setU2EIE; inline;
  28784. begin
  28785. pTDefRegMap(@Self)^.&set := $00200000;
  28786. end;
  28787. procedure TINT_IEC1.clearU2EIE; inline;
  28788. begin
  28789. pTDefRegMap(@Self)^.clr := $00200000;
  28790. end;
  28791. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28792. begin
  28793. if thebits = 0 then
  28794. pTDefRegMap(@Self)^.clr := $00200000
  28795. else
  28796. pTDefRegMap(@Self)^.&set := $00200000;
  28797. end;
  28798. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28799. begin
  28800. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28801. end;
  28802. procedure TINT_IEC1.setU2RXIE; inline;
  28803. begin
  28804. pTDefRegMap(@Self)^.&set := $00400000;
  28805. end;
  28806. procedure TINT_IEC1.clearU2RXIE; inline;
  28807. begin
  28808. pTDefRegMap(@Self)^.clr := $00400000;
  28809. end;
  28810. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28811. begin
  28812. if thebits = 0 then
  28813. pTDefRegMap(@Self)^.clr := $00400000
  28814. else
  28815. pTDefRegMap(@Self)^.&set := $00400000;
  28816. end;
  28817. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28818. begin
  28819. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28820. end;
  28821. procedure TINT_IEC1.setU2TXIE; inline;
  28822. begin
  28823. pTDefRegMap(@Self)^.&set := $00800000;
  28824. end;
  28825. procedure TINT_IEC1.clearU2TXIE; inline;
  28826. begin
  28827. pTDefRegMap(@Self)^.clr := $00800000;
  28828. end;
  28829. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28830. begin
  28831. if thebits = 0 then
  28832. pTDefRegMap(@Self)^.clr := $00800000
  28833. else
  28834. pTDefRegMap(@Self)^.&set := $00800000;
  28835. end;
  28836. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28837. begin
  28838. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28839. end;
  28840. procedure TINT_IEC1.setI2C2BIE; inline;
  28841. begin
  28842. pTDefRegMap(@Self)^.&set := $01000000;
  28843. end;
  28844. procedure TINT_IEC1.clearI2C2BIE; inline;
  28845. begin
  28846. pTDefRegMap(@Self)^.clr := $01000000;
  28847. end;
  28848. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28849. begin
  28850. if thebits = 0 then
  28851. pTDefRegMap(@Self)^.clr := $01000000
  28852. else
  28853. pTDefRegMap(@Self)^.&set := $01000000;
  28854. end;
  28855. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28856. begin
  28857. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28858. end;
  28859. procedure TINT_IEC1.setI2C2SIE; inline;
  28860. begin
  28861. pTDefRegMap(@Self)^.&set := $02000000;
  28862. end;
  28863. procedure TINT_IEC1.clearI2C2SIE; inline;
  28864. begin
  28865. pTDefRegMap(@Self)^.clr := $02000000;
  28866. end;
  28867. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28868. begin
  28869. if thebits = 0 then
  28870. pTDefRegMap(@Self)^.clr := $02000000
  28871. else
  28872. pTDefRegMap(@Self)^.&set := $02000000;
  28873. end;
  28874. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28875. begin
  28876. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28877. end;
  28878. procedure TINT_IEC1.setI2C2MIE; inline;
  28879. begin
  28880. pTDefRegMap(@Self)^.&set := $04000000;
  28881. end;
  28882. procedure TINT_IEC1.clearI2C2MIE; inline;
  28883. begin
  28884. pTDefRegMap(@Self)^.clr := $04000000;
  28885. end;
  28886. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28887. begin
  28888. if thebits = 0 then
  28889. pTDefRegMap(@Self)^.clr := $04000000
  28890. else
  28891. pTDefRegMap(@Self)^.&set := $04000000;
  28892. end;
  28893. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28894. begin
  28895. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28896. end;
  28897. procedure TINT_IEC1.setCTMUIE; inline;
  28898. begin
  28899. pTDefRegMap(@Self)^.&set := $08000000;
  28900. end;
  28901. procedure TINT_IEC1.clearCTMUIE; inline;
  28902. begin
  28903. pTDefRegMap(@Self)^.clr := $08000000;
  28904. end;
  28905. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28906. begin
  28907. if thebits = 0 then
  28908. pTDefRegMap(@Self)^.clr := $08000000
  28909. else
  28910. pTDefRegMap(@Self)^.&set := $08000000;
  28911. end;
  28912. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28913. begin
  28914. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28915. end;
  28916. procedure TINT_IEC1.setDMA0IE; inline;
  28917. begin
  28918. pTDefRegMap(@Self)^.&set := $10000000;
  28919. end;
  28920. procedure TINT_IEC1.clearDMA0IE; inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.clr := $10000000;
  28923. end;
  28924. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28925. begin
  28926. if thebits = 0 then
  28927. pTDefRegMap(@Self)^.clr := $10000000
  28928. else
  28929. pTDefRegMap(@Self)^.&set := $10000000;
  28930. end;
  28931. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28932. begin
  28933. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28934. end;
  28935. procedure TINT_IEC1.setDMA1IE; inline;
  28936. begin
  28937. pTDefRegMap(@Self)^.&set := $20000000;
  28938. end;
  28939. procedure TINT_IEC1.clearDMA1IE; inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.clr := $20000000;
  28942. end;
  28943. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28944. begin
  28945. if thebits = 0 then
  28946. pTDefRegMap(@Self)^.clr := $20000000
  28947. else
  28948. pTDefRegMap(@Self)^.&set := $20000000;
  28949. end;
  28950. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28951. begin
  28952. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28953. end;
  28954. procedure TINT_IEC1.setDMA2IE; inline;
  28955. begin
  28956. pTDefRegMap(@Self)^.&set := $40000000;
  28957. end;
  28958. procedure TINT_IEC1.clearDMA2IE; inline;
  28959. begin
  28960. pTDefRegMap(@Self)^.clr := $40000000;
  28961. end;
  28962. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28963. begin
  28964. if thebits = 0 then
  28965. pTDefRegMap(@Self)^.clr := $40000000
  28966. else
  28967. pTDefRegMap(@Self)^.&set := $40000000;
  28968. end;
  28969. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28970. begin
  28971. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28972. end;
  28973. procedure TINT_IEC1.setDMA3IE; inline;
  28974. begin
  28975. pTDefRegMap(@Self)^.&set := $80000000;
  28976. end;
  28977. procedure TINT_IEC1.clearDMA3IE; inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.clr := $80000000;
  28980. end;
  28981. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28982. begin
  28983. if thebits = 0 then
  28984. pTDefRegMap(@Self)^.clr := $80000000
  28985. else
  28986. pTDefRegMap(@Self)^.&set := $80000000;
  28987. end;
  28988. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28989. begin
  28990. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28991. end;
  28992. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28993. begin
  28994. pTDefRegMap(@Self)^.val := thebits;
  28995. end;
  28996. function TINT_IEC1.getw : TBits_32; inline;
  28997. begin
  28998. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28999. end;
  29000. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29003. end;
  29004. function TINT_IPC0.getCTIS : TBits_2; inline;
  29005. begin
  29006. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29007. end;
  29008. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  29009. begin
  29010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29011. end;
  29012. function TINT_IPC0.getCTIP : TBits_3; inline;
  29013. begin
  29014. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29015. end;
  29016. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  29017. begin
  29018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29019. end;
  29020. function TINT_IPC0.getCS0IS : TBits_2; inline;
  29021. begin
  29022. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29023. end;
  29024. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  29025. begin
  29026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29027. end;
  29028. function TINT_IPC0.getCS0IP : TBits_3; inline;
  29029. begin
  29030. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29031. end;
  29032. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  29033. begin
  29034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29035. end;
  29036. function TINT_IPC0.getCS1IS : TBits_2; inline;
  29037. begin
  29038. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29039. end;
  29040. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  29041. begin
  29042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29043. end;
  29044. function TINT_IPC0.getCS1IP : TBits_3; inline;
  29045. begin
  29046. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29047. end;
  29048. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  29049. begin
  29050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29051. end;
  29052. function TINT_IPC0.getINT0IS : TBits_2; inline;
  29053. begin
  29054. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29055. end;
  29056. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  29057. begin
  29058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29059. end;
  29060. function TINT_IPC0.getINT0IP : TBits_3; inline;
  29061. begin
  29062. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29063. end;
  29064. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  29065. begin
  29066. pTDefRegMap(@Self)^.val := thebits;
  29067. end;
  29068. function TINT_IPC0.getw : TBits_32; inline;
  29069. begin
  29070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29071. end;
  29072. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  29073. begin
  29074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29075. end;
  29076. function TINT_IPC1.getT1IS : TBits_2; inline;
  29077. begin
  29078. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29079. end;
  29080. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  29081. begin
  29082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29083. end;
  29084. function TINT_IPC1.getT1IP : TBits_3; inline;
  29085. begin
  29086. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29087. end;
  29088. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29091. end;
  29092. function TINT_IPC1.getIC1IS : TBits_2; inline;
  29093. begin
  29094. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29095. end;
  29096. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  29097. begin
  29098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29099. end;
  29100. function TINT_IPC1.getIC1IP : TBits_3; inline;
  29101. begin
  29102. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29103. end;
  29104. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  29105. begin
  29106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29107. end;
  29108. function TINT_IPC1.getOC1IS : TBits_2; inline;
  29109. begin
  29110. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29111. end;
  29112. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  29113. begin
  29114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29115. end;
  29116. function TINT_IPC1.getOC1IP : TBits_3; inline;
  29117. begin
  29118. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29119. end;
  29120. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  29121. begin
  29122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29123. end;
  29124. function TINT_IPC1.getINT1IS : TBits_2; inline;
  29125. begin
  29126. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29127. end;
  29128. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  29129. begin
  29130. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29131. end;
  29132. function TINT_IPC1.getINT1IP : TBits_3; inline;
  29133. begin
  29134. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29135. end;
  29136. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  29137. begin
  29138. pTDefRegMap(@Self)^.val := thebits;
  29139. end;
  29140. function TINT_IPC1.getw : TBits_32; inline;
  29141. begin
  29142. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29143. end;
  29144. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  29145. begin
  29146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29147. end;
  29148. function TINT_IPC2.getT2IS : TBits_2; inline;
  29149. begin
  29150. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29151. end;
  29152. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  29153. begin
  29154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29155. end;
  29156. function TINT_IPC2.getT2IP : TBits_3; inline;
  29157. begin
  29158. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29159. end;
  29160. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  29161. begin
  29162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29163. end;
  29164. function TINT_IPC2.getIC2IS : TBits_2; inline;
  29165. begin
  29166. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29167. end;
  29168. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  29169. begin
  29170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29171. end;
  29172. function TINT_IPC2.getIC2IP : TBits_3; inline;
  29173. begin
  29174. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29175. end;
  29176. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  29177. begin
  29178. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29179. end;
  29180. function TINT_IPC2.getOC2IS : TBits_2; inline;
  29181. begin
  29182. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29183. end;
  29184. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  29185. begin
  29186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29187. end;
  29188. function TINT_IPC2.getOC2IP : TBits_3; inline;
  29189. begin
  29190. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29191. end;
  29192. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  29193. begin
  29194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29195. end;
  29196. function TINT_IPC2.getINT2IS : TBits_2; inline;
  29197. begin
  29198. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29199. end;
  29200. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  29201. begin
  29202. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29203. end;
  29204. function TINT_IPC2.getINT2IP : TBits_3; inline;
  29205. begin
  29206. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29207. end;
  29208. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  29209. begin
  29210. pTDefRegMap(@Self)^.val := thebits;
  29211. end;
  29212. function TINT_IPC2.getw : TBits_32; inline;
  29213. begin
  29214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29215. end;
  29216. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  29217. begin
  29218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29219. end;
  29220. function TINT_IPC3.getT3IS : TBits_2; inline;
  29221. begin
  29222. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29223. end;
  29224. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  29225. begin
  29226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29227. end;
  29228. function TINT_IPC3.getT3IP : TBits_3; inline;
  29229. begin
  29230. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29231. end;
  29232. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  29233. begin
  29234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29235. end;
  29236. function TINT_IPC3.getIC3IS : TBits_2; inline;
  29237. begin
  29238. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29239. end;
  29240. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  29241. begin
  29242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29243. end;
  29244. function TINT_IPC3.getIC3IP : TBits_3; inline;
  29245. begin
  29246. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29247. end;
  29248. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  29249. begin
  29250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29251. end;
  29252. function TINT_IPC3.getOC3IS : TBits_2; inline;
  29253. begin
  29254. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29255. end;
  29256. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29259. end;
  29260. function TINT_IPC3.getOC3IP : TBits_3; inline;
  29261. begin
  29262. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29263. end;
  29264. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  29265. begin
  29266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29267. end;
  29268. function TINT_IPC3.getINT3IS : TBits_2; inline;
  29269. begin
  29270. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29271. end;
  29272. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  29273. begin
  29274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29275. end;
  29276. function TINT_IPC3.getINT3IP : TBits_3; inline;
  29277. begin
  29278. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29279. end;
  29280. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  29281. begin
  29282. pTDefRegMap(@Self)^.val := thebits;
  29283. end;
  29284. function TINT_IPC3.getw : TBits_32; inline;
  29285. begin
  29286. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29287. end;
  29288. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  29289. begin
  29290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29291. end;
  29292. function TINT_IPC4.getT4IS : TBits_2; inline;
  29293. begin
  29294. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29295. end;
  29296. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  29297. begin
  29298. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29299. end;
  29300. function TINT_IPC4.getT4IP : TBits_3; inline;
  29301. begin
  29302. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29303. end;
  29304. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  29305. begin
  29306. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29307. end;
  29308. function TINT_IPC4.getIC4IS : TBits_2; inline;
  29309. begin
  29310. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29311. end;
  29312. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  29313. begin
  29314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29315. end;
  29316. function TINT_IPC4.getIC4IP : TBits_3; inline;
  29317. begin
  29318. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29319. end;
  29320. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  29321. begin
  29322. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29323. end;
  29324. function TINT_IPC4.getOC4IS : TBits_2; inline;
  29325. begin
  29326. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29327. end;
  29328. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  29329. begin
  29330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29331. end;
  29332. function TINT_IPC4.getOC4IP : TBits_3; inline;
  29333. begin
  29334. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29335. end;
  29336. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29339. end;
  29340. function TINT_IPC4.getINT4IS : TBits_2; inline;
  29341. begin
  29342. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29343. end;
  29344. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  29345. begin
  29346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29347. end;
  29348. function TINT_IPC4.getINT4IP : TBits_3; inline;
  29349. begin
  29350. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29351. end;
  29352. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  29353. begin
  29354. pTDefRegMap(@Self)^.val := thebits;
  29355. end;
  29356. function TINT_IPC4.getw : TBits_32; inline;
  29357. begin
  29358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29359. end;
  29360. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  29361. begin
  29362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29363. end;
  29364. function TINT_IPC5.getT5IS : TBits_2; inline;
  29365. begin
  29366. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29367. end;
  29368. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  29369. begin
  29370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29371. end;
  29372. function TINT_IPC5.getT5IP : TBits_3; inline;
  29373. begin
  29374. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29375. end;
  29376. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  29377. begin
  29378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29379. end;
  29380. function TINT_IPC5.getIC5IS : TBits_2; inline;
  29381. begin
  29382. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29383. end;
  29384. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  29385. begin
  29386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29387. end;
  29388. function TINT_IPC5.getIC5IP : TBits_3; inline;
  29389. begin
  29390. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29391. end;
  29392. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  29393. begin
  29394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29395. end;
  29396. function TINT_IPC5.getOC5IS : TBits_2; inline;
  29397. begin
  29398. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29399. end;
  29400. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  29401. begin
  29402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29403. end;
  29404. function TINT_IPC5.getOC5IP : TBits_3; inline;
  29405. begin
  29406. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29407. end;
  29408. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29411. end;
  29412. function TINT_IPC5.getAD1IS : TBits_2; inline;
  29413. begin
  29414. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29415. end;
  29416. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  29417. begin
  29418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29419. end;
  29420. function TINT_IPC5.getAD1IP : TBits_3; inline;
  29421. begin
  29422. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29423. end;
  29424. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  29425. begin
  29426. pTDefRegMap(@Self)^.val := thebits;
  29427. end;
  29428. function TINT_IPC5.getw : TBits_32; inline;
  29429. begin
  29430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29431. end;
  29432. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  29433. begin
  29434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29435. end;
  29436. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  29437. begin
  29438. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29439. end;
  29440. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  29441. begin
  29442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29443. end;
  29444. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  29445. begin
  29446. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29447. end;
  29448. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  29449. begin
  29450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29451. end;
  29452. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  29453. begin
  29454. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29455. end;
  29456. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  29457. begin
  29458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29459. end;
  29460. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  29461. begin
  29462. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29463. end;
  29464. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  29465. begin
  29466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29467. end;
  29468. function TINT_IPC6.getFCEIS : TBits_2; inline;
  29469. begin
  29470. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29471. end;
  29472. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  29473. begin
  29474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29475. end;
  29476. function TINT_IPC6.getFCEIP : TBits_3; inline;
  29477. begin
  29478. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29479. end;
  29480. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  29481. begin
  29482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29483. end;
  29484. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  29485. begin
  29486. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29487. end;
  29488. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  29489. begin
  29490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29491. end;
  29492. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29493. begin
  29494. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29495. end;
  29496. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.val := thebits;
  29499. end;
  29500. function TINT_IPC6.getw : TBits_32; inline;
  29501. begin
  29502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29503. end;
  29504. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29505. begin
  29506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29507. end;
  29508. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29509. begin
  29510. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29511. end;
  29512. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29513. begin
  29514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29515. end;
  29516. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29517. begin
  29518. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29519. end;
  29520. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29521. begin
  29522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29523. end;
  29524. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29525. begin
  29526. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29527. end;
  29528. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29529. begin
  29530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29531. end;
  29532. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29533. begin
  29534. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29535. end;
  29536. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29537. begin
  29538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29539. end;
  29540. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29541. begin
  29542. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29543. end;
  29544. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29545. begin
  29546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29547. end;
  29548. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29549. begin
  29550. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29551. end;
  29552. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29553. begin
  29554. pTDefRegMap(@Self)^.val := thebits;
  29555. end;
  29556. function TINT_IPC7.getw : TBits_32; inline;
  29557. begin
  29558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29559. end;
  29560. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29561. begin
  29562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29563. end;
  29564. function TINT_IPC8.getU1IS : TBits_2; inline;
  29565. begin
  29566. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29567. end;
  29568. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29569. begin
  29570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29571. end;
  29572. function TINT_IPC8.getU1IP : TBits_3; inline;
  29573. begin
  29574. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29575. end;
  29576. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29577. begin
  29578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29579. end;
  29580. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29581. begin
  29582. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29583. end;
  29584. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29585. begin
  29586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29587. end;
  29588. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29589. begin
  29590. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29591. end;
  29592. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29593. begin
  29594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29595. end;
  29596. function TINT_IPC8.getCNIS : TBits_2; inline;
  29597. begin
  29598. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29599. end;
  29600. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29601. begin
  29602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29603. end;
  29604. function TINT_IPC8.getCNIP : TBits_3; inline;
  29605. begin
  29606. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29607. end;
  29608. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29609. begin
  29610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29611. end;
  29612. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29613. begin
  29614. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29615. end;
  29616. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29617. begin
  29618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29619. end;
  29620. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29621. begin
  29622. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29623. end;
  29624. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29625. begin
  29626. pTDefRegMap(@Self)^.val := thebits;
  29627. end;
  29628. function TINT_IPC8.getw : TBits_32; inline;
  29629. begin
  29630. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29631. end;
  29632. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29633. begin
  29634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29635. end;
  29636. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29637. begin
  29638. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29639. end;
  29640. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29641. begin
  29642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29643. end;
  29644. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29645. begin
  29646. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29647. end;
  29648. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29649. begin
  29650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29651. end;
  29652. function TINT_IPC9.getU2IS : TBits_2; inline;
  29653. begin
  29654. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29655. end;
  29656. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29657. begin
  29658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29659. end;
  29660. function TINT_IPC9.getU2IP : TBits_3; inline;
  29661. begin
  29662. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29663. end;
  29664. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29665. begin
  29666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29667. end;
  29668. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29669. begin
  29670. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29671. end;
  29672. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29673. begin
  29674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29675. end;
  29676. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29677. begin
  29678. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29679. end;
  29680. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29681. begin
  29682. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29683. end;
  29684. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29685. begin
  29686. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29687. end;
  29688. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29689. begin
  29690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29691. end;
  29692. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29693. begin
  29694. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29695. end;
  29696. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29697. begin
  29698. pTDefRegMap(@Self)^.val := thebits;
  29699. end;
  29700. function TINT_IPC9.getw : TBits_32; inline;
  29701. begin
  29702. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29703. end;
  29704. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29705. begin
  29706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29707. end;
  29708. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29709. begin
  29710. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29711. end;
  29712. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29713. begin
  29714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29715. end;
  29716. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29717. begin
  29718. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29719. end;
  29720. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29721. begin
  29722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29723. end;
  29724. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29725. begin
  29726. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29727. end;
  29728. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29729. begin
  29730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29731. end;
  29732. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29733. begin
  29734. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29735. end;
  29736. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29737. begin
  29738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29739. end;
  29740. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29741. begin
  29742. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29743. end;
  29744. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29745. begin
  29746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29747. end;
  29748. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29749. begin
  29750. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29751. end;
  29752. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29753. begin
  29754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29755. end;
  29756. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29757. begin
  29758. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29759. end;
  29760. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29761. begin
  29762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29763. end;
  29764. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29765. begin
  29766. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29767. end;
  29768. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29769. begin
  29770. pTDefRegMap(@Self)^.val := thebits;
  29771. end;
  29772. function TINT_IPC10.getw : TBits_32; inline;
  29773. begin
  29774. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29775. end;
  29776. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29777. begin
  29778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29779. end;
  29780. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29781. begin
  29782. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29783. end;
  29784. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29785. begin
  29786. pTDefRegMap(@Self)^.&set := $00000040;
  29787. end;
  29788. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29789. begin
  29790. pTDefRegMap(@Self)^.clr := $00000040;
  29791. end;
  29792. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29793. begin
  29794. if thebits = 0 then
  29795. pTDefRegMap(@Self)^.clr := $00000040
  29796. else
  29797. pTDefRegMap(@Self)^.&set := $00000040;
  29798. end;
  29799. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29800. begin
  29801. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29802. end;
  29803. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29804. begin
  29805. pTDefRegMap(@Self)^.&set := $00010000;
  29806. end;
  29807. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29808. begin
  29809. pTDefRegMap(@Self)^.clr := $00010000;
  29810. end;
  29811. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29812. begin
  29813. if thebits = 0 then
  29814. pTDefRegMap(@Self)^.clr := $00010000
  29815. else
  29816. pTDefRegMap(@Self)^.&set := $00010000;
  29817. end;
  29818. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29819. begin
  29820. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29821. end;
  29822. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29823. begin
  29824. pTDefRegMap(@Self)^.&set := $00020000;
  29825. end;
  29826. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29827. begin
  29828. pTDefRegMap(@Self)^.clr := $00020000;
  29829. end;
  29830. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29831. begin
  29832. if thebits = 0 then
  29833. pTDefRegMap(@Self)^.clr := $00020000
  29834. else
  29835. pTDefRegMap(@Self)^.&set := $00020000;
  29836. end;
  29837. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29838. begin
  29839. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29840. end;
  29841. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29842. begin
  29843. pTDefRegMap(@Self)^.&set := $00040000;
  29844. end;
  29845. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29846. begin
  29847. pTDefRegMap(@Self)^.clr := $00040000;
  29848. end;
  29849. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29850. begin
  29851. if thebits = 0 then
  29852. pTDefRegMap(@Self)^.clr := $00040000
  29853. else
  29854. pTDefRegMap(@Self)^.&set := $00040000;
  29855. end;
  29856. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29857. begin
  29858. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29859. end;
  29860. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29861. begin
  29862. pTDefRegMap(@Self)^.&set := $00080000;
  29863. end;
  29864. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29865. begin
  29866. pTDefRegMap(@Self)^.clr := $00080000;
  29867. end;
  29868. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29869. begin
  29870. if thebits = 0 then
  29871. pTDefRegMap(@Self)^.clr := $00080000
  29872. else
  29873. pTDefRegMap(@Self)^.&set := $00080000;
  29874. end;
  29875. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29876. begin
  29877. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29878. end;
  29879. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29880. begin
  29881. pTDefRegMap(@Self)^.&set := $00100000;
  29882. end;
  29883. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29884. begin
  29885. pTDefRegMap(@Self)^.clr := $00100000;
  29886. end;
  29887. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29888. begin
  29889. if thebits = 0 then
  29890. pTDefRegMap(@Self)^.clr := $00100000
  29891. else
  29892. pTDefRegMap(@Self)^.&set := $00100000;
  29893. end;
  29894. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29895. begin
  29896. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29897. end;
  29898. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29899. begin
  29900. pTDefRegMap(@Self)^.&set := $04000000;
  29901. end;
  29902. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29903. begin
  29904. pTDefRegMap(@Self)^.clr := $04000000;
  29905. end;
  29906. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29907. begin
  29908. if thebits = 0 then
  29909. pTDefRegMap(@Self)^.clr := $04000000
  29910. else
  29911. pTDefRegMap(@Self)^.&set := $04000000;
  29912. end;
  29913. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29914. begin
  29915. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29916. end;
  29917. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29918. begin
  29919. pTDefRegMap(@Self)^.val := thebits;
  29920. end;
  29921. function TBMX_BMXCON.getw : TBits_32; inline;
  29922. begin
  29923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29924. end;
  29925. procedure TDMAC_DMACON.setDMABUSY; inline;
  29926. begin
  29927. pTDefRegMap(@Self)^.&set := $00000800;
  29928. end;
  29929. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29930. begin
  29931. pTDefRegMap(@Self)^.clr := $00000800;
  29932. end;
  29933. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29934. begin
  29935. if thebits = 0 then
  29936. pTDefRegMap(@Self)^.clr := $00000800
  29937. else
  29938. pTDefRegMap(@Self)^.&set := $00000800;
  29939. end;
  29940. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29941. begin
  29942. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29943. end;
  29944. procedure TDMAC_DMACON.setSUSPEND; inline;
  29945. begin
  29946. pTDefRegMap(@Self)^.&set := $00001000;
  29947. end;
  29948. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29949. begin
  29950. pTDefRegMap(@Self)^.clr := $00001000;
  29951. end;
  29952. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29953. begin
  29954. if thebits = 0 then
  29955. pTDefRegMap(@Self)^.clr := $00001000
  29956. else
  29957. pTDefRegMap(@Self)^.&set := $00001000;
  29958. end;
  29959. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29960. begin
  29961. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29962. end;
  29963. procedure TDMAC_DMACON.setON; inline;
  29964. begin
  29965. pTDefRegMap(@Self)^.&set := $00008000;
  29966. end;
  29967. procedure TDMAC_DMACON.clearON; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.clr := $00008000;
  29970. end;
  29971. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29972. begin
  29973. if thebits = 0 then
  29974. pTDefRegMap(@Self)^.clr := $00008000
  29975. else
  29976. pTDefRegMap(@Self)^.&set := $00008000;
  29977. end;
  29978. function TDMAC_DMACON.getON : TBits_1; inline;
  29979. begin
  29980. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29981. end;
  29982. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29983. begin
  29984. pTDefRegMap(@Self)^.val := thebits;
  29985. end;
  29986. function TDMAC_DMACON.getw : TBits_32; inline;
  29987. begin
  29988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29989. end;
  29990. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29991. begin
  29992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29993. end;
  29994. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29995. begin
  29996. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29997. end;
  29998. procedure TDMAC_DMASTAT.setRDWR; inline;
  29999. begin
  30000. pTDefRegMap(@Self)^.&set := $00000008;
  30001. end;
  30002. procedure TDMAC_DMASTAT.clearRDWR; inline;
  30003. begin
  30004. pTDefRegMap(@Self)^.clr := $00000008;
  30005. end;
  30006. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  30007. begin
  30008. if thebits = 0 then
  30009. pTDefRegMap(@Self)^.clr := $00000008
  30010. else
  30011. pTDefRegMap(@Self)^.&set := $00000008;
  30012. end;
  30013. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  30014. begin
  30015. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30016. end;
  30017. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  30018. begin
  30019. pTDefRegMap(@Self)^.val := thebits;
  30020. end;
  30021. function TDMAC_DMASTAT.getw : TBits_32; inline;
  30022. begin
  30023. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30024. end;
  30025. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  30026. begin
  30027. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30028. end;
  30029. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  30030. begin
  30031. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30032. end;
  30033. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  30034. begin
  30035. pTDefRegMap(@Self)^.&set := $00000020;
  30036. end;
  30037. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  30038. begin
  30039. pTDefRegMap(@Self)^.clr := $00000020;
  30040. end;
  30041. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  30042. begin
  30043. if thebits = 0 then
  30044. pTDefRegMap(@Self)^.clr := $00000020
  30045. else
  30046. pTDefRegMap(@Self)^.&set := $00000020;
  30047. end;
  30048. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  30049. begin
  30050. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30051. end;
  30052. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  30053. begin
  30054. pTDefRegMap(@Self)^.&set := $00000040;
  30055. end;
  30056. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  30057. begin
  30058. pTDefRegMap(@Self)^.clr := $00000040;
  30059. end;
  30060. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  30061. begin
  30062. if thebits = 0 then
  30063. pTDefRegMap(@Self)^.clr := $00000040
  30064. else
  30065. pTDefRegMap(@Self)^.&set := $00000040;
  30066. end;
  30067. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  30068. begin
  30069. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30070. end;
  30071. procedure TDMAC_DCRCCON.setCRCEN; inline;
  30072. begin
  30073. pTDefRegMap(@Self)^.&set := $00000080;
  30074. end;
  30075. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  30076. begin
  30077. pTDefRegMap(@Self)^.clr := $00000080;
  30078. end;
  30079. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  30080. begin
  30081. if thebits = 0 then
  30082. pTDefRegMap(@Self)^.clr := $00000080
  30083. else
  30084. pTDefRegMap(@Self)^.&set := $00000080;
  30085. end;
  30086. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  30087. begin
  30088. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30089. end;
  30090. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  30091. begin
  30092. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  30093. end;
  30094. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  30095. begin
  30096. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  30097. end;
  30098. procedure TDMAC_DCRCCON.setBITO; inline;
  30099. begin
  30100. pTDefRegMap(@Self)^.&set := $01000000;
  30101. end;
  30102. procedure TDMAC_DCRCCON.clearBITO; inline;
  30103. begin
  30104. pTDefRegMap(@Self)^.clr := $01000000;
  30105. end;
  30106. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  30107. begin
  30108. if thebits = 0 then
  30109. pTDefRegMap(@Self)^.clr := $01000000
  30110. else
  30111. pTDefRegMap(@Self)^.&set := $01000000;
  30112. end;
  30113. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  30114. begin
  30115. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30116. end;
  30117. procedure TDMAC_DCRCCON.setWBO; inline;
  30118. begin
  30119. pTDefRegMap(@Self)^.&set := $08000000;
  30120. end;
  30121. procedure TDMAC_DCRCCON.clearWBO; inline;
  30122. begin
  30123. pTDefRegMap(@Self)^.clr := $08000000;
  30124. end;
  30125. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  30126. begin
  30127. if thebits = 0 then
  30128. pTDefRegMap(@Self)^.clr := $08000000
  30129. else
  30130. pTDefRegMap(@Self)^.&set := $08000000;
  30131. end;
  30132. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  30133. begin
  30134. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30135. end;
  30136. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  30137. begin
  30138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  30139. end;
  30140. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  30141. begin
  30142. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  30143. end;
  30144. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  30145. begin
  30146. pTDefRegMap(@Self)^.val := thebits;
  30147. end;
  30148. function TDMAC_DCRCCON.getw : TBits_32; inline;
  30149. begin
  30150. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30151. end;
  30152. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  30153. begin
  30154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30155. end;
  30156. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  30157. begin
  30158. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30159. end;
  30160. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  30161. begin
  30162. pTDefRegMap(@Self)^.&set := $00000004;
  30163. end;
  30164. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  30165. begin
  30166. pTDefRegMap(@Self)^.clr := $00000004;
  30167. end;
  30168. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  30169. begin
  30170. if thebits = 0 then
  30171. pTDefRegMap(@Self)^.clr := $00000004
  30172. else
  30173. pTDefRegMap(@Self)^.&set := $00000004;
  30174. end;
  30175. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  30176. begin
  30177. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30178. end;
  30179. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  30180. begin
  30181. pTDefRegMap(@Self)^.&set := $00000010;
  30182. end;
  30183. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  30184. begin
  30185. pTDefRegMap(@Self)^.clr := $00000010;
  30186. end;
  30187. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  30188. begin
  30189. if thebits = 0 then
  30190. pTDefRegMap(@Self)^.clr := $00000010
  30191. else
  30192. pTDefRegMap(@Self)^.&set := $00000010;
  30193. end;
  30194. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  30195. begin
  30196. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30197. end;
  30198. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  30199. begin
  30200. pTDefRegMap(@Self)^.&set := $00000020;
  30201. end;
  30202. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  30203. begin
  30204. pTDefRegMap(@Self)^.clr := $00000020;
  30205. end;
  30206. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  30207. begin
  30208. if thebits = 0 then
  30209. pTDefRegMap(@Self)^.clr := $00000020
  30210. else
  30211. pTDefRegMap(@Self)^.&set := $00000020;
  30212. end;
  30213. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  30214. begin
  30215. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30216. end;
  30217. procedure TDMAC0_DCH0CON.setCHAED; inline;
  30218. begin
  30219. pTDefRegMap(@Self)^.&set := $00000040;
  30220. end;
  30221. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  30222. begin
  30223. pTDefRegMap(@Self)^.clr := $00000040;
  30224. end;
  30225. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  30226. begin
  30227. if thebits = 0 then
  30228. pTDefRegMap(@Self)^.clr := $00000040
  30229. else
  30230. pTDefRegMap(@Self)^.&set := $00000040;
  30231. end;
  30232. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  30233. begin
  30234. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30235. end;
  30236. procedure TDMAC0_DCH0CON.setCHEN; inline;
  30237. begin
  30238. pTDefRegMap(@Self)^.&set := $00000080;
  30239. end;
  30240. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  30241. begin
  30242. pTDefRegMap(@Self)^.clr := $00000080;
  30243. end;
  30244. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  30245. begin
  30246. if thebits = 0 then
  30247. pTDefRegMap(@Self)^.clr := $00000080
  30248. else
  30249. pTDefRegMap(@Self)^.&set := $00000080;
  30250. end;
  30251. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  30252. begin
  30253. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30254. end;
  30255. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  30256. begin
  30257. pTDefRegMap(@Self)^.&set := $00000100;
  30258. end;
  30259. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  30260. begin
  30261. pTDefRegMap(@Self)^.clr := $00000100;
  30262. end;
  30263. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  30264. begin
  30265. if thebits = 0 then
  30266. pTDefRegMap(@Self)^.clr := $00000100
  30267. else
  30268. pTDefRegMap(@Self)^.&set := $00000100;
  30269. end;
  30270. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  30271. begin
  30272. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30273. end;
  30274. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  30275. begin
  30276. pTDefRegMap(@Self)^.&set := $00008000;
  30277. end;
  30278. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  30279. begin
  30280. pTDefRegMap(@Self)^.clr := $00008000;
  30281. end;
  30282. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  30283. begin
  30284. if thebits = 0 then
  30285. pTDefRegMap(@Self)^.clr := $00008000
  30286. else
  30287. pTDefRegMap(@Self)^.&set := $00008000;
  30288. end;
  30289. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  30290. begin
  30291. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30292. end;
  30293. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  30294. begin
  30295. pTDefRegMap(@Self)^.val := thebits;
  30296. end;
  30297. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  30298. begin
  30299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30300. end;
  30301. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  30302. begin
  30303. pTDefRegMap(@Self)^.&set := $00000008;
  30304. end;
  30305. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  30306. begin
  30307. pTDefRegMap(@Self)^.clr := $00000008;
  30308. end;
  30309. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  30310. begin
  30311. if thebits = 0 then
  30312. pTDefRegMap(@Self)^.clr := $00000008
  30313. else
  30314. pTDefRegMap(@Self)^.&set := $00000008;
  30315. end;
  30316. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  30317. begin
  30318. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30319. end;
  30320. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  30321. begin
  30322. pTDefRegMap(@Self)^.&set := $00000010;
  30323. end;
  30324. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  30325. begin
  30326. pTDefRegMap(@Self)^.clr := $00000010;
  30327. end;
  30328. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  30329. begin
  30330. if thebits = 0 then
  30331. pTDefRegMap(@Self)^.clr := $00000010
  30332. else
  30333. pTDefRegMap(@Self)^.&set := $00000010;
  30334. end;
  30335. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  30336. begin
  30337. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30338. end;
  30339. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  30340. begin
  30341. pTDefRegMap(@Self)^.&set := $00000020;
  30342. end;
  30343. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  30344. begin
  30345. pTDefRegMap(@Self)^.clr := $00000020;
  30346. end;
  30347. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  30348. begin
  30349. if thebits = 0 then
  30350. pTDefRegMap(@Self)^.clr := $00000020
  30351. else
  30352. pTDefRegMap(@Self)^.&set := $00000020;
  30353. end;
  30354. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  30355. begin
  30356. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30357. end;
  30358. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  30359. begin
  30360. pTDefRegMap(@Self)^.&set := $00000040;
  30361. end;
  30362. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  30363. begin
  30364. pTDefRegMap(@Self)^.clr := $00000040;
  30365. end;
  30366. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  30367. begin
  30368. if thebits = 0 then
  30369. pTDefRegMap(@Self)^.clr := $00000040
  30370. else
  30371. pTDefRegMap(@Self)^.&set := $00000040;
  30372. end;
  30373. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  30374. begin
  30375. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30376. end;
  30377. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  30378. begin
  30379. pTDefRegMap(@Self)^.&set := $00000080;
  30380. end;
  30381. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  30382. begin
  30383. pTDefRegMap(@Self)^.clr := $00000080;
  30384. end;
  30385. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  30386. begin
  30387. if thebits = 0 then
  30388. pTDefRegMap(@Self)^.clr := $00000080
  30389. else
  30390. pTDefRegMap(@Self)^.&set := $00000080;
  30391. end;
  30392. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  30393. begin
  30394. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30395. end;
  30396. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  30397. begin
  30398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30399. end;
  30400. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  30401. begin
  30402. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30403. end;
  30404. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  30405. begin
  30406. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30407. end;
  30408. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  30409. begin
  30410. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30411. end;
  30412. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  30413. begin
  30414. pTDefRegMap(@Self)^.val := thebits;
  30415. end;
  30416. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  30417. begin
  30418. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30419. end;
  30420. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  30421. begin
  30422. pTDefRegMap(@Self)^.&set := $00000001;
  30423. end;
  30424. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  30425. begin
  30426. pTDefRegMap(@Self)^.clr := $00000001;
  30427. end;
  30428. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  30429. begin
  30430. if thebits = 0 then
  30431. pTDefRegMap(@Self)^.clr := $00000001
  30432. else
  30433. pTDefRegMap(@Self)^.&set := $00000001;
  30434. end;
  30435. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  30436. begin
  30437. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30438. end;
  30439. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  30440. begin
  30441. pTDefRegMap(@Self)^.&set := $00000002;
  30442. end;
  30443. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  30444. begin
  30445. pTDefRegMap(@Self)^.clr := $00000002;
  30446. end;
  30447. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  30448. begin
  30449. if thebits = 0 then
  30450. pTDefRegMap(@Self)^.clr := $00000002
  30451. else
  30452. pTDefRegMap(@Self)^.&set := $00000002;
  30453. end;
  30454. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  30455. begin
  30456. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30457. end;
  30458. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  30459. begin
  30460. pTDefRegMap(@Self)^.&set := $00000004;
  30461. end;
  30462. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.clr := $00000004;
  30465. end;
  30466. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  30467. begin
  30468. if thebits = 0 then
  30469. pTDefRegMap(@Self)^.clr := $00000004
  30470. else
  30471. pTDefRegMap(@Self)^.&set := $00000004;
  30472. end;
  30473. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  30474. begin
  30475. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30476. end;
  30477. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  30478. begin
  30479. pTDefRegMap(@Self)^.&set := $00000008;
  30480. end;
  30481. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.clr := $00000008;
  30484. end;
  30485. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  30486. begin
  30487. if thebits = 0 then
  30488. pTDefRegMap(@Self)^.clr := $00000008
  30489. else
  30490. pTDefRegMap(@Self)^.&set := $00000008;
  30491. end;
  30492. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30493. begin
  30494. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30495. end;
  30496. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30497. begin
  30498. pTDefRegMap(@Self)^.&set := $00000010;
  30499. end;
  30500. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.clr := $00000010;
  30503. end;
  30504. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30505. begin
  30506. if thebits = 0 then
  30507. pTDefRegMap(@Self)^.clr := $00000010
  30508. else
  30509. pTDefRegMap(@Self)^.&set := $00000010;
  30510. end;
  30511. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30512. begin
  30513. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30514. end;
  30515. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30516. begin
  30517. pTDefRegMap(@Self)^.&set := $00000020;
  30518. end;
  30519. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.clr := $00000020;
  30522. end;
  30523. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30524. begin
  30525. if thebits = 0 then
  30526. pTDefRegMap(@Self)^.clr := $00000020
  30527. else
  30528. pTDefRegMap(@Self)^.&set := $00000020;
  30529. end;
  30530. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30531. begin
  30532. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30533. end;
  30534. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30535. begin
  30536. pTDefRegMap(@Self)^.&set := $00000040;
  30537. end;
  30538. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.clr := $00000040;
  30541. end;
  30542. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30543. begin
  30544. if thebits = 0 then
  30545. pTDefRegMap(@Self)^.clr := $00000040
  30546. else
  30547. pTDefRegMap(@Self)^.&set := $00000040;
  30548. end;
  30549. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30550. begin
  30551. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30552. end;
  30553. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30554. begin
  30555. pTDefRegMap(@Self)^.&set := $00000080;
  30556. end;
  30557. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.clr := $00000080;
  30560. end;
  30561. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30562. begin
  30563. if thebits = 0 then
  30564. pTDefRegMap(@Self)^.clr := $00000080
  30565. else
  30566. pTDefRegMap(@Self)^.&set := $00000080;
  30567. end;
  30568. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30569. begin
  30570. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30571. end;
  30572. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30573. begin
  30574. pTDefRegMap(@Self)^.&set := $00010000;
  30575. end;
  30576. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30577. begin
  30578. pTDefRegMap(@Self)^.clr := $00010000;
  30579. end;
  30580. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30581. begin
  30582. if thebits = 0 then
  30583. pTDefRegMap(@Self)^.clr := $00010000
  30584. else
  30585. pTDefRegMap(@Self)^.&set := $00010000;
  30586. end;
  30587. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30588. begin
  30589. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30590. end;
  30591. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30592. begin
  30593. pTDefRegMap(@Self)^.&set := $00020000;
  30594. end;
  30595. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30596. begin
  30597. pTDefRegMap(@Self)^.clr := $00020000;
  30598. end;
  30599. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30600. begin
  30601. if thebits = 0 then
  30602. pTDefRegMap(@Self)^.clr := $00020000
  30603. else
  30604. pTDefRegMap(@Self)^.&set := $00020000;
  30605. end;
  30606. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30607. begin
  30608. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30609. end;
  30610. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30611. begin
  30612. pTDefRegMap(@Self)^.&set := $00040000;
  30613. end;
  30614. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30615. begin
  30616. pTDefRegMap(@Self)^.clr := $00040000;
  30617. end;
  30618. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30619. begin
  30620. if thebits = 0 then
  30621. pTDefRegMap(@Self)^.clr := $00040000
  30622. else
  30623. pTDefRegMap(@Self)^.&set := $00040000;
  30624. end;
  30625. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30626. begin
  30627. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30628. end;
  30629. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30630. begin
  30631. pTDefRegMap(@Self)^.&set := $00080000;
  30632. end;
  30633. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30634. begin
  30635. pTDefRegMap(@Self)^.clr := $00080000;
  30636. end;
  30637. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30638. begin
  30639. if thebits = 0 then
  30640. pTDefRegMap(@Self)^.clr := $00080000
  30641. else
  30642. pTDefRegMap(@Self)^.&set := $00080000;
  30643. end;
  30644. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30645. begin
  30646. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30647. end;
  30648. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30649. begin
  30650. pTDefRegMap(@Self)^.&set := $00100000;
  30651. end;
  30652. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30653. begin
  30654. pTDefRegMap(@Self)^.clr := $00100000;
  30655. end;
  30656. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30657. begin
  30658. if thebits = 0 then
  30659. pTDefRegMap(@Self)^.clr := $00100000
  30660. else
  30661. pTDefRegMap(@Self)^.&set := $00100000;
  30662. end;
  30663. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30664. begin
  30665. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30666. end;
  30667. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30668. begin
  30669. pTDefRegMap(@Self)^.&set := $00200000;
  30670. end;
  30671. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30672. begin
  30673. pTDefRegMap(@Self)^.clr := $00200000;
  30674. end;
  30675. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30676. begin
  30677. if thebits = 0 then
  30678. pTDefRegMap(@Self)^.clr := $00200000
  30679. else
  30680. pTDefRegMap(@Self)^.&set := $00200000;
  30681. end;
  30682. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30683. begin
  30684. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30685. end;
  30686. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30687. begin
  30688. pTDefRegMap(@Self)^.&set := $00400000;
  30689. end;
  30690. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30691. begin
  30692. pTDefRegMap(@Self)^.clr := $00400000;
  30693. end;
  30694. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30695. begin
  30696. if thebits = 0 then
  30697. pTDefRegMap(@Self)^.clr := $00400000
  30698. else
  30699. pTDefRegMap(@Self)^.&set := $00400000;
  30700. end;
  30701. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30702. begin
  30703. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30704. end;
  30705. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30706. begin
  30707. pTDefRegMap(@Self)^.&set := $00800000;
  30708. end;
  30709. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30710. begin
  30711. pTDefRegMap(@Self)^.clr := $00800000;
  30712. end;
  30713. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30714. begin
  30715. if thebits = 0 then
  30716. pTDefRegMap(@Self)^.clr := $00800000
  30717. else
  30718. pTDefRegMap(@Self)^.&set := $00800000;
  30719. end;
  30720. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30721. begin
  30722. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30723. end;
  30724. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30725. begin
  30726. pTDefRegMap(@Self)^.val := thebits;
  30727. end;
  30728. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30729. begin
  30730. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30731. end;
  30732. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30733. begin
  30734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30735. end;
  30736. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30737. begin
  30738. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30739. end;
  30740. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30741. begin
  30742. pTDefRegMap(@Self)^.&set := $00000004;
  30743. end;
  30744. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30745. begin
  30746. pTDefRegMap(@Self)^.clr := $00000004;
  30747. end;
  30748. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30749. begin
  30750. if thebits = 0 then
  30751. pTDefRegMap(@Self)^.clr := $00000004
  30752. else
  30753. pTDefRegMap(@Self)^.&set := $00000004;
  30754. end;
  30755. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30756. begin
  30757. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30758. end;
  30759. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30760. begin
  30761. pTDefRegMap(@Self)^.&set := $00000010;
  30762. end;
  30763. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30764. begin
  30765. pTDefRegMap(@Self)^.clr := $00000010;
  30766. end;
  30767. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30768. begin
  30769. if thebits = 0 then
  30770. pTDefRegMap(@Self)^.clr := $00000010
  30771. else
  30772. pTDefRegMap(@Self)^.&set := $00000010;
  30773. end;
  30774. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30775. begin
  30776. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30777. end;
  30778. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30779. begin
  30780. pTDefRegMap(@Self)^.&set := $00000020;
  30781. end;
  30782. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30783. begin
  30784. pTDefRegMap(@Self)^.clr := $00000020;
  30785. end;
  30786. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30787. begin
  30788. if thebits = 0 then
  30789. pTDefRegMap(@Self)^.clr := $00000020
  30790. else
  30791. pTDefRegMap(@Self)^.&set := $00000020;
  30792. end;
  30793. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30794. begin
  30795. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30796. end;
  30797. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30798. begin
  30799. pTDefRegMap(@Self)^.&set := $00000040;
  30800. end;
  30801. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30802. begin
  30803. pTDefRegMap(@Self)^.clr := $00000040;
  30804. end;
  30805. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30806. begin
  30807. if thebits = 0 then
  30808. pTDefRegMap(@Self)^.clr := $00000040
  30809. else
  30810. pTDefRegMap(@Self)^.&set := $00000040;
  30811. end;
  30812. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30813. begin
  30814. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30815. end;
  30816. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30817. begin
  30818. pTDefRegMap(@Self)^.&set := $00000080;
  30819. end;
  30820. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30821. begin
  30822. pTDefRegMap(@Self)^.clr := $00000080;
  30823. end;
  30824. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30825. begin
  30826. if thebits = 0 then
  30827. pTDefRegMap(@Self)^.clr := $00000080
  30828. else
  30829. pTDefRegMap(@Self)^.&set := $00000080;
  30830. end;
  30831. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30832. begin
  30833. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30834. end;
  30835. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30836. begin
  30837. pTDefRegMap(@Self)^.&set := $00000100;
  30838. end;
  30839. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30840. begin
  30841. pTDefRegMap(@Self)^.clr := $00000100;
  30842. end;
  30843. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30844. begin
  30845. if thebits = 0 then
  30846. pTDefRegMap(@Self)^.clr := $00000100
  30847. else
  30848. pTDefRegMap(@Self)^.&set := $00000100;
  30849. end;
  30850. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30851. begin
  30852. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30853. end;
  30854. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30855. begin
  30856. pTDefRegMap(@Self)^.&set := $00008000;
  30857. end;
  30858. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30859. begin
  30860. pTDefRegMap(@Self)^.clr := $00008000;
  30861. end;
  30862. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30863. begin
  30864. if thebits = 0 then
  30865. pTDefRegMap(@Self)^.clr := $00008000
  30866. else
  30867. pTDefRegMap(@Self)^.&set := $00008000;
  30868. end;
  30869. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30870. begin
  30871. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30872. end;
  30873. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30874. begin
  30875. pTDefRegMap(@Self)^.val := thebits;
  30876. end;
  30877. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30878. begin
  30879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30880. end;
  30881. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30882. begin
  30883. pTDefRegMap(@Self)^.&set := $00000008;
  30884. end;
  30885. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30886. begin
  30887. pTDefRegMap(@Self)^.clr := $00000008;
  30888. end;
  30889. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30890. begin
  30891. if thebits = 0 then
  30892. pTDefRegMap(@Self)^.clr := $00000008
  30893. else
  30894. pTDefRegMap(@Self)^.&set := $00000008;
  30895. end;
  30896. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30897. begin
  30898. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30899. end;
  30900. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30901. begin
  30902. pTDefRegMap(@Self)^.&set := $00000010;
  30903. end;
  30904. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30905. begin
  30906. pTDefRegMap(@Self)^.clr := $00000010;
  30907. end;
  30908. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30909. begin
  30910. if thebits = 0 then
  30911. pTDefRegMap(@Self)^.clr := $00000010
  30912. else
  30913. pTDefRegMap(@Self)^.&set := $00000010;
  30914. end;
  30915. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30916. begin
  30917. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30918. end;
  30919. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30920. begin
  30921. pTDefRegMap(@Self)^.&set := $00000020;
  30922. end;
  30923. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30924. begin
  30925. pTDefRegMap(@Self)^.clr := $00000020;
  30926. end;
  30927. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30928. begin
  30929. if thebits = 0 then
  30930. pTDefRegMap(@Self)^.clr := $00000020
  30931. else
  30932. pTDefRegMap(@Self)^.&set := $00000020;
  30933. end;
  30934. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30935. begin
  30936. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30937. end;
  30938. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30939. begin
  30940. pTDefRegMap(@Self)^.&set := $00000040;
  30941. end;
  30942. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30943. begin
  30944. pTDefRegMap(@Self)^.clr := $00000040;
  30945. end;
  30946. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30947. begin
  30948. if thebits = 0 then
  30949. pTDefRegMap(@Self)^.clr := $00000040
  30950. else
  30951. pTDefRegMap(@Self)^.&set := $00000040;
  30952. end;
  30953. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30954. begin
  30955. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30956. end;
  30957. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30958. begin
  30959. pTDefRegMap(@Self)^.&set := $00000080;
  30960. end;
  30961. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30962. begin
  30963. pTDefRegMap(@Self)^.clr := $00000080;
  30964. end;
  30965. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30966. begin
  30967. if thebits = 0 then
  30968. pTDefRegMap(@Self)^.clr := $00000080
  30969. else
  30970. pTDefRegMap(@Self)^.&set := $00000080;
  30971. end;
  30972. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30973. begin
  30974. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30975. end;
  30976. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30977. begin
  30978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30979. end;
  30980. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30981. begin
  30982. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30983. end;
  30984. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30985. begin
  30986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30987. end;
  30988. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30989. begin
  30990. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30991. end;
  30992. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30993. begin
  30994. pTDefRegMap(@Self)^.val := thebits;
  30995. end;
  30996. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30997. begin
  30998. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30999. end;
  31000. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  31001. begin
  31002. pTDefRegMap(@Self)^.&set := $00000001;
  31003. end;
  31004. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  31005. begin
  31006. pTDefRegMap(@Self)^.clr := $00000001;
  31007. end;
  31008. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  31009. begin
  31010. if thebits = 0 then
  31011. pTDefRegMap(@Self)^.clr := $00000001
  31012. else
  31013. pTDefRegMap(@Self)^.&set := $00000001;
  31014. end;
  31015. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  31016. begin
  31017. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31018. end;
  31019. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  31020. begin
  31021. pTDefRegMap(@Self)^.&set := $00000002;
  31022. end;
  31023. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  31024. begin
  31025. pTDefRegMap(@Self)^.clr := $00000002;
  31026. end;
  31027. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  31028. begin
  31029. if thebits = 0 then
  31030. pTDefRegMap(@Self)^.clr := $00000002
  31031. else
  31032. pTDefRegMap(@Self)^.&set := $00000002;
  31033. end;
  31034. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  31035. begin
  31036. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31037. end;
  31038. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  31039. begin
  31040. pTDefRegMap(@Self)^.&set := $00000004;
  31041. end;
  31042. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  31043. begin
  31044. pTDefRegMap(@Self)^.clr := $00000004;
  31045. end;
  31046. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  31047. begin
  31048. if thebits = 0 then
  31049. pTDefRegMap(@Self)^.clr := $00000004
  31050. else
  31051. pTDefRegMap(@Self)^.&set := $00000004;
  31052. end;
  31053. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  31054. begin
  31055. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31056. end;
  31057. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  31058. begin
  31059. pTDefRegMap(@Self)^.&set := $00000008;
  31060. end;
  31061. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  31062. begin
  31063. pTDefRegMap(@Self)^.clr := $00000008;
  31064. end;
  31065. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  31066. begin
  31067. if thebits = 0 then
  31068. pTDefRegMap(@Self)^.clr := $00000008
  31069. else
  31070. pTDefRegMap(@Self)^.&set := $00000008;
  31071. end;
  31072. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  31073. begin
  31074. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31075. end;
  31076. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  31077. begin
  31078. pTDefRegMap(@Self)^.&set := $00000010;
  31079. end;
  31080. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  31081. begin
  31082. pTDefRegMap(@Self)^.clr := $00000010;
  31083. end;
  31084. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  31085. begin
  31086. if thebits = 0 then
  31087. pTDefRegMap(@Self)^.clr := $00000010
  31088. else
  31089. pTDefRegMap(@Self)^.&set := $00000010;
  31090. end;
  31091. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  31092. begin
  31093. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31094. end;
  31095. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  31096. begin
  31097. pTDefRegMap(@Self)^.&set := $00000020;
  31098. end;
  31099. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  31100. begin
  31101. pTDefRegMap(@Self)^.clr := $00000020;
  31102. end;
  31103. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  31104. begin
  31105. if thebits = 0 then
  31106. pTDefRegMap(@Self)^.clr := $00000020
  31107. else
  31108. pTDefRegMap(@Self)^.&set := $00000020;
  31109. end;
  31110. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  31111. begin
  31112. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31113. end;
  31114. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  31115. begin
  31116. pTDefRegMap(@Self)^.&set := $00000040;
  31117. end;
  31118. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  31119. begin
  31120. pTDefRegMap(@Self)^.clr := $00000040;
  31121. end;
  31122. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  31123. begin
  31124. if thebits = 0 then
  31125. pTDefRegMap(@Self)^.clr := $00000040
  31126. else
  31127. pTDefRegMap(@Self)^.&set := $00000040;
  31128. end;
  31129. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  31130. begin
  31131. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31132. end;
  31133. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  31134. begin
  31135. pTDefRegMap(@Self)^.&set := $00000080;
  31136. end;
  31137. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  31138. begin
  31139. pTDefRegMap(@Self)^.clr := $00000080;
  31140. end;
  31141. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  31142. begin
  31143. if thebits = 0 then
  31144. pTDefRegMap(@Self)^.clr := $00000080
  31145. else
  31146. pTDefRegMap(@Self)^.&set := $00000080;
  31147. end;
  31148. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  31149. begin
  31150. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31151. end;
  31152. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  31153. begin
  31154. pTDefRegMap(@Self)^.&set := $00010000;
  31155. end;
  31156. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  31157. begin
  31158. pTDefRegMap(@Self)^.clr := $00010000;
  31159. end;
  31160. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  31161. begin
  31162. if thebits = 0 then
  31163. pTDefRegMap(@Self)^.clr := $00010000
  31164. else
  31165. pTDefRegMap(@Self)^.&set := $00010000;
  31166. end;
  31167. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  31168. begin
  31169. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31170. end;
  31171. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  31172. begin
  31173. pTDefRegMap(@Self)^.&set := $00020000;
  31174. end;
  31175. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  31176. begin
  31177. pTDefRegMap(@Self)^.clr := $00020000;
  31178. end;
  31179. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  31180. begin
  31181. if thebits = 0 then
  31182. pTDefRegMap(@Self)^.clr := $00020000
  31183. else
  31184. pTDefRegMap(@Self)^.&set := $00020000;
  31185. end;
  31186. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  31187. begin
  31188. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31189. end;
  31190. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  31191. begin
  31192. pTDefRegMap(@Self)^.&set := $00040000;
  31193. end;
  31194. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  31195. begin
  31196. pTDefRegMap(@Self)^.clr := $00040000;
  31197. end;
  31198. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  31199. begin
  31200. if thebits = 0 then
  31201. pTDefRegMap(@Self)^.clr := $00040000
  31202. else
  31203. pTDefRegMap(@Self)^.&set := $00040000;
  31204. end;
  31205. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  31206. begin
  31207. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31208. end;
  31209. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  31210. begin
  31211. pTDefRegMap(@Self)^.&set := $00080000;
  31212. end;
  31213. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  31214. begin
  31215. pTDefRegMap(@Self)^.clr := $00080000;
  31216. end;
  31217. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  31218. begin
  31219. if thebits = 0 then
  31220. pTDefRegMap(@Self)^.clr := $00080000
  31221. else
  31222. pTDefRegMap(@Self)^.&set := $00080000;
  31223. end;
  31224. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  31225. begin
  31226. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31227. end;
  31228. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  31229. begin
  31230. pTDefRegMap(@Self)^.&set := $00100000;
  31231. end;
  31232. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  31233. begin
  31234. pTDefRegMap(@Self)^.clr := $00100000;
  31235. end;
  31236. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  31237. begin
  31238. if thebits = 0 then
  31239. pTDefRegMap(@Self)^.clr := $00100000
  31240. else
  31241. pTDefRegMap(@Self)^.&set := $00100000;
  31242. end;
  31243. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  31244. begin
  31245. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31246. end;
  31247. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  31248. begin
  31249. pTDefRegMap(@Self)^.&set := $00200000;
  31250. end;
  31251. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  31252. begin
  31253. pTDefRegMap(@Self)^.clr := $00200000;
  31254. end;
  31255. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  31256. begin
  31257. if thebits = 0 then
  31258. pTDefRegMap(@Self)^.clr := $00200000
  31259. else
  31260. pTDefRegMap(@Self)^.&set := $00200000;
  31261. end;
  31262. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  31263. begin
  31264. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31265. end;
  31266. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  31267. begin
  31268. pTDefRegMap(@Self)^.&set := $00400000;
  31269. end;
  31270. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  31271. begin
  31272. pTDefRegMap(@Self)^.clr := $00400000;
  31273. end;
  31274. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  31275. begin
  31276. if thebits = 0 then
  31277. pTDefRegMap(@Self)^.clr := $00400000
  31278. else
  31279. pTDefRegMap(@Self)^.&set := $00400000;
  31280. end;
  31281. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  31282. begin
  31283. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31284. end;
  31285. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  31286. begin
  31287. pTDefRegMap(@Self)^.&set := $00800000;
  31288. end;
  31289. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  31290. begin
  31291. pTDefRegMap(@Self)^.clr := $00800000;
  31292. end;
  31293. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  31294. begin
  31295. if thebits = 0 then
  31296. pTDefRegMap(@Self)^.clr := $00800000
  31297. else
  31298. pTDefRegMap(@Self)^.&set := $00800000;
  31299. end;
  31300. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  31301. begin
  31302. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31303. end;
  31304. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  31305. begin
  31306. pTDefRegMap(@Self)^.val := thebits;
  31307. end;
  31308. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  31309. begin
  31310. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31311. end;
  31312. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  31313. begin
  31314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31315. end;
  31316. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  31317. begin
  31318. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31319. end;
  31320. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  31321. begin
  31322. pTDefRegMap(@Self)^.&set := $00000004;
  31323. end;
  31324. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  31325. begin
  31326. pTDefRegMap(@Self)^.clr := $00000004;
  31327. end;
  31328. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  31329. begin
  31330. if thebits = 0 then
  31331. pTDefRegMap(@Self)^.clr := $00000004
  31332. else
  31333. pTDefRegMap(@Self)^.&set := $00000004;
  31334. end;
  31335. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  31336. begin
  31337. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31338. end;
  31339. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  31340. begin
  31341. pTDefRegMap(@Self)^.&set := $00000010;
  31342. end;
  31343. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  31344. begin
  31345. pTDefRegMap(@Self)^.clr := $00000010;
  31346. end;
  31347. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  31348. begin
  31349. if thebits = 0 then
  31350. pTDefRegMap(@Self)^.clr := $00000010
  31351. else
  31352. pTDefRegMap(@Self)^.&set := $00000010;
  31353. end;
  31354. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  31355. begin
  31356. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31357. end;
  31358. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  31359. begin
  31360. pTDefRegMap(@Self)^.&set := $00000020;
  31361. end;
  31362. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  31363. begin
  31364. pTDefRegMap(@Self)^.clr := $00000020;
  31365. end;
  31366. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  31367. begin
  31368. if thebits = 0 then
  31369. pTDefRegMap(@Self)^.clr := $00000020
  31370. else
  31371. pTDefRegMap(@Self)^.&set := $00000020;
  31372. end;
  31373. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  31374. begin
  31375. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31376. end;
  31377. procedure TDMAC2_DCH2CON.setCHAED; inline;
  31378. begin
  31379. pTDefRegMap(@Self)^.&set := $00000040;
  31380. end;
  31381. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  31382. begin
  31383. pTDefRegMap(@Self)^.clr := $00000040;
  31384. end;
  31385. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  31386. begin
  31387. if thebits = 0 then
  31388. pTDefRegMap(@Self)^.clr := $00000040
  31389. else
  31390. pTDefRegMap(@Self)^.&set := $00000040;
  31391. end;
  31392. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  31393. begin
  31394. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31395. end;
  31396. procedure TDMAC2_DCH2CON.setCHEN; inline;
  31397. begin
  31398. pTDefRegMap(@Self)^.&set := $00000080;
  31399. end;
  31400. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  31401. begin
  31402. pTDefRegMap(@Self)^.clr := $00000080;
  31403. end;
  31404. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  31405. begin
  31406. if thebits = 0 then
  31407. pTDefRegMap(@Self)^.clr := $00000080
  31408. else
  31409. pTDefRegMap(@Self)^.&set := $00000080;
  31410. end;
  31411. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  31412. begin
  31413. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31414. end;
  31415. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  31416. begin
  31417. pTDefRegMap(@Self)^.&set := $00000100;
  31418. end;
  31419. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  31420. begin
  31421. pTDefRegMap(@Self)^.clr := $00000100;
  31422. end;
  31423. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  31424. begin
  31425. if thebits = 0 then
  31426. pTDefRegMap(@Self)^.clr := $00000100
  31427. else
  31428. pTDefRegMap(@Self)^.&set := $00000100;
  31429. end;
  31430. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  31431. begin
  31432. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31433. end;
  31434. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  31435. begin
  31436. pTDefRegMap(@Self)^.&set := $00008000;
  31437. end;
  31438. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  31439. begin
  31440. pTDefRegMap(@Self)^.clr := $00008000;
  31441. end;
  31442. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  31443. begin
  31444. if thebits = 0 then
  31445. pTDefRegMap(@Self)^.clr := $00008000
  31446. else
  31447. pTDefRegMap(@Self)^.&set := $00008000;
  31448. end;
  31449. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  31450. begin
  31451. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31452. end;
  31453. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  31454. begin
  31455. pTDefRegMap(@Self)^.val := thebits;
  31456. end;
  31457. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  31458. begin
  31459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31460. end;
  31461. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  31462. begin
  31463. pTDefRegMap(@Self)^.&set := $00000008;
  31464. end;
  31465. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  31466. begin
  31467. pTDefRegMap(@Self)^.clr := $00000008;
  31468. end;
  31469. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  31470. begin
  31471. if thebits = 0 then
  31472. pTDefRegMap(@Self)^.clr := $00000008
  31473. else
  31474. pTDefRegMap(@Self)^.&set := $00000008;
  31475. end;
  31476. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  31477. begin
  31478. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31479. end;
  31480. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  31481. begin
  31482. pTDefRegMap(@Self)^.&set := $00000010;
  31483. end;
  31484. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  31485. begin
  31486. pTDefRegMap(@Self)^.clr := $00000010;
  31487. end;
  31488. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  31489. begin
  31490. if thebits = 0 then
  31491. pTDefRegMap(@Self)^.clr := $00000010
  31492. else
  31493. pTDefRegMap(@Self)^.&set := $00000010;
  31494. end;
  31495. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31496. begin
  31497. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31498. end;
  31499. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31500. begin
  31501. pTDefRegMap(@Self)^.&set := $00000020;
  31502. end;
  31503. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31504. begin
  31505. pTDefRegMap(@Self)^.clr := $00000020;
  31506. end;
  31507. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31508. begin
  31509. if thebits = 0 then
  31510. pTDefRegMap(@Self)^.clr := $00000020
  31511. else
  31512. pTDefRegMap(@Self)^.&set := $00000020;
  31513. end;
  31514. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31515. begin
  31516. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31517. end;
  31518. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31519. begin
  31520. pTDefRegMap(@Self)^.&set := $00000040;
  31521. end;
  31522. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31523. begin
  31524. pTDefRegMap(@Self)^.clr := $00000040;
  31525. end;
  31526. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31527. begin
  31528. if thebits = 0 then
  31529. pTDefRegMap(@Self)^.clr := $00000040
  31530. else
  31531. pTDefRegMap(@Self)^.&set := $00000040;
  31532. end;
  31533. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31534. begin
  31535. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31536. end;
  31537. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31538. begin
  31539. pTDefRegMap(@Self)^.&set := $00000080;
  31540. end;
  31541. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31542. begin
  31543. pTDefRegMap(@Self)^.clr := $00000080;
  31544. end;
  31545. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31546. begin
  31547. if thebits = 0 then
  31548. pTDefRegMap(@Self)^.clr := $00000080
  31549. else
  31550. pTDefRegMap(@Self)^.&set := $00000080;
  31551. end;
  31552. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31553. begin
  31554. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31555. end;
  31556. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31557. begin
  31558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31559. end;
  31560. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31561. begin
  31562. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31563. end;
  31564. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31565. begin
  31566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31567. end;
  31568. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31569. begin
  31570. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31571. end;
  31572. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31573. begin
  31574. pTDefRegMap(@Self)^.val := thebits;
  31575. end;
  31576. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31577. begin
  31578. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31579. end;
  31580. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31581. begin
  31582. pTDefRegMap(@Self)^.&set := $00000001;
  31583. end;
  31584. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31585. begin
  31586. pTDefRegMap(@Self)^.clr := $00000001;
  31587. end;
  31588. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31589. begin
  31590. if thebits = 0 then
  31591. pTDefRegMap(@Self)^.clr := $00000001
  31592. else
  31593. pTDefRegMap(@Self)^.&set := $00000001;
  31594. end;
  31595. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31596. begin
  31597. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31598. end;
  31599. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31600. begin
  31601. pTDefRegMap(@Self)^.&set := $00000002;
  31602. end;
  31603. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31604. begin
  31605. pTDefRegMap(@Self)^.clr := $00000002;
  31606. end;
  31607. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31608. begin
  31609. if thebits = 0 then
  31610. pTDefRegMap(@Self)^.clr := $00000002
  31611. else
  31612. pTDefRegMap(@Self)^.&set := $00000002;
  31613. end;
  31614. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31615. begin
  31616. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31617. end;
  31618. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31619. begin
  31620. pTDefRegMap(@Self)^.&set := $00000004;
  31621. end;
  31622. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31623. begin
  31624. pTDefRegMap(@Self)^.clr := $00000004;
  31625. end;
  31626. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31627. begin
  31628. if thebits = 0 then
  31629. pTDefRegMap(@Self)^.clr := $00000004
  31630. else
  31631. pTDefRegMap(@Self)^.&set := $00000004;
  31632. end;
  31633. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31634. begin
  31635. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31636. end;
  31637. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31638. begin
  31639. pTDefRegMap(@Self)^.&set := $00000008;
  31640. end;
  31641. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31642. begin
  31643. pTDefRegMap(@Self)^.clr := $00000008;
  31644. end;
  31645. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31646. begin
  31647. if thebits = 0 then
  31648. pTDefRegMap(@Self)^.clr := $00000008
  31649. else
  31650. pTDefRegMap(@Self)^.&set := $00000008;
  31651. end;
  31652. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31653. begin
  31654. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31655. end;
  31656. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31657. begin
  31658. pTDefRegMap(@Self)^.&set := $00000010;
  31659. end;
  31660. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31661. begin
  31662. pTDefRegMap(@Self)^.clr := $00000010;
  31663. end;
  31664. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31665. begin
  31666. if thebits = 0 then
  31667. pTDefRegMap(@Self)^.clr := $00000010
  31668. else
  31669. pTDefRegMap(@Self)^.&set := $00000010;
  31670. end;
  31671. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31672. begin
  31673. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31674. end;
  31675. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31676. begin
  31677. pTDefRegMap(@Self)^.&set := $00000020;
  31678. end;
  31679. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31680. begin
  31681. pTDefRegMap(@Self)^.clr := $00000020;
  31682. end;
  31683. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31684. begin
  31685. if thebits = 0 then
  31686. pTDefRegMap(@Self)^.clr := $00000020
  31687. else
  31688. pTDefRegMap(@Self)^.&set := $00000020;
  31689. end;
  31690. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31691. begin
  31692. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31693. end;
  31694. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31695. begin
  31696. pTDefRegMap(@Self)^.&set := $00000040;
  31697. end;
  31698. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31699. begin
  31700. pTDefRegMap(@Self)^.clr := $00000040;
  31701. end;
  31702. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31703. begin
  31704. if thebits = 0 then
  31705. pTDefRegMap(@Self)^.clr := $00000040
  31706. else
  31707. pTDefRegMap(@Self)^.&set := $00000040;
  31708. end;
  31709. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31710. begin
  31711. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31712. end;
  31713. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31714. begin
  31715. pTDefRegMap(@Self)^.&set := $00000080;
  31716. end;
  31717. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31718. begin
  31719. pTDefRegMap(@Self)^.clr := $00000080;
  31720. end;
  31721. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31722. begin
  31723. if thebits = 0 then
  31724. pTDefRegMap(@Self)^.clr := $00000080
  31725. else
  31726. pTDefRegMap(@Self)^.&set := $00000080;
  31727. end;
  31728. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31729. begin
  31730. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31731. end;
  31732. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31733. begin
  31734. pTDefRegMap(@Self)^.&set := $00010000;
  31735. end;
  31736. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31737. begin
  31738. pTDefRegMap(@Self)^.clr := $00010000;
  31739. end;
  31740. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31741. begin
  31742. if thebits = 0 then
  31743. pTDefRegMap(@Self)^.clr := $00010000
  31744. else
  31745. pTDefRegMap(@Self)^.&set := $00010000;
  31746. end;
  31747. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31748. begin
  31749. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31750. end;
  31751. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31752. begin
  31753. pTDefRegMap(@Self)^.&set := $00020000;
  31754. end;
  31755. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31756. begin
  31757. pTDefRegMap(@Self)^.clr := $00020000;
  31758. end;
  31759. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31760. begin
  31761. if thebits = 0 then
  31762. pTDefRegMap(@Self)^.clr := $00020000
  31763. else
  31764. pTDefRegMap(@Self)^.&set := $00020000;
  31765. end;
  31766. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31767. begin
  31768. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31769. end;
  31770. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31771. begin
  31772. pTDefRegMap(@Self)^.&set := $00040000;
  31773. end;
  31774. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31775. begin
  31776. pTDefRegMap(@Self)^.clr := $00040000;
  31777. end;
  31778. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31779. begin
  31780. if thebits = 0 then
  31781. pTDefRegMap(@Self)^.clr := $00040000
  31782. else
  31783. pTDefRegMap(@Self)^.&set := $00040000;
  31784. end;
  31785. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31786. begin
  31787. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31788. end;
  31789. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31790. begin
  31791. pTDefRegMap(@Self)^.&set := $00080000;
  31792. end;
  31793. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31794. begin
  31795. pTDefRegMap(@Self)^.clr := $00080000;
  31796. end;
  31797. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31798. begin
  31799. if thebits = 0 then
  31800. pTDefRegMap(@Self)^.clr := $00080000
  31801. else
  31802. pTDefRegMap(@Self)^.&set := $00080000;
  31803. end;
  31804. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31805. begin
  31806. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31807. end;
  31808. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31809. begin
  31810. pTDefRegMap(@Self)^.&set := $00100000;
  31811. end;
  31812. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31813. begin
  31814. pTDefRegMap(@Self)^.clr := $00100000;
  31815. end;
  31816. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31817. begin
  31818. if thebits = 0 then
  31819. pTDefRegMap(@Self)^.clr := $00100000
  31820. else
  31821. pTDefRegMap(@Self)^.&set := $00100000;
  31822. end;
  31823. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31824. begin
  31825. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31826. end;
  31827. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31828. begin
  31829. pTDefRegMap(@Self)^.&set := $00200000;
  31830. end;
  31831. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31832. begin
  31833. pTDefRegMap(@Self)^.clr := $00200000;
  31834. end;
  31835. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31836. begin
  31837. if thebits = 0 then
  31838. pTDefRegMap(@Self)^.clr := $00200000
  31839. else
  31840. pTDefRegMap(@Self)^.&set := $00200000;
  31841. end;
  31842. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31843. begin
  31844. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31845. end;
  31846. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31847. begin
  31848. pTDefRegMap(@Self)^.&set := $00400000;
  31849. end;
  31850. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31851. begin
  31852. pTDefRegMap(@Self)^.clr := $00400000;
  31853. end;
  31854. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31855. begin
  31856. if thebits = 0 then
  31857. pTDefRegMap(@Self)^.clr := $00400000
  31858. else
  31859. pTDefRegMap(@Self)^.&set := $00400000;
  31860. end;
  31861. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31862. begin
  31863. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31864. end;
  31865. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31866. begin
  31867. pTDefRegMap(@Self)^.&set := $00800000;
  31868. end;
  31869. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31870. begin
  31871. pTDefRegMap(@Self)^.clr := $00800000;
  31872. end;
  31873. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31874. begin
  31875. if thebits = 0 then
  31876. pTDefRegMap(@Self)^.clr := $00800000
  31877. else
  31878. pTDefRegMap(@Self)^.&set := $00800000;
  31879. end;
  31880. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31881. begin
  31882. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31883. end;
  31884. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31885. begin
  31886. pTDefRegMap(@Self)^.val := thebits;
  31887. end;
  31888. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31889. begin
  31890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31891. end;
  31892. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31893. begin
  31894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31895. end;
  31896. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31897. begin
  31898. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31899. end;
  31900. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31901. begin
  31902. pTDefRegMap(@Self)^.&set := $00000004;
  31903. end;
  31904. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31905. begin
  31906. pTDefRegMap(@Self)^.clr := $00000004;
  31907. end;
  31908. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31909. begin
  31910. if thebits = 0 then
  31911. pTDefRegMap(@Self)^.clr := $00000004
  31912. else
  31913. pTDefRegMap(@Self)^.&set := $00000004;
  31914. end;
  31915. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31916. begin
  31917. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31918. end;
  31919. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31920. begin
  31921. pTDefRegMap(@Self)^.&set := $00000010;
  31922. end;
  31923. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31924. begin
  31925. pTDefRegMap(@Self)^.clr := $00000010;
  31926. end;
  31927. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31928. begin
  31929. if thebits = 0 then
  31930. pTDefRegMap(@Self)^.clr := $00000010
  31931. else
  31932. pTDefRegMap(@Self)^.&set := $00000010;
  31933. end;
  31934. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31935. begin
  31936. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31937. end;
  31938. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31939. begin
  31940. pTDefRegMap(@Self)^.&set := $00000020;
  31941. end;
  31942. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31943. begin
  31944. pTDefRegMap(@Self)^.clr := $00000020;
  31945. end;
  31946. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31947. begin
  31948. if thebits = 0 then
  31949. pTDefRegMap(@Self)^.clr := $00000020
  31950. else
  31951. pTDefRegMap(@Self)^.&set := $00000020;
  31952. end;
  31953. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31954. begin
  31955. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31956. end;
  31957. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31958. begin
  31959. pTDefRegMap(@Self)^.&set := $00000040;
  31960. end;
  31961. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31962. begin
  31963. pTDefRegMap(@Self)^.clr := $00000040;
  31964. end;
  31965. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31966. begin
  31967. if thebits = 0 then
  31968. pTDefRegMap(@Self)^.clr := $00000040
  31969. else
  31970. pTDefRegMap(@Self)^.&set := $00000040;
  31971. end;
  31972. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31973. begin
  31974. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31975. end;
  31976. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31977. begin
  31978. pTDefRegMap(@Self)^.&set := $00000080;
  31979. end;
  31980. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31981. begin
  31982. pTDefRegMap(@Self)^.clr := $00000080;
  31983. end;
  31984. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31985. begin
  31986. if thebits = 0 then
  31987. pTDefRegMap(@Self)^.clr := $00000080
  31988. else
  31989. pTDefRegMap(@Self)^.&set := $00000080;
  31990. end;
  31991. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31992. begin
  31993. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31994. end;
  31995. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31996. begin
  31997. pTDefRegMap(@Self)^.&set := $00000100;
  31998. end;
  31999. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  32000. begin
  32001. pTDefRegMap(@Self)^.clr := $00000100;
  32002. end;
  32003. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  32004. begin
  32005. if thebits = 0 then
  32006. pTDefRegMap(@Self)^.clr := $00000100
  32007. else
  32008. pTDefRegMap(@Self)^.&set := $00000100;
  32009. end;
  32010. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  32011. begin
  32012. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32013. end;
  32014. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  32015. begin
  32016. pTDefRegMap(@Self)^.&set := $00008000;
  32017. end;
  32018. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  32019. begin
  32020. pTDefRegMap(@Self)^.clr := $00008000;
  32021. end;
  32022. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  32023. begin
  32024. if thebits = 0 then
  32025. pTDefRegMap(@Self)^.clr := $00008000
  32026. else
  32027. pTDefRegMap(@Self)^.&set := $00008000;
  32028. end;
  32029. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  32030. begin
  32031. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32032. end;
  32033. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  32034. begin
  32035. pTDefRegMap(@Self)^.val := thebits;
  32036. end;
  32037. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  32038. begin
  32039. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32040. end;
  32041. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  32042. begin
  32043. pTDefRegMap(@Self)^.&set := $00000008;
  32044. end;
  32045. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  32046. begin
  32047. pTDefRegMap(@Self)^.clr := $00000008;
  32048. end;
  32049. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  32050. begin
  32051. if thebits = 0 then
  32052. pTDefRegMap(@Self)^.clr := $00000008
  32053. else
  32054. pTDefRegMap(@Self)^.&set := $00000008;
  32055. end;
  32056. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  32057. begin
  32058. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32059. end;
  32060. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  32061. begin
  32062. pTDefRegMap(@Self)^.&set := $00000010;
  32063. end;
  32064. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  32065. begin
  32066. pTDefRegMap(@Self)^.clr := $00000010;
  32067. end;
  32068. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  32069. begin
  32070. if thebits = 0 then
  32071. pTDefRegMap(@Self)^.clr := $00000010
  32072. else
  32073. pTDefRegMap(@Self)^.&set := $00000010;
  32074. end;
  32075. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  32076. begin
  32077. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32078. end;
  32079. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  32080. begin
  32081. pTDefRegMap(@Self)^.&set := $00000020;
  32082. end;
  32083. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  32084. begin
  32085. pTDefRegMap(@Self)^.clr := $00000020;
  32086. end;
  32087. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  32088. begin
  32089. if thebits = 0 then
  32090. pTDefRegMap(@Self)^.clr := $00000020
  32091. else
  32092. pTDefRegMap(@Self)^.&set := $00000020;
  32093. end;
  32094. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  32095. begin
  32096. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32097. end;
  32098. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  32099. begin
  32100. pTDefRegMap(@Self)^.&set := $00000040;
  32101. end;
  32102. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  32103. begin
  32104. pTDefRegMap(@Self)^.clr := $00000040;
  32105. end;
  32106. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  32107. begin
  32108. if thebits = 0 then
  32109. pTDefRegMap(@Self)^.clr := $00000040
  32110. else
  32111. pTDefRegMap(@Self)^.&set := $00000040;
  32112. end;
  32113. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  32114. begin
  32115. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32116. end;
  32117. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  32118. begin
  32119. pTDefRegMap(@Self)^.&set := $00000080;
  32120. end;
  32121. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  32122. begin
  32123. pTDefRegMap(@Self)^.clr := $00000080;
  32124. end;
  32125. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  32126. begin
  32127. if thebits = 0 then
  32128. pTDefRegMap(@Self)^.clr := $00000080
  32129. else
  32130. pTDefRegMap(@Self)^.&set := $00000080;
  32131. end;
  32132. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  32133. begin
  32134. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32135. end;
  32136. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  32137. begin
  32138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  32139. end;
  32140. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  32141. begin
  32142. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  32143. end;
  32144. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  32145. begin
  32146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32147. end;
  32148. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  32149. begin
  32150. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32151. end;
  32152. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  32153. begin
  32154. pTDefRegMap(@Self)^.val := thebits;
  32155. end;
  32156. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  32157. begin
  32158. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32159. end;
  32160. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  32161. begin
  32162. pTDefRegMap(@Self)^.&set := $00000001;
  32163. end;
  32164. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  32165. begin
  32166. pTDefRegMap(@Self)^.clr := $00000001;
  32167. end;
  32168. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  32169. begin
  32170. if thebits = 0 then
  32171. pTDefRegMap(@Self)^.clr := $00000001
  32172. else
  32173. pTDefRegMap(@Self)^.&set := $00000001;
  32174. end;
  32175. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  32176. begin
  32177. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32178. end;
  32179. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  32180. begin
  32181. pTDefRegMap(@Self)^.&set := $00000002;
  32182. end;
  32183. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  32184. begin
  32185. pTDefRegMap(@Self)^.clr := $00000002;
  32186. end;
  32187. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  32188. begin
  32189. if thebits = 0 then
  32190. pTDefRegMap(@Self)^.clr := $00000002
  32191. else
  32192. pTDefRegMap(@Self)^.&set := $00000002;
  32193. end;
  32194. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  32195. begin
  32196. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32197. end;
  32198. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  32199. begin
  32200. pTDefRegMap(@Self)^.&set := $00000004;
  32201. end;
  32202. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  32203. begin
  32204. pTDefRegMap(@Self)^.clr := $00000004;
  32205. end;
  32206. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  32207. begin
  32208. if thebits = 0 then
  32209. pTDefRegMap(@Self)^.clr := $00000004
  32210. else
  32211. pTDefRegMap(@Self)^.&set := $00000004;
  32212. end;
  32213. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  32214. begin
  32215. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32216. end;
  32217. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  32218. begin
  32219. pTDefRegMap(@Self)^.&set := $00000008;
  32220. end;
  32221. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  32222. begin
  32223. pTDefRegMap(@Self)^.clr := $00000008;
  32224. end;
  32225. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  32226. begin
  32227. if thebits = 0 then
  32228. pTDefRegMap(@Self)^.clr := $00000008
  32229. else
  32230. pTDefRegMap(@Self)^.&set := $00000008;
  32231. end;
  32232. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  32233. begin
  32234. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32235. end;
  32236. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  32237. begin
  32238. pTDefRegMap(@Self)^.&set := $00000010;
  32239. end;
  32240. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  32241. begin
  32242. pTDefRegMap(@Self)^.clr := $00000010;
  32243. end;
  32244. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  32245. begin
  32246. if thebits = 0 then
  32247. pTDefRegMap(@Self)^.clr := $00000010
  32248. else
  32249. pTDefRegMap(@Self)^.&set := $00000010;
  32250. end;
  32251. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  32252. begin
  32253. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32254. end;
  32255. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  32256. begin
  32257. pTDefRegMap(@Self)^.&set := $00000020;
  32258. end;
  32259. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  32260. begin
  32261. pTDefRegMap(@Self)^.clr := $00000020;
  32262. end;
  32263. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  32264. begin
  32265. if thebits = 0 then
  32266. pTDefRegMap(@Self)^.clr := $00000020
  32267. else
  32268. pTDefRegMap(@Self)^.&set := $00000020;
  32269. end;
  32270. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  32271. begin
  32272. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32273. end;
  32274. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  32275. begin
  32276. pTDefRegMap(@Self)^.&set := $00000040;
  32277. end;
  32278. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  32279. begin
  32280. pTDefRegMap(@Self)^.clr := $00000040;
  32281. end;
  32282. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  32283. begin
  32284. if thebits = 0 then
  32285. pTDefRegMap(@Self)^.clr := $00000040
  32286. else
  32287. pTDefRegMap(@Self)^.&set := $00000040;
  32288. end;
  32289. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  32290. begin
  32291. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32292. end;
  32293. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  32294. begin
  32295. pTDefRegMap(@Self)^.&set := $00000080;
  32296. end;
  32297. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  32298. begin
  32299. pTDefRegMap(@Self)^.clr := $00000080;
  32300. end;
  32301. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  32302. begin
  32303. if thebits = 0 then
  32304. pTDefRegMap(@Self)^.clr := $00000080
  32305. else
  32306. pTDefRegMap(@Self)^.&set := $00000080;
  32307. end;
  32308. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  32309. begin
  32310. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32311. end;
  32312. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  32313. begin
  32314. pTDefRegMap(@Self)^.&set := $00010000;
  32315. end;
  32316. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  32317. begin
  32318. pTDefRegMap(@Self)^.clr := $00010000;
  32319. end;
  32320. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  32321. begin
  32322. if thebits = 0 then
  32323. pTDefRegMap(@Self)^.clr := $00010000
  32324. else
  32325. pTDefRegMap(@Self)^.&set := $00010000;
  32326. end;
  32327. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  32328. begin
  32329. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32330. end;
  32331. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  32332. begin
  32333. pTDefRegMap(@Self)^.&set := $00020000;
  32334. end;
  32335. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  32336. begin
  32337. pTDefRegMap(@Self)^.clr := $00020000;
  32338. end;
  32339. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  32340. begin
  32341. if thebits = 0 then
  32342. pTDefRegMap(@Self)^.clr := $00020000
  32343. else
  32344. pTDefRegMap(@Self)^.&set := $00020000;
  32345. end;
  32346. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  32347. begin
  32348. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32349. end;
  32350. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  32351. begin
  32352. pTDefRegMap(@Self)^.&set := $00040000;
  32353. end;
  32354. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  32355. begin
  32356. pTDefRegMap(@Self)^.clr := $00040000;
  32357. end;
  32358. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  32359. begin
  32360. if thebits = 0 then
  32361. pTDefRegMap(@Self)^.clr := $00040000
  32362. else
  32363. pTDefRegMap(@Self)^.&set := $00040000;
  32364. end;
  32365. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  32366. begin
  32367. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32368. end;
  32369. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  32370. begin
  32371. pTDefRegMap(@Self)^.&set := $00080000;
  32372. end;
  32373. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  32374. begin
  32375. pTDefRegMap(@Self)^.clr := $00080000;
  32376. end;
  32377. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  32378. begin
  32379. if thebits = 0 then
  32380. pTDefRegMap(@Self)^.clr := $00080000
  32381. else
  32382. pTDefRegMap(@Self)^.&set := $00080000;
  32383. end;
  32384. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  32385. begin
  32386. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32387. end;
  32388. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  32389. begin
  32390. pTDefRegMap(@Self)^.&set := $00100000;
  32391. end;
  32392. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  32393. begin
  32394. pTDefRegMap(@Self)^.clr := $00100000;
  32395. end;
  32396. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  32397. begin
  32398. if thebits = 0 then
  32399. pTDefRegMap(@Self)^.clr := $00100000
  32400. else
  32401. pTDefRegMap(@Self)^.&set := $00100000;
  32402. end;
  32403. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  32404. begin
  32405. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32406. end;
  32407. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  32408. begin
  32409. pTDefRegMap(@Self)^.&set := $00200000;
  32410. end;
  32411. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  32412. begin
  32413. pTDefRegMap(@Self)^.clr := $00200000;
  32414. end;
  32415. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  32416. begin
  32417. if thebits = 0 then
  32418. pTDefRegMap(@Self)^.clr := $00200000
  32419. else
  32420. pTDefRegMap(@Self)^.&set := $00200000;
  32421. end;
  32422. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  32423. begin
  32424. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32425. end;
  32426. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  32427. begin
  32428. pTDefRegMap(@Self)^.&set := $00400000;
  32429. end;
  32430. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  32431. begin
  32432. pTDefRegMap(@Self)^.clr := $00400000;
  32433. end;
  32434. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  32435. begin
  32436. if thebits = 0 then
  32437. pTDefRegMap(@Self)^.clr := $00400000
  32438. else
  32439. pTDefRegMap(@Self)^.&set := $00400000;
  32440. end;
  32441. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  32442. begin
  32443. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32444. end;
  32445. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  32446. begin
  32447. pTDefRegMap(@Self)^.&set := $00800000;
  32448. end;
  32449. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  32450. begin
  32451. pTDefRegMap(@Self)^.clr := $00800000;
  32452. end;
  32453. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  32454. begin
  32455. if thebits = 0 then
  32456. pTDefRegMap(@Self)^.clr := $00800000
  32457. else
  32458. pTDefRegMap(@Self)^.&set := $00800000;
  32459. end;
  32460. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  32461. begin
  32462. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32463. end;
  32464. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  32465. begin
  32466. pTDefRegMap(@Self)^.val := thebits;
  32467. end;
  32468. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  32469. begin
  32470. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32471. end;
  32472. procedure TDMAC3_U1IR.setURSTIF_DETACHIF; inline;
  32473. begin
  32474. pTDefRegMap(@Self)^.&set := $00000001;
  32475. end;
  32476. procedure TDMAC3_U1IR.clearURSTIF_DETACHIF; inline;
  32477. begin
  32478. pTDefRegMap(@Self)^.clr := $00000001;
  32479. end;
  32480. procedure TDMAC3_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  32481. begin
  32482. if thebits = 0 then
  32483. pTDefRegMap(@Self)^.clr := $00000001
  32484. else
  32485. pTDefRegMap(@Self)^.&set := $00000001;
  32486. end;
  32487. function TDMAC3_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  32488. begin
  32489. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32490. end;
  32491. procedure TDMAC3_U1IR.setUERRIF; inline;
  32492. begin
  32493. pTDefRegMap(@Self)^.&set := $00000002;
  32494. end;
  32495. procedure TDMAC3_U1IR.clearUERRIF; inline;
  32496. begin
  32497. pTDefRegMap(@Self)^.clr := $00000002;
  32498. end;
  32499. procedure TDMAC3_U1IR.setUERRIF(thebits : TBits_1); inline;
  32500. begin
  32501. if thebits = 0 then
  32502. pTDefRegMap(@Self)^.clr := $00000002
  32503. else
  32504. pTDefRegMap(@Self)^.&set := $00000002;
  32505. end;
  32506. function TDMAC3_U1IR.getUERRIF : TBits_1; inline;
  32507. begin
  32508. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32509. end;
  32510. procedure TDMAC3_U1IR.setSOFIF; inline;
  32511. begin
  32512. pTDefRegMap(@Self)^.&set := $00000004;
  32513. end;
  32514. procedure TDMAC3_U1IR.clearSOFIF; inline;
  32515. begin
  32516. pTDefRegMap(@Self)^.clr := $00000004;
  32517. end;
  32518. procedure TDMAC3_U1IR.setSOFIF(thebits : TBits_1); inline;
  32519. begin
  32520. if thebits = 0 then
  32521. pTDefRegMap(@Self)^.clr := $00000004
  32522. else
  32523. pTDefRegMap(@Self)^.&set := $00000004;
  32524. end;
  32525. function TDMAC3_U1IR.getSOFIF : TBits_1; inline;
  32526. begin
  32527. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32528. end;
  32529. procedure TDMAC3_U1IR.setTRNIF; inline;
  32530. begin
  32531. pTDefRegMap(@Self)^.&set := $00000008;
  32532. end;
  32533. procedure TDMAC3_U1IR.clearTRNIF; inline;
  32534. begin
  32535. pTDefRegMap(@Self)^.clr := $00000008;
  32536. end;
  32537. procedure TDMAC3_U1IR.setTRNIF(thebits : TBits_1); inline;
  32538. begin
  32539. if thebits = 0 then
  32540. pTDefRegMap(@Self)^.clr := $00000008
  32541. else
  32542. pTDefRegMap(@Self)^.&set := $00000008;
  32543. end;
  32544. function TDMAC3_U1IR.getTRNIF : TBits_1; inline;
  32545. begin
  32546. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32547. end;
  32548. procedure TDMAC3_U1IR.setIDLEIF; inline;
  32549. begin
  32550. pTDefRegMap(@Self)^.&set := $00000010;
  32551. end;
  32552. procedure TDMAC3_U1IR.clearIDLEIF; inline;
  32553. begin
  32554. pTDefRegMap(@Self)^.clr := $00000010;
  32555. end;
  32556. procedure TDMAC3_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32557. begin
  32558. if thebits = 0 then
  32559. pTDefRegMap(@Self)^.clr := $00000010
  32560. else
  32561. pTDefRegMap(@Self)^.&set := $00000010;
  32562. end;
  32563. function TDMAC3_U1IR.getIDLEIF : TBits_1; inline;
  32564. begin
  32565. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32566. end;
  32567. procedure TDMAC3_U1IR.setRESUMEIF; inline;
  32568. begin
  32569. pTDefRegMap(@Self)^.&set := $00000020;
  32570. end;
  32571. procedure TDMAC3_U1IR.clearRESUMEIF; inline;
  32572. begin
  32573. pTDefRegMap(@Self)^.clr := $00000020;
  32574. end;
  32575. procedure TDMAC3_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32576. begin
  32577. if thebits = 0 then
  32578. pTDefRegMap(@Self)^.clr := $00000020
  32579. else
  32580. pTDefRegMap(@Self)^.&set := $00000020;
  32581. end;
  32582. function TDMAC3_U1IR.getRESUMEIF : TBits_1; inline;
  32583. begin
  32584. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32585. end;
  32586. procedure TDMAC3_U1IR.setATTACHIF; inline;
  32587. begin
  32588. pTDefRegMap(@Self)^.&set := $00000040;
  32589. end;
  32590. procedure TDMAC3_U1IR.clearATTACHIF; inline;
  32591. begin
  32592. pTDefRegMap(@Self)^.clr := $00000040;
  32593. end;
  32594. procedure TDMAC3_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32595. begin
  32596. if thebits = 0 then
  32597. pTDefRegMap(@Self)^.clr := $00000040
  32598. else
  32599. pTDefRegMap(@Self)^.&set := $00000040;
  32600. end;
  32601. function TDMAC3_U1IR.getATTACHIF : TBits_1; inline;
  32602. begin
  32603. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32604. end;
  32605. procedure TDMAC3_U1IR.setSTALLIF; inline;
  32606. begin
  32607. pTDefRegMap(@Self)^.&set := $00000080;
  32608. end;
  32609. procedure TDMAC3_U1IR.clearSTALLIF; inline;
  32610. begin
  32611. pTDefRegMap(@Self)^.clr := $00000080;
  32612. end;
  32613. procedure TDMAC3_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32614. begin
  32615. if thebits = 0 then
  32616. pTDefRegMap(@Self)^.clr := $00000080
  32617. else
  32618. pTDefRegMap(@Self)^.&set := $00000080;
  32619. end;
  32620. function TDMAC3_U1IR.getSTALLIF : TBits_1; inline;
  32621. begin
  32622. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32623. end;
  32624. procedure TDMAC3_U1IR.setDETACHIF; inline;
  32625. begin
  32626. pTDefRegMap(@Self)^.&set := $00000001;
  32627. end;
  32628. procedure TDMAC3_U1IR.clearDETACHIF; inline;
  32629. begin
  32630. pTDefRegMap(@Self)^.clr := $00000001;
  32631. end;
  32632. procedure TDMAC3_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32633. begin
  32634. if thebits = 0 then
  32635. pTDefRegMap(@Self)^.clr := $00000001
  32636. else
  32637. pTDefRegMap(@Self)^.&set := $00000001;
  32638. end;
  32639. function TDMAC3_U1IR.getDETACHIF : TBits_1; inline;
  32640. begin
  32641. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32642. end;
  32643. procedure TDMAC3_U1IR.setURSTIF; inline;
  32644. begin
  32645. pTDefRegMap(@Self)^.&set := $00000001;
  32646. end;
  32647. procedure TDMAC3_U1IR.clearURSTIF; inline;
  32648. begin
  32649. pTDefRegMap(@Self)^.clr := $00000001;
  32650. end;
  32651. procedure TDMAC3_U1IR.setURSTIF(thebits : TBits_1); inline;
  32652. begin
  32653. if thebits = 0 then
  32654. pTDefRegMap(@Self)^.clr := $00000001
  32655. else
  32656. pTDefRegMap(@Self)^.&set := $00000001;
  32657. end;
  32658. function TDMAC3_U1IR.getURSTIF : TBits_1; inline;
  32659. begin
  32660. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32661. end;
  32662. procedure TDMAC3_U1IE.setURSTIE_DETACHIE; inline;
  32663. begin
  32664. pTDefRegMap(@Self)^.&set := $00000001;
  32665. end;
  32666. procedure TDMAC3_U1IE.clearURSTIE_DETACHIE; inline;
  32667. begin
  32668. pTDefRegMap(@Self)^.clr := $00000001;
  32669. end;
  32670. procedure TDMAC3_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32671. begin
  32672. if thebits = 0 then
  32673. pTDefRegMap(@Self)^.clr := $00000001
  32674. else
  32675. pTDefRegMap(@Self)^.&set := $00000001;
  32676. end;
  32677. function TDMAC3_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32678. begin
  32679. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32680. end;
  32681. procedure TDMAC3_U1IE.setUERRIE; inline;
  32682. begin
  32683. pTDefRegMap(@Self)^.&set := $00000002;
  32684. end;
  32685. procedure TDMAC3_U1IE.clearUERRIE; inline;
  32686. begin
  32687. pTDefRegMap(@Self)^.clr := $00000002;
  32688. end;
  32689. procedure TDMAC3_U1IE.setUERRIE(thebits : TBits_1); inline;
  32690. begin
  32691. if thebits = 0 then
  32692. pTDefRegMap(@Self)^.clr := $00000002
  32693. else
  32694. pTDefRegMap(@Self)^.&set := $00000002;
  32695. end;
  32696. function TDMAC3_U1IE.getUERRIE : TBits_1; inline;
  32697. begin
  32698. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32699. end;
  32700. procedure TDMAC3_U1IE.setSOFIE; inline;
  32701. begin
  32702. pTDefRegMap(@Self)^.&set := $00000004;
  32703. end;
  32704. procedure TDMAC3_U1IE.clearSOFIE; inline;
  32705. begin
  32706. pTDefRegMap(@Self)^.clr := $00000004;
  32707. end;
  32708. procedure TDMAC3_U1IE.setSOFIE(thebits : TBits_1); inline;
  32709. begin
  32710. if thebits = 0 then
  32711. pTDefRegMap(@Self)^.clr := $00000004
  32712. else
  32713. pTDefRegMap(@Self)^.&set := $00000004;
  32714. end;
  32715. function TDMAC3_U1IE.getSOFIE : TBits_1; inline;
  32716. begin
  32717. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32718. end;
  32719. procedure TDMAC3_U1IE.setTRNIE; inline;
  32720. begin
  32721. pTDefRegMap(@Self)^.&set := $00000008;
  32722. end;
  32723. procedure TDMAC3_U1IE.clearTRNIE; inline;
  32724. begin
  32725. pTDefRegMap(@Self)^.clr := $00000008;
  32726. end;
  32727. procedure TDMAC3_U1IE.setTRNIE(thebits : TBits_1); inline;
  32728. begin
  32729. if thebits = 0 then
  32730. pTDefRegMap(@Self)^.clr := $00000008
  32731. else
  32732. pTDefRegMap(@Self)^.&set := $00000008;
  32733. end;
  32734. function TDMAC3_U1IE.getTRNIE : TBits_1; inline;
  32735. begin
  32736. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32737. end;
  32738. procedure TDMAC3_U1IE.setIDLEIE; inline;
  32739. begin
  32740. pTDefRegMap(@Self)^.&set := $00000010;
  32741. end;
  32742. procedure TDMAC3_U1IE.clearIDLEIE; inline;
  32743. begin
  32744. pTDefRegMap(@Self)^.clr := $00000010;
  32745. end;
  32746. procedure TDMAC3_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32747. begin
  32748. if thebits = 0 then
  32749. pTDefRegMap(@Self)^.clr := $00000010
  32750. else
  32751. pTDefRegMap(@Self)^.&set := $00000010;
  32752. end;
  32753. function TDMAC3_U1IE.getIDLEIE : TBits_1; inline;
  32754. begin
  32755. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32756. end;
  32757. procedure TDMAC3_U1IE.setRESUMEIE; inline;
  32758. begin
  32759. pTDefRegMap(@Self)^.&set := $00000020;
  32760. end;
  32761. procedure TDMAC3_U1IE.clearRESUMEIE; inline;
  32762. begin
  32763. pTDefRegMap(@Self)^.clr := $00000020;
  32764. end;
  32765. procedure TDMAC3_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32766. begin
  32767. if thebits = 0 then
  32768. pTDefRegMap(@Self)^.clr := $00000020
  32769. else
  32770. pTDefRegMap(@Self)^.&set := $00000020;
  32771. end;
  32772. function TDMAC3_U1IE.getRESUMEIE : TBits_1; inline;
  32773. begin
  32774. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32775. end;
  32776. procedure TDMAC3_U1IE.setATTACHIE; inline;
  32777. begin
  32778. pTDefRegMap(@Self)^.&set := $00000040;
  32779. end;
  32780. procedure TDMAC3_U1IE.clearATTACHIE; inline;
  32781. begin
  32782. pTDefRegMap(@Self)^.clr := $00000040;
  32783. end;
  32784. procedure TDMAC3_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32785. begin
  32786. if thebits = 0 then
  32787. pTDefRegMap(@Self)^.clr := $00000040
  32788. else
  32789. pTDefRegMap(@Self)^.&set := $00000040;
  32790. end;
  32791. function TDMAC3_U1IE.getATTACHIE : TBits_1; inline;
  32792. begin
  32793. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32794. end;
  32795. procedure TDMAC3_U1IE.setSTALLIE; inline;
  32796. begin
  32797. pTDefRegMap(@Self)^.&set := $00000080;
  32798. end;
  32799. procedure TDMAC3_U1IE.clearSTALLIE; inline;
  32800. begin
  32801. pTDefRegMap(@Self)^.clr := $00000080;
  32802. end;
  32803. procedure TDMAC3_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32804. begin
  32805. if thebits = 0 then
  32806. pTDefRegMap(@Self)^.clr := $00000080
  32807. else
  32808. pTDefRegMap(@Self)^.&set := $00000080;
  32809. end;
  32810. function TDMAC3_U1IE.getSTALLIE : TBits_1; inline;
  32811. begin
  32812. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32813. end;
  32814. procedure TDMAC3_U1IE.setDETACHIE; inline;
  32815. begin
  32816. pTDefRegMap(@Self)^.&set := $00000001;
  32817. end;
  32818. procedure TDMAC3_U1IE.clearDETACHIE; inline;
  32819. begin
  32820. pTDefRegMap(@Self)^.clr := $00000001;
  32821. end;
  32822. procedure TDMAC3_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32823. begin
  32824. if thebits = 0 then
  32825. pTDefRegMap(@Self)^.clr := $00000001
  32826. else
  32827. pTDefRegMap(@Self)^.&set := $00000001;
  32828. end;
  32829. function TDMAC3_U1IE.getDETACHIE : TBits_1; inline;
  32830. begin
  32831. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32832. end;
  32833. procedure TDMAC3_U1IE.setURSTIE; inline;
  32834. begin
  32835. pTDefRegMap(@Self)^.&set := $00000001;
  32836. end;
  32837. procedure TDMAC3_U1IE.clearURSTIE; inline;
  32838. begin
  32839. pTDefRegMap(@Self)^.clr := $00000001;
  32840. end;
  32841. procedure TDMAC3_U1IE.setURSTIE(thebits : TBits_1); inline;
  32842. begin
  32843. if thebits = 0 then
  32844. pTDefRegMap(@Self)^.clr := $00000001
  32845. else
  32846. pTDefRegMap(@Self)^.&set := $00000001;
  32847. end;
  32848. function TDMAC3_U1IE.getURSTIE : TBits_1; inline;
  32849. begin
  32850. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32851. end;
  32852. procedure TDMAC3_U1EIR.setPIDEF; inline;
  32853. begin
  32854. pTDefRegMap(@Self)^.&set := $00000001;
  32855. end;
  32856. procedure TDMAC3_U1EIR.clearPIDEF; inline;
  32857. begin
  32858. pTDefRegMap(@Self)^.clr := $00000001;
  32859. end;
  32860. procedure TDMAC3_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32861. begin
  32862. if thebits = 0 then
  32863. pTDefRegMap(@Self)^.clr := $00000001
  32864. else
  32865. pTDefRegMap(@Self)^.&set := $00000001;
  32866. end;
  32867. function TDMAC3_U1EIR.getPIDEF : TBits_1; inline;
  32868. begin
  32869. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32870. end;
  32871. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF; inline;
  32872. begin
  32873. pTDefRegMap(@Self)^.&set := $00000002;
  32874. end;
  32875. procedure TDMAC3_U1EIR.clearCRC5EF_EOFEF; inline;
  32876. begin
  32877. pTDefRegMap(@Self)^.clr := $00000002;
  32878. end;
  32879. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32880. begin
  32881. if thebits = 0 then
  32882. pTDefRegMap(@Self)^.clr := $00000002
  32883. else
  32884. pTDefRegMap(@Self)^.&set := $00000002;
  32885. end;
  32886. function TDMAC3_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32887. begin
  32888. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32889. end;
  32890. procedure TDMAC3_U1EIR.setCRC16EF; inline;
  32891. begin
  32892. pTDefRegMap(@Self)^.&set := $00000004;
  32893. end;
  32894. procedure TDMAC3_U1EIR.clearCRC16EF; inline;
  32895. begin
  32896. pTDefRegMap(@Self)^.clr := $00000004;
  32897. end;
  32898. procedure TDMAC3_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32899. begin
  32900. if thebits = 0 then
  32901. pTDefRegMap(@Self)^.clr := $00000004
  32902. else
  32903. pTDefRegMap(@Self)^.&set := $00000004;
  32904. end;
  32905. function TDMAC3_U1EIR.getCRC16EF : TBits_1; inline;
  32906. begin
  32907. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32908. end;
  32909. procedure TDMAC3_U1EIR.setDFN8EF; inline;
  32910. begin
  32911. pTDefRegMap(@Self)^.&set := $00000008;
  32912. end;
  32913. procedure TDMAC3_U1EIR.clearDFN8EF; inline;
  32914. begin
  32915. pTDefRegMap(@Self)^.clr := $00000008;
  32916. end;
  32917. procedure TDMAC3_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32918. begin
  32919. if thebits = 0 then
  32920. pTDefRegMap(@Self)^.clr := $00000008
  32921. else
  32922. pTDefRegMap(@Self)^.&set := $00000008;
  32923. end;
  32924. function TDMAC3_U1EIR.getDFN8EF : TBits_1; inline;
  32925. begin
  32926. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32927. end;
  32928. procedure TDMAC3_U1EIR.setBTOEF; inline;
  32929. begin
  32930. pTDefRegMap(@Self)^.&set := $00000010;
  32931. end;
  32932. procedure TDMAC3_U1EIR.clearBTOEF; inline;
  32933. begin
  32934. pTDefRegMap(@Self)^.clr := $00000010;
  32935. end;
  32936. procedure TDMAC3_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32937. begin
  32938. if thebits = 0 then
  32939. pTDefRegMap(@Self)^.clr := $00000010
  32940. else
  32941. pTDefRegMap(@Self)^.&set := $00000010;
  32942. end;
  32943. function TDMAC3_U1EIR.getBTOEF : TBits_1; inline;
  32944. begin
  32945. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32946. end;
  32947. procedure TDMAC3_U1EIR.setDMAEF; inline;
  32948. begin
  32949. pTDefRegMap(@Self)^.&set := $00000020;
  32950. end;
  32951. procedure TDMAC3_U1EIR.clearDMAEF; inline;
  32952. begin
  32953. pTDefRegMap(@Self)^.clr := $00000020;
  32954. end;
  32955. procedure TDMAC3_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32956. begin
  32957. if thebits = 0 then
  32958. pTDefRegMap(@Self)^.clr := $00000020
  32959. else
  32960. pTDefRegMap(@Self)^.&set := $00000020;
  32961. end;
  32962. function TDMAC3_U1EIR.getDMAEF : TBits_1; inline;
  32963. begin
  32964. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32965. end;
  32966. procedure TDMAC3_U1EIR.setBMXEF; inline;
  32967. begin
  32968. pTDefRegMap(@Self)^.&set := $00000040;
  32969. end;
  32970. procedure TDMAC3_U1EIR.clearBMXEF; inline;
  32971. begin
  32972. pTDefRegMap(@Self)^.clr := $00000040;
  32973. end;
  32974. procedure TDMAC3_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32975. begin
  32976. if thebits = 0 then
  32977. pTDefRegMap(@Self)^.clr := $00000040
  32978. else
  32979. pTDefRegMap(@Self)^.&set := $00000040;
  32980. end;
  32981. function TDMAC3_U1EIR.getBMXEF : TBits_1; inline;
  32982. begin
  32983. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32984. end;
  32985. procedure TDMAC3_U1EIR.setBTSEF; inline;
  32986. begin
  32987. pTDefRegMap(@Self)^.&set := $00000080;
  32988. end;
  32989. procedure TDMAC3_U1EIR.clearBTSEF; inline;
  32990. begin
  32991. pTDefRegMap(@Self)^.clr := $00000080;
  32992. end;
  32993. procedure TDMAC3_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32994. begin
  32995. if thebits = 0 then
  32996. pTDefRegMap(@Self)^.clr := $00000080
  32997. else
  32998. pTDefRegMap(@Self)^.&set := $00000080;
  32999. end;
  33000. function TDMAC3_U1EIR.getBTSEF : TBits_1; inline;
  33001. begin
  33002. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33003. end;
  33004. procedure TDMAC3_U1EIR.setCRC5EF; inline;
  33005. begin
  33006. pTDefRegMap(@Self)^.&set := $00000002;
  33007. end;
  33008. procedure TDMAC3_U1EIR.clearCRC5EF; inline;
  33009. begin
  33010. pTDefRegMap(@Self)^.clr := $00000002;
  33011. end;
  33012. procedure TDMAC3_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  33013. begin
  33014. if thebits = 0 then
  33015. pTDefRegMap(@Self)^.clr := $00000002
  33016. else
  33017. pTDefRegMap(@Self)^.&set := $00000002;
  33018. end;
  33019. function TDMAC3_U1EIR.getCRC5EF : TBits_1; inline;
  33020. begin
  33021. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33022. end;
  33023. procedure TDMAC3_U1EIR.setEOFEF; inline;
  33024. begin
  33025. pTDefRegMap(@Self)^.&set := $00000002;
  33026. end;
  33027. procedure TDMAC3_U1EIR.clearEOFEF; inline;
  33028. begin
  33029. pTDefRegMap(@Self)^.clr := $00000002;
  33030. end;
  33031. procedure TDMAC3_U1EIR.setEOFEF(thebits : TBits_1); inline;
  33032. begin
  33033. if thebits = 0 then
  33034. pTDefRegMap(@Self)^.clr := $00000002
  33035. else
  33036. pTDefRegMap(@Self)^.&set := $00000002;
  33037. end;
  33038. function TDMAC3_U1EIR.getEOFEF : TBits_1; inline;
  33039. begin
  33040. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33041. end;
  33042. procedure TDMAC3_U1EIE.setPIDEE; inline;
  33043. begin
  33044. pTDefRegMap(@Self)^.&set := $00000001;
  33045. end;
  33046. procedure TDMAC3_U1EIE.clearPIDEE; inline;
  33047. begin
  33048. pTDefRegMap(@Self)^.clr := $00000001;
  33049. end;
  33050. procedure TDMAC3_U1EIE.setPIDEE(thebits : TBits_1); inline;
  33051. begin
  33052. if thebits = 0 then
  33053. pTDefRegMap(@Self)^.clr := $00000001
  33054. else
  33055. pTDefRegMap(@Self)^.&set := $00000001;
  33056. end;
  33057. function TDMAC3_U1EIE.getPIDEE : TBits_1; inline;
  33058. begin
  33059. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33060. end;
  33061. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE; inline;
  33062. begin
  33063. pTDefRegMap(@Self)^.&set := $00000002;
  33064. end;
  33065. procedure TDMAC3_U1EIE.clearCRC5EE_EOFEE; inline;
  33066. begin
  33067. pTDefRegMap(@Self)^.clr := $00000002;
  33068. end;
  33069. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  33070. begin
  33071. if thebits = 0 then
  33072. pTDefRegMap(@Self)^.clr := $00000002
  33073. else
  33074. pTDefRegMap(@Self)^.&set := $00000002;
  33075. end;
  33076. function TDMAC3_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  33077. begin
  33078. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33079. end;
  33080. procedure TDMAC3_U1EIE.setCRC16EE; inline;
  33081. begin
  33082. pTDefRegMap(@Self)^.&set := $00000004;
  33083. end;
  33084. procedure TDMAC3_U1EIE.clearCRC16EE; inline;
  33085. begin
  33086. pTDefRegMap(@Self)^.clr := $00000004;
  33087. end;
  33088. procedure TDMAC3_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  33089. begin
  33090. if thebits = 0 then
  33091. pTDefRegMap(@Self)^.clr := $00000004
  33092. else
  33093. pTDefRegMap(@Self)^.&set := $00000004;
  33094. end;
  33095. function TDMAC3_U1EIE.getCRC16EE : TBits_1; inline;
  33096. begin
  33097. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33098. end;
  33099. procedure TDMAC3_U1EIE.setDFN8EE; inline;
  33100. begin
  33101. pTDefRegMap(@Self)^.&set := $00000008;
  33102. end;
  33103. procedure TDMAC3_U1EIE.clearDFN8EE; inline;
  33104. begin
  33105. pTDefRegMap(@Self)^.clr := $00000008;
  33106. end;
  33107. procedure TDMAC3_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  33108. begin
  33109. if thebits = 0 then
  33110. pTDefRegMap(@Self)^.clr := $00000008
  33111. else
  33112. pTDefRegMap(@Self)^.&set := $00000008;
  33113. end;
  33114. function TDMAC3_U1EIE.getDFN8EE : TBits_1; inline;
  33115. begin
  33116. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33117. end;
  33118. procedure TDMAC3_U1EIE.setBTOEE; inline;
  33119. begin
  33120. pTDefRegMap(@Self)^.&set := $00000010;
  33121. end;
  33122. procedure TDMAC3_U1EIE.clearBTOEE; inline;
  33123. begin
  33124. pTDefRegMap(@Self)^.clr := $00000010;
  33125. end;
  33126. procedure TDMAC3_U1EIE.setBTOEE(thebits : TBits_1); inline;
  33127. begin
  33128. if thebits = 0 then
  33129. pTDefRegMap(@Self)^.clr := $00000010
  33130. else
  33131. pTDefRegMap(@Self)^.&set := $00000010;
  33132. end;
  33133. function TDMAC3_U1EIE.getBTOEE : TBits_1; inline;
  33134. begin
  33135. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33136. end;
  33137. procedure TDMAC3_U1EIE.setDMAEE; inline;
  33138. begin
  33139. pTDefRegMap(@Self)^.&set := $00000020;
  33140. end;
  33141. procedure TDMAC3_U1EIE.clearDMAEE; inline;
  33142. begin
  33143. pTDefRegMap(@Self)^.clr := $00000020;
  33144. end;
  33145. procedure TDMAC3_U1EIE.setDMAEE(thebits : TBits_1); inline;
  33146. begin
  33147. if thebits = 0 then
  33148. pTDefRegMap(@Self)^.clr := $00000020
  33149. else
  33150. pTDefRegMap(@Self)^.&set := $00000020;
  33151. end;
  33152. function TDMAC3_U1EIE.getDMAEE : TBits_1; inline;
  33153. begin
  33154. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33155. end;
  33156. procedure TDMAC3_U1EIE.setBMXEE; inline;
  33157. begin
  33158. pTDefRegMap(@Self)^.&set := $00000040;
  33159. end;
  33160. procedure TDMAC3_U1EIE.clearBMXEE; inline;
  33161. begin
  33162. pTDefRegMap(@Self)^.clr := $00000040;
  33163. end;
  33164. procedure TDMAC3_U1EIE.setBMXEE(thebits : TBits_1); inline;
  33165. begin
  33166. if thebits = 0 then
  33167. pTDefRegMap(@Self)^.clr := $00000040
  33168. else
  33169. pTDefRegMap(@Self)^.&set := $00000040;
  33170. end;
  33171. function TDMAC3_U1EIE.getBMXEE : TBits_1; inline;
  33172. begin
  33173. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33174. end;
  33175. procedure TDMAC3_U1EIE.setBTSEE; inline;
  33176. begin
  33177. pTDefRegMap(@Self)^.&set := $00000080;
  33178. end;
  33179. procedure TDMAC3_U1EIE.clearBTSEE; inline;
  33180. begin
  33181. pTDefRegMap(@Self)^.clr := $00000080;
  33182. end;
  33183. procedure TDMAC3_U1EIE.setBTSEE(thebits : TBits_1); inline;
  33184. begin
  33185. if thebits = 0 then
  33186. pTDefRegMap(@Self)^.clr := $00000080
  33187. else
  33188. pTDefRegMap(@Self)^.&set := $00000080;
  33189. end;
  33190. function TDMAC3_U1EIE.getBTSEE : TBits_1; inline;
  33191. begin
  33192. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33193. end;
  33194. procedure TDMAC3_U1EIE.setCRC5EE; inline;
  33195. begin
  33196. pTDefRegMap(@Self)^.&set := $00000002;
  33197. end;
  33198. procedure TDMAC3_U1EIE.clearCRC5EE; inline;
  33199. begin
  33200. pTDefRegMap(@Self)^.clr := $00000002;
  33201. end;
  33202. procedure TDMAC3_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  33203. begin
  33204. if thebits = 0 then
  33205. pTDefRegMap(@Self)^.clr := $00000002
  33206. else
  33207. pTDefRegMap(@Self)^.&set := $00000002;
  33208. end;
  33209. function TDMAC3_U1EIE.getCRC5EE : TBits_1; inline;
  33210. begin
  33211. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33212. end;
  33213. procedure TDMAC3_U1EIE.setEOFEE; inline;
  33214. begin
  33215. pTDefRegMap(@Self)^.&set := $00000002;
  33216. end;
  33217. procedure TDMAC3_U1EIE.clearEOFEE; inline;
  33218. begin
  33219. pTDefRegMap(@Self)^.clr := $00000002;
  33220. end;
  33221. procedure TDMAC3_U1EIE.setEOFEE(thebits : TBits_1); inline;
  33222. begin
  33223. if thebits = 0 then
  33224. pTDefRegMap(@Self)^.clr := $00000002
  33225. else
  33226. pTDefRegMap(@Self)^.&set := $00000002;
  33227. end;
  33228. function TDMAC3_U1EIE.getEOFEE : TBits_1; inline;
  33229. begin
  33230. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33231. end;
  33232. procedure TDMAC3_U1STAT.setPPBI; inline;
  33233. begin
  33234. pTDefRegMap(@Self)^.&set := $00000004;
  33235. end;
  33236. procedure TDMAC3_U1STAT.clearPPBI; inline;
  33237. begin
  33238. pTDefRegMap(@Self)^.clr := $00000004;
  33239. end;
  33240. procedure TDMAC3_U1STAT.setPPBI(thebits : TBits_1); inline;
  33241. begin
  33242. if thebits = 0 then
  33243. pTDefRegMap(@Self)^.clr := $00000004
  33244. else
  33245. pTDefRegMap(@Self)^.&set := $00000004;
  33246. end;
  33247. function TDMAC3_U1STAT.getPPBI : TBits_1; inline;
  33248. begin
  33249. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33250. end;
  33251. procedure TDMAC3_U1STAT.setDIR; inline;
  33252. begin
  33253. pTDefRegMap(@Self)^.&set := $00000008;
  33254. end;
  33255. procedure TDMAC3_U1STAT.clearDIR; inline;
  33256. begin
  33257. pTDefRegMap(@Self)^.clr := $00000008;
  33258. end;
  33259. procedure TDMAC3_U1STAT.setDIR(thebits : TBits_1); inline;
  33260. begin
  33261. if thebits = 0 then
  33262. pTDefRegMap(@Self)^.clr := $00000008
  33263. else
  33264. pTDefRegMap(@Self)^.&set := $00000008;
  33265. end;
  33266. function TDMAC3_U1STAT.getDIR : TBits_1; inline;
  33267. begin
  33268. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33269. end;
  33270. procedure TDMAC3_U1STAT.setENDPT(thebits : TBits_4); inline;
  33271. begin
  33272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33273. end;
  33274. function TDMAC3_U1STAT.getENDPT : TBits_4; inline;
  33275. begin
  33276. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33277. end;
  33278. procedure TDMAC3_U1STAT.setENDPT0; inline;
  33279. begin
  33280. pTDefRegMap(@Self)^.&set := $00000010;
  33281. end;
  33282. procedure TDMAC3_U1STAT.clearENDPT0; inline;
  33283. begin
  33284. pTDefRegMap(@Self)^.clr := $00000010;
  33285. end;
  33286. procedure TDMAC3_U1STAT.setENDPT0(thebits : TBits_1); inline;
  33287. begin
  33288. if thebits = 0 then
  33289. pTDefRegMap(@Self)^.clr := $00000010
  33290. else
  33291. pTDefRegMap(@Self)^.&set := $00000010;
  33292. end;
  33293. function TDMAC3_U1STAT.getENDPT0 : TBits_1; inline;
  33294. begin
  33295. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33296. end;
  33297. procedure TDMAC3_U1STAT.setENDPT1; inline;
  33298. begin
  33299. pTDefRegMap(@Self)^.&set := $00000020;
  33300. end;
  33301. procedure TDMAC3_U1STAT.clearENDPT1; inline;
  33302. begin
  33303. pTDefRegMap(@Self)^.clr := $00000020;
  33304. end;
  33305. procedure TDMAC3_U1STAT.setENDPT1(thebits : TBits_1); inline;
  33306. begin
  33307. if thebits = 0 then
  33308. pTDefRegMap(@Self)^.clr := $00000020
  33309. else
  33310. pTDefRegMap(@Self)^.&set := $00000020;
  33311. end;
  33312. function TDMAC3_U1STAT.getENDPT1 : TBits_1; inline;
  33313. begin
  33314. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33315. end;
  33316. procedure TDMAC3_U1STAT.setENDPT2; inline;
  33317. begin
  33318. pTDefRegMap(@Self)^.&set := $00000040;
  33319. end;
  33320. procedure TDMAC3_U1STAT.clearENDPT2; inline;
  33321. begin
  33322. pTDefRegMap(@Self)^.clr := $00000040;
  33323. end;
  33324. procedure TDMAC3_U1STAT.setENDPT2(thebits : TBits_1); inline;
  33325. begin
  33326. if thebits = 0 then
  33327. pTDefRegMap(@Self)^.clr := $00000040
  33328. else
  33329. pTDefRegMap(@Self)^.&set := $00000040;
  33330. end;
  33331. function TDMAC3_U1STAT.getENDPT2 : TBits_1; inline;
  33332. begin
  33333. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33334. end;
  33335. procedure TDMAC3_U1STAT.setENDPT3; inline;
  33336. begin
  33337. pTDefRegMap(@Self)^.&set := $00000080;
  33338. end;
  33339. procedure TDMAC3_U1STAT.clearENDPT3; inline;
  33340. begin
  33341. pTDefRegMap(@Self)^.clr := $00000080;
  33342. end;
  33343. procedure TDMAC3_U1STAT.setENDPT3(thebits : TBits_1); inline;
  33344. begin
  33345. if thebits = 0 then
  33346. pTDefRegMap(@Self)^.clr := $00000080
  33347. else
  33348. pTDefRegMap(@Self)^.&set := $00000080;
  33349. end;
  33350. function TDMAC3_U1STAT.getENDPT3 : TBits_1; inline;
  33351. begin
  33352. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33353. end;
  33354. procedure TDMAC3_U1CON.setUSBEN_SOFEN; inline;
  33355. begin
  33356. pTDefRegMap(@Self)^.&set := $00000001;
  33357. end;
  33358. procedure TDMAC3_U1CON.clearUSBEN_SOFEN; inline;
  33359. begin
  33360. pTDefRegMap(@Self)^.clr := $00000001;
  33361. end;
  33362. procedure TDMAC3_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  33363. begin
  33364. if thebits = 0 then
  33365. pTDefRegMap(@Self)^.clr := $00000001
  33366. else
  33367. pTDefRegMap(@Self)^.&set := $00000001;
  33368. end;
  33369. function TDMAC3_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  33370. begin
  33371. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33372. end;
  33373. procedure TDMAC3_U1CON.setPPBRST; inline;
  33374. begin
  33375. pTDefRegMap(@Self)^.&set := $00000002;
  33376. end;
  33377. procedure TDMAC3_U1CON.clearPPBRST; inline;
  33378. begin
  33379. pTDefRegMap(@Self)^.clr := $00000002;
  33380. end;
  33381. procedure TDMAC3_U1CON.setPPBRST(thebits : TBits_1); inline;
  33382. begin
  33383. if thebits = 0 then
  33384. pTDefRegMap(@Self)^.clr := $00000002
  33385. else
  33386. pTDefRegMap(@Self)^.&set := $00000002;
  33387. end;
  33388. function TDMAC3_U1CON.getPPBRST : TBits_1; inline;
  33389. begin
  33390. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33391. end;
  33392. procedure TDMAC3_U1CON.setRESUME; inline;
  33393. begin
  33394. pTDefRegMap(@Self)^.&set := $00000004;
  33395. end;
  33396. procedure TDMAC3_U1CON.clearRESUME; inline;
  33397. begin
  33398. pTDefRegMap(@Self)^.clr := $00000004;
  33399. end;
  33400. procedure TDMAC3_U1CON.setRESUME(thebits : TBits_1); inline;
  33401. begin
  33402. if thebits = 0 then
  33403. pTDefRegMap(@Self)^.clr := $00000004
  33404. else
  33405. pTDefRegMap(@Self)^.&set := $00000004;
  33406. end;
  33407. function TDMAC3_U1CON.getRESUME : TBits_1; inline;
  33408. begin
  33409. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33410. end;
  33411. procedure TDMAC3_U1CON.setHOSTEN; inline;
  33412. begin
  33413. pTDefRegMap(@Self)^.&set := $00000008;
  33414. end;
  33415. procedure TDMAC3_U1CON.clearHOSTEN; inline;
  33416. begin
  33417. pTDefRegMap(@Self)^.clr := $00000008;
  33418. end;
  33419. procedure TDMAC3_U1CON.setHOSTEN(thebits : TBits_1); inline;
  33420. begin
  33421. if thebits = 0 then
  33422. pTDefRegMap(@Self)^.clr := $00000008
  33423. else
  33424. pTDefRegMap(@Self)^.&set := $00000008;
  33425. end;
  33426. function TDMAC3_U1CON.getHOSTEN : TBits_1; inline;
  33427. begin
  33428. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33429. end;
  33430. procedure TDMAC3_U1CON.setUSBRST; inline;
  33431. begin
  33432. pTDefRegMap(@Self)^.&set := $00000010;
  33433. end;
  33434. procedure TDMAC3_U1CON.clearUSBRST; inline;
  33435. begin
  33436. pTDefRegMap(@Self)^.clr := $00000010;
  33437. end;
  33438. procedure TDMAC3_U1CON.setUSBRST(thebits : TBits_1); inline;
  33439. begin
  33440. if thebits = 0 then
  33441. pTDefRegMap(@Self)^.clr := $00000010
  33442. else
  33443. pTDefRegMap(@Self)^.&set := $00000010;
  33444. end;
  33445. function TDMAC3_U1CON.getUSBRST : TBits_1; inline;
  33446. begin
  33447. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33448. end;
  33449. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY; inline;
  33450. begin
  33451. pTDefRegMap(@Self)^.&set := $00000020;
  33452. end;
  33453. procedure TDMAC3_U1CON.clearPKTDIS_TOKBUSY; inline;
  33454. begin
  33455. pTDefRegMap(@Self)^.clr := $00000020;
  33456. end;
  33457. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  33458. begin
  33459. if thebits = 0 then
  33460. pTDefRegMap(@Self)^.clr := $00000020
  33461. else
  33462. pTDefRegMap(@Self)^.&set := $00000020;
  33463. end;
  33464. function TDMAC3_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  33465. begin
  33466. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33467. end;
  33468. procedure TDMAC3_U1CON.setSE0; inline;
  33469. begin
  33470. pTDefRegMap(@Self)^.&set := $00000040;
  33471. end;
  33472. procedure TDMAC3_U1CON.clearSE0; inline;
  33473. begin
  33474. pTDefRegMap(@Self)^.clr := $00000040;
  33475. end;
  33476. procedure TDMAC3_U1CON.setSE0(thebits : TBits_1); inline;
  33477. begin
  33478. if thebits = 0 then
  33479. pTDefRegMap(@Self)^.clr := $00000040
  33480. else
  33481. pTDefRegMap(@Self)^.&set := $00000040;
  33482. end;
  33483. function TDMAC3_U1CON.getSE0 : TBits_1; inline;
  33484. begin
  33485. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33486. end;
  33487. procedure TDMAC3_U1CON.setJSTATE; inline;
  33488. begin
  33489. pTDefRegMap(@Self)^.&set := $00000080;
  33490. end;
  33491. procedure TDMAC3_U1CON.clearJSTATE; inline;
  33492. begin
  33493. pTDefRegMap(@Self)^.clr := $00000080;
  33494. end;
  33495. procedure TDMAC3_U1CON.setJSTATE(thebits : TBits_1); inline;
  33496. begin
  33497. if thebits = 0 then
  33498. pTDefRegMap(@Self)^.clr := $00000080
  33499. else
  33500. pTDefRegMap(@Self)^.&set := $00000080;
  33501. end;
  33502. function TDMAC3_U1CON.getJSTATE : TBits_1; inline;
  33503. begin
  33504. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33505. end;
  33506. procedure TDMAC3_U1CON.setUSBEN; inline;
  33507. begin
  33508. pTDefRegMap(@Self)^.&set := $00000001;
  33509. end;
  33510. procedure TDMAC3_U1CON.clearUSBEN; inline;
  33511. begin
  33512. pTDefRegMap(@Self)^.clr := $00000001;
  33513. end;
  33514. procedure TDMAC3_U1CON.setUSBEN(thebits : TBits_1); inline;
  33515. begin
  33516. if thebits = 0 then
  33517. pTDefRegMap(@Self)^.clr := $00000001
  33518. else
  33519. pTDefRegMap(@Self)^.&set := $00000001;
  33520. end;
  33521. function TDMAC3_U1CON.getUSBEN : TBits_1; inline;
  33522. begin
  33523. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33524. end;
  33525. procedure TDMAC3_U1CON.setSOFEN; inline;
  33526. begin
  33527. pTDefRegMap(@Self)^.&set := $00000001;
  33528. end;
  33529. procedure TDMAC3_U1CON.clearSOFEN; inline;
  33530. begin
  33531. pTDefRegMap(@Self)^.clr := $00000001;
  33532. end;
  33533. procedure TDMAC3_U1CON.setSOFEN(thebits : TBits_1); inline;
  33534. begin
  33535. if thebits = 0 then
  33536. pTDefRegMap(@Self)^.clr := $00000001
  33537. else
  33538. pTDefRegMap(@Self)^.&set := $00000001;
  33539. end;
  33540. function TDMAC3_U1CON.getSOFEN : TBits_1; inline;
  33541. begin
  33542. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33543. end;
  33544. procedure TDMAC3_U1CON.setPKTDIS; inline;
  33545. begin
  33546. pTDefRegMap(@Self)^.&set := $00000020;
  33547. end;
  33548. procedure TDMAC3_U1CON.clearPKTDIS; inline;
  33549. begin
  33550. pTDefRegMap(@Self)^.clr := $00000020;
  33551. end;
  33552. procedure TDMAC3_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33553. begin
  33554. if thebits = 0 then
  33555. pTDefRegMap(@Self)^.clr := $00000020
  33556. else
  33557. pTDefRegMap(@Self)^.&set := $00000020;
  33558. end;
  33559. function TDMAC3_U1CON.getPKTDIS : TBits_1; inline;
  33560. begin
  33561. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33562. end;
  33563. procedure TDMAC3_U1CON.setTOKBUSY; inline;
  33564. begin
  33565. pTDefRegMap(@Self)^.&set := $00000020;
  33566. end;
  33567. procedure TDMAC3_U1CON.clearTOKBUSY; inline;
  33568. begin
  33569. pTDefRegMap(@Self)^.clr := $00000020;
  33570. end;
  33571. procedure TDMAC3_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33572. begin
  33573. if thebits = 0 then
  33574. pTDefRegMap(@Self)^.clr := $00000020
  33575. else
  33576. pTDefRegMap(@Self)^.&set := $00000020;
  33577. end;
  33578. function TDMAC3_U1CON.getTOKBUSY : TBits_1; inline;
  33579. begin
  33580. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33581. end;
  33582. procedure TDMAC3_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33583. begin
  33584. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33585. end;
  33586. function TDMAC3_U1ADDR.getDEVADDR : TBits_7; inline;
  33587. begin
  33588. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33589. end;
  33590. procedure TDMAC3_U1ADDR.setLSPDEN; inline;
  33591. begin
  33592. pTDefRegMap(@Self)^.&set := $00000080;
  33593. end;
  33594. procedure TDMAC3_U1ADDR.clearLSPDEN; inline;
  33595. begin
  33596. pTDefRegMap(@Self)^.clr := $00000080;
  33597. end;
  33598. procedure TDMAC3_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33599. begin
  33600. if thebits = 0 then
  33601. pTDefRegMap(@Self)^.clr := $00000080
  33602. else
  33603. pTDefRegMap(@Self)^.&set := $00000080;
  33604. end;
  33605. function TDMAC3_U1ADDR.getLSPDEN : TBits_1; inline;
  33606. begin
  33607. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33608. end;
  33609. procedure TDMAC3_U1ADDR.setDEVADDR0; inline;
  33610. begin
  33611. pTDefRegMap(@Self)^.&set := $00000001;
  33612. end;
  33613. procedure TDMAC3_U1ADDR.clearDEVADDR0; inline;
  33614. begin
  33615. pTDefRegMap(@Self)^.clr := $00000001;
  33616. end;
  33617. procedure TDMAC3_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33618. begin
  33619. if thebits = 0 then
  33620. pTDefRegMap(@Self)^.clr := $00000001
  33621. else
  33622. pTDefRegMap(@Self)^.&set := $00000001;
  33623. end;
  33624. function TDMAC3_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33625. begin
  33626. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33627. end;
  33628. procedure TDMAC3_U1ADDR.setDEVADDR1; inline;
  33629. begin
  33630. pTDefRegMap(@Self)^.&set := $00000002;
  33631. end;
  33632. procedure TDMAC3_U1ADDR.clearDEVADDR1; inline;
  33633. begin
  33634. pTDefRegMap(@Self)^.clr := $00000002;
  33635. end;
  33636. procedure TDMAC3_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33637. begin
  33638. if thebits = 0 then
  33639. pTDefRegMap(@Self)^.clr := $00000002
  33640. else
  33641. pTDefRegMap(@Self)^.&set := $00000002;
  33642. end;
  33643. function TDMAC3_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33644. begin
  33645. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33646. end;
  33647. procedure TDMAC3_U1ADDR.setDEVADDR2; inline;
  33648. begin
  33649. pTDefRegMap(@Self)^.&set := $00000004;
  33650. end;
  33651. procedure TDMAC3_U1ADDR.clearDEVADDR2; inline;
  33652. begin
  33653. pTDefRegMap(@Self)^.clr := $00000004;
  33654. end;
  33655. procedure TDMAC3_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33656. begin
  33657. if thebits = 0 then
  33658. pTDefRegMap(@Self)^.clr := $00000004
  33659. else
  33660. pTDefRegMap(@Self)^.&set := $00000004;
  33661. end;
  33662. function TDMAC3_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33663. begin
  33664. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33665. end;
  33666. procedure TDMAC3_U1ADDR.setDEVADDR3; inline;
  33667. begin
  33668. pTDefRegMap(@Self)^.&set := $00000008;
  33669. end;
  33670. procedure TDMAC3_U1ADDR.clearDEVADDR3; inline;
  33671. begin
  33672. pTDefRegMap(@Self)^.clr := $00000008;
  33673. end;
  33674. procedure TDMAC3_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33675. begin
  33676. if thebits = 0 then
  33677. pTDefRegMap(@Self)^.clr := $00000008
  33678. else
  33679. pTDefRegMap(@Self)^.&set := $00000008;
  33680. end;
  33681. function TDMAC3_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33682. begin
  33683. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33684. end;
  33685. procedure TDMAC3_U1ADDR.setDEVADDR4; inline;
  33686. begin
  33687. pTDefRegMap(@Self)^.&set := $00000010;
  33688. end;
  33689. procedure TDMAC3_U1ADDR.clearDEVADDR4; inline;
  33690. begin
  33691. pTDefRegMap(@Self)^.clr := $00000010;
  33692. end;
  33693. procedure TDMAC3_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33694. begin
  33695. if thebits = 0 then
  33696. pTDefRegMap(@Self)^.clr := $00000010
  33697. else
  33698. pTDefRegMap(@Self)^.&set := $00000010;
  33699. end;
  33700. function TDMAC3_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33701. begin
  33702. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33703. end;
  33704. procedure TDMAC3_U1ADDR.setDEVADDR5; inline;
  33705. begin
  33706. pTDefRegMap(@Self)^.&set := $00000020;
  33707. end;
  33708. procedure TDMAC3_U1ADDR.clearDEVADDR5; inline;
  33709. begin
  33710. pTDefRegMap(@Self)^.clr := $00000020;
  33711. end;
  33712. procedure TDMAC3_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33713. begin
  33714. if thebits = 0 then
  33715. pTDefRegMap(@Self)^.clr := $00000020
  33716. else
  33717. pTDefRegMap(@Self)^.&set := $00000020;
  33718. end;
  33719. function TDMAC3_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33720. begin
  33721. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33722. end;
  33723. procedure TDMAC3_U1ADDR.setDEVADDR6; inline;
  33724. begin
  33725. pTDefRegMap(@Self)^.&set := $00000040;
  33726. end;
  33727. procedure TDMAC3_U1ADDR.clearDEVADDR6; inline;
  33728. begin
  33729. pTDefRegMap(@Self)^.clr := $00000040;
  33730. end;
  33731. procedure TDMAC3_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33732. begin
  33733. if thebits = 0 then
  33734. pTDefRegMap(@Self)^.clr := $00000040
  33735. else
  33736. pTDefRegMap(@Self)^.&set := $00000040;
  33737. end;
  33738. function TDMAC3_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33739. begin
  33740. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33741. end;
  33742. procedure TDMAC3_U1FRML.setFRML(thebits : TBits_8); inline;
  33743. begin
  33744. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33745. end;
  33746. function TDMAC3_U1FRML.getFRML : TBits_8; inline;
  33747. begin
  33748. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33749. end;
  33750. procedure TDMAC3_U1FRML.setFRM0; inline;
  33751. begin
  33752. pTDefRegMap(@Self)^.&set := $00000001;
  33753. end;
  33754. procedure TDMAC3_U1FRML.clearFRM0; inline;
  33755. begin
  33756. pTDefRegMap(@Self)^.clr := $00000001;
  33757. end;
  33758. procedure TDMAC3_U1FRML.setFRM0(thebits : TBits_1); inline;
  33759. begin
  33760. if thebits = 0 then
  33761. pTDefRegMap(@Self)^.clr := $00000001
  33762. else
  33763. pTDefRegMap(@Self)^.&set := $00000001;
  33764. end;
  33765. function TDMAC3_U1FRML.getFRM0 : TBits_1; inline;
  33766. begin
  33767. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33768. end;
  33769. procedure TDMAC3_U1FRML.setFRM1; inline;
  33770. begin
  33771. pTDefRegMap(@Self)^.&set := $00000002;
  33772. end;
  33773. procedure TDMAC3_U1FRML.clearFRM1; inline;
  33774. begin
  33775. pTDefRegMap(@Self)^.clr := $00000002;
  33776. end;
  33777. procedure TDMAC3_U1FRML.setFRM1(thebits : TBits_1); inline;
  33778. begin
  33779. if thebits = 0 then
  33780. pTDefRegMap(@Self)^.clr := $00000002
  33781. else
  33782. pTDefRegMap(@Self)^.&set := $00000002;
  33783. end;
  33784. function TDMAC3_U1FRML.getFRM1 : TBits_1; inline;
  33785. begin
  33786. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33787. end;
  33788. procedure TDMAC3_U1FRML.setFRM2; inline;
  33789. begin
  33790. pTDefRegMap(@Self)^.&set := $00000004;
  33791. end;
  33792. procedure TDMAC3_U1FRML.clearFRM2; inline;
  33793. begin
  33794. pTDefRegMap(@Self)^.clr := $00000004;
  33795. end;
  33796. procedure TDMAC3_U1FRML.setFRM2(thebits : TBits_1); inline;
  33797. begin
  33798. if thebits = 0 then
  33799. pTDefRegMap(@Self)^.clr := $00000004
  33800. else
  33801. pTDefRegMap(@Self)^.&set := $00000004;
  33802. end;
  33803. function TDMAC3_U1FRML.getFRM2 : TBits_1; inline;
  33804. begin
  33805. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33806. end;
  33807. procedure TDMAC3_U1FRML.setFRM3; inline;
  33808. begin
  33809. pTDefRegMap(@Self)^.&set := $00000008;
  33810. end;
  33811. procedure TDMAC3_U1FRML.clearFRM3; inline;
  33812. begin
  33813. pTDefRegMap(@Self)^.clr := $00000008;
  33814. end;
  33815. procedure TDMAC3_U1FRML.setFRM3(thebits : TBits_1); inline;
  33816. begin
  33817. if thebits = 0 then
  33818. pTDefRegMap(@Self)^.clr := $00000008
  33819. else
  33820. pTDefRegMap(@Self)^.&set := $00000008;
  33821. end;
  33822. function TDMAC3_U1FRML.getFRM3 : TBits_1; inline;
  33823. begin
  33824. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33825. end;
  33826. procedure TDMAC3_U1FRML.setFRM4; inline;
  33827. begin
  33828. pTDefRegMap(@Self)^.&set := $00000010;
  33829. end;
  33830. procedure TDMAC3_U1FRML.clearFRM4; inline;
  33831. begin
  33832. pTDefRegMap(@Self)^.clr := $00000010;
  33833. end;
  33834. procedure TDMAC3_U1FRML.setFRM4(thebits : TBits_1); inline;
  33835. begin
  33836. if thebits = 0 then
  33837. pTDefRegMap(@Self)^.clr := $00000010
  33838. else
  33839. pTDefRegMap(@Self)^.&set := $00000010;
  33840. end;
  33841. function TDMAC3_U1FRML.getFRM4 : TBits_1; inline;
  33842. begin
  33843. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33844. end;
  33845. procedure TDMAC3_U1FRML.setFRM5; inline;
  33846. begin
  33847. pTDefRegMap(@Self)^.&set := $00000020;
  33848. end;
  33849. procedure TDMAC3_U1FRML.clearFRM5; inline;
  33850. begin
  33851. pTDefRegMap(@Self)^.clr := $00000020;
  33852. end;
  33853. procedure TDMAC3_U1FRML.setFRM5(thebits : TBits_1); inline;
  33854. begin
  33855. if thebits = 0 then
  33856. pTDefRegMap(@Self)^.clr := $00000020
  33857. else
  33858. pTDefRegMap(@Self)^.&set := $00000020;
  33859. end;
  33860. function TDMAC3_U1FRML.getFRM5 : TBits_1; inline;
  33861. begin
  33862. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33863. end;
  33864. procedure TDMAC3_U1FRML.setFRM6; inline;
  33865. begin
  33866. pTDefRegMap(@Self)^.&set := $00000040;
  33867. end;
  33868. procedure TDMAC3_U1FRML.clearFRM6; inline;
  33869. begin
  33870. pTDefRegMap(@Self)^.clr := $00000040;
  33871. end;
  33872. procedure TDMAC3_U1FRML.setFRM6(thebits : TBits_1); inline;
  33873. begin
  33874. if thebits = 0 then
  33875. pTDefRegMap(@Self)^.clr := $00000040
  33876. else
  33877. pTDefRegMap(@Self)^.&set := $00000040;
  33878. end;
  33879. function TDMAC3_U1FRML.getFRM6 : TBits_1; inline;
  33880. begin
  33881. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33882. end;
  33883. procedure TDMAC3_U1FRML.setFRM7; inline;
  33884. begin
  33885. pTDefRegMap(@Self)^.&set := $00000080;
  33886. end;
  33887. procedure TDMAC3_U1FRML.clearFRM7; inline;
  33888. begin
  33889. pTDefRegMap(@Self)^.clr := $00000080;
  33890. end;
  33891. procedure TDMAC3_U1FRML.setFRM7(thebits : TBits_1); inline;
  33892. begin
  33893. if thebits = 0 then
  33894. pTDefRegMap(@Self)^.clr := $00000080
  33895. else
  33896. pTDefRegMap(@Self)^.&set := $00000080;
  33897. end;
  33898. function TDMAC3_U1FRML.getFRM7 : TBits_1; inline;
  33899. begin
  33900. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33901. end;
  33902. procedure TDMAC3_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33903. begin
  33904. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33905. end;
  33906. function TDMAC3_U1FRMH.getFRMH : TBits_3; inline;
  33907. begin
  33908. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33909. end;
  33910. procedure TDMAC3_U1FRMH.setFRM8; inline;
  33911. begin
  33912. pTDefRegMap(@Self)^.&set := $00000001;
  33913. end;
  33914. procedure TDMAC3_U1FRMH.clearFRM8; inline;
  33915. begin
  33916. pTDefRegMap(@Self)^.clr := $00000001;
  33917. end;
  33918. procedure TDMAC3_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33919. begin
  33920. if thebits = 0 then
  33921. pTDefRegMap(@Self)^.clr := $00000001
  33922. else
  33923. pTDefRegMap(@Self)^.&set := $00000001;
  33924. end;
  33925. function TDMAC3_U1FRMH.getFRM8 : TBits_1; inline;
  33926. begin
  33927. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33928. end;
  33929. procedure TDMAC3_U1FRMH.setFRM9; inline;
  33930. begin
  33931. pTDefRegMap(@Self)^.&set := $00000002;
  33932. end;
  33933. procedure TDMAC3_U1FRMH.clearFRM9; inline;
  33934. begin
  33935. pTDefRegMap(@Self)^.clr := $00000002;
  33936. end;
  33937. procedure TDMAC3_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33938. begin
  33939. if thebits = 0 then
  33940. pTDefRegMap(@Self)^.clr := $00000002
  33941. else
  33942. pTDefRegMap(@Self)^.&set := $00000002;
  33943. end;
  33944. function TDMAC3_U1FRMH.getFRM9 : TBits_1; inline;
  33945. begin
  33946. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33947. end;
  33948. procedure TDMAC3_U1FRMH.setFRM10; inline;
  33949. begin
  33950. pTDefRegMap(@Self)^.&set := $00000004;
  33951. end;
  33952. procedure TDMAC3_U1FRMH.clearFRM10; inline;
  33953. begin
  33954. pTDefRegMap(@Self)^.clr := $00000004;
  33955. end;
  33956. procedure TDMAC3_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33957. begin
  33958. if thebits = 0 then
  33959. pTDefRegMap(@Self)^.clr := $00000004
  33960. else
  33961. pTDefRegMap(@Self)^.&set := $00000004;
  33962. end;
  33963. function TDMAC3_U1FRMH.getFRM10 : TBits_1; inline;
  33964. begin
  33965. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33966. end;
  33967. procedure TDMAC3_U1TOK.setEP(thebits : TBits_4); inline;
  33968. begin
  33969. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33970. end;
  33971. function TDMAC3_U1TOK.getEP : TBits_4; inline;
  33972. begin
  33973. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33974. end;
  33975. procedure TDMAC3_U1TOK.setPID(thebits : TBits_4); inline;
  33976. begin
  33977. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33978. end;
  33979. function TDMAC3_U1TOK.getPID : TBits_4; inline;
  33980. begin
  33981. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33982. end;
  33983. procedure TDMAC3_U1TOK.setEP0; inline;
  33984. begin
  33985. pTDefRegMap(@Self)^.&set := $00000001;
  33986. end;
  33987. procedure TDMAC3_U1TOK.clearEP0; inline;
  33988. begin
  33989. pTDefRegMap(@Self)^.clr := $00000001;
  33990. end;
  33991. procedure TDMAC3_U1TOK.setEP0(thebits : TBits_1); inline;
  33992. begin
  33993. if thebits = 0 then
  33994. pTDefRegMap(@Self)^.clr := $00000001
  33995. else
  33996. pTDefRegMap(@Self)^.&set := $00000001;
  33997. end;
  33998. function TDMAC3_U1TOK.getEP0 : TBits_1; inline;
  33999. begin
  34000. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34001. end;
  34002. procedure TDMAC3_U1TOK.setEP1; inline;
  34003. begin
  34004. pTDefRegMap(@Self)^.&set := $00000002;
  34005. end;
  34006. procedure TDMAC3_U1TOK.clearEP1; inline;
  34007. begin
  34008. pTDefRegMap(@Self)^.clr := $00000002;
  34009. end;
  34010. procedure TDMAC3_U1TOK.setEP1(thebits : TBits_1); inline;
  34011. begin
  34012. if thebits = 0 then
  34013. pTDefRegMap(@Self)^.clr := $00000002
  34014. else
  34015. pTDefRegMap(@Self)^.&set := $00000002;
  34016. end;
  34017. function TDMAC3_U1TOK.getEP1 : TBits_1; inline;
  34018. begin
  34019. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34020. end;
  34021. procedure TDMAC3_U1TOK.setEP2; inline;
  34022. begin
  34023. pTDefRegMap(@Self)^.&set := $00000004;
  34024. end;
  34025. procedure TDMAC3_U1TOK.clearEP2; inline;
  34026. begin
  34027. pTDefRegMap(@Self)^.clr := $00000004;
  34028. end;
  34029. procedure TDMAC3_U1TOK.setEP2(thebits : TBits_1); inline;
  34030. begin
  34031. if thebits = 0 then
  34032. pTDefRegMap(@Self)^.clr := $00000004
  34033. else
  34034. pTDefRegMap(@Self)^.&set := $00000004;
  34035. end;
  34036. function TDMAC3_U1TOK.getEP2 : TBits_1; inline;
  34037. begin
  34038. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34039. end;
  34040. procedure TDMAC3_U1TOK.setEP3; inline;
  34041. begin
  34042. pTDefRegMap(@Self)^.&set := $00000008;
  34043. end;
  34044. procedure TDMAC3_U1TOK.clearEP3; inline;
  34045. begin
  34046. pTDefRegMap(@Self)^.clr := $00000008;
  34047. end;
  34048. procedure TDMAC3_U1TOK.setEP3(thebits : TBits_1); inline;
  34049. begin
  34050. if thebits = 0 then
  34051. pTDefRegMap(@Self)^.clr := $00000008
  34052. else
  34053. pTDefRegMap(@Self)^.&set := $00000008;
  34054. end;
  34055. function TDMAC3_U1TOK.getEP3 : TBits_1; inline;
  34056. begin
  34057. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34058. end;
  34059. procedure TDMAC3_U1TOK.setPID0; inline;
  34060. begin
  34061. pTDefRegMap(@Self)^.&set := $00000010;
  34062. end;
  34063. procedure TDMAC3_U1TOK.clearPID0; inline;
  34064. begin
  34065. pTDefRegMap(@Self)^.clr := $00000010;
  34066. end;
  34067. procedure TDMAC3_U1TOK.setPID0(thebits : TBits_1); inline;
  34068. begin
  34069. if thebits = 0 then
  34070. pTDefRegMap(@Self)^.clr := $00000010
  34071. else
  34072. pTDefRegMap(@Self)^.&set := $00000010;
  34073. end;
  34074. function TDMAC3_U1TOK.getPID0 : TBits_1; inline;
  34075. begin
  34076. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34077. end;
  34078. procedure TDMAC3_U1TOK.setPID1; inline;
  34079. begin
  34080. pTDefRegMap(@Self)^.&set := $00000020;
  34081. end;
  34082. procedure TDMAC3_U1TOK.clearPID1; inline;
  34083. begin
  34084. pTDefRegMap(@Self)^.clr := $00000020;
  34085. end;
  34086. procedure TDMAC3_U1TOK.setPID1(thebits : TBits_1); inline;
  34087. begin
  34088. if thebits = 0 then
  34089. pTDefRegMap(@Self)^.clr := $00000020
  34090. else
  34091. pTDefRegMap(@Self)^.&set := $00000020;
  34092. end;
  34093. function TDMAC3_U1TOK.getPID1 : TBits_1; inline;
  34094. begin
  34095. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34096. end;
  34097. procedure TDMAC3_U1TOK.setPID2; inline;
  34098. begin
  34099. pTDefRegMap(@Self)^.&set := $00000040;
  34100. end;
  34101. procedure TDMAC3_U1TOK.clearPID2; inline;
  34102. begin
  34103. pTDefRegMap(@Self)^.clr := $00000040;
  34104. end;
  34105. procedure TDMAC3_U1TOK.setPID2(thebits : TBits_1); inline;
  34106. begin
  34107. if thebits = 0 then
  34108. pTDefRegMap(@Self)^.clr := $00000040
  34109. else
  34110. pTDefRegMap(@Self)^.&set := $00000040;
  34111. end;
  34112. function TDMAC3_U1TOK.getPID2 : TBits_1; inline;
  34113. begin
  34114. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34115. end;
  34116. procedure TDMAC3_U1TOK.setPID3; inline;
  34117. begin
  34118. pTDefRegMap(@Self)^.&set := $00000080;
  34119. end;
  34120. procedure TDMAC3_U1TOK.clearPID3; inline;
  34121. begin
  34122. pTDefRegMap(@Self)^.clr := $00000080;
  34123. end;
  34124. procedure TDMAC3_U1TOK.setPID3(thebits : TBits_1); inline;
  34125. begin
  34126. if thebits = 0 then
  34127. pTDefRegMap(@Self)^.clr := $00000080
  34128. else
  34129. pTDefRegMap(@Self)^.&set := $00000080;
  34130. end;
  34131. function TDMAC3_U1TOK.getPID3 : TBits_1; inline;
  34132. begin
  34133. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34134. end;
  34135. procedure TPORTA_ANSELA.setANSA0; inline;
  34136. begin
  34137. pTDefRegMap(@Self)^.&set := $00000001;
  34138. end;
  34139. procedure TPORTA_ANSELA.clearANSA0; inline;
  34140. begin
  34141. pTDefRegMap(@Self)^.clr := $00000001;
  34142. end;
  34143. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  34144. begin
  34145. if thebits = 0 then
  34146. pTDefRegMap(@Self)^.clr := $00000001
  34147. else
  34148. pTDefRegMap(@Self)^.&set := $00000001;
  34149. end;
  34150. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  34151. begin
  34152. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34153. end;
  34154. procedure TPORTA_ANSELA.setANSA1; inline;
  34155. begin
  34156. pTDefRegMap(@Self)^.&set := $00000002;
  34157. end;
  34158. procedure TPORTA_ANSELA.clearANSA1; inline;
  34159. begin
  34160. pTDefRegMap(@Self)^.clr := $00000002;
  34161. end;
  34162. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  34163. begin
  34164. if thebits = 0 then
  34165. pTDefRegMap(@Self)^.clr := $00000002
  34166. else
  34167. pTDefRegMap(@Self)^.&set := $00000002;
  34168. end;
  34169. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  34170. begin
  34171. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34172. end;
  34173. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  34174. begin
  34175. pTDefRegMap(@Self)^.val := thebits;
  34176. end;
  34177. function TPORTA_ANSELA.getw : TBits_32; inline;
  34178. begin
  34179. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34180. end;
  34181. procedure TPORTA_TRISA.setTRISA0; inline;
  34182. begin
  34183. pTDefRegMap(@Self)^.&set := $00000001;
  34184. end;
  34185. procedure TPORTA_TRISA.clearTRISA0; inline;
  34186. begin
  34187. pTDefRegMap(@Self)^.clr := $00000001;
  34188. end;
  34189. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  34190. begin
  34191. if thebits = 0 then
  34192. pTDefRegMap(@Self)^.clr := $00000001
  34193. else
  34194. pTDefRegMap(@Self)^.&set := $00000001;
  34195. end;
  34196. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  34197. begin
  34198. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34199. end;
  34200. procedure TPORTA_TRISA.setTRISA1; inline;
  34201. begin
  34202. pTDefRegMap(@Self)^.&set := $00000002;
  34203. end;
  34204. procedure TPORTA_TRISA.clearTRISA1; inline;
  34205. begin
  34206. pTDefRegMap(@Self)^.clr := $00000002;
  34207. end;
  34208. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  34209. begin
  34210. if thebits = 0 then
  34211. pTDefRegMap(@Self)^.clr := $00000002
  34212. else
  34213. pTDefRegMap(@Self)^.&set := $00000002;
  34214. end;
  34215. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  34216. begin
  34217. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34218. end;
  34219. procedure TPORTA_TRISA.setTRISA2; inline;
  34220. begin
  34221. pTDefRegMap(@Self)^.&set := $00000004;
  34222. end;
  34223. procedure TPORTA_TRISA.clearTRISA2; inline;
  34224. begin
  34225. pTDefRegMap(@Self)^.clr := $00000004;
  34226. end;
  34227. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  34228. begin
  34229. if thebits = 0 then
  34230. pTDefRegMap(@Self)^.clr := $00000004
  34231. else
  34232. pTDefRegMap(@Self)^.&set := $00000004;
  34233. end;
  34234. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  34235. begin
  34236. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34237. end;
  34238. procedure TPORTA_TRISA.setTRISA3; inline;
  34239. begin
  34240. pTDefRegMap(@Self)^.&set := $00000008;
  34241. end;
  34242. procedure TPORTA_TRISA.clearTRISA3; inline;
  34243. begin
  34244. pTDefRegMap(@Self)^.clr := $00000008;
  34245. end;
  34246. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  34247. begin
  34248. if thebits = 0 then
  34249. pTDefRegMap(@Self)^.clr := $00000008
  34250. else
  34251. pTDefRegMap(@Self)^.&set := $00000008;
  34252. end;
  34253. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  34254. begin
  34255. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34256. end;
  34257. procedure TPORTA_TRISA.setTRISA4; inline;
  34258. begin
  34259. pTDefRegMap(@Self)^.&set := $00000010;
  34260. end;
  34261. procedure TPORTA_TRISA.clearTRISA4; inline;
  34262. begin
  34263. pTDefRegMap(@Self)^.clr := $00000010;
  34264. end;
  34265. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  34266. begin
  34267. if thebits = 0 then
  34268. pTDefRegMap(@Self)^.clr := $00000010
  34269. else
  34270. pTDefRegMap(@Self)^.&set := $00000010;
  34271. end;
  34272. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  34273. begin
  34274. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34275. end;
  34276. procedure TPORTA_TRISA.setTRISA7; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.&set := $00000080;
  34279. end;
  34280. procedure TPORTA_TRISA.clearTRISA7; inline;
  34281. begin
  34282. pTDefRegMap(@Self)^.clr := $00000080;
  34283. end;
  34284. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  34285. begin
  34286. if thebits = 0 then
  34287. pTDefRegMap(@Self)^.clr := $00000080
  34288. else
  34289. pTDefRegMap(@Self)^.&set := $00000080;
  34290. end;
  34291. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  34292. begin
  34293. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34294. end;
  34295. procedure TPORTA_TRISA.setTRISA8; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.&set := $00000100;
  34298. end;
  34299. procedure TPORTA_TRISA.clearTRISA8; inline;
  34300. begin
  34301. pTDefRegMap(@Self)^.clr := $00000100;
  34302. end;
  34303. procedure TPORTA_TRISA.setTRISA8(thebits : TBits_1); inline;
  34304. begin
  34305. if thebits = 0 then
  34306. pTDefRegMap(@Self)^.clr := $00000100
  34307. else
  34308. pTDefRegMap(@Self)^.&set := $00000100;
  34309. end;
  34310. function TPORTA_TRISA.getTRISA8 : TBits_1; inline;
  34311. begin
  34312. getTRISA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34313. end;
  34314. procedure TPORTA_TRISA.setTRISA9; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.&set := $00000200;
  34317. end;
  34318. procedure TPORTA_TRISA.clearTRISA9; inline;
  34319. begin
  34320. pTDefRegMap(@Self)^.clr := $00000200;
  34321. end;
  34322. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  34323. begin
  34324. if thebits = 0 then
  34325. pTDefRegMap(@Self)^.clr := $00000200
  34326. else
  34327. pTDefRegMap(@Self)^.&set := $00000200;
  34328. end;
  34329. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  34330. begin
  34331. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34332. end;
  34333. procedure TPORTA_TRISA.setTRISA10; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.&set := $00000400;
  34336. end;
  34337. procedure TPORTA_TRISA.clearTRISA10; inline;
  34338. begin
  34339. pTDefRegMap(@Self)^.clr := $00000400;
  34340. end;
  34341. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  34342. begin
  34343. if thebits = 0 then
  34344. pTDefRegMap(@Self)^.clr := $00000400
  34345. else
  34346. pTDefRegMap(@Self)^.&set := $00000400;
  34347. end;
  34348. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  34349. begin
  34350. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34351. end;
  34352. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.val := thebits;
  34355. end;
  34356. function TPORTA_TRISA.getw : TBits_32; inline;
  34357. begin
  34358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34359. end;
  34360. procedure TPORTA_PORTA.setRA0; inline;
  34361. begin
  34362. pTDefRegMap(@Self)^.&set := $00000001;
  34363. end;
  34364. procedure TPORTA_PORTA.clearRA0; inline;
  34365. begin
  34366. pTDefRegMap(@Self)^.clr := $00000001;
  34367. end;
  34368. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  34369. begin
  34370. if thebits = 0 then
  34371. pTDefRegMap(@Self)^.clr := $00000001
  34372. else
  34373. pTDefRegMap(@Self)^.&set := $00000001;
  34374. end;
  34375. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  34376. begin
  34377. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34378. end;
  34379. procedure TPORTA_PORTA.setRA1; inline;
  34380. begin
  34381. pTDefRegMap(@Self)^.&set := $00000002;
  34382. end;
  34383. procedure TPORTA_PORTA.clearRA1; inline;
  34384. begin
  34385. pTDefRegMap(@Self)^.clr := $00000002;
  34386. end;
  34387. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  34388. begin
  34389. if thebits = 0 then
  34390. pTDefRegMap(@Self)^.clr := $00000002
  34391. else
  34392. pTDefRegMap(@Self)^.&set := $00000002;
  34393. end;
  34394. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  34395. begin
  34396. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34397. end;
  34398. procedure TPORTA_PORTA.setRA2; inline;
  34399. begin
  34400. pTDefRegMap(@Self)^.&set := $00000004;
  34401. end;
  34402. procedure TPORTA_PORTA.clearRA2; inline;
  34403. begin
  34404. pTDefRegMap(@Self)^.clr := $00000004;
  34405. end;
  34406. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  34407. begin
  34408. if thebits = 0 then
  34409. pTDefRegMap(@Self)^.clr := $00000004
  34410. else
  34411. pTDefRegMap(@Self)^.&set := $00000004;
  34412. end;
  34413. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  34414. begin
  34415. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34416. end;
  34417. procedure TPORTA_PORTA.setRA3; inline;
  34418. begin
  34419. pTDefRegMap(@Self)^.&set := $00000008;
  34420. end;
  34421. procedure TPORTA_PORTA.clearRA3; inline;
  34422. begin
  34423. pTDefRegMap(@Self)^.clr := $00000008;
  34424. end;
  34425. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  34426. begin
  34427. if thebits = 0 then
  34428. pTDefRegMap(@Self)^.clr := $00000008
  34429. else
  34430. pTDefRegMap(@Self)^.&set := $00000008;
  34431. end;
  34432. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  34433. begin
  34434. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34435. end;
  34436. procedure TPORTA_PORTA.setRA4; inline;
  34437. begin
  34438. pTDefRegMap(@Self)^.&set := $00000010;
  34439. end;
  34440. procedure TPORTA_PORTA.clearRA4; inline;
  34441. begin
  34442. pTDefRegMap(@Self)^.clr := $00000010;
  34443. end;
  34444. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  34445. begin
  34446. if thebits = 0 then
  34447. pTDefRegMap(@Self)^.clr := $00000010
  34448. else
  34449. pTDefRegMap(@Self)^.&set := $00000010;
  34450. end;
  34451. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  34452. begin
  34453. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34454. end;
  34455. procedure TPORTA_PORTA.setRA7; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.&set := $00000080;
  34458. end;
  34459. procedure TPORTA_PORTA.clearRA7; inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.clr := $00000080;
  34462. end;
  34463. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  34464. begin
  34465. if thebits = 0 then
  34466. pTDefRegMap(@Self)^.clr := $00000080
  34467. else
  34468. pTDefRegMap(@Self)^.&set := $00000080;
  34469. end;
  34470. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  34471. begin
  34472. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34473. end;
  34474. procedure TPORTA_PORTA.setRA8; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.&set := $00000100;
  34477. end;
  34478. procedure TPORTA_PORTA.clearRA8; inline;
  34479. begin
  34480. pTDefRegMap(@Self)^.clr := $00000100;
  34481. end;
  34482. procedure TPORTA_PORTA.setRA8(thebits : TBits_1); inline;
  34483. begin
  34484. if thebits = 0 then
  34485. pTDefRegMap(@Self)^.clr := $00000100
  34486. else
  34487. pTDefRegMap(@Self)^.&set := $00000100;
  34488. end;
  34489. function TPORTA_PORTA.getRA8 : TBits_1; inline;
  34490. begin
  34491. getRA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34492. end;
  34493. procedure TPORTA_PORTA.setRA9; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.&set := $00000200;
  34496. end;
  34497. procedure TPORTA_PORTA.clearRA9; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.clr := $00000200;
  34500. end;
  34501. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  34502. begin
  34503. if thebits = 0 then
  34504. pTDefRegMap(@Self)^.clr := $00000200
  34505. else
  34506. pTDefRegMap(@Self)^.&set := $00000200;
  34507. end;
  34508. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  34509. begin
  34510. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34511. end;
  34512. procedure TPORTA_PORTA.setRA10; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.&set := $00000400;
  34515. end;
  34516. procedure TPORTA_PORTA.clearRA10; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.clr := $00000400;
  34519. end;
  34520. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  34521. begin
  34522. if thebits = 0 then
  34523. pTDefRegMap(@Self)^.clr := $00000400
  34524. else
  34525. pTDefRegMap(@Self)^.&set := $00000400;
  34526. end;
  34527. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  34528. begin
  34529. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34530. end;
  34531. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.val := thebits;
  34534. end;
  34535. function TPORTA_PORTA.getw : TBits_32; inline;
  34536. begin
  34537. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34538. end;
  34539. procedure TPORTA_LATA.setLATA0; inline;
  34540. begin
  34541. pTDefRegMap(@Self)^.&set := $00000001;
  34542. end;
  34543. procedure TPORTA_LATA.clearLATA0; inline;
  34544. begin
  34545. pTDefRegMap(@Self)^.clr := $00000001;
  34546. end;
  34547. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  34548. begin
  34549. if thebits = 0 then
  34550. pTDefRegMap(@Self)^.clr := $00000001
  34551. else
  34552. pTDefRegMap(@Self)^.&set := $00000001;
  34553. end;
  34554. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  34555. begin
  34556. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34557. end;
  34558. procedure TPORTA_LATA.setLATA1; inline;
  34559. begin
  34560. pTDefRegMap(@Self)^.&set := $00000002;
  34561. end;
  34562. procedure TPORTA_LATA.clearLATA1; inline;
  34563. begin
  34564. pTDefRegMap(@Self)^.clr := $00000002;
  34565. end;
  34566. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  34567. begin
  34568. if thebits = 0 then
  34569. pTDefRegMap(@Self)^.clr := $00000002
  34570. else
  34571. pTDefRegMap(@Self)^.&set := $00000002;
  34572. end;
  34573. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  34574. begin
  34575. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34576. end;
  34577. procedure TPORTA_LATA.setLATA2; inline;
  34578. begin
  34579. pTDefRegMap(@Self)^.&set := $00000004;
  34580. end;
  34581. procedure TPORTA_LATA.clearLATA2; inline;
  34582. begin
  34583. pTDefRegMap(@Self)^.clr := $00000004;
  34584. end;
  34585. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  34586. begin
  34587. if thebits = 0 then
  34588. pTDefRegMap(@Self)^.clr := $00000004
  34589. else
  34590. pTDefRegMap(@Self)^.&set := $00000004;
  34591. end;
  34592. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  34593. begin
  34594. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34595. end;
  34596. procedure TPORTA_LATA.setLATA3; inline;
  34597. begin
  34598. pTDefRegMap(@Self)^.&set := $00000008;
  34599. end;
  34600. procedure TPORTA_LATA.clearLATA3; inline;
  34601. begin
  34602. pTDefRegMap(@Self)^.clr := $00000008;
  34603. end;
  34604. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  34605. begin
  34606. if thebits = 0 then
  34607. pTDefRegMap(@Self)^.clr := $00000008
  34608. else
  34609. pTDefRegMap(@Self)^.&set := $00000008;
  34610. end;
  34611. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  34612. begin
  34613. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34614. end;
  34615. procedure TPORTA_LATA.setLATA4; inline;
  34616. begin
  34617. pTDefRegMap(@Self)^.&set := $00000010;
  34618. end;
  34619. procedure TPORTA_LATA.clearLATA4; inline;
  34620. begin
  34621. pTDefRegMap(@Self)^.clr := $00000010;
  34622. end;
  34623. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  34624. begin
  34625. if thebits = 0 then
  34626. pTDefRegMap(@Self)^.clr := $00000010
  34627. else
  34628. pTDefRegMap(@Self)^.&set := $00000010;
  34629. end;
  34630. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  34631. begin
  34632. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34633. end;
  34634. procedure TPORTA_LATA.setLATA7; inline;
  34635. begin
  34636. pTDefRegMap(@Self)^.&set := $00000080;
  34637. end;
  34638. procedure TPORTA_LATA.clearLATA7; inline;
  34639. begin
  34640. pTDefRegMap(@Self)^.clr := $00000080;
  34641. end;
  34642. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  34643. begin
  34644. if thebits = 0 then
  34645. pTDefRegMap(@Self)^.clr := $00000080
  34646. else
  34647. pTDefRegMap(@Self)^.&set := $00000080;
  34648. end;
  34649. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  34650. begin
  34651. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34652. end;
  34653. procedure TPORTA_LATA.setLATA8; inline;
  34654. begin
  34655. pTDefRegMap(@Self)^.&set := $00000100;
  34656. end;
  34657. procedure TPORTA_LATA.clearLATA8; inline;
  34658. begin
  34659. pTDefRegMap(@Self)^.clr := $00000100;
  34660. end;
  34661. procedure TPORTA_LATA.setLATA8(thebits : TBits_1); inline;
  34662. begin
  34663. if thebits = 0 then
  34664. pTDefRegMap(@Self)^.clr := $00000100
  34665. else
  34666. pTDefRegMap(@Self)^.&set := $00000100;
  34667. end;
  34668. function TPORTA_LATA.getLATA8 : TBits_1; inline;
  34669. begin
  34670. getLATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34671. end;
  34672. procedure TPORTA_LATA.setLATA9; inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.&set := $00000200;
  34675. end;
  34676. procedure TPORTA_LATA.clearLATA9; inline;
  34677. begin
  34678. pTDefRegMap(@Self)^.clr := $00000200;
  34679. end;
  34680. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  34681. begin
  34682. if thebits = 0 then
  34683. pTDefRegMap(@Self)^.clr := $00000200
  34684. else
  34685. pTDefRegMap(@Self)^.&set := $00000200;
  34686. end;
  34687. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  34688. begin
  34689. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34690. end;
  34691. procedure TPORTA_LATA.setLATA10; inline;
  34692. begin
  34693. pTDefRegMap(@Self)^.&set := $00000400;
  34694. end;
  34695. procedure TPORTA_LATA.clearLATA10; inline;
  34696. begin
  34697. pTDefRegMap(@Self)^.clr := $00000400;
  34698. end;
  34699. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  34700. begin
  34701. if thebits = 0 then
  34702. pTDefRegMap(@Self)^.clr := $00000400
  34703. else
  34704. pTDefRegMap(@Self)^.&set := $00000400;
  34705. end;
  34706. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  34707. begin
  34708. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34709. end;
  34710. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  34711. begin
  34712. pTDefRegMap(@Self)^.val := thebits;
  34713. end;
  34714. function TPORTA_LATA.getw : TBits_32; inline;
  34715. begin
  34716. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34717. end;
  34718. procedure TPORTA_ODCA.setODCA0; inline;
  34719. begin
  34720. pTDefRegMap(@Self)^.&set := $00000001;
  34721. end;
  34722. procedure TPORTA_ODCA.clearODCA0; inline;
  34723. begin
  34724. pTDefRegMap(@Self)^.clr := $00000001;
  34725. end;
  34726. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  34727. begin
  34728. if thebits = 0 then
  34729. pTDefRegMap(@Self)^.clr := $00000001
  34730. else
  34731. pTDefRegMap(@Self)^.&set := $00000001;
  34732. end;
  34733. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  34734. begin
  34735. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34736. end;
  34737. procedure TPORTA_ODCA.setODCA1; inline;
  34738. begin
  34739. pTDefRegMap(@Self)^.&set := $00000002;
  34740. end;
  34741. procedure TPORTA_ODCA.clearODCA1; inline;
  34742. begin
  34743. pTDefRegMap(@Self)^.clr := $00000002;
  34744. end;
  34745. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  34746. begin
  34747. if thebits = 0 then
  34748. pTDefRegMap(@Self)^.clr := $00000002
  34749. else
  34750. pTDefRegMap(@Self)^.&set := $00000002;
  34751. end;
  34752. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  34753. begin
  34754. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34755. end;
  34756. procedure TPORTA_ODCA.setODCA2; inline;
  34757. begin
  34758. pTDefRegMap(@Self)^.&set := $00000004;
  34759. end;
  34760. procedure TPORTA_ODCA.clearODCA2; inline;
  34761. begin
  34762. pTDefRegMap(@Self)^.clr := $00000004;
  34763. end;
  34764. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  34765. begin
  34766. if thebits = 0 then
  34767. pTDefRegMap(@Self)^.clr := $00000004
  34768. else
  34769. pTDefRegMap(@Self)^.&set := $00000004;
  34770. end;
  34771. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  34772. begin
  34773. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34774. end;
  34775. procedure TPORTA_ODCA.setODCA3; inline;
  34776. begin
  34777. pTDefRegMap(@Self)^.&set := $00000008;
  34778. end;
  34779. procedure TPORTA_ODCA.clearODCA3; inline;
  34780. begin
  34781. pTDefRegMap(@Self)^.clr := $00000008;
  34782. end;
  34783. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  34784. begin
  34785. if thebits = 0 then
  34786. pTDefRegMap(@Self)^.clr := $00000008
  34787. else
  34788. pTDefRegMap(@Self)^.&set := $00000008;
  34789. end;
  34790. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  34791. begin
  34792. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34793. end;
  34794. procedure TPORTA_ODCA.setODCA4; inline;
  34795. begin
  34796. pTDefRegMap(@Self)^.&set := $00000010;
  34797. end;
  34798. procedure TPORTA_ODCA.clearODCA4; inline;
  34799. begin
  34800. pTDefRegMap(@Self)^.clr := $00000010;
  34801. end;
  34802. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  34803. begin
  34804. if thebits = 0 then
  34805. pTDefRegMap(@Self)^.clr := $00000010
  34806. else
  34807. pTDefRegMap(@Self)^.&set := $00000010;
  34808. end;
  34809. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  34810. begin
  34811. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34812. end;
  34813. procedure TPORTA_ODCA.setODCA7; inline;
  34814. begin
  34815. pTDefRegMap(@Self)^.&set := $00000080;
  34816. end;
  34817. procedure TPORTA_ODCA.clearODCA7; inline;
  34818. begin
  34819. pTDefRegMap(@Self)^.clr := $00000080;
  34820. end;
  34821. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  34822. begin
  34823. if thebits = 0 then
  34824. pTDefRegMap(@Self)^.clr := $00000080
  34825. else
  34826. pTDefRegMap(@Self)^.&set := $00000080;
  34827. end;
  34828. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  34829. begin
  34830. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34831. end;
  34832. procedure TPORTA_ODCA.setODCA8; inline;
  34833. begin
  34834. pTDefRegMap(@Self)^.&set := $00000100;
  34835. end;
  34836. procedure TPORTA_ODCA.clearODCA8; inline;
  34837. begin
  34838. pTDefRegMap(@Self)^.clr := $00000100;
  34839. end;
  34840. procedure TPORTA_ODCA.setODCA8(thebits : TBits_1); inline;
  34841. begin
  34842. if thebits = 0 then
  34843. pTDefRegMap(@Self)^.clr := $00000100
  34844. else
  34845. pTDefRegMap(@Self)^.&set := $00000100;
  34846. end;
  34847. function TPORTA_ODCA.getODCA8 : TBits_1; inline;
  34848. begin
  34849. getODCA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34850. end;
  34851. procedure TPORTA_ODCA.setODCA9; inline;
  34852. begin
  34853. pTDefRegMap(@Self)^.&set := $00000200;
  34854. end;
  34855. procedure TPORTA_ODCA.clearODCA9; inline;
  34856. begin
  34857. pTDefRegMap(@Self)^.clr := $00000200;
  34858. end;
  34859. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  34860. begin
  34861. if thebits = 0 then
  34862. pTDefRegMap(@Self)^.clr := $00000200
  34863. else
  34864. pTDefRegMap(@Self)^.&set := $00000200;
  34865. end;
  34866. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  34867. begin
  34868. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34869. end;
  34870. procedure TPORTA_ODCA.setODCA10; inline;
  34871. begin
  34872. pTDefRegMap(@Self)^.&set := $00000400;
  34873. end;
  34874. procedure TPORTA_ODCA.clearODCA10; inline;
  34875. begin
  34876. pTDefRegMap(@Self)^.clr := $00000400;
  34877. end;
  34878. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  34879. begin
  34880. if thebits = 0 then
  34881. pTDefRegMap(@Self)^.clr := $00000400
  34882. else
  34883. pTDefRegMap(@Self)^.&set := $00000400;
  34884. end;
  34885. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  34886. begin
  34887. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34888. end;
  34889. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  34890. begin
  34891. pTDefRegMap(@Self)^.val := thebits;
  34892. end;
  34893. function TPORTA_ODCA.getw : TBits_32; inline;
  34894. begin
  34895. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34896. end;
  34897. procedure TPORTA_CNPUA.setCNPUA0; inline;
  34898. begin
  34899. pTDefRegMap(@Self)^.&set := $00000001;
  34900. end;
  34901. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34902. begin
  34903. pTDefRegMap(@Self)^.clr := $00000001;
  34904. end;
  34905. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34906. begin
  34907. if thebits = 0 then
  34908. pTDefRegMap(@Self)^.clr := $00000001
  34909. else
  34910. pTDefRegMap(@Self)^.&set := $00000001;
  34911. end;
  34912. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34913. begin
  34914. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34915. end;
  34916. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34917. begin
  34918. pTDefRegMap(@Self)^.&set := $00000002;
  34919. end;
  34920. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34921. begin
  34922. pTDefRegMap(@Self)^.clr := $00000002;
  34923. end;
  34924. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34925. begin
  34926. if thebits = 0 then
  34927. pTDefRegMap(@Self)^.clr := $00000002
  34928. else
  34929. pTDefRegMap(@Self)^.&set := $00000002;
  34930. end;
  34931. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34932. begin
  34933. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34934. end;
  34935. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34936. begin
  34937. pTDefRegMap(@Self)^.&set := $00000004;
  34938. end;
  34939. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34940. begin
  34941. pTDefRegMap(@Self)^.clr := $00000004;
  34942. end;
  34943. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34944. begin
  34945. if thebits = 0 then
  34946. pTDefRegMap(@Self)^.clr := $00000004
  34947. else
  34948. pTDefRegMap(@Self)^.&set := $00000004;
  34949. end;
  34950. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34951. begin
  34952. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34953. end;
  34954. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34955. begin
  34956. pTDefRegMap(@Self)^.&set := $00000008;
  34957. end;
  34958. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34959. begin
  34960. pTDefRegMap(@Self)^.clr := $00000008;
  34961. end;
  34962. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34963. begin
  34964. if thebits = 0 then
  34965. pTDefRegMap(@Self)^.clr := $00000008
  34966. else
  34967. pTDefRegMap(@Self)^.&set := $00000008;
  34968. end;
  34969. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34970. begin
  34971. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34972. end;
  34973. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34974. begin
  34975. pTDefRegMap(@Self)^.&set := $00000010;
  34976. end;
  34977. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34978. begin
  34979. pTDefRegMap(@Self)^.clr := $00000010;
  34980. end;
  34981. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  34982. begin
  34983. if thebits = 0 then
  34984. pTDefRegMap(@Self)^.clr := $00000010
  34985. else
  34986. pTDefRegMap(@Self)^.&set := $00000010;
  34987. end;
  34988. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  34989. begin
  34990. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34991. end;
  34992. procedure TPORTA_CNPUA.setCNPUA7; inline;
  34993. begin
  34994. pTDefRegMap(@Self)^.&set := $00000080;
  34995. end;
  34996. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  34997. begin
  34998. pTDefRegMap(@Self)^.clr := $00000080;
  34999. end;
  35000. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  35001. begin
  35002. if thebits = 0 then
  35003. pTDefRegMap(@Self)^.clr := $00000080
  35004. else
  35005. pTDefRegMap(@Self)^.&set := $00000080;
  35006. end;
  35007. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  35008. begin
  35009. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35010. end;
  35011. procedure TPORTA_CNPUA.setCNPUA8; inline;
  35012. begin
  35013. pTDefRegMap(@Self)^.&set := $00000100;
  35014. end;
  35015. procedure TPORTA_CNPUA.clearCNPUA8; inline;
  35016. begin
  35017. pTDefRegMap(@Self)^.clr := $00000100;
  35018. end;
  35019. procedure TPORTA_CNPUA.setCNPUA8(thebits : TBits_1); inline;
  35020. begin
  35021. if thebits = 0 then
  35022. pTDefRegMap(@Self)^.clr := $00000100
  35023. else
  35024. pTDefRegMap(@Self)^.&set := $00000100;
  35025. end;
  35026. function TPORTA_CNPUA.getCNPUA8 : TBits_1; inline;
  35027. begin
  35028. getCNPUA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35029. end;
  35030. procedure TPORTA_CNPUA.setCNPUA9; inline;
  35031. begin
  35032. pTDefRegMap(@Self)^.&set := $00000200;
  35033. end;
  35034. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  35035. begin
  35036. pTDefRegMap(@Self)^.clr := $00000200;
  35037. end;
  35038. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  35039. begin
  35040. if thebits = 0 then
  35041. pTDefRegMap(@Self)^.clr := $00000200
  35042. else
  35043. pTDefRegMap(@Self)^.&set := $00000200;
  35044. end;
  35045. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  35046. begin
  35047. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35048. end;
  35049. procedure TPORTA_CNPUA.setCNPUA10; inline;
  35050. begin
  35051. pTDefRegMap(@Self)^.&set := $00000400;
  35052. end;
  35053. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  35054. begin
  35055. pTDefRegMap(@Self)^.clr := $00000400;
  35056. end;
  35057. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  35058. begin
  35059. if thebits = 0 then
  35060. pTDefRegMap(@Self)^.clr := $00000400
  35061. else
  35062. pTDefRegMap(@Self)^.&set := $00000400;
  35063. end;
  35064. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  35065. begin
  35066. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35067. end;
  35068. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  35069. begin
  35070. pTDefRegMap(@Self)^.val := thebits;
  35071. end;
  35072. function TPORTA_CNPUA.getw : TBits_32; inline;
  35073. begin
  35074. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35075. end;
  35076. procedure TPORTA_CNPDA.setCNPDA0; inline;
  35077. begin
  35078. pTDefRegMap(@Self)^.&set := $00000001;
  35079. end;
  35080. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  35081. begin
  35082. pTDefRegMap(@Self)^.clr := $00000001;
  35083. end;
  35084. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  35085. begin
  35086. if thebits = 0 then
  35087. pTDefRegMap(@Self)^.clr := $00000001
  35088. else
  35089. pTDefRegMap(@Self)^.&set := $00000001;
  35090. end;
  35091. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  35092. begin
  35093. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35094. end;
  35095. procedure TPORTA_CNPDA.setCNPDA1; inline;
  35096. begin
  35097. pTDefRegMap(@Self)^.&set := $00000002;
  35098. end;
  35099. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  35100. begin
  35101. pTDefRegMap(@Self)^.clr := $00000002;
  35102. end;
  35103. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  35104. begin
  35105. if thebits = 0 then
  35106. pTDefRegMap(@Self)^.clr := $00000002
  35107. else
  35108. pTDefRegMap(@Self)^.&set := $00000002;
  35109. end;
  35110. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  35111. begin
  35112. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35113. end;
  35114. procedure TPORTA_CNPDA.setCNPDA2; inline;
  35115. begin
  35116. pTDefRegMap(@Self)^.&set := $00000004;
  35117. end;
  35118. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  35119. begin
  35120. pTDefRegMap(@Self)^.clr := $00000004;
  35121. end;
  35122. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  35123. begin
  35124. if thebits = 0 then
  35125. pTDefRegMap(@Self)^.clr := $00000004
  35126. else
  35127. pTDefRegMap(@Self)^.&set := $00000004;
  35128. end;
  35129. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  35130. begin
  35131. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35132. end;
  35133. procedure TPORTA_CNPDA.setCNPDA3; inline;
  35134. begin
  35135. pTDefRegMap(@Self)^.&set := $00000008;
  35136. end;
  35137. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  35138. begin
  35139. pTDefRegMap(@Self)^.clr := $00000008;
  35140. end;
  35141. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  35142. begin
  35143. if thebits = 0 then
  35144. pTDefRegMap(@Self)^.clr := $00000008
  35145. else
  35146. pTDefRegMap(@Self)^.&set := $00000008;
  35147. end;
  35148. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  35149. begin
  35150. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35151. end;
  35152. procedure TPORTA_CNPDA.setCNPDA4; inline;
  35153. begin
  35154. pTDefRegMap(@Self)^.&set := $00000010;
  35155. end;
  35156. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  35157. begin
  35158. pTDefRegMap(@Self)^.clr := $00000010;
  35159. end;
  35160. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  35161. begin
  35162. if thebits = 0 then
  35163. pTDefRegMap(@Self)^.clr := $00000010
  35164. else
  35165. pTDefRegMap(@Self)^.&set := $00000010;
  35166. end;
  35167. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  35168. begin
  35169. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35170. end;
  35171. procedure TPORTA_CNPDA.setCNPDA7; inline;
  35172. begin
  35173. pTDefRegMap(@Self)^.&set := $00000080;
  35174. end;
  35175. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  35176. begin
  35177. pTDefRegMap(@Self)^.clr := $00000080;
  35178. end;
  35179. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  35180. begin
  35181. if thebits = 0 then
  35182. pTDefRegMap(@Self)^.clr := $00000080
  35183. else
  35184. pTDefRegMap(@Self)^.&set := $00000080;
  35185. end;
  35186. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  35187. begin
  35188. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35189. end;
  35190. procedure TPORTA_CNPDA.setCNPDA8; inline;
  35191. begin
  35192. pTDefRegMap(@Self)^.&set := $00000100;
  35193. end;
  35194. procedure TPORTA_CNPDA.clearCNPDA8; inline;
  35195. begin
  35196. pTDefRegMap(@Self)^.clr := $00000100;
  35197. end;
  35198. procedure TPORTA_CNPDA.setCNPDA8(thebits : TBits_1); inline;
  35199. begin
  35200. if thebits = 0 then
  35201. pTDefRegMap(@Self)^.clr := $00000100
  35202. else
  35203. pTDefRegMap(@Self)^.&set := $00000100;
  35204. end;
  35205. function TPORTA_CNPDA.getCNPDA8 : TBits_1; inline;
  35206. begin
  35207. getCNPDA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35208. end;
  35209. procedure TPORTA_CNPDA.setCNPDA9; inline;
  35210. begin
  35211. pTDefRegMap(@Self)^.&set := $00000200;
  35212. end;
  35213. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  35214. begin
  35215. pTDefRegMap(@Self)^.clr := $00000200;
  35216. end;
  35217. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  35218. begin
  35219. if thebits = 0 then
  35220. pTDefRegMap(@Self)^.clr := $00000200
  35221. else
  35222. pTDefRegMap(@Self)^.&set := $00000200;
  35223. end;
  35224. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  35225. begin
  35226. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35227. end;
  35228. procedure TPORTA_CNPDA.setCNPDA10; inline;
  35229. begin
  35230. pTDefRegMap(@Self)^.&set := $00000400;
  35231. end;
  35232. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  35233. begin
  35234. pTDefRegMap(@Self)^.clr := $00000400;
  35235. end;
  35236. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  35237. begin
  35238. if thebits = 0 then
  35239. pTDefRegMap(@Self)^.clr := $00000400
  35240. else
  35241. pTDefRegMap(@Self)^.&set := $00000400;
  35242. end;
  35243. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  35244. begin
  35245. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35246. end;
  35247. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  35248. begin
  35249. pTDefRegMap(@Self)^.val := thebits;
  35250. end;
  35251. function TPORTA_CNPDA.getw : TBits_32; inline;
  35252. begin
  35253. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35254. end;
  35255. procedure TPORTA_CNCONA.setSIDL; inline;
  35256. begin
  35257. pTDefRegMap(@Self)^.&set := $00002000;
  35258. end;
  35259. procedure TPORTA_CNCONA.clearSIDL; inline;
  35260. begin
  35261. pTDefRegMap(@Self)^.clr := $00002000;
  35262. end;
  35263. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  35264. begin
  35265. if thebits = 0 then
  35266. pTDefRegMap(@Self)^.clr := $00002000
  35267. else
  35268. pTDefRegMap(@Self)^.&set := $00002000;
  35269. end;
  35270. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  35271. begin
  35272. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35273. end;
  35274. procedure TPORTA_CNCONA.setON; inline;
  35275. begin
  35276. pTDefRegMap(@Self)^.&set := $00008000;
  35277. end;
  35278. procedure TPORTA_CNCONA.clearON; inline;
  35279. begin
  35280. pTDefRegMap(@Self)^.clr := $00008000;
  35281. end;
  35282. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  35283. begin
  35284. if thebits = 0 then
  35285. pTDefRegMap(@Self)^.clr := $00008000
  35286. else
  35287. pTDefRegMap(@Self)^.&set := $00008000;
  35288. end;
  35289. function TPORTA_CNCONA.getON : TBits_1; inline;
  35290. begin
  35291. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35292. end;
  35293. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  35294. begin
  35295. pTDefRegMap(@Self)^.val := thebits;
  35296. end;
  35297. function TPORTA_CNCONA.getw : TBits_32; inline;
  35298. begin
  35299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35300. end;
  35301. procedure TPORTA_CNENA.setCNIEA0; inline;
  35302. begin
  35303. pTDefRegMap(@Self)^.&set := $00000001;
  35304. end;
  35305. procedure TPORTA_CNENA.clearCNIEA0; inline;
  35306. begin
  35307. pTDefRegMap(@Self)^.clr := $00000001;
  35308. end;
  35309. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  35310. begin
  35311. if thebits = 0 then
  35312. pTDefRegMap(@Self)^.clr := $00000001
  35313. else
  35314. pTDefRegMap(@Self)^.&set := $00000001;
  35315. end;
  35316. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  35317. begin
  35318. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35319. end;
  35320. procedure TPORTA_CNENA.setCNIEA1; inline;
  35321. begin
  35322. pTDefRegMap(@Self)^.&set := $00000002;
  35323. end;
  35324. procedure TPORTA_CNENA.clearCNIEA1; inline;
  35325. begin
  35326. pTDefRegMap(@Self)^.clr := $00000002;
  35327. end;
  35328. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  35329. begin
  35330. if thebits = 0 then
  35331. pTDefRegMap(@Self)^.clr := $00000002
  35332. else
  35333. pTDefRegMap(@Self)^.&set := $00000002;
  35334. end;
  35335. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  35336. begin
  35337. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35338. end;
  35339. procedure TPORTA_CNENA.setCNIEA2; inline;
  35340. begin
  35341. pTDefRegMap(@Self)^.&set := $00000004;
  35342. end;
  35343. procedure TPORTA_CNENA.clearCNIEA2; inline;
  35344. begin
  35345. pTDefRegMap(@Self)^.clr := $00000004;
  35346. end;
  35347. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  35348. begin
  35349. if thebits = 0 then
  35350. pTDefRegMap(@Self)^.clr := $00000004
  35351. else
  35352. pTDefRegMap(@Self)^.&set := $00000004;
  35353. end;
  35354. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  35355. begin
  35356. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35357. end;
  35358. procedure TPORTA_CNENA.setCNIEA3; inline;
  35359. begin
  35360. pTDefRegMap(@Self)^.&set := $00000008;
  35361. end;
  35362. procedure TPORTA_CNENA.clearCNIEA3; inline;
  35363. begin
  35364. pTDefRegMap(@Self)^.clr := $00000008;
  35365. end;
  35366. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  35367. begin
  35368. if thebits = 0 then
  35369. pTDefRegMap(@Self)^.clr := $00000008
  35370. else
  35371. pTDefRegMap(@Self)^.&set := $00000008;
  35372. end;
  35373. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  35374. begin
  35375. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35376. end;
  35377. procedure TPORTA_CNENA.setCNIEA4; inline;
  35378. begin
  35379. pTDefRegMap(@Self)^.&set := $00000010;
  35380. end;
  35381. procedure TPORTA_CNENA.clearCNIEA4; inline;
  35382. begin
  35383. pTDefRegMap(@Self)^.clr := $00000010;
  35384. end;
  35385. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  35386. begin
  35387. if thebits = 0 then
  35388. pTDefRegMap(@Self)^.clr := $00000010
  35389. else
  35390. pTDefRegMap(@Self)^.&set := $00000010;
  35391. end;
  35392. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  35393. begin
  35394. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35395. end;
  35396. procedure TPORTA_CNENA.setCNIEA7; inline;
  35397. begin
  35398. pTDefRegMap(@Self)^.&set := $00000080;
  35399. end;
  35400. procedure TPORTA_CNENA.clearCNIEA7; inline;
  35401. begin
  35402. pTDefRegMap(@Self)^.clr := $00000080;
  35403. end;
  35404. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  35405. begin
  35406. if thebits = 0 then
  35407. pTDefRegMap(@Self)^.clr := $00000080
  35408. else
  35409. pTDefRegMap(@Self)^.&set := $00000080;
  35410. end;
  35411. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  35412. begin
  35413. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35414. end;
  35415. procedure TPORTA_CNENA.setCNIEA8; inline;
  35416. begin
  35417. pTDefRegMap(@Self)^.&set := $00000100;
  35418. end;
  35419. procedure TPORTA_CNENA.clearCNIEA8; inline;
  35420. begin
  35421. pTDefRegMap(@Self)^.clr := $00000100;
  35422. end;
  35423. procedure TPORTA_CNENA.setCNIEA8(thebits : TBits_1); inline;
  35424. begin
  35425. if thebits = 0 then
  35426. pTDefRegMap(@Self)^.clr := $00000100
  35427. else
  35428. pTDefRegMap(@Self)^.&set := $00000100;
  35429. end;
  35430. function TPORTA_CNENA.getCNIEA8 : TBits_1; inline;
  35431. begin
  35432. getCNIEA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35433. end;
  35434. procedure TPORTA_CNENA.setCNIEA9; inline;
  35435. begin
  35436. pTDefRegMap(@Self)^.&set := $00000200;
  35437. end;
  35438. procedure TPORTA_CNENA.clearCNIEA9; inline;
  35439. begin
  35440. pTDefRegMap(@Self)^.clr := $00000200;
  35441. end;
  35442. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  35443. begin
  35444. if thebits = 0 then
  35445. pTDefRegMap(@Self)^.clr := $00000200
  35446. else
  35447. pTDefRegMap(@Self)^.&set := $00000200;
  35448. end;
  35449. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  35450. begin
  35451. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35452. end;
  35453. procedure TPORTA_CNENA.setCNIEA10; inline;
  35454. begin
  35455. pTDefRegMap(@Self)^.&set := $00000400;
  35456. end;
  35457. procedure TPORTA_CNENA.clearCNIEA10; inline;
  35458. begin
  35459. pTDefRegMap(@Self)^.clr := $00000400;
  35460. end;
  35461. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  35462. begin
  35463. if thebits = 0 then
  35464. pTDefRegMap(@Self)^.clr := $00000400
  35465. else
  35466. pTDefRegMap(@Self)^.&set := $00000400;
  35467. end;
  35468. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  35469. begin
  35470. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35471. end;
  35472. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  35473. begin
  35474. pTDefRegMap(@Self)^.val := thebits;
  35475. end;
  35476. function TPORTA_CNENA.getw : TBits_32; inline;
  35477. begin
  35478. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35479. end;
  35480. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  35481. begin
  35482. pTDefRegMap(@Self)^.&set := $00000001;
  35483. end;
  35484. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  35485. begin
  35486. pTDefRegMap(@Self)^.clr := $00000001;
  35487. end;
  35488. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  35489. begin
  35490. if thebits = 0 then
  35491. pTDefRegMap(@Self)^.clr := $00000001
  35492. else
  35493. pTDefRegMap(@Self)^.&set := $00000001;
  35494. end;
  35495. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  35496. begin
  35497. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35498. end;
  35499. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  35500. begin
  35501. pTDefRegMap(@Self)^.&set := $00000002;
  35502. end;
  35503. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  35504. begin
  35505. pTDefRegMap(@Self)^.clr := $00000002;
  35506. end;
  35507. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  35508. begin
  35509. if thebits = 0 then
  35510. pTDefRegMap(@Self)^.clr := $00000002
  35511. else
  35512. pTDefRegMap(@Self)^.&set := $00000002;
  35513. end;
  35514. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  35515. begin
  35516. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35517. end;
  35518. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  35519. begin
  35520. pTDefRegMap(@Self)^.&set := $00000004;
  35521. end;
  35522. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  35523. begin
  35524. pTDefRegMap(@Self)^.clr := $00000004;
  35525. end;
  35526. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  35527. begin
  35528. if thebits = 0 then
  35529. pTDefRegMap(@Self)^.clr := $00000004
  35530. else
  35531. pTDefRegMap(@Self)^.&set := $00000004;
  35532. end;
  35533. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  35534. begin
  35535. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35536. end;
  35537. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  35538. begin
  35539. pTDefRegMap(@Self)^.&set := $00000008;
  35540. end;
  35541. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  35542. begin
  35543. pTDefRegMap(@Self)^.clr := $00000008;
  35544. end;
  35545. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  35546. begin
  35547. if thebits = 0 then
  35548. pTDefRegMap(@Self)^.clr := $00000008
  35549. else
  35550. pTDefRegMap(@Self)^.&set := $00000008;
  35551. end;
  35552. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  35553. begin
  35554. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35555. end;
  35556. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  35557. begin
  35558. pTDefRegMap(@Self)^.&set := $00000010;
  35559. end;
  35560. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  35561. begin
  35562. pTDefRegMap(@Self)^.clr := $00000010;
  35563. end;
  35564. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  35565. begin
  35566. if thebits = 0 then
  35567. pTDefRegMap(@Self)^.clr := $00000010
  35568. else
  35569. pTDefRegMap(@Self)^.&set := $00000010;
  35570. end;
  35571. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  35572. begin
  35573. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35574. end;
  35575. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  35576. begin
  35577. pTDefRegMap(@Self)^.&set := $00000080;
  35578. end;
  35579. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  35580. begin
  35581. pTDefRegMap(@Self)^.clr := $00000080;
  35582. end;
  35583. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  35584. begin
  35585. if thebits = 0 then
  35586. pTDefRegMap(@Self)^.clr := $00000080
  35587. else
  35588. pTDefRegMap(@Self)^.&set := $00000080;
  35589. end;
  35590. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  35591. begin
  35592. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35593. end;
  35594. procedure TPORTA_CNSTATA.setCNSTATA8; inline;
  35595. begin
  35596. pTDefRegMap(@Self)^.&set := $00000100;
  35597. end;
  35598. procedure TPORTA_CNSTATA.clearCNSTATA8; inline;
  35599. begin
  35600. pTDefRegMap(@Self)^.clr := $00000100;
  35601. end;
  35602. procedure TPORTA_CNSTATA.setCNSTATA8(thebits : TBits_1); inline;
  35603. begin
  35604. if thebits = 0 then
  35605. pTDefRegMap(@Self)^.clr := $00000100
  35606. else
  35607. pTDefRegMap(@Self)^.&set := $00000100;
  35608. end;
  35609. function TPORTA_CNSTATA.getCNSTATA8 : TBits_1; inline;
  35610. begin
  35611. getCNSTATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35612. end;
  35613. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  35614. begin
  35615. pTDefRegMap(@Self)^.&set := $00000200;
  35616. end;
  35617. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  35618. begin
  35619. pTDefRegMap(@Self)^.clr := $00000200;
  35620. end;
  35621. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  35622. begin
  35623. if thebits = 0 then
  35624. pTDefRegMap(@Self)^.clr := $00000200
  35625. else
  35626. pTDefRegMap(@Self)^.&set := $00000200;
  35627. end;
  35628. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  35629. begin
  35630. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35631. end;
  35632. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  35633. begin
  35634. pTDefRegMap(@Self)^.&set := $00000400;
  35635. end;
  35636. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  35637. begin
  35638. pTDefRegMap(@Self)^.clr := $00000400;
  35639. end;
  35640. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  35641. begin
  35642. if thebits = 0 then
  35643. pTDefRegMap(@Self)^.clr := $00000400
  35644. else
  35645. pTDefRegMap(@Self)^.&set := $00000400;
  35646. end;
  35647. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  35648. begin
  35649. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35650. end;
  35651. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  35652. begin
  35653. pTDefRegMap(@Self)^.val := thebits;
  35654. end;
  35655. function TPORTA_CNSTATA.getw : TBits_32; inline;
  35656. begin
  35657. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35658. end;
  35659. procedure TPORTB_ANSELB.setANSB0; inline;
  35660. begin
  35661. pTDefRegMap(@Self)^.&set := $00000001;
  35662. end;
  35663. procedure TPORTB_ANSELB.clearANSB0; inline;
  35664. begin
  35665. pTDefRegMap(@Self)^.clr := $00000001;
  35666. end;
  35667. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  35668. begin
  35669. if thebits = 0 then
  35670. pTDefRegMap(@Self)^.clr := $00000001
  35671. else
  35672. pTDefRegMap(@Self)^.&set := $00000001;
  35673. end;
  35674. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  35675. begin
  35676. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35677. end;
  35678. procedure TPORTB_ANSELB.setANSB1; inline;
  35679. begin
  35680. pTDefRegMap(@Self)^.&set := $00000002;
  35681. end;
  35682. procedure TPORTB_ANSELB.clearANSB1; inline;
  35683. begin
  35684. pTDefRegMap(@Self)^.clr := $00000002;
  35685. end;
  35686. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  35687. begin
  35688. if thebits = 0 then
  35689. pTDefRegMap(@Self)^.clr := $00000002
  35690. else
  35691. pTDefRegMap(@Self)^.&set := $00000002;
  35692. end;
  35693. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  35694. begin
  35695. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35696. end;
  35697. procedure TPORTB_ANSELB.setANSB2; inline;
  35698. begin
  35699. pTDefRegMap(@Self)^.&set := $00000004;
  35700. end;
  35701. procedure TPORTB_ANSELB.clearANSB2; inline;
  35702. begin
  35703. pTDefRegMap(@Self)^.clr := $00000004;
  35704. end;
  35705. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  35706. begin
  35707. if thebits = 0 then
  35708. pTDefRegMap(@Self)^.clr := $00000004
  35709. else
  35710. pTDefRegMap(@Self)^.&set := $00000004;
  35711. end;
  35712. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  35713. begin
  35714. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35715. end;
  35716. procedure TPORTB_ANSELB.setANSB3; inline;
  35717. begin
  35718. pTDefRegMap(@Self)^.&set := $00000008;
  35719. end;
  35720. procedure TPORTB_ANSELB.clearANSB3; inline;
  35721. begin
  35722. pTDefRegMap(@Self)^.clr := $00000008;
  35723. end;
  35724. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  35725. begin
  35726. if thebits = 0 then
  35727. pTDefRegMap(@Self)^.clr := $00000008
  35728. else
  35729. pTDefRegMap(@Self)^.&set := $00000008;
  35730. end;
  35731. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  35732. begin
  35733. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35734. end;
  35735. procedure TPORTB_ANSELB.setANSB12; inline;
  35736. begin
  35737. pTDefRegMap(@Self)^.&set := $00001000;
  35738. end;
  35739. procedure TPORTB_ANSELB.clearANSB12; inline;
  35740. begin
  35741. pTDefRegMap(@Self)^.clr := $00001000;
  35742. end;
  35743. procedure TPORTB_ANSELB.setANSB12(thebits : TBits_1); inline;
  35744. begin
  35745. if thebits = 0 then
  35746. pTDefRegMap(@Self)^.clr := $00001000
  35747. else
  35748. pTDefRegMap(@Self)^.&set := $00001000;
  35749. end;
  35750. function TPORTB_ANSELB.getANSB12 : TBits_1; inline;
  35751. begin
  35752. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35753. end;
  35754. procedure TPORTB_ANSELB.setANSB13; inline;
  35755. begin
  35756. pTDefRegMap(@Self)^.&set := $00002000;
  35757. end;
  35758. procedure TPORTB_ANSELB.clearANSB13; inline;
  35759. begin
  35760. pTDefRegMap(@Self)^.clr := $00002000;
  35761. end;
  35762. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  35763. begin
  35764. if thebits = 0 then
  35765. pTDefRegMap(@Self)^.clr := $00002000
  35766. else
  35767. pTDefRegMap(@Self)^.&set := $00002000;
  35768. end;
  35769. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  35770. begin
  35771. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35772. end;
  35773. procedure TPORTB_ANSELB.setANSB14; inline;
  35774. begin
  35775. pTDefRegMap(@Self)^.&set := $00004000;
  35776. end;
  35777. procedure TPORTB_ANSELB.clearANSB14; inline;
  35778. begin
  35779. pTDefRegMap(@Self)^.clr := $00004000;
  35780. end;
  35781. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  35782. begin
  35783. if thebits = 0 then
  35784. pTDefRegMap(@Self)^.clr := $00004000
  35785. else
  35786. pTDefRegMap(@Self)^.&set := $00004000;
  35787. end;
  35788. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  35789. begin
  35790. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35791. end;
  35792. procedure TPORTB_ANSELB.setANSB15; inline;
  35793. begin
  35794. pTDefRegMap(@Self)^.&set := $00008000;
  35795. end;
  35796. procedure TPORTB_ANSELB.clearANSB15; inline;
  35797. begin
  35798. pTDefRegMap(@Self)^.clr := $00008000;
  35799. end;
  35800. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  35801. begin
  35802. if thebits = 0 then
  35803. pTDefRegMap(@Self)^.clr := $00008000
  35804. else
  35805. pTDefRegMap(@Self)^.&set := $00008000;
  35806. end;
  35807. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  35808. begin
  35809. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35810. end;
  35811. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  35812. begin
  35813. pTDefRegMap(@Self)^.val := thebits;
  35814. end;
  35815. function TPORTB_ANSELB.getw : TBits_32; inline;
  35816. begin
  35817. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35818. end;
  35819. procedure TPORTB_TRISB.setTRISB0; inline;
  35820. begin
  35821. pTDefRegMap(@Self)^.&set := $00000001;
  35822. end;
  35823. procedure TPORTB_TRISB.clearTRISB0; inline;
  35824. begin
  35825. pTDefRegMap(@Self)^.clr := $00000001;
  35826. end;
  35827. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  35828. begin
  35829. if thebits = 0 then
  35830. pTDefRegMap(@Self)^.clr := $00000001
  35831. else
  35832. pTDefRegMap(@Self)^.&set := $00000001;
  35833. end;
  35834. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  35835. begin
  35836. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35837. end;
  35838. procedure TPORTB_TRISB.setTRISB1; inline;
  35839. begin
  35840. pTDefRegMap(@Self)^.&set := $00000002;
  35841. end;
  35842. procedure TPORTB_TRISB.clearTRISB1; inline;
  35843. begin
  35844. pTDefRegMap(@Self)^.clr := $00000002;
  35845. end;
  35846. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  35847. begin
  35848. if thebits = 0 then
  35849. pTDefRegMap(@Self)^.clr := $00000002
  35850. else
  35851. pTDefRegMap(@Self)^.&set := $00000002;
  35852. end;
  35853. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  35854. begin
  35855. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35856. end;
  35857. procedure TPORTB_TRISB.setTRISB2; inline;
  35858. begin
  35859. pTDefRegMap(@Self)^.&set := $00000004;
  35860. end;
  35861. procedure TPORTB_TRISB.clearTRISB2; inline;
  35862. begin
  35863. pTDefRegMap(@Self)^.clr := $00000004;
  35864. end;
  35865. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  35866. begin
  35867. if thebits = 0 then
  35868. pTDefRegMap(@Self)^.clr := $00000004
  35869. else
  35870. pTDefRegMap(@Self)^.&set := $00000004;
  35871. end;
  35872. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  35873. begin
  35874. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35875. end;
  35876. procedure TPORTB_TRISB.setTRISB3; inline;
  35877. begin
  35878. pTDefRegMap(@Self)^.&set := $00000008;
  35879. end;
  35880. procedure TPORTB_TRISB.clearTRISB3; inline;
  35881. begin
  35882. pTDefRegMap(@Self)^.clr := $00000008;
  35883. end;
  35884. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  35885. begin
  35886. if thebits = 0 then
  35887. pTDefRegMap(@Self)^.clr := $00000008
  35888. else
  35889. pTDefRegMap(@Self)^.&set := $00000008;
  35890. end;
  35891. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  35892. begin
  35893. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35894. end;
  35895. procedure TPORTB_TRISB.setTRISB4; inline;
  35896. begin
  35897. pTDefRegMap(@Self)^.&set := $00000010;
  35898. end;
  35899. procedure TPORTB_TRISB.clearTRISB4; inline;
  35900. begin
  35901. pTDefRegMap(@Self)^.clr := $00000010;
  35902. end;
  35903. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  35904. begin
  35905. if thebits = 0 then
  35906. pTDefRegMap(@Self)^.clr := $00000010
  35907. else
  35908. pTDefRegMap(@Self)^.&set := $00000010;
  35909. end;
  35910. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  35911. begin
  35912. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35913. end;
  35914. procedure TPORTB_TRISB.setTRISB5; inline;
  35915. begin
  35916. pTDefRegMap(@Self)^.&set := $00000020;
  35917. end;
  35918. procedure TPORTB_TRISB.clearTRISB5; inline;
  35919. begin
  35920. pTDefRegMap(@Self)^.clr := $00000020;
  35921. end;
  35922. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  35923. begin
  35924. if thebits = 0 then
  35925. pTDefRegMap(@Self)^.clr := $00000020
  35926. else
  35927. pTDefRegMap(@Self)^.&set := $00000020;
  35928. end;
  35929. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  35930. begin
  35931. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35932. end;
  35933. procedure TPORTB_TRISB.setTRISB6; inline;
  35934. begin
  35935. pTDefRegMap(@Self)^.&set := $00000040;
  35936. end;
  35937. procedure TPORTB_TRISB.clearTRISB6; inline;
  35938. begin
  35939. pTDefRegMap(@Self)^.clr := $00000040;
  35940. end;
  35941. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  35942. begin
  35943. if thebits = 0 then
  35944. pTDefRegMap(@Self)^.clr := $00000040
  35945. else
  35946. pTDefRegMap(@Self)^.&set := $00000040;
  35947. end;
  35948. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  35949. begin
  35950. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35951. end;
  35952. procedure TPORTB_TRISB.setTRISB7; inline;
  35953. begin
  35954. pTDefRegMap(@Self)^.&set := $00000080;
  35955. end;
  35956. procedure TPORTB_TRISB.clearTRISB7; inline;
  35957. begin
  35958. pTDefRegMap(@Self)^.clr := $00000080;
  35959. end;
  35960. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  35961. begin
  35962. if thebits = 0 then
  35963. pTDefRegMap(@Self)^.clr := $00000080
  35964. else
  35965. pTDefRegMap(@Self)^.&set := $00000080;
  35966. end;
  35967. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  35968. begin
  35969. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35970. end;
  35971. procedure TPORTB_TRISB.setTRISB8; inline;
  35972. begin
  35973. pTDefRegMap(@Self)^.&set := $00000100;
  35974. end;
  35975. procedure TPORTB_TRISB.clearTRISB8; inline;
  35976. begin
  35977. pTDefRegMap(@Self)^.clr := $00000100;
  35978. end;
  35979. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  35980. begin
  35981. if thebits = 0 then
  35982. pTDefRegMap(@Self)^.clr := $00000100
  35983. else
  35984. pTDefRegMap(@Self)^.&set := $00000100;
  35985. end;
  35986. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  35987. begin
  35988. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35989. end;
  35990. procedure TPORTB_TRISB.setTRISB9; inline;
  35991. begin
  35992. pTDefRegMap(@Self)^.&set := $00000200;
  35993. end;
  35994. procedure TPORTB_TRISB.clearTRISB9; inline;
  35995. begin
  35996. pTDefRegMap(@Self)^.clr := $00000200;
  35997. end;
  35998. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  35999. begin
  36000. if thebits = 0 then
  36001. pTDefRegMap(@Self)^.clr := $00000200
  36002. else
  36003. pTDefRegMap(@Self)^.&set := $00000200;
  36004. end;
  36005. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  36006. begin
  36007. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36008. end;
  36009. procedure TPORTB_TRISB.setTRISB10; inline;
  36010. begin
  36011. pTDefRegMap(@Self)^.&set := $00000400;
  36012. end;
  36013. procedure TPORTB_TRISB.clearTRISB10; inline;
  36014. begin
  36015. pTDefRegMap(@Self)^.clr := $00000400;
  36016. end;
  36017. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  36018. begin
  36019. if thebits = 0 then
  36020. pTDefRegMap(@Self)^.clr := $00000400
  36021. else
  36022. pTDefRegMap(@Self)^.&set := $00000400;
  36023. end;
  36024. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  36025. begin
  36026. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36027. end;
  36028. procedure TPORTB_TRISB.setTRISB11; inline;
  36029. begin
  36030. pTDefRegMap(@Self)^.&set := $00000800;
  36031. end;
  36032. procedure TPORTB_TRISB.clearTRISB11; inline;
  36033. begin
  36034. pTDefRegMap(@Self)^.clr := $00000800;
  36035. end;
  36036. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  36037. begin
  36038. if thebits = 0 then
  36039. pTDefRegMap(@Self)^.clr := $00000800
  36040. else
  36041. pTDefRegMap(@Self)^.&set := $00000800;
  36042. end;
  36043. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  36044. begin
  36045. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36046. end;
  36047. procedure TPORTB_TRISB.setTRISB12; inline;
  36048. begin
  36049. pTDefRegMap(@Self)^.&set := $00001000;
  36050. end;
  36051. procedure TPORTB_TRISB.clearTRISB12; inline;
  36052. begin
  36053. pTDefRegMap(@Self)^.clr := $00001000;
  36054. end;
  36055. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  36056. begin
  36057. if thebits = 0 then
  36058. pTDefRegMap(@Self)^.clr := $00001000
  36059. else
  36060. pTDefRegMap(@Self)^.&set := $00001000;
  36061. end;
  36062. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  36063. begin
  36064. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36065. end;
  36066. procedure TPORTB_TRISB.setTRISB13; inline;
  36067. begin
  36068. pTDefRegMap(@Self)^.&set := $00002000;
  36069. end;
  36070. procedure TPORTB_TRISB.clearTRISB13; inline;
  36071. begin
  36072. pTDefRegMap(@Self)^.clr := $00002000;
  36073. end;
  36074. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  36075. begin
  36076. if thebits = 0 then
  36077. pTDefRegMap(@Self)^.clr := $00002000
  36078. else
  36079. pTDefRegMap(@Self)^.&set := $00002000;
  36080. end;
  36081. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  36082. begin
  36083. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36084. end;
  36085. procedure TPORTB_TRISB.setTRISB14; inline;
  36086. begin
  36087. pTDefRegMap(@Self)^.&set := $00004000;
  36088. end;
  36089. procedure TPORTB_TRISB.clearTRISB14; inline;
  36090. begin
  36091. pTDefRegMap(@Self)^.clr := $00004000;
  36092. end;
  36093. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  36094. begin
  36095. if thebits = 0 then
  36096. pTDefRegMap(@Self)^.clr := $00004000
  36097. else
  36098. pTDefRegMap(@Self)^.&set := $00004000;
  36099. end;
  36100. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  36101. begin
  36102. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36103. end;
  36104. procedure TPORTB_TRISB.setTRISB15; inline;
  36105. begin
  36106. pTDefRegMap(@Self)^.&set := $00008000;
  36107. end;
  36108. procedure TPORTB_TRISB.clearTRISB15; inline;
  36109. begin
  36110. pTDefRegMap(@Self)^.clr := $00008000;
  36111. end;
  36112. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  36113. begin
  36114. if thebits = 0 then
  36115. pTDefRegMap(@Self)^.clr := $00008000
  36116. else
  36117. pTDefRegMap(@Self)^.&set := $00008000;
  36118. end;
  36119. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  36120. begin
  36121. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36122. end;
  36123. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  36124. begin
  36125. pTDefRegMap(@Self)^.val := thebits;
  36126. end;
  36127. function TPORTB_TRISB.getw : TBits_32; inline;
  36128. begin
  36129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36130. end;
  36131. procedure TPORTB_PORTB.setRB0; inline;
  36132. begin
  36133. pTDefRegMap(@Self)^.&set := $00000001;
  36134. end;
  36135. procedure TPORTB_PORTB.clearRB0; inline;
  36136. begin
  36137. pTDefRegMap(@Self)^.clr := $00000001;
  36138. end;
  36139. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  36140. begin
  36141. if thebits = 0 then
  36142. pTDefRegMap(@Self)^.clr := $00000001
  36143. else
  36144. pTDefRegMap(@Self)^.&set := $00000001;
  36145. end;
  36146. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  36147. begin
  36148. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36149. end;
  36150. procedure TPORTB_PORTB.setRB1; inline;
  36151. begin
  36152. pTDefRegMap(@Self)^.&set := $00000002;
  36153. end;
  36154. procedure TPORTB_PORTB.clearRB1; inline;
  36155. begin
  36156. pTDefRegMap(@Self)^.clr := $00000002;
  36157. end;
  36158. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  36159. begin
  36160. if thebits = 0 then
  36161. pTDefRegMap(@Self)^.clr := $00000002
  36162. else
  36163. pTDefRegMap(@Self)^.&set := $00000002;
  36164. end;
  36165. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  36166. begin
  36167. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36168. end;
  36169. procedure TPORTB_PORTB.setRB2; inline;
  36170. begin
  36171. pTDefRegMap(@Self)^.&set := $00000004;
  36172. end;
  36173. procedure TPORTB_PORTB.clearRB2; inline;
  36174. begin
  36175. pTDefRegMap(@Self)^.clr := $00000004;
  36176. end;
  36177. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  36178. begin
  36179. if thebits = 0 then
  36180. pTDefRegMap(@Self)^.clr := $00000004
  36181. else
  36182. pTDefRegMap(@Self)^.&set := $00000004;
  36183. end;
  36184. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  36185. begin
  36186. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36187. end;
  36188. procedure TPORTB_PORTB.setRB3; inline;
  36189. begin
  36190. pTDefRegMap(@Self)^.&set := $00000008;
  36191. end;
  36192. procedure TPORTB_PORTB.clearRB3; inline;
  36193. begin
  36194. pTDefRegMap(@Self)^.clr := $00000008;
  36195. end;
  36196. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  36197. begin
  36198. if thebits = 0 then
  36199. pTDefRegMap(@Self)^.clr := $00000008
  36200. else
  36201. pTDefRegMap(@Self)^.&set := $00000008;
  36202. end;
  36203. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  36204. begin
  36205. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36206. end;
  36207. procedure TPORTB_PORTB.setRB4; inline;
  36208. begin
  36209. pTDefRegMap(@Self)^.&set := $00000010;
  36210. end;
  36211. procedure TPORTB_PORTB.clearRB4; inline;
  36212. begin
  36213. pTDefRegMap(@Self)^.clr := $00000010;
  36214. end;
  36215. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  36216. begin
  36217. if thebits = 0 then
  36218. pTDefRegMap(@Self)^.clr := $00000010
  36219. else
  36220. pTDefRegMap(@Self)^.&set := $00000010;
  36221. end;
  36222. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  36223. begin
  36224. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36225. end;
  36226. procedure TPORTB_PORTB.setRB5; inline;
  36227. begin
  36228. pTDefRegMap(@Self)^.&set := $00000020;
  36229. end;
  36230. procedure TPORTB_PORTB.clearRB5; inline;
  36231. begin
  36232. pTDefRegMap(@Self)^.clr := $00000020;
  36233. end;
  36234. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  36235. begin
  36236. if thebits = 0 then
  36237. pTDefRegMap(@Self)^.clr := $00000020
  36238. else
  36239. pTDefRegMap(@Self)^.&set := $00000020;
  36240. end;
  36241. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  36242. begin
  36243. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36244. end;
  36245. procedure TPORTB_PORTB.setRB6; inline;
  36246. begin
  36247. pTDefRegMap(@Self)^.&set := $00000040;
  36248. end;
  36249. procedure TPORTB_PORTB.clearRB6; inline;
  36250. begin
  36251. pTDefRegMap(@Self)^.clr := $00000040;
  36252. end;
  36253. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  36254. begin
  36255. if thebits = 0 then
  36256. pTDefRegMap(@Self)^.clr := $00000040
  36257. else
  36258. pTDefRegMap(@Self)^.&set := $00000040;
  36259. end;
  36260. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  36261. begin
  36262. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36263. end;
  36264. procedure TPORTB_PORTB.setRB7; inline;
  36265. begin
  36266. pTDefRegMap(@Self)^.&set := $00000080;
  36267. end;
  36268. procedure TPORTB_PORTB.clearRB7; inline;
  36269. begin
  36270. pTDefRegMap(@Self)^.clr := $00000080;
  36271. end;
  36272. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  36273. begin
  36274. if thebits = 0 then
  36275. pTDefRegMap(@Self)^.clr := $00000080
  36276. else
  36277. pTDefRegMap(@Self)^.&set := $00000080;
  36278. end;
  36279. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  36280. begin
  36281. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36282. end;
  36283. procedure TPORTB_PORTB.setRB8; inline;
  36284. begin
  36285. pTDefRegMap(@Self)^.&set := $00000100;
  36286. end;
  36287. procedure TPORTB_PORTB.clearRB8; inline;
  36288. begin
  36289. pTDefRegMap(@Self)^.clr := $00000100;
  36290. end;
  36291. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  36292. begin
  36293. if thebits = 0 then
  36294. pTDefRegMap(@Self)^.clr := $00000100
  36295. else
  36296. pTDefRegMap(@Self)^.&set := $00000100;
  36297. end;
  36298. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  36299. begin
  36300. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36301. end;
  36302. procedure TPORTB_PORTB.setRB9; inline;
  36303. begin
  36304. pTDefRegMap(@Self)^.&set := $00000200;
  36305. end;
  36306. procedure TPORTB_PORTB.clearRB9; inline;
  36307. begin
  36308. pTDefRegMap(@Self)^.clr := $00000200;
  36309. end;
  36310. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  36311. begin
  36312. if thebits = 0 then
  36313. pTDefRegMap(@Self)^.clr := $00000200
  36314. else
  36315. pTDefRegMap(@Self)^.&set := $00000200;
  36316. end;
  36317. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  36318. begin
  36319. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36320. end;
  36321. procedure TPORTB_PORTB.setRB10; inline;
  36322. begin
  36323. pTDefRegMap(@Self)^.&set := $00000400;
  36324. end;
  36325. procedure TPORTB_PORTB.clearRB10; inline;
  36326. begin
  36327. pTDefRegMap(@Self)^.clr := $00000400;
  36328. end;
  36329. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  36330. begin
  36331. if thebits = 0 then
  36332. pTDefRegMap(@Self)^.clr := $00000400
  36333. else
  36334. pTDefRegMap(@Self)^.&set := $00000400;
  36335. end;
  36336. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  36337. begin
  36338. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36339. end;
  36340. procedure TPORTB_PORTB.setRB11; inline;
  36341. begin
  36342. pTDefRegMap(@Self)^.&set := $00000800;
  36343. end;
  36344. procedure TPORTB_PORTB.clearRB11; inline;
  36345. begin
  36346. pTDefRegMap(@Self)^.clr := $00000800;
  36347. end;
  36348. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  36349. begin
  36350. if thebits = 0 then
  36351. pTDefRegMap(@Self)^.clr := $00000800
  36352. else
  36353. pTDefRegMap(@Self)^.&set := $00000800;
  36354. end;
  36355. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  36356. begin
  36357. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36358. end;
  36359. procedure TPORTB_PORTB.setRB12; inline;
  36360. begin
  36361. pTDefRegMap(@Self)^.&set := $00001000;
  36362. end;
  36363. procedure TPORTB_PORTB.clearRB12; inline;
  36364. begin
  36365. pTDefRegMap(@Self)^.clr := $00001000;
  36366. end;
  36367. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  36368. begin
  36369. if thebits = 0 then
  36370. pTDefRegMap(@Self)^.clr := $00001000
  36371. else
  36372. pTDefRegMap(@Self)^.&set := $00001000;
  36373. end;
  36374. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  36375. begin
  36376. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36377. end;
  36378. procedure TPORTB_PORTB.setRB13; inline;
  36379. begin
  36380. pTDefRegMap(@Self)^.&set := $00002000;
  36381. end;
  36382. procedure TPORTB_PORTB.clearRB13; inline;
  36383. begin
  36384. pTDefRegMap(@Self)^.clr := $00002000;
  36385. end;
  36386. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  36387. begin
  36388. if thebits = 0 then
  36389. pTDefRegMap(@Self)^.clr := $00002000
  36390. else
  36391. pTDefRegMap(@Self)^.&set := $00002000;
  36392. end;
  36393. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  36394. begin
  36395. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36396. end;
  36397. procedure TPORTB_PORTB.setRB14; inline;
  36398. begin
  36399. pTDefRegMap(@Self)^.&set := $00004000;
  36400. end;
  36401. procedure TPORTB_PORTB.clearRB14; inline;
  36402. begin
  36403. pTDefRegMap(@Self)^.clr := $00004000;
  36404. end;
  36405. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  36406. begin
  36407. if thebits = 0 then
  36408. pTDefRegMap(@Self)^.clr := $00004000
  36409. else
  36410. pTDefRegMap(@Self)^.&set := $00004000;
  36411. end;
  36412. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  36413. begin
  36414. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36415. end;
  36416. procedure TPORTB_PORTB.setRB15; inline;
  36417. begin
  36418. pTDefRegMap(@Self)^.&set := $00008000;
  36419. end;
  36420. procedure TPORTB_PORTB.clearRB15; inline;
  36421. begin
  36422. pTDefRegMap(@Self)^.clr := $00008000;
  36423. end;
  36424. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  36425. begin
  36426. if thebits = 0 then
  36427. pTDefRegMap(@Self)^.clr := $00008000
  36428. else
  36429. pTDefRegMap(@Self)^.&set := $00008000;
  36430. end;
  36431. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  36432. begin
  36433. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36434. end;
  36435. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  36436. begin
  36437. pTDefRegMap(@Self)^.val := thebits;
  36438. end;
  36439. function TPORTB_PORTB.getw : TBits_32; inline;
  36440. begin
  36441. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36442. end;
  36443. procedure TPORTB_LATB.setLATB0; inline;
  36444. begin
  36445. pTDefRegMap(@Self)^.&set := $00000001;
  36446. end;
  36447. procedure TPORTB_LATB.clearLATB0; inline;
  36448. begin
  36449. pTDefRegMap(@Self)^.clr := $00000001;
  36450. end;
  36451. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  36452. begin
  36453. if thebits = 0 then
  36454. pTDefRegMap(@Self)^.clr := $00000001
  36455. else
  36456. pTDefRegMap(@Self)^.&set := $00000001;
  36457. end;
  36458. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  36459. begin
  36460. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36461. end;
  36462. procedure TPORTB_LATB.setLATB1; inline;
  36463. begin
  36464. pTDefRegMap(@Self)^.&set := $00000002;
  36465. end;
  36466. procedure TPORTB_LATB.clearLATB1; inline;
  36467. begin
  36468. pTDefRegMap(@Self)^.clr := $00000002;
  36469. end;
  36470. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  36471. begin
  36472. if thebits = 0 then
  36473. pTDefRegMap(@Self)^.clr := $00000002
  36474. else
  36475. pTDefRegMap(@Self)^.&set := $00000002;
  36476. end;
  36477. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  36478. begin
  36479. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36480. end;
  36481. procedure TPORTB_LATB.setLATB2; inline;
  36482. begin
  36483. pTDefRegMap(@Self)^.&set := $00000004;
  36484. end;
  36485. procedure TPORTB_LATB.clearLATB2; inline;
  36486. begin
  36487. pTDefRegMap(@Self)^.clr := $00000004;
  36488. end;
  36489. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  36490. begin
  36491. if thebits = 0 then
  36492. pTDefRegMap(@Self)^.clr := $00000004
  36493. else
  36494. pTDefRegMap(@Self)^.&set := $00000004;
  36495. end;
  36496. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  36497. begin
  36498. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36499. end;
  36500. procedure TPORTB_LATB.setLATB3; inline;
  36501. begin
  36502. pTDefRegMap(@Self)^.&set := $00000008;
  36503. end;
  36504. procedure TPORTB_LATB.clearLATB3; inline;
  36505. begin
  36506. pTDefRegMap(@Self)^.clr := $00000008;
  36507. end;
  36508. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  36509. begin
  36510. if thebits = 0 then
  36511. pTDefRegMap(@Self)^.clr := $00000008
  36512. else
  36513. pTDefRegMap(@Self)^.&set := $00000008;
  36514. end;
  36515. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  36516. begin
  36517. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36518. end;
  36519. procedure TPORTB_LATB.setLATB4; inline;
  36520. begin
  36521. pTDefRegMap(@Self)^.&set := $00000010;
  36522. end;
  36523. procedure TPORTB_LATB.clearLATB4; inline;
  36524. begin
  36525. pTDefRegMap(@Self)^.clr := $00000010;
  36526. end;
  36527. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  36528. begin
  36529. if thebits = 0 then
  36530. pTDefRegMap(@Self)^.clr := $00000010
  36531. else
  36532. pTDefRegMap(@Self)^.&set := $00000010;
  36533. end;
  36534. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  36535. begin
  36536. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36537. end;
  36538. procedure TPORTB_LATB.setLATB5; inline;
  36539. begin
  36540. pTDefRegMap(@Self)^.&set := $00000020;
  36541. end;
  36542. procedure TPORTB_LATB.clearLATB5; inline;
  36543. begin
  36544. pTDefRegMap(@Self)^.clr := $00000020;
  36545. end;
  36546. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  36547. begin
  36548. if thebits = 0 then
  36549. pTDefRegMap(@Self)^.clr := $00000020
  36550. else
  36551. pTDefRegMap(@Self)^.&set := $00000020;
  36552. end;
  36553. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  36554. begin
  36555. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36556. end;
  36557. procedure TPORTB_LATB.setLATB6; inline;
  36558. begin
  36559. pTDefRegMap(@Self)^.&set := $00000040;
  36560. end;
  36561. procedure TPORTB_LATB.clearLATB6; inline;
  36562. begin
  36563. pTDefRegMap(@Self)^.clr := $00000040;
  36564. end;
  36565. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  36566. begin
  36567. if thebits = 0 then
  36568. pTDefRegMap(@Self)^.clr := $00000040
  36569. else
  36570. pTDefRegMap(@Self)^.&set := $00000040;
  36571. end;
  36572. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  36573. begin
  36574. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36575. end;
  36576. procedure TPORTB_LATB.setLATB7; inline;
  36577. begin
  36578. pTDefRegMap(@Self)^.&set := $00000080;
  36579. end;
  36580. procedure TPORTB_LATB.clearLATB7; inline;
  36581. begin
  36582. pTDefRegMap(@Self)^.clr := $00000080;
  36583. end;
  36584. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  36585. begin
  36586. if thebits = 0 then
  36587. pTDefRegMap(@Self)^.clr := $00000080
  36588. else
  36589. pTDefRegMap(@Self)^.&set := $00000080;
  36590. end;
  36591. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  36592. begin
  36593. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36594. end;
  36595. procedure TPORTB_LATB.setLATB8; inline;
  36596. begin
  36597. pTDefRegMap(@Self)^.&set := $00000100;
  36598. end;
  36599. procedure TPORTB_LATB.clearLATB8; inline;
  36600. begin
  36601. pTDefRegMap(@Self)^.clr := $00000100;
  36602. end;
  36603. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  36604. begin
  36605. if thebits = 0 then
  36606. pTDefRegMap(@Self)^.clr := $00000100
  36607. else
  36608. pTDefRegMap(@Self)^.&set := $00000100;
  36609. end;
  36610. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  36611. begin
  36612. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36613. end;
  36614. procedure TPORTB_LATB.setLATB9; inline;
  36615. begin
  36616. pTDefRegMap(@Self)^.&set := $00000200;
  36617. end;
  36618. procedure TPORTB_LATB.clearLATB9; inline;
  36619. begin
  36620. pTDefRegMap(@Self)^.clr := $00000200;
  36621. end;
  36622. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  36623. begin
  36624. if thebits = 0 then
  36625. pTDefRegMap(@Self)^.clr := $00000200
  36626. else
  36627. pTDefRegMap(@Self)^.&set := $00000200;
  36628. end;
  36629. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  36630. begin
  36631. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36632. end;
  36633. procedure TPORTB_LATB.setLATB10; inline;
  36634. begin
  36635. pTDefRegMap(@Self)^.&set := $00000400;
  36636. end;
  36637. procedure TPORTB_LATB.clearLATB10; inline;
  36638. begin
  36639. pTDefRegMap(@Self)^.clr := $00000400;
  36640. end;
  36641. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  36642. begin
  36643. if thebits = 0 then
  36644. pTDefRegMap(@Self)^.clr := $00000400
  36645. else
  36646. pTDefRegMap(@Self)^.&set := $00000400;
  36647. end;
  36648. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  36649. begin
  36650. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36651. end;
  36652. procedure TPORTB_LATB.setLATB11; inline;
  36653. begin
  36654. pTDefRegMap(@Self)^.&set := $00000800;
  36655. end;
  36656. procedure TPORTB_LATB.clearLATB11; inline;
  36657. begin
  36658. pTDefRegMap(@Self)^.clr := $00000800;
  36659. end;
  36660. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  36661. begin
  36662. if thebits = 0 then
  36663. pTDefRegMap(@Self)^.clr := $00000800
  36664. else
  36665. pTDefRegMap(@Self)^.&set := $00000800;
  36666. end;
  36667. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  36668. begin
  36669. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36670. end;
  36671. procedure TPORTB_LATB.setLATB12; inline;
  36672. begin
  36673. pTDefRegMap(@Self)^.&set := $00001000;
  36674. end;
  36675. procedure TPORTB_LATB.clearLATB12; inline;
  36676. begin
  36677. pTDefRegMap(@Self)^.clr := $00001000;
  36678. end;
  36679. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  36680. begin
  36681. if thebits = 0 then
  36682. pTDefRegMap(@Self)^.clr := $00001000
  36683. else
  36684. pTDefRegMap(@Self)^.&set := $00001000;
  36685. end;
  36686. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  36687. begin
  36688. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36689. end;
  36690. procedure TPORTB_LATB.setLATB13; inline;
  36691. begin
  36692. pTDefRegMap(@Self)^.&set := $00002000;
  36693. end;
  36694. procedure TPORTB_LATB.clearLATB13; inline;
  36695. begin
  36696. pTDefRegMap(@Self)^.clr := $00002000;
  36697. end;
  36698. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  36699. begin
  36700. if thebits = 0 then
  36701. pTDefRegMap(@Self)^.clr := $00002000
  36702. else
  36703. pTDefRegMap(@Self)^.&set := $00002000;
  36704. end;
  36705. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  36706. begin
  36707. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36708. end;
  36709. procedure TPORTB_LATB.setLATB14; inline;
  36710. begin
  36711. pTDefRegMap(@Self)^.&set := $00004000;
  36712. end;
  36713. procedure TPORTB_LATB.clearLATB14; inline;
  36714. begin
  36715. pTDefRegMap(@Self)^.clr := $00004000;
  36716. end;
  36717. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  36718. begin
  36719. if thebits = 0 then
  36720. pTDefRegMap(@Self)^.clr := $00004000
  36721. else
  36722. pTDefRegMap(@Self)^.&set := $00004000;
  36723. end;
  36724. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  36725. begin
  36726. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36727. end;
  36728. procedure TPORTB_LATB.setLATB15; inline;
  36729. begin
  36730. pTDefRegMap(@Self)^.&set := $00008000;
  36731. end;
  36732. procedure TPORTB_LATB.clearLATB15; inline;
  36733. begin
  36734. pTDefRegMap(@Self)^.clr := $00008000;
  36735. end;
  36736. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  36737. begin
  36738. if thebits = 0 then
  36739. pTDefRegMap(@Self)^.clr := $00008000
  36740. else
  36741. pTDefRegMap(@Self)^.&set := $00008000;
  36742. end;
  36743. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  36744. begin
  36745. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36746. end;
  36747. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  36748. begin
  36749. pTDefRegMap(@Self)^.val := thebits;
  36750. end;
  36751. function TPORTB_LATB.getw : TBits_32; inline;
  36752. begin
  36753. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36754. end;
  36755. procedure TPORTB_ODCB.setODCB0; inline;
  36756. begin
  36757. pTDefRegMap(@Self)^.&set := $00000001;
  36758. end;
  36759. procedure TPORTB_ODCB.clearODCB0; inline;
  36760. begin
  36761. pTDefRegMap(@Self)^.clr := $00000001;
  36762. end;
  36763. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  36764. begin
  36765. if thebits = 0 then
  36766. pTDefRegMap(@Self)^.clr := $00000001
  36767. else
  36768. pTDefRegMap(@Self)^.&set := $00000001;
  36769. end;
  36770. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  36771. begin
  36772. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36773. end;
  36774. procedure TPORTB_ODCB.setODCB1; inline;
  36775. begin
  36776. pTDefRegMap(@Self)^.&set := $00000002;
  36777. end;
  36778. procedure TPORTB_ODCB.clearODCB1; inline;
  36779. begin
  36780. pTDefRegMap(@Self)^.clr := $00000002;
  36781. end;
  36782. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  36783. begin
  36784. if thebits = 0 then
  36785. pTDefRegMap(@Self)^.clr := $00000002
  36786. else
  36787. pTDefRegMap(@Self)^.&set := $00000002;
  36788. end;
  36789. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  36790. begin
  36791. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36792. end;
  36793. procedure TPORTB_ODCB.setODCB2; inline;
  36794. begin
  36795. pTDefRegMap(@Self)^.&set := $00000004;
  36796. end;
  36797. procedure TPORTB_ODCB.clearODCB2; inline;
  36798. begin
  36799. pTDefRegMap(@Self)^.clr := $00000004;
  36800. end;
  36801. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  36802. begin
  36803. if thebits = 0 then
  36804. pTDefRegMap(@Self)^.clr := $00000004
  36805. else
  36806. pTDefRegMap(@Self)^.&set := $00000004;
  36807. end;
  36808. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  36809. begin
  36810. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36811. end;
  36812. procedure TPORTB_ODCB.setODCB3; inline;
  36813. begin
  36814. pTDefRegMap(@Self)^.&set := $00000008;
  36815. end;
  36816. procedure TPORTB_ODCB.clearODCB3; inline;
  36817. begin
  36818. pTDefRegMap(@Self)^.clr := $00000008;
  36819. end;
  36820. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  36821. begin
  36822. if thebits = 0 then
  36823. pTDefRegMap(@Self)^.clr := $00000008
  36824. else
  36825. pTDefRegMap(@Self)^.&set := $00000008;
  36826. end;
  36827. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  36828. begin
  36829. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36830. end;
  36831. procedure TPORTB_ODCB.setODCB4; inline;
  36832. begin
  36833. pTDefRegMap(@Self)^.&set := $00000010;
  36834. end;
  36835. procedure TPORTB_ODCB.clearODCB4; inline;
  36836. begin
  36837. pTDefRegMap(@Self)^.clr := $00000010;
  36838. end;
  36839. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  36840. begin
  36841. if thebits = 0 then
  36842. pTDefRegMap(@Self)^.clr := $00000010
  36843. else
  36844. pTDefRegMap(@Self)^.&set := $00000010;
  36845. end;
  36846. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  36847. begin
  36848. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36849. end;
  36850. procedure TPORTB_ODCB.setODCB5; inline;
  36851. begin
  36852. pTDefRegMap(@Self)^.&set := $00000020;
  36853. end;
  36854. procedure TPORTB_ODCB.clearODCB5; inline;
  36855. begin
  36856. pTDefRegMap(@Self)^.clr := $00000020;
  36857. end;
  36858. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  36859. begin
  36860. if thebits = 0 then
  36861. pTDefRegMap(@Self)^.clr := $00000020
  36862. else
  36863. pTDefRegMap(@Self)^.&set := $00000020;
  36864. end;
  36865. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  36866. begin
  36867. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36868. end;
  36869. procedure TPORTB_ODCB.setODCB6; inline;
  36870. begin
  36871. pTDefRegMap(@Self)^.&set := $00000040;
  36872. end;
  36873. procedure TPORTB_ODCB.clearODCB6; inline;
  36874. begin
  36875. pTDefRegMap(@Self)^.clr := $00000040;
  36876. end;
  36877. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  36878. begin
  36879. if thebits = 0 then
  36880. pTDefRegMap(@Self)^.clr := $00000040
  36881. else
  36882. pTDefRegMap(@Self)^.&set := $00000040;
  36883. end;
  36884. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  36885. begin
  36886. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36887. end;
  36888. procedure TPORTB_ODCB.setODCB7; inline;
  36889. begin
  36890. pTDefRegMap(@Self)^.&set := $00000080;
  36891. end;
  36892. procedure TPORTB_ODCB.clearODCB7; inline;
  36893. begin
  36894. pTDefRegMap(@Self)^.clr := $00000080;
  36895. end;
  36896. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  36897. begin
  36898. if thebits = 0 then
  36899. pTDefRegMap(@Self)^.clr := $00000080
  36900. else
  36901. pTDefRegMap(@Self)^.&set := $00000080;
  36902. end;
  36903. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  36904. begin
  36905. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36906. end;
  36907. procedure TPORTB_ODCB.setODCB8; inline;
  36908. begin
  36909. pTDefRegMap(@Self)^.&set := $00000100;
  36910. end;
  36911. procedure TPORTB_ODCB.clearODCB8; inline;
  36912. begin
  36913. pTDefRegMap(@Self)^.clr := $00000100;
  36914. end;
  36915. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  36916. begin
  36917. if thebits = 0 then
  36918. pTDefRegMap(@Self)^.clr := $00000100
  36919. else
  36920. pTDefRegMap(@Self)^.&set := $00000100;
  36921. end;
  36922. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  36923. begin
  36924. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36925. end;
  36926. procedure TPORTB_ODCB.setODCB9; inline;
  36927. begin
  36928. pTDefRegMap(@Self)^.&set := $00000200;
  36929. end;
  36930. procedure TPORTB_ODCB.clearODCB9; inline;
  36931. begin
  36932. pTDefRegMap(@Self)^.clr := $00000200;
  36933. end;
  36934. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  36935. begin
  36936. if thebits = 0 then
  36937. pTDefRegMap(@Self)^.clr := $00000200
  36938. else
  36939. pTDefRegMap(@Self)^.&set := $00000200;
  36940. end;
  36941. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  36942. begin
  36943. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36944. end;
  36945. procedure TPORTB_ODCB.setODCB10; inline;
  36946. begin
  36947. pTDefRegMap(@Self)^.&set := $00000400;
  36948. end;
  36949. procedure TPORTB_ODCB.clearODCB10; inline;
  36950. begin
  36951. pTDefRegMap(@Self)^.clr := $00000400;
  36952. end;
  36953. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  36954. begin
  36955. if thebits = 0 then
  36956. pTDefRegMap(@Self)^.clr := $00000400
  36957. else
  36958. pTDefRegMap(@Self)^.&set := $00000400;
  36959. end;
  36960. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  36961. begin
  36962. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36963. end;
  36964. procedure TPORTB_ODCB.setODCB11; inline;
  36965. begin
  36966. pTDefRegMap(@Self)^.&set := $00000800;
  36967. end;
  36968. procedure TPORTB_ODCB.clearODCB11; inline;
  36969. begin
  36970. pTDefRegMap(@Self)^.clr := $00000800;
  36971. end;
  36972. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  36973. begin
  36974. if thebits = 0 then
  36975. pTDefRegMap(@Self)^.clr := $00000800
  36976. else
  36977. pTDefRegMap(@Self)^.&set := $00000800;
  36978. end;
  36979. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  36980. begin
  36981. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36982. end;
  36983. procedure TPORTB_ODCB.setODCB12; inline;
  36984. begin
  36985. pTDefRegMap(@Self)^.&set := $00001000;
  36986. end;
  36987. procedure TPORTB_ODCB.clearODCB12; inline;
  36988. begin
  36989. pTDefRegMap(@Self)^.clr := $00001000;
  36990. end;
  36991. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  36992. begin
  36993. if thebits = 0 then
  36994. pTDefRegMap(@Self)^.clr := $00001000
  36995. else
  36996. pTDefRegMap(@Self)^.&set := $00001000;
  36997. end;
  36998. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  36999. begin
  37000. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37001. end;
  37002. procedure TPORTB_ODCB.setODCB13; inline;
  37003. begin
  37004. pTDefRegMap(@Self)^.&set := $00002000;
  37005. end;
  37006. procedure TPORTB_ODCB.clearODCB13; inline;
  37007. begin
  37008. pTDefRegMap(@Self)^.clr := $00002000;
  37009. end;
  37010. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  37011. begin
  37012. if thebits = 0 then
  37013. pTDefRegMap(@Self)^.clr := $00002000
  37014. else
  37015. pTDefRegMap(@Self)^.&set := $00002000;
  37016. end;
  37017. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  37018. begin
  37019. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37020. end;
  37021. procedure TPORTB_ODCB.setODCB14; inline;
  37022. begin
  37023. pTDefRegMap(@Self)^.&set := $00004000;
  37024. end;
  37025. procedure TPORTB_ODCB.clearODCB14; inline;
  37026. begin
  37027. pTDefRegMap(@Self)^.clr := $00004000;
  37028. end;
  37029. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  37030. begin
  37031. if thebits = 0 then
  37032. pTDefRegMap(@Self)^.clr := $00004000
  37033. else
  37034. pTDefRegMap(@Self)^.&set := $00004000;
  37035. end;
  37036. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  37037. begin
  37038. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37039. end;
  37040. procedure TPORTB_ODCB.setODCB15; inline;
  37041. begin
  37042. pTDefRegMap(@Self)^.&set := $00008000;
  37043. end;
  37044. procedure TPORTB_ODCB.clearODCB15; inline;
  37045. begin
  37046. pTDefRegMap(@Self)^.clr := $00008000;
  37047. end;
  37048. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  37049. begin
  37050. if thebits = 0 then
  37051. pTDefRegMap(@Self)^.clr := $00008000
  37052. else
  37053. pTDefRegMap(@Self)^.&set := $00008000;
  37054. end;
  37055. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  37056. begin
  37057. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37058. end;
  37059. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  37060. begin
  37061. pTDefRegMap(@Self)^.val := thebits;
  37062. end;
  37063. function TPORTB_ODCB.getw : TBits_32; inline;
  37064. begin
  37065. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37066. end;
  37067. procedure TPORTB_CNPUB.setCNPUB0; inline;
  37068. begin
  37069. pTDefRegMap(@Self)^.&set := $00000001;
  37070. end;
  37071. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  37072. begin
  37073. pTDefRegMap(@Self)^.clr := $00000001;
  37074. end;
  37075. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  37076. begin
  37077. if thebits = 0 then
  37078. pTDefRegMap(@Self)^.clr := $00000001
  37079. else
  37080. pTDefRegMap(@Self)^.&set := $00000001;
  37081. end;
  37082. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  37083. begin
  37084. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37085. end;
  37086. procedure TPORTB_CNPUB.setCNPUB1; inline;
  37087. begin
  37088. pTDefRegMap(@Self)^.&set := $00000002;
  37089. end;
  37090. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  37091. begin
  37092. pTDefRegMap(@Self)^.clr := $00000002;
  37093. end;
  37094. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  37095. begin
  37096. if thebits = 0 then
  37097. pTDefRegMap(@Self)^.clr := $00000002
  37098. else
  37099. pTDefRegMap(@Self)^.&set := $00000002;
  37100. end;
  37101. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  37102. begin
  37103. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37104. end;
  37105. procedure TPORTB_CNPUB.setCNPUB2; inline;
  37106. begin
  37107. pTDefRegMap(@Self)^.&set := $00000004;
  37108. end;
  37109. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  37110. begin
  37111. pTDefRegMap(@Self)^.clr := $00000004;
  37112. end;
  37113. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  37114. begin
  37115. if thebits = 0 then
  37116. pTDefRegMap(@Self)^.clr := $00000004
  37117. else
  37118. pTDefRegMap(@Self)^.&set := $00000004;
  37119. end;
  37120. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  37121. begin
  37122. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37123. end;
  37124. procedure TPORTB_CNPUB.setCNPUB3; inline;
  37125. begin
  37126. pTDefRegMap(@Self)^.&set := $00000008;
  37127. end;
  37128. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  37129. begin
  37130. pTDefRegMap(@Self)^.clr := $00000008;
  37131. end;
  37132. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  37133. begin
  37134. if thebits = 0 then
  37135. pTDefRegMap(@Self)^.clr := $00000008
  37136. else
  37137. pTDefRegMap(@Self)^.&set := $00000008;
  37138. end;
  37139. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  37140. begin
  37141. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37142. end;
  37143. procedure TPORTB_CNPUB.setCNPUB4; inline;
  37144. begin
  37145. pTDefRegMap(@Self)^.&set := $00000010;
  37146. end;
  37147. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  37148. begin
  37149. pTDefRegMap(@Self)^.clr := $00000010;
  37150. end;
  37151. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  37152. begin
  37153. if thebits = 0 then
  37154. pTDefRegMap(@Self)^.clr := $00000010
  37155. else
  37156. pTDefRegMap(@Self)^.&set := $00000010;
  37157. end;
  37158. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  37159. begin
  37160. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37161. end;
  37162. procedure TPORTB_CNPUB.setCNPUB5; inline;
  37163. begin
  37164. pTDefRegMap(@Self)^.&set := $00000020;
  37165. end;
  37166. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  37167. begin
  37168. pTDefRegMap(@Self)^.clr := $00000020;
  37169. end;
  37170. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  37171. begin
  37172. if thebits = 0 then
  37173. pTDefRegMap(@Self)^.clr := $00000020
  37174. else
  37175. pTDefRegMap(@Self)^.&set := $00000020;
  37176. end;
  37177. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  37178. begin
  37179. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37180. end;
  37181. procedure TPORTB_CNPUB.setCNPUB6; inline;
  37182. begin
  37183. pTDefRegMap(@Self)^.&set := $00000040;
  37184. end;
  37185. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  37186. begin
  37187. pTDefRegMap(@Self)^.clr := $00000040;
  37188. end;
  37189. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  37190. begin
  37191. if thebits = 0 then
  37192. pTDefRegMap(@Self)^.clr := $00000040
  37193. else
  37194. pTDefRegMap(@Self)^.&set := $00000040;
  37195. end;
  37196. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  37197. begin
  37198. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37199. end;
  37200. procedure TPORTB_CNPUB.setCNPUB7; inline;
  37201. begin
  37202. pTDefRegMap(@Self)^.&set := $00000080;
  37203. end;
  37204. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  37205. begin
  37206. pTDefRegMap(@Self)^.clr := $00000080;
  37207. end;
  37208. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  37209. begin
  37210. if thebits = 0 then
  37211. pTDefRegMap(@Self)^.clr := $00000080
  37212. else
  37213. pTDefRegMap(@Self)^.&set := $00000080;
  37214. end;
  37215. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  37216. begin
  37217. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37218. end;
  37219. procedure TPORTB_CNPUB.setCNPUB8; inline;
  37220. begin
  37221. pTDefRegMap(@Self)^.&set := $00000100;
  37222. end;
  37223. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  37224. begin
  37225. pTDefRegMap(@Self)^.clr := $00000100;
  37226. end;
  37227. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  37228. begin
  37229. if thebits = 0 then
  37230. pTDefRegMap(@Self)^.clr := $00000100
  37231. else
  37232. pTDefRegMap(@Self)^.&set := $00000100;
  37233. end;
  37234. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  37235. begin
  37236. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37237. end;
  37238. procedure TPORTB_CNPUB.setCNPUB9; inline;
  37239. begin
  37240. pTDefRegMap(@Self)^.&set := $00000200;
  37241. end;
  37242. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  37243. begin
  37244. pTDefRegMap(@Self)^.clr := $00000200;
  37245. end;
  37246. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  37247. begin
  37248. if thebits = 0 then
  37249. pTDefRegMap(@Self)^.clr := $00000200
  37250. else
  37251. pTDefRegMap(@Self)^.&set := $00000200;
  37252. end;
  37253. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  37254. begin
  37255. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37256. end;
  37257. procedure TPORTB_CNPUB.setCNPUB10; inline;
  37258. begin
  37259. pTDefRegMap(@Self)^.&set := $00000400;
  37260. end;
  37261. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  37262. begin
  37263. pTDefRegMap(@Self)^.clr := $00000400;
  37264. end;
  37265. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  37266. begin
  37267. if thebits = 0 then
  37268. pTDefRegMap(@Self)^.clr := $00000400
  37269. else
  37270. pTDefRegMap(@Self)^.&set := $00000400;
  37271. end;
  37272. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  37273. begin
  37274. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37275. end;
  37276. procedure TPORTB_CNPUB.setCNPUB11; inline;
  37277. begin
  37278. pTDefRegMap(@Self)^.&set := $00000800;
  37279. end;
  37280. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  37281. begin
  37282. pTDefRegMap(@Self)^.clr := $00000800;
  37283. end;
  37284. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  37285. begin
  37286. if thebits = 0 then
  37287. pTDefRegMap(@Self)^.clr := $00000800
  37288. else
  37289. pTDefRegMap(@Self)^.&set := $00000800;
  37290. end;
  37291. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  37292. begin
  37293. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37294. end;
  37295. procedure TPORTB_CNPUB.setCNPUB12; inline;
  37296. begin
  37297. pTDefRegMap(@Self)^.&set := $00001000;
  37298. end;
  37299. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  37300. begin
  37301. pTDefRegMap(@Self)^.clr := $00001000;
  37302. end;
  37303. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  37304. begin
  37305. if thebits = 0 then
  37306. pTDefRegMap(@Self)^.clr := $00001000
  37307. else
  37308. pTDefRegMap(@Self)^.&set := $00001000;
  37309. end;
  37310. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  37311. begin
  37312. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37313. end;
  37314. procedure TPORTB_CNPUB.setCNPUB13; inline;
  37315. begin
  37316. pTDefRegMap(@Self)^.&set := $00002000;
  37317. end;
  37318. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  37319. begin
  37320. pTDefRegMap(@Self)^.clr := $00002000;
  37321. end;
  37322. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  37323. begin
  37324. if thebits = 0 then
  37325. pTDefRegMap(@Self)^.clr := $00002000
  37326. else
  37327. pTDefRegMap(@Self)^.&set := $00002000;
  37328. end;
  37329. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  37330. begin
  37331. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37332. end;
  37333. procedure TPORTB_CNPUB.setCNPUB14; inline;
  37334. begin
  37335. pTDefRegMap(@Self)^.&set := $00004000;
  37336. end;
  37337. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  37338. begin
  37339. pTDefRegMap(@Self)^.clr := $00004000;
  37340. end;
  37341. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  37342. begin
  37343. if thebits = 0 then
  37344. pTDefRegMap(@Self)^.clr := $00004000
  37345. else
  37346. pTDefRegMap(@Self)^.&set := $00004000;
  37347. end;
  37348. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  37349. begin
  37350. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37351. end;
  37352. procedure TPORTB_CNPUB.setCNPUB15; inline;
  37353. begin
  37354. pTDefRegMap(@Self)^.&set := $00008000;
  37355. end;
  37356. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  37357. begin
  37358. pTDefRegMap(@Self)^.clr := $00008000;
  37359. end;
  37360. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  37361. begin
  37362. if thebits = 0 then
  37363. pTDefRegMap(@Self)^.clr := $00008000
  37364. else
  37365. pTDefRegMap(@Self)^.&set := $00008000;
  37366. end;
  37367. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  37368. begin
  37369. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37370. end;
  37371. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  37372. begin
  37373. pTDefRegMap(@Self)^.val := thebits;
  37374. end;
  37375. function TPORTB_CNPUB.getw : TBits_32; inline;
  37376. begin
  37377. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37378. end;
  37379. procedure TPORTB_CNPDB.setCNPDB0; inline;
  37380. begin
  37381. pTDefRegMap(@Self)^.&set := $00000001;
  37382. end;
  37383. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  37384. begin
  37385. pTDefRegMap(@Self)^.clr := $00000001;
  37386. end;
  37387. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  37388. begin
  37389. if thebits = 0 then
  37390. pTDefRegMap(@Self)^.clr := $00000001
  37391. else
  37392. pTDefRegMap(@Self)^.&set := $00000001;
  37393. end;
  37394. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  37395. begin
  37396. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37397. end;
  37398. procedure TPORTB_CNPDB.setCNPDB1; inline;
  37399. begin
  37400. pTDefRegMap(@Self)^.&set := $00000002;
  37401. end;
  37402. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  37403. begin
  37404. pTDefRegMap(@Self)^.clr := $00000002;
  37405. end;
  37406. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  37407. begin
  37408. if thebits = 0 then
  37409. pTDefRegMap(@Self)^.clr := $00000002
  37410. else
  37411. pTDefRegMap(@Self)^.&set := $00000002;
  37412. end;
  37413. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  37414. begin
  37415. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37416. end;
  37417. procedure TPORTB_CNPDB.setCNPDB2; inline;
  37418. begin
  37419. pTDefRegMap(@Self)^.&set := $00000004;
  37420. end;
  37421. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  37422. begin
  37423. pTDefRegMap(@Self)^.clr := $00000004;
  37424. end;
  37425. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  37426. begin
  37427. if thebits = 0 then
  37428. pTDefRegMap(@Self)^.clr := $00000004
  37429. else
  37430. pTDefRegMap(@Self)^.&set := $00000004;
  37431. end;
  37432. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  37433. begin
  37434. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37435. end;
  37436. procedure TPORTB_CNPDB.setCNPDB3; inline;
  37437. begin
  37438. pTDefRegMap(@Self)^.&set := $00000008;
  37439. end;
  37440. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  37441. begin
  37442. pTDefRegMap(@Self)^.clr := $00000008;
  37443. end;
  37444. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  37445. begin
  37446. if thebits = 0 then
  37447. pTDefRegMap(@Self)^.clr := $00000008
  37448. else
  37449. pTDefRegMap(@Self)^.&set := $00000008;
  37450. end;
  37451. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  37452. begin
  37453. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37454. end;
  37455. procedure TPORTB_CNPDB.setCNPDB4; inline;
  37456. begin
  37457. pTDefRegMap(@Self)^.&set := $00000010;
  37458. end;
  37459. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  37460. begin
  37461. pTDefRegMap(@Self)^.clr := $00000010;
  37462. end;
  37463. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  37464. begin
  37465. if thebits = 0 then
  37466. pTDefRegMap(@Self)^.clr := $00000010
  37467. else
  37468. pTDefRegMap(@Self)^.&set := $00000010;
  37469. end;
  37470. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  37471. begin
  37472. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37473. end;
  37474. procedure TPORTB_CNPDB.setCNPDB5; inline;
  37475. begin
  37476. pTDefRegMap(@Self)^.&set := $00000020;
  37477. end;
  37478. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  37479. begin
  37480. pTDefRegMap(@Self)^.clr := $00000020;
  37481. end;
  37482. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  37483. begin
  37484. if thebits = 0 then
  37485. pTDefRegMap(@Self)^.clr := $00000020
  37486. else
  37487. pTDefRegMap(@Self)^.&set := $00000020;
  37488. end;
  37489. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  37490. begin
  37491. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37492. end;
  37493. procedure TPORTB_CNPDB.setCNPDB6; inline;
  37494. begin
  37495. pTDefRegMap(@Self)^.&set := $00000040;
  37496. end;
  37497. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  37498. begin
  37499. pTDefRegMap(@Self)^.clr := $00000040;
  37500. end;
  37501. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  37502. begin
  37503. if thebits = 0 then
  37504. pTDefRegMap(@Self)^.clr := $00000040
  37505. else
  37506. pTDefRegMap(@Self)^.&set := $00000040;
  37507. end;
  37508. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  37509. begin
  37510. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37511. end;
  37512. procedure TPORTB_CNPDB.setCNPDB7; inline;
  37513. begin
  37514. pTDefRegMap(@Self)^.&set := $00000080;
  37515. end;
  37516. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  37517. begin
  37518. pTDefRegMap(@Self)^.clr := $00000080;
  37519. end;
  37520. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  37521. begin
  37522. if thebits = 0 then
  37523. pTDefRegMap(@Self)^.clr := $00000080
  37524. else
  37525. pTDefRegMap(@Self)^.&set := $00000080;
  37526. end;
  37527. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  37528. begin
  37529. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37530. end;
  37531. procedure TPORTB_CNPDB.setCNPDB8; inline;
  37532. begin
  37533. pTDefRegMap(@Self)^.&set := $00000100;
  37534. end;
  37535. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  37536. begin
  37537. pTDefRegMap(@Self)^.clr := $00000100;
  37538. end;
  37539. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  37540. begin
  37541. if thebits = 0 then
  37542. pTDefRegMap(@Self)^.clr := $00000100
  37543. else
  37544. pTDefRegMap(@Self)^.&set := $00000100;
  37545. end;
  37546. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  37547. begin
  37548. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37549. end;
  37550. procedure TPORTB_CNPDB.setCNPDB9; inline;
  37551. begin
  37552. pTDefRegMap(@Self)^.&set := $00000200;
  37553. end;
  37554. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  37555. begin
  37556. pTDefRegMap(@Self)^.clr := $00000200;
  37557. end;
  37558. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  37559. begin
  37560. if thebits = 0 then
  37561. pTDefRegMap(@Self)^.clr := $00000200
  37562. else
  37563. pTDefRegMap(@Self)^.&set := $00000200;
  37564. end;
  37565. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  37566. begin
  37567. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37568. end;
  37569. procedure TPORTB_CNPDB.setCNPDB10; inline;
  37570. begin
  37571. pTDefRegMap(@Self)^.&set := $00000400;
  37572. end;
  37573. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  37574. begin
  37575. pTDefRegMap(@Self)^.clr := $00000400;
  37576. end;
  37577. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  37578. begin
  37579. if thebits = 0 then
  37580. pTDefRegMap(@Self)^.clr := $00000400
  37581. else
  37582. pTDefRegMap(@Self)^.&set := $00000400;
  37583. end;
  37584. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  37585. begin
  37586. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37587. end;
  37588. procedure TPORTB_CNPDB.setCNPDB11; inline;
  37589. begin
  37590. pTDefRegMap(@Self)^.&set := $00000800;
  37591. end;
  37592. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  37593. begin
  37594. pTDefRegMap(@Self)^.clr := $00000800;
  37595. end;
  37596. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  37597. begin
  37598. if thebits = 0 then
  37599. pTDefRegMap(@Self)^.clr := $00000800
  37600. else
  37601. pTDefRegMap(@Self)^.&set := $00000800;
  37602. end;
  37603. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  37604. begin
  37605. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37606. end;
  37607. procedure TPORTB_CNPDB.setCNPDB12; inline;
  37608. begin
  37609. pTDefRegMap(@Self)^.&set := $00001000;
  37610. end;
  37611. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  37612. begin
  37613. pTDefRegMap(@Self)^.clr := $00001000;
  37614. end;
  37615. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  37616. begin
  37617. if thebits = 0 then
  37618. pTDefRegMap(@Self)^.clr := $00001000
  37619. else
  37620. pTDefRegMap(@Self)^.&set := $00001000;
  37621. end;
  37622. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  37623. begin
  37624. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37625. end;
  37626. procedure TPORTB_CNPDB.setCNPDB13; inline;
  37627. begin
  37628. pTDefRegMap(@Self)^.&set := $00002000;
  37629. end;
  37630. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  37631. begin
  37632. pTDefRegMap(@Self)^.clr := $00002000;
  37633. end;
  37634. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  37635. begin
  37636. if thebits = 0 then
  37637. pTDefRegMap(@Self)^.clr := $00002000
  37638. else
  37639. pTDefRegMap(@Self)^.&set := $00002000;
  37640. end;
  37641. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  37642. begin
  37643. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37644. end;
  37645. procedure TPORTB_CNPDB.setCNPDB14; inline;
  37646. begin
  37647. pTDefRegMap(@Self)^.&set := $00004000;
  37648. end;
  37649. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  37650. begin
  37651. pTDefRegMap(@Self)^.clr := $00004000;
  37652. end;
  37653. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  37654. begin
  37655. if thebits = 0 then
  37656. pTDefRegMap(@Self)^.clr := $00004000
  37657. else
  37658. pTDefRegMap(@Self)^.&set := $00004000;
  37659. end;
  37660. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  37661. begin
  37662. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37663. end;
  37664. procedure TPORTB_CNPDB.setCNPDB15; inline;
  37665. begin
  37666. pTDefRegMap(@Self)^.&set := $00008000;
  37667. end;
  37668. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  37669. begin
  37670. pTDefRegMap(@Self)^.clr := $00008000;
  37671. end;
  37672. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  37673. begin
  37674. if thebits = 0 then
  37675. pTDefRegMap(@Self)^.clr := $00008000
  37676. else
  37677. pTDefRegMap(@Self)^.&set := $00008000;
  37678. end;
  37679. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  37680. begin
  37681. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37682. end;
  37683. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  37684. begin
  37685. pTDefRegMap(@Self)^.val := thebits;
  37686. end;
  37687. function TPORTB_CNPDB.getw : TBits_32; inline;
  37688. begin
  37689. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37690. end;
  37691. procedure TPORTB_CNCONB.setSIDL; inline;
  37692. begin
  37693. pTDefRegMap(@Self)^.&set := $00002000;
  37694. end;
  37695. procedure TPORTB_CNCONB.clearSIDL; inline;
  37696. begin
  37697. pTDefRegMap(@Self)^.clr := $00002000;
  37698. end;
  37699. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  37700. begin
  37701. if thebits = 0 then
  37702. pTDefRegMap(@Self)^.clr := $00002000
  37703. else
  37704. pTDefRegMap(@Self)^.&set := $00002000;
  37705. end;
  37706. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  37707. begin
  37708. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37709. end;
  37710. procedure TPORTB_CNCONB.setON; inline;
  37711. begin
  37712. pTDefRegMap(@Self)^.&set := $00008000;
  37713. end;
  37714. procedure TPORTB_CNCONB.clearON; inline;
  37715. begin
  37716. pTDefRegMap(@Self)^.clr := $00008000;
  37717. end;
  37718. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  37719. begin
  37720. if thebits = 0 then
  37721. pTDefRegMap(@Self)^.clr := $00008000
  37722. else
  37723. pTDefRegMap(@Self)^.&set := $00008000;
  37724. end;
  37725. function TPORTB_CNCONB.getON : TBits_1; inline;
  37726. begin
  37727. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37728. end;
  37729. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  37730. begin
  37731. pTDefRegMap(@Self)^.val := thebits;
  37732. end;
  37733. function TPORTB_CNCONB.getw : TBits_32; inline;
  37734. begin
  37735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37736. end;
  37737. procedure TPORTB_CNENB.setCNIEB0; inline;
  37738. begin
  37739. pTDefRegMap(@Self)^.&set := $00000001;
  37740. end;
  37741. procedure TPORTB_CNENB.clearCNIEB0; inline;
  37742. begin
  37743. pTDefRegMap(@Self)^.clr := $00000001;
  37744. end;
  37745. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  37746. begin
  37747. if thebits = 0 then
  37748. pTDefRegMap(@Self)^.clr := $00000001
  37749. else
  37750. pTDefRegMap(@Self)^.&set := $00000001;
  37751. end;
  37752. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  37753. begin
  37754. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37755. end;
  37756. procedure TPORTB_CNENB.setCNIEB1; inline;
  37757. begin
  37758. pTDefRegMap(@Self)^.&set := $00000002;
  37759. end;
  37760. procedure TPORTB_CNENB.clearCNIEB1; inline;
  37761. begin
  37762. pTDefRegMap(@Self)^.clr := $00000002;
  37763. end;
  37764. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  37765. begin
  37766. if thebits = 0 then
  37767. pTDefRegMap(@Self)^.clr := $00000002
  37768. else
  37769. pTDefRegMap(@Self)^.&set := $00000002;
  37770. end;
  37771. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  37772. begin
  37773. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37774. end;
  37775. procedure TPORTB_CNENB.setCNIEB2; inline;
  37776. begin
  37777. pTDefRegMap(@Self)^.&set := $00000004;
  37778. end;
  37779. procedure TPORTB_CNENB.clearCNIEB2; inline;
  37780. begin
  37781. pTDefRegMap(@Self)^.clr := $00000004;
  37782. end;
  37783. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  37784. begin
  37785. if thebits = 0 then
  37786. pTDefRegMap(@Self)^.clr := $00000004
  37787. else
  37788. pTDefRegMap(@Self)^.&set := $00000004;
  37789. end;
  37790. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  37791. begin
  37792. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37793. end;
  37794. procedure TPORTB_CNENB.setCNIEB3; inline;
  37795. begin
  37796. pTDefRegMap(@Self)^.&set := $00000008;
  37797. end;
  37798. procedure TPORTB_CNENB.clearCNIEB3; inline;
  37799. begin
  37800. pTDefRegMap(@Self)^.clr := $00000008;
  37801. end;
  37802. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  37803. begin
  37804. if thebits = 0 then
  37805. pTDefRegMap(@Self)^.clr := $00000008
  37806. else
  37807. pTDefRegMap(@Self)^.&set := $00000008;
  37808. end;
  37809. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  37810. begin
  37811. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37812. end;
  37813. procedure TPORTB_CNENB.setCNIEB4; inline;
  37814. begin
  37815. pTDefRegMap(@Self)^.&set := $00000010;
  37816. end;
  37817. procedure TPORTB_CNENB.clearCNIEB4; inline;
  37818. begin
  37819. pTDefRegMap(@Self)^.clr := $00000010;
  37820. end;
  37821. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  37822. begin
  37823. if thebits = 0 then
  37824. pTDefRegMap(@Self)^.clr := $00000010
  37825. else
  37826. pTDefRegMap(@Self)^.&set := $00000010;
  37827. end;
  37828. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  37829. begin
  37830. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37831. end;
  37832. procedure TPORTB_CNENB.setCNIEB5; inline;
  37833. begin
  37834. pTDefRegMap(@Self)^.&set := $00000020;
  37835. end;
  37836. procedure TPORTB_CNENB.clearCNIEB5; inline;
  37837. begin
  37838. pTDefRegMap(@Self)^.clr := $00000020;
  37839. end;
  37840. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  37841. begin
  37842. if thebits = 0 then
  37843. pTDefRegMap(@Self)^.clr := $00000020
  37844. else
  37845. pTDefRegMap(@Self)^.&set := $00000020;
  37846. end;
  37847. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  37848. begin
  37849. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37850. end;
  37851. procedure TPORTB_CNENB.setCNIEB6; inline;
  37852. begin
  37853. pTDefRegMap(@Self)^.&set := $00000040;
  37854. end;
  37855. procedure TPORTB_CNENB.clearCNIEB6; inline;
  37856. begin
  37857. pTDefRegMap(@Self)^.clr := $00000040;
  37858. end;
  37859. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  37860. begin
  37861. if thebits = 0 then
  37862. pTDefRegMap(@Self)^.clr := $00000040
  37863. else
  37864. pTDefRegMap(@Self)^.&set := $00000040;
  37865. end;
  37866. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  37867. begin
  37868. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37869. end;
  37870. procedure TPORTB_CNENB.setCNIEB7; inline;
  37871. begin
  37872. pTDefRegMap(@Self)^.&set := $00000080;
  37873. end;
  37874. procedure TPORTB_CNENB.clearCNIEB7; inline;
  37875. begin
  37876. pTDefRegMap(@Self)^.clr := $00000080;
  37877. end;
  37878. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  37879. begin
  37880. if thebits = 0 then
  37881. pTDefRegMap(@Self)^.clr := $00000080
  37882. else
  37883. pTDefRegMap(@Self)^.&set := $00000080;
  37884. end;
  37885. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  37886. begin
  37887. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37888. end;
  37889. procedure TPORTB_CNENB.setCNIEB8; inline;
  37890. begin
  37891. pTDefRegMap(@Self)^.&set := $00000100;
  37892. end;
  37893. procedure TPORTB_CNENB.clearCNIEB8; inline;
  37894. begin
  37895. pTDefRegMap(@Self)^.clr := $00000100;
  37896. end;
  37897. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  37898. begin
  37899. if thebits = 0 then
  37900. pTDefRegMap(@Self)^.clr := $00000100
  37901. else
  37902. pTDefRegMap(@Self)^.&set := $00000100;
  37903. end;
  37904. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  37905. begin
  37906. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37907. end;
  37908. procedure TPORTB_CNENB.setCNIEB9; inline;
  37909. begin
  37910. pTDefRegMap(@Self)^.&set := $00000200;
  37911. end;
  37912. procedure TPORTB_CNENB.clearCNIEB9; inline;
  37913. begin
  37914. pTDefRegMap(@Self)^.clr := $00000200;
  37915. end;
  37916. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  37917. begin
  37918. if thebits = 0 then
  37919. pTDefRegMap(@Self)^.clr := $00000200
  37920. else
  37921. pTDefRegMap(@Self)^.&set := $00000200;
  37922. end;
  37923. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  37924. begin
  37925. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37926. end;
  37927. procedure TPORTB_CNENB.setCNIEB10; inline;
  37928. begin
  37929. pTDefRegMap(@Self)^.&set := $00000400;
  37930. end;
  37931. procedure TPORTB_CNENB.clearCNIEB10; inline;
  37932. begin
  37933. pTDefRegMap(@Self)^.clr := $00000400;
  37934. end;
  37935. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  37936. begin
  37937. if thebits = 0 then
  37938. pTDefRegMap(@Self)^.clr := $00000400
  37939. else
  37940. pTDefRegMap(@Self)^.&set := $00000400;
  37941. end;
  37942. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  37943. begin
  37944. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37945. end;
  37946. procedure TPORTB_CNENB.setCNIEB11; inline;
  37947. begin
  37948. pTDefRegMap(@Self)^.&set := $00000800;
  37949. end;
  37950. procedure TPORTB_CNENB.clearCNIEB11; inline;
  37951. begin
  37952. pTDefRegMap(@Self)^.clr := $00000800;
  37953. end;
  37954. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  37955. begin
  37956. if thebits = 0 then
  37957. pTDefRegMap(@Self)^.clr := $00000800
  37958. else
  37959. pTDefRegMap(@Self)^.&set := $00000800;
  37960. end;
  37961. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  37962. begin
  37963. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37964. end;
  37965. procedure TPORTB_CNENB.setCNIEB12; inline;
  37966. begin
  37967. pTDefRegMap(@Self)^.&set := $00001000;
  37968. end;
  37969. procedure TPORTB_CNENB.clearCNIEB12; inline;
  37970. begin
  37971. pTDefRegMap(@Self)^.clr := $00001000;
  37972. end;
  37973. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  37974. begin
  37975. if thebits = 0 then
  37976. pTDefRegMap(@Self)^.clr := $00001000
  37977. else
  37978. pTDefRegMap(@Self)^.&set := $00001000;
  37979. end;
  37980. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  37981. begin
  37982. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37983. end;
  37984. procedure TPORTB_CNENB.setCNIEB13; inline;
  37985. begin
  37986. pTDefRegMap(@Self)^.&set := $00002000;
  37987. end;
  37988. procedure TPORTB_CNENB.clearCNIEB13; inline;
  37989. begin
  37990. pTDefRegMap(@Self)^.clr := $00002000;
  37991. end;
  37992. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  37993. begin
  37994. if thebits = 0 then
  37995. pTDefRegMap(@Self)^.clr := $00002000
  37996. else
  37997. pTDefRegMap(@Self)^.&set := $00002000;
  37998. end;
  37999. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  38000. begin
  38001. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38002. end;
  38003. procedure TPORTB_CNENB.setCNIEB14; inline;
  38004. begin
  38005. pTDefRegMap(@Self)^.&set := $00004000;
  38006. end;
  38007. procedure TPORTB_CNENB.clearCNIEB14; inline;
  38008. begin
  38009. pTDefRegMap(@Self)^.clr := $00004000;
  38010. end;
  38011. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  38012. begin
  38013. if thebits = 0 then
  38014. pTDefRegMap(@Self)^.clr := $00004000
  38015. else
  38016. pTDefRegMap(@Self)^.&set := $00004000;
  38017. end;
  38018. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  38019. begin
  38020. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38021. end;
  38022. procedure TPORTB_CNENB.setCNIEB15; inline;
  38023. begin
  38024. pTDefRegMap(@Self)^.&set := $00008000;
  38025. end;
  38026. procedure TPORTB_CNENB.clearCNIEB15; inline;
  38027. begin
  38028. pTDefRegMap(@Self)^.clr := $00008000;
  38029. end;
  38030. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  38031. begin
  38032. if thebits = 0 then
  38033. pTDefRegMap(@Self)^.clr := $00008000
  38034. else
  38035. pTDefRegMap(@Self)^.&set := $00008000;
  38036. end;
  38037. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  38038. begin
  38039. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38040. end;
  38041. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  38042. begin
  38043. pTDefRegMap(@Self)^.val := thebits;
  38044. end;
  38045. function TPORTB_CNENB.getw : TBits_32; inline;
  38046. begin
  38047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38048. end;
  38049. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  38050. begin
  38051. pTDefRegMap(@Self)^.&set := $00000001;
  38052. end;
  38053. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  38054. begin
  38055. pTDefRegMap(@Self)^.clr := $00000001;
  38056. end;
  38057. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  38058. begin
  38059. if thebits = 0 then
  38060. pTDefRegMap(@Self)^.clr := $00000001
  38061. else
  38062. pTDefRegMap(@Self)^.&set := $00000001;
  38063. end;
  38064. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  38065. begin
  38066. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38067. end;
  38068. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  38069. begin
  38070. pTDefRegMap(@Self)^.&set := $00000002;
  38071. end;
  38072. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  38073. begin
  38074. pTDefRegMap(@Self)^.clr := $00000002;
  38075. end;
  38076. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  38077. begin
  38078. if thebits = 0 then
  38079. pTDefRegMap(@Self)^.clr := $00000002
  38080. else
  38081. pTDefRegMap(@Self)^.&set := $00000002;
  38082. end;
  38083. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  38084. begin
  38085. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38086. end;
  38087. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  38088. begin
  38089. pTDefRegMap(@Self)^.&set := $00000004;
  38090. end;
  38091. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  38092. begin
  38093. pTDefRegMap(@Self)^.clr := $00000004;
  38094. end;
  38095. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  38096. begin
  38097. if thebits = 0 then
  38098. pTDefRegMap(@Self)^.clr := $00000004
  38099. else
  38100. pTDefRegMap(@Self)^.&set := $00000004;
  38101. end;
  38102. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  38103. begin
  38104. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38105. end;
  38106. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  38107. begin
  38108. pTDefRegMap(@Self)^.&set := $00000008;
  38109. end;
  38110. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  38111. begin
  38112. pTDefRegMap(@Self)^.clr := $00000008;
  38113. end;
  38114. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  38115. begin
  38116. if thebits = 0 then
  38117. pTDefRegMap(@Self)^.clr := $00000008
  38118. else
  38119. pTDefRegMap(@Self)^.&set := $00000008;
  38120. end;
  38121. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  38122. begin
  38123. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38124. end;
  38125. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  38126. begin
  38127. pTDefRegMap(@Self)^.&set := $00000010;
  38128. end;
  38129. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  38130. begin
  38131. pTDefRegMap(@Self)^.clr := $00000010;
  38132. end;
  38133. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  38134. begin
  38135. if thebits = 0 then
  38136. pTDefRegMap(@Self)^.clr := $00000010
  38137. else
  38138. pTDefRegMap(@Self)^.&set := $00000010;
  38139. end;
  38140. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  38141. begin
  38142. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38143. end;
  38144. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  38145. begin
  38146. pTDefRegMap(@Self)^.&set := $00000020;
  38147. end;
  38148. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  38149. begin
  38150. pTDefRegMap(@Self)^.clr := $00000020;
  38151. end;
  38152. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  38153. begin
  38154. if thebits = 0 then
  38155. pTDefRegMap(@Self)^.clr := $00000020
  38156. else
  38157. pTDefRegMap(@Self)^.&set := $00000020;
  38158. end;
  38159. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  38160. begin
  38161. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38162. end;
  38163. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  38164. begin
  38165. pTDefRegMap(@Self)^.&set := $00000040;
  38166. end;
  38167. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  38168. begin
  38169. pTDefRegMap(@Self)^.clr := $00000040;
  38170. end;
  38171. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  38172. begin
  38173. if thebits = 0 then
  38174. pTDefRegMap(@Self)^.clr := $00000040
  38175. else
  38176. pTDefRegMap(@Self)^.&set := $00000040;
  38177. end;
  38178. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  38179. begin
  38180. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38181. end;
  38182. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  38183. begin
  38184. pTDefRegMap(@Self)^.&set := $00000080;
  38185. end;
  38186. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  38187. begin
  38188. pTDefRegMap(@Self)^.clr := $00000080;
  38189. end;
  38190. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  38191. begin
  38192. if thebits = 0 then
  38193. pTDefRegMap(@Self)^.clr := $00000080
  38194. else
  38195. pTDefRegMap(@Self)^.&set := $00000080;
  38196. end;
  38197. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  38198. begin
  38199. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38200. end;
  38201. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  38202. begin
  38203. pTDefRegMap(@Self)^.&set := $00000100;
  38204. end;
  38205. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  38206. begin
  38207. pTDefRegMap(@Self)^.clr := $00000100;
  38208. end;
  38209. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  38210. begin
  38211. if thebits = 0 then
  38212. pTDefRegMap(@Self)^.clr := $00000100
  38213. else
  38214. pTDefRegMap(@Self)^.&set := $00000100;
  38215. end;
  38216. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  38217. begin
  38218. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38219. end;
  38220. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  38221. begin
  38222. pTDefRegMap(@Self)^.&set := $00000200;
  38223. end;
  38224. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  38225. begin
  38226. pTDefRegMap(@Self)^.clr := $00000200;
  38227. end;
  38228. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  38229. begin
  38230. if thebits = 0 then
  38231. pTDefRegMap(@Self)^.clr := $00000200
  38232. else
  38233. pTDefRegMap(@Self)^.&set := $00000200;
  38234. end;
  38235. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  38236. begin
  38237. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38238. end;
  38239. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  38240. begin
  38241. pTDefRegMap(@Self)^.&set := $00000400;
  38242. end;
  38243. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  38244. begin
  38245. pTDefRegMap(@Self)^.clr := $00000400;
  38246. end;
  38247. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  38248. begin
  38249. if thebits = 0 then
  38250. pTDefRegMap(@Self)^.clr := $00000400
  38251. else
  38252. pTDefRegMap(@Self)^.&set := $00000400;
  38253. end;
  38254. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  38255. begin
  38256. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38257. end;
  38258. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  38259. begin
  38260. pTDefRegMap(@Self)^.&set := $00000800;
  38261. end;
  38262. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  38263. begin
  38264. pTDefRegMap(@Self)^.clr := $00000800;
  38265. end;
  38266. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  38267. begin
  38268. if thebits = 0 then
  38269. pTDefRegMap(@Self)^.clr := $00000800
  38270. else
  38271. pTDefRegMap(@Self)^.&set := $00000800;
  38272. end;
  38273. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  38274. begin
  38275. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38276. end;
  38277. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  38278. begin
  38279. pTDefRegMap(@Self)^.&set := $00001000;
  38280. end;
  38281. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  38282. begin
  38283. pTDefRegMap(@Self)^.clr := $00001000;
  38284. end;
  38285. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  38286. begin
  38287. if thebits = 0 then
  38288. pTDefRegMap(@Self)^.clr := $00001000
  38289. else
  38290. pTDefRegMap(@Self)^.&set := $00001000;
  38291. end;
  38292. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  38293. begin
  38294. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38295. end;
  38296. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  38297. begin
  38298. pTDefRegMap(@Self)^.&set := $00002000;
  38299. end;
  38300. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  38301. begin
  38302. pTDefRegMap(@Self)^.clr := $00002000;
  38303. end;
  38304. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  38305. begin
  38306. if thebits = 0 then
  38307. pTDefRegMap(@Self)^.clr := $00002000
  38308. else
  38309. pTDefRegMap(@Self)^.&set := $00002000;
  38310. end;
  38311. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  38312. begin
  38313. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38314. end;
  38315. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  38316. begin
  38317. pTDefRegMap(@Self)^.&set := $00004000;
  38318. end;
  38319. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  38320. begin
  38321. pTDefRegMap(@Self)^.clr := $00004000;
  38322. end;
  38323. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  38324. begin
  38325. if thebits = 0 then
  38326. pTDefRegMap(@Self)^.clr := $00004000
  38327. else
  38328. pTDefRegMap(@Self)^.&set := $00004000;
  38329. end;
  38330. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  38331. begin
  38332. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38333. end;
  38334. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  38335. begin
  38336. pTDefRegMap(@Self)^.&set := $00008000;
  38337. end;
  38338. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  38339. begin
  38340. pTDefRegMap(@Self)^.clr := $00008000;
  38341. end;
  38342. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  38343. begin
  38344. if thebits = 0 then
  38345. pTDefRegMap(@Self)^.clr := $00008000
  38346. else
  38347. pTDefRegMap(@Self)^.&set := $00008000;
  38348. end;
  38349. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  38350. begin
  38351. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38352. end;
  38353. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  38354. begin
  38355. pTDefRegMap(@Self)^.val := thebits;
  38356. end;
  38357. function TPORTB_CNSTATB.getw : TBits_32; inline;
  38358. begin
  38359. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38360. end;
  38361. procedure TPORTC_ANSELC.setANSC0; inline;
  38362. begin
  38363. pTDefRegMap(@Self)^.&set := $00000001;
  38364. end;
  38365. procedure TPORTC_ANSELC.clearANSC0; inline;
  38366. begin
  38367. pTDefRegMap(@Self)^.clr := $00000001;
  38368. end;
  38369. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  38370. begin
  38371. if thebits = 0 then
  38372. pTDefRegMap(@Self)^.clr := $00000001
  38373. else
  38374. pTDefRegMap(@Self)^.&set := $00000001;
  38375. end;
  38376. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  38377. begin
  38378. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38379. end;
  38380. procedure TPORTC_ANSELC.setANSC1; inline;
  38381. begin
  38382. pTDefRegMap(@Self)^.&set := $00000002;
  38383. end;
  38384. procedure TPORTC_ANSELC.clearANSC1; inline;
  38385. begin
  38386. pTDefRegMap(@Self)^.clr := $00000002;
  38387. end;
  38388. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  38389. begin
  38390. if thebits = 0 then
  38391. pTDefRegMap(@Self)^.clr := $00000002
  38392. else
  38393. pTDefRegMap(@Self)^.&set := $00000002;
  38394. end;
  38395. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  38396. begin
  38397. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38398. end;
  38399. procedure TPORTC_ANSELC.setANSC2; inline;
  38400. begin
  38401. pTDefRegMap(@Self)^.&set := $00000004;
  38402. end;
  38403. procedure TPORTC_ANSELC.clearANSC2; inline;
  38404. begin
  38405. pTDefRegMap(@Self)^.clr := $00000004;
  38406. end;
  38407. procedure TPORTC_ANSELC.setANSC2(thebits : TBits_1); inline;
  38408. begin
  38409. if thebits = 0 then
  38410. pTDefRegMap(@Self)^.clr := $00000004
  38411. else
  38412. pTDefRegMap(@Self)^.&set := $00000004;
  38413. end;
  38414. function TPORTC_ANSELC.getANSC2 : TBits_1; inline;
  38415. begin
  38416. getANSC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38417. end;
  38418. procedure TPORTC_ANSELC.setANSC3; inline;
  38419. begin
  38420. pTDefRegMap(@Self)^.&set := $00000008;
  38421. end;
  38422. procedure TPORTC_ANSELC.clearANSC3; inline;
  38423. begin
  38424. pTDefRegMap(@Self)^.clr := $00000008;
  38425. end;
  38426. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  38427. begin
  38428. if thebits = 0 then
  38429. pTDefRegMap(@Self)^.clr := $00000008
  38430. else
  38431. pTDefRegMap(@Self)^.&set := $00000008;
  38432. end;
  38433. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  38434. begin
  38435. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38436. end;
  38437. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  38438. begin
  38439. pTDefRegMap(@Self)^.val := thebits;
  38440. end;
  38441. function TPORTC_ANSELC.getw : TBits_32; inline;
  38442. begin
  38443. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38444. end;
  38445. procedure TPORTC_TRISC.setTRISC0; inline;
  38446. begin
  38447. pTDefRegMap(@Self)^.&set := $00000001;
  38448. end;
  38449. procedure TPORTC_TRISC.clearTRISC0; inline;
  38450. begin
  38451. pTDefRegMap(@Self)^.clr := $00000001;
  38452. end;
  38453. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  38454. begin
  38455. if thebits = 0 then
  38456. pTDefRegMap(@Self)^.clr := $00000001
  38457. else
  38458. pTDefRegMap(@Self)^.&set := $00000001;
  38459. end;
  38460. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  38461. begin
  38462. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38463. end;
  38464. procedure TPORTC_TRISC.setTRISC1; inline;
  38465. begin
  38466. pTDefRegMap(@Self)^.&set := $00000002;
  38467. end;
  38468. procedure TPORTC_TRISC.clearTRISC1; inline;
  38469. begin
  38470. pTDefRegMap(@Self)^.clr := $00000002;
  38471. end;
  38472. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  38473. begin
  38474. if thebits = 0 then
  38475. pTDefRegMap(@Self)^.clr := $00000002
  38476. else
  38477. pTDefRegMap(@Self)^.&set := $00000002;
  38478. end;
  38479. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  38480. begin
  38481. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38482. end;
  38483. procedure TPORTC_TRISC.setTRISC2; inline;
  38484. begin
  38485. pTDefRegMap(@Self)^.&set := $00000004;
  38486. end;
  38487. procedure TPORTC_TRISC.clearTRISC2; inline;
  38488. begin
  38489. pTDefRegMap(@Self)^.clr := $00000004;
  38490. end;
  38491. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  38492. begin
  38493. if thebits = 0 then
  38494. pTDefRegMap(@Self)^.clr := $00000004
  38495. else
  38496. pTDefRegMap(@Self)^.&set := $00000004;
  38497. end;
  38498. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  38499. begin
  38500. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38501. end;
  38502. procedure TPORTC_TRISC.setTRISC3; inline;
  38503. begin
  38504. pTDefRegMap(@Self)^.&set := $00000008;
  38505. end;
  38506. procedure TPORTC_TRISC.clearTRISC3; inline;
  38507. begin
  38508. pTDefRegMap(@Self)^.clr := $00000008;
  38509. end;
  38510. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  38511. begin
  38512. if thebits = 0 then
  38513. pTDefRegMap(@Self)^.clr := $00000008
  38514. else
  38515. pTDefRegMap(@Self)^.&set := $00000008;
  38516. end;
  38517. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  38518. begin
  38519. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38520. end;
  38521. procedure TPORTC_TRISC.setTRISC4; inline;
  38522. begin
  38523. pTDefRegMap(@Self)^.&set := $00000010;
  38524. end;
  38525. procedure TPORTC_TRISC.clearTRISC4; inline;
  38526. begin
  38527. pTDefRegMap(@Self)^.clr := $00000010;
  38528. end;
  38529. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  38530. begin
  38531. if thebits = 0 then
  38532. pTDefRegMap(@Self)^.clr := $00000010
  38533. else
  38534. pTDefRegMap(@Self)^.&set := $00000010;
  38535. end;
  38536. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  38537. begin
  38538. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38539. end;
  38540. procedure TPORTC_TRISC.setTRISC5; inline;
  38541. begin
  38542. pTDefRegMap(@Self)^.&set := $00000020;
  38543. end;
  38544. procedure TPORTC_TRISC.clearTRISC5; inline;
  38545. begin
  38546. pTDefRegMap(@Self)^.clr := $00000020;
  38547. end;
  38548. procedure TPORTC_TRISC.setTRISC5(thebits : TBits_1); inline;
  38549. begin
  38550. if thebits = 0 then
  38551. pTDefRegMap(@Self)^.clr := $00000020
  38552. else
  38553. pTDefRegMap(@Self)^.&set := $00000020;
  38554. end;
  38555. function TPORTC_TRISC.getTRISC5 : TBits_1; inline;
  38556. begin
  38557. getTRISC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38558. end;
  38559. procedure TPORTC_TRISC.setTRISC6; inline;
  38560. begin
  38561. pTDefRegMap(@Self)^.&set := $00000040;
  38562. end;
  38563. procedure TPORTC_TRISC.clearTRISC6; inline;
  38564. begin
  38565. pTDefRegMap(@Self)^.clr := $00000040;
  38566. end;
  38567. procedure TPORTC_TRISC.setTRISC6(thebits : TBits_1); inline;
  38568. begin
  38569. if thebits = 0 then
  38570. pTDefRegMap(@Self)^.clr := $00000040
  38571. else
  38572. pTDefRegMap(@Self)^.&set := $00000040;
  38573. end;
  38574. function TPORTC_TRISC.getTRISC6 : TBits_1; inline;
  38575. begin
  38576. getTRISC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38577. end;
  38578. procedure TPORTC_TRISC.setTRISC7; inline;
  38579. begin
  38580. pTDefRegMap(@Self)^.&set := $00000080;
  38581. end;
  38582. procedure TPORTC_TRISC.clearTRISC7; inline;
  38583. begin
  38584. pTDefRegMap(@Self)^.clr := $00000080;
  38585. end;
  38586. procedure TPORTC_TRISC.setTRISC7(thebits : TBits_1); inline;
  38587. begin
  38588. if thebits = 0 then
  38589. pTDefRegMap(@Self)^.clr := $00000080
  38590. else
  38591. pTDefRegMap(@Self)^.&set := $00000080;
  38592. end;
  38593. function TPORTC_TRISC.getTRISC7 : TBits_1; inline;
  38594. begin
  38595. getTRISC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38596. end;
  38597. procedure TPORTC_TRISC.setTRISC8; inline;
  38598. begin
  38599. pTDefRegMap(@Self)^.&set := $00000100;
  38600. end;
  38601. procedure TPORTC_TRISC.clearTRISC8; inline;
  38602. begin
  38603. pTDefRegMap(@Self)^.clr := $00000100;
  38604. end;
  38605. procedure TPORTC_TRISC.setTRISC8(thebits : TBits_1); inline;
  38606. begin
  38607. if thebits = 0 then
  38608. pTDefRegMap(@Self)^.clr := $00000100
  38609. else
  38610. pTDefRegMap(@Self)^.&set := $00000100;
  38611. end;
  38612. function TPORTC_TRISC.getTRISC8 : TBits_1; inline;
  38613. begin
  38614. getTRISC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38615. end;
  38616. procedure TPORTC_TRISC.setTRISC9; inline;
  38617. begin
  38618. pTDefRegMap(@Self)^.&set := $00000200;
  38619. end;
  38620. procedure TPORTC_TRISC.clearTRISC9; inline;
  38621. begin
  38622. pTDefRegMap(@Self)^.clr := $00000200;
  38623. end;
  38624. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  38625. begin
  38626. if thebits = 0 then
  38627. pTDefRegMap(@Self)^.clr := $00000200
  38628. else
  38629. pTDefRegMap(@Self)^.&set := $00000200;
  38630. end;
  38631. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  38632. begin
  38633. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38634. end;
  38635. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  38636. begin
  38637. pTDefRegMap(@Self)^.val := thebits;
  38638. end;
  38639. function TPORTC_TRISC.getw : TBits_32; inline;
  38640. begin
  38641. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38642. end;
  38643. procedure TPORTC_PORTC.setRC0; inline;
  38644. begin
  38645. pTDefRegMap(@Self)^.&set := $00000001;
  38646. end;
  38647. procedure TPORTC_PORTC.clearRC0; inline;
  38648. begin
  38649. pTDefRegMap(@Self)^.clr := $00000001;
  38650. end;
  38651. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  38652. begin
  38653. if thebits = 0 then
  38654. pTDefRegMap(@Self)^.clr := $00000001
  38655. else
  38656. pTDefRegMap(@Self)^.&set := $00000001;
  38657. end;
  38658. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  38659. begin
  38660. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38661. end;
  38662. procedure TPORTC_PORTC.setRC1; inline;
  38663. begin
  38664. pTDefRegMap(@Self)^.&set := $00000002;
  38665. end;
  38666. procedure TPORTC_PORTC.clearRC1; inline;
  38667. begin
  38668. pTDefRegMap(@Self)^.clr := $00000002;
  38669. end;
  38670. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  38671. begin
  38672. if thebits = 0 then
  38673. pTDefRegMap(@Self)^.clr := $00000002
  38674. else
  38675. pTDefRegMap(@Self)^.&set := $00000002;
  38676. end;
  38677. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  38678. begin
  38679. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38680. end;
  38681. procedure TPORTC_PORTC.setRC2; inline;
  38682. begin
  38683. pTDefRegMap(@Self)^.&set := $00000004;
  38684. end;
  38685. procedure TPORTC_PORTC.clearRC2; inline;
  38686. begin
  38687. pTDefRegMap(@Self)^.clr := $00000004;
  38688. end;
  38689. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  38690. begin
  38691. if thebits = 0 then
  38692. pTDefRegMap(@Self)^.clr := $00000004
  38693. else
  38694. pTDefRegMap(@Self)^.&set := $00000004;
  38695. end;
  38696. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  38697. begin
  38698. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38699. end;
  38700. procedure TPORTC_PORTC.setRC3; inline;
  38701. begin
  38702. pTDefRegMap(@Self)^.&set := $00000008;
  38703. end;
  38704. procedure TPORTC_PORTC.clearRC3; inline;
  38705. begin
  38706. pTDefRegMap(@Self)^.clr := $00000008;
  38707. end;
  38708. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  38709. begin
  38710. if thebits = 0 then
  38711. pTDefRegMap(@Self)^.clr := $00000008
  38712. else
  38713. pTDefRegMap(@Self)^.&set := $00000008;
  38714. end;
  38715. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  38716. begin
  38717. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38718. end;
  38719. procedure TPORTC_PORTC.setRC4; inline;
  38720. begin
  38721. pTDefRegMap(@Self)^.&set := $00000010;
  38722. end;
  38723. procedure TPORTC_PORTC.clearRC4; inline;
  38724. begin
  38725. pTDefRegMap(@Self)^.clr := $00000010;
  38726. end;
  38727. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  38728. begin
  38729. if thebits = 0 then
  38730. pTDefRegMap(@Self)^.clr := $00000010
  38731. else
  38732. pTDefRegMap(@Self)^.&set := $00000010;
  38733. end;
  38734. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  38735. begin
  38736. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38737. end;
  38738. procedure TPORTC_PORTC.setRC5; inline;
  38739. begin
  38740. pTDefRegMap(@Self)^.&set := $00000020;
  38741. end;
  38742. procedure TPORTC_PORTC.clearRC5; inline;
  38743. begin
  38744. pTDefRegMap(@Self)^.clr := $00000020;
  38745. end;
  38746. procedure TPORTC_PORTC.setRC5(thebits : TBits_1); inline;
  38747. begin
  38748. if thebits = 0 then
  38749. pTDefRegMap(@Self)^.clr := $00000020
  38750. else
  38751. pTDefRegMap(@Self)^.&set := $00000020;
  38752. end;
  38753. function TPORTC_PORTC.getRC5 : TBits_1; inline;
  38754. begin
  38755. getRC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38756. end;
  38757. procedure TPORTC_PORTC.setRC6; inline;
  38758. begin
  38759. pTDefRegMap(@Self)^.&set := $00000040;
  38760. end;
  38761. procedure TPORTC_PORTC.clearRC6; inline;
  38762. begin
  38763. pTDefRegMap(@Self)^.clr := $00000040;
  38764. end;
  38765. procedure TPORTC_PORTC.setRC6(thebits : TBits_1); inline;
  38766. begin
  38767. if thebits = 0 then
  38768. pTDefRegMap(@Self)^.clr := $00000040
  38769. else
  38770. pTDefRegMap(@Self)^.&set := $00000040;
  38771. end;
  38772. function TPORTC_PORTC.getRC6 : TBits_1; inline;
  38773. begin
  38774. getRC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38775. end;
  38776. procedure TPORTC_PORTC.setRC7; inline;
  38777. begin
  38778. pTDefRegMap(@Self)^.&set := $00000080;
  38779. end;
  38780. procedure TPORTC_PORTC.clearRC7; inline;
  38781. begin
  38782. pTDefRegMap(@Self)^.clr := $00000080;
  38783. end;
  38784. procedure TPORTC_PORTC.setRC7(thebits : TBits_1); inline;
  38785. begin
  38786. if thebits = 0 then
  38787. pTDefRegMap(@Self)^.clr := $00000080
  38788. else
  38789. pTDefRegMap(@Self)^.&set := $00000080;
  38790. end;
  38791. function TPORTC_PORTC.getRC7 : TBits_1; inline;
  38792. begin
  38793. getRC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38794. end;
  38795. procedure TPORTC_PORTC.setRC8; inline;
  38796. begin
  38797. pTDefRegMap(@Self)^.&set := $00000100;
  38798. end;
  38799. procedure TPORTC_PORTC.clearRC8; inline;
  38800. begin
  38801. pTDefRegMap(@Self)^.clr := $00000100;
  38802. end;
  38803. procedure TPORTC_PORTC.setRC8(thebits : TBits_1); inline;
  38804. begin
  38805. if thebits = 0 then
  38806. pTDefRegMap(@Self)^.clr := $00000100
  38807. else
  38808. pTDefRegMap(@Self)^.&set := $00000100;
  38809. end;
  38810. function TPORTC_PORTC.getRC8 : TBits_1; inline;
  38811. begin
  38812. getRC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38813. end;
  38814. procedure TPORTC_PORTC.setRC9; inline;
  38815. begin
  38816. pTDefRegMap(@Self)^.&set := $00000200;
  38817. end;
  38818. procedure TPORTC_PORTC.clearRC9; inline;
  38819. begin
  38820. pTDefRegMap(@Self)^.clr := $00000200;
  38821. end;
  38822. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  38823. begin
  38824. if thebits = 0 then
  38825. pTDefRegMap(@Self)^.clr := $00000200
  38826. else
  38827. pTDefRegMap(@Self)^.&set := $00000200;
  38828. end;
  38829. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  38830. begin
  38831. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38832. end;
  38833. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  38834. begin
  38835. pTDefRegMap(@Self)^.val := thebits;
  38836. end;
  38837. function TPORTC_PORTC.getw : TBits_32; inline;
  38838. begin
  38839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38840. end;
  38841. procedure TPORTC_LATC.setLATC0; inline;
  38842. begin
  38843. pTDefRegMap(@Self)^.&set := $00000001;
  38844. end;
  38845. procedure TPORTC_LATC.clearLATC0; inline;
  38846. begin
  38847. pTDefRegMap(@Self)^.clr := $00000001;
  38848. end;
  38849. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  38850. begin
  38851. if thebits = 0 then
  38852. pTDefRegMap(@Self)^.clr := $00000001
  38853. else
  38854. pTDefRegMap(@Self)^.&set := $00000001;
  38855. end;
  38856. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  38857. begin
  38858. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38859. end;
  38860. procedure TPORTC_LATC.setLATC1; inline;
  38861. begin
  38862. pTDefRegMap(@Self)^.&set := $00000002;
  38863. end;
  38864. procedure TPORTC_LATC.clearLATC1; inline;
  38865. begin
  38866. pTDefRegMap(@Self)^.clr := $00000002;
  38867. end;
  38868. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  38869. begin
  38870. if thebits = 0 then
  38871. pTDefRegMap(@Self)^.clr := $00000002
  38872. else
  38873. pTDefRegMap(@Self)^.&set := $00000002;
  38874. end;
  38875. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  38876. begin
  38877. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38878. end;
  38879. procedure TPORTC_LATC.setLATC2; inline;
  38880. begin
  38881. pTDefRegMap(@Self)^.&set := $00000004;
  38882. end;
  38883. procedure TPORTC_LATC.clearLATC2; inline;
  38884. begin
  38885. pTDefRegMap(@Self)^.clr := $00000004;
  38886. end;
  38887. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  38888. begin
  38889. if thebits = 0 then
  38890. pTDefRegMap(@Self)^.clr := $00000004
  38891. else
  38892. pTDefRegMap(@Self)^.&set := $00000004;
  38893. end;
  38894. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  38895. begin
  38896. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38897. end;
  38898. procedure TPORTC_LATC.setLATC3; inline;
  38899. begin
  38900. pTDefRegMap(@Self)^.&set := $00000008;
  38901. end;
  38902. procedure TPORTC_LATC.clearLATC3; inline;
  38903. begin
  38904. pTDefRegMap(@Self)^.clr := $00000008;
  38905. end;
  38906. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  38907. begin
  38908. if thebits = 0 then
  38909. pTDefRegMap(@Self)^.clr := $00000008
  38910. else
  38911. pTDefRegMap(@Self)^.&set := $00000008;
  38912. end;
  38913. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  38914. begin
  38915. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38916. end;
  38917. procedure TPORTC_LATC.setLATC4; inline;
  38918. begin
  38919. pTDefRegMap(@Self)^.&set := $00000010;
  38920. end;
  38921. procedure TPORTC_LATC.clearLATC4; inline;
  38922. begin
  38923. pTDefRegMap(@Self)^.clr := $00000010;
  38924. end;
  38925. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  38926. begin
  38927. if thebits = 0 then
  38928. pTDefRegMap(@Self)^.clr := $00000010
  38929. else
  38930. pTDefRegMap(@Self)^.&set := $00000010;
  38931. end;
  38932. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  38933. begin
  38934. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38935. end;
  38936. procedure TPORTC_LATC.setLATC5; inline;
  38937. begin
  38938. pTDefRegMap(@Self)^.&set := $00000020;
  38939. end;
  38940. procedure TPORTC_LATC.clearLATC5; inline;
  38941. begin
  38942. pTDefRegMap(@Self)^.clr := $00000020;
  38943. end;
  38944. procedure TPORTC_LATC.setLATC5(thebits : TBits_1); inline;
  38945. begin
  38946. if thebits = 0 then
  38947. pTDefRegMap(@Self)^.clr := $00000020
  38948. else
  38949. pTDefRegMap(@Self)^.&set := $00000020;
  38950. end;
  38951. function TPORTC_LATC.getLATC5 : TBits_1; inline;
  38952. begin
  38953. getLATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38954. end;
  38955. procedure TPORTC_LATC.setLATC6; inline;
  38956. begin
  38957. pTDefRegMap(@Self)^.&set := $00000040;
  38958. end;
  38959. procedure TPORTC_LATC.clearLATC6; inline;
  38960. begin
  38961. pTDefRegMap(@Self)^.clr := $00000040;
  38962. end;
  38963. procedure TPORTC_LATC.setLATC6(thebits : TBits_1); inline;
  38964. begin
  38965. if thebits = 0 then
  38966. pTDefRegMap(@Self)^.clr := $00000040
  38967. else
  38968. pTDefRegMap(@Self)^.&set := $00000040;
  38969. end;
  38970. function TPORTC_LATC.getLATC6 : TBits_1; inline;
  38971. begin
  38972. getLATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38973. end;
  38974. procedure TPORTC_LATC.setLATC7; inline;
  38975. begin
  38976. pTDefRegMap(@Self)^.&set := $00000080;
  38977. end;
  38978. procedure TPORTC_LATC.clearLATC7; inline;
  38979. begin
  38980. pTDefRegMap(@Self)^.clr := $00000080;
  38981. end;
  38982. procedure TPORTC_LATC.setLATC7(thebits : TBits_1); inline;
  38983. begin
  38984. if thebits = 0 then
  38985. pTDefRegMap(@Self)^.clr := $00000080
  38986. else
  38987. pTDefRegMap(@Self)^.&set := $00000080;
  38988. end;
  38989. function TPORTC_LATC.getLATC7 : TBits_1; inline;
  38990. begin
  38991. getLATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38992. end;
  38993. procedure TPORTC_LATC.setLATC8; inline;
  38994. begin
  38995. pTDefRegMap(@Self)^.&set := $00000100;
  38996. end;
  38997. procedure TPORTC_LATC.clearLATC8; inline;
  38998. begin
  38999. pTDefRegMap(@Self)^.clr := $00000100;
  39000. end;
  39001. procedure TPORTC_LATC.setLATC8(thebits : TBits_1); inline;
  39002. begin
  39003. if thebits = 0 then
  39004. pTDefRegMap(@Self)^.clr := $00000100
  39005. else
  39006. pTDefRegMap(@Self)^.&set := $00000100;
  39007. end;
  39008. function TPORTC_LATC.getLATC8 : TBits_1; inline;
  39009. begin
  39010. getLATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39011. end;
  39012. procedure TPORTC_LATC.setLATC9; inline;
  39013. begin
  39014. pTDefRegMap(@Self)^.&set := $00000200;
  39015. end;
  39016. procedure TPORTC_LATC.clearLATC9; inline;
  39017. begin
  39018. pTDefRegMap(@Self)^.clr := $00000200;
  39019. end;
  39020. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  39021. begin
  39022. if thebits = 0 then
  39023. pTDefRegMap(@Self)^.clr := $00000200
  39024. else
  39025. pTDefRegMap(@Self)^.&set := $00000200;
  39026. end;
  39027. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  39028. begin
  39029. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39030. end;
  39031. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  39032. begin
  39033. pTDefRegMap(@Self)^.val := thebits;
  39034. end;
  39035. function TPORTC_LATC.getw : TBits_32; inline;
  39036. begin
  39037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39038. end;
  39039. procedure TPORTC_ODCC.setODCC0; inline;
  39040. begin
  39041. pTDefRegMap(@Self)^.&set := $00000001;
  39042. end;
  39043. procedure TPORTC_ODCC.clearODCC0; inline;
  39044. begin
  39045. pTDefRegMap(@Self)^.clr := $00000001;
  39046. end;
  39047. procedure TPORTC_ODCC.setODCC0(thebits : TBits_1); inline;
  39048. begin
  39049. if thebits = 0 then
  39050. pTDefRegMap(@Self)^.clr := $00000001
  39051. else
  39052. pTDefRegMap(@Self)^.&set := $00000001;
  39053. end;
  39054. function TPORTC_ODCC.getODCC0 : TBits_1; inline;
  39055. begin
  39056. getODCC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39057. end;
  39058. procedure TPORTC_ODCC.setODCC1; inline;
  39059. begin
  39060. pTDefRegMap(@Self)^.&set := $00000002;
  39061. end;
  39062. procedure TPORTC_ODCC.clearODCC1; inline;
  39063. begin
  39064. pTDefRegMap(@Self)^.clr := $00000002;
  39065. end;
  39066. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  39067. begin
  39068. if thebits = 0 then
  39069. pTDefRegMap(@Self)^.clr := $00000002
  39070. else
  39071. pTDefRegMap(@Self)^.&set := $00000002;
  39072. end;
  39073. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  39074. begin
  39075. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39076. end;
  39077. procedure TPORTC_ODCC.setODCC2; inline;
  39078. begin
  39079. pTDefRegMap(@Self)^.&set := $00000004;
  39080. end;
  39081. procedure TPORTC_ODCC.clearODCC2; inline;
  39082. begin
  39083. pTDefRegMap(@Self)^.clr := $00000004;
  39084. end;
  39085. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  39086. begin
  39087. if thebits = 0 then
  39088. pTDefRegMap(@Self)^.clr := $00000004
  39089. else
  39090. pTDefRegMap(@Self)^.&set := $00000004;
  39091. end;
  39092. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  39093. begin
  39094. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39095. end;
  39096. procedure TPORTC_ODCC.setODCC3; inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.&set := $00000008;
  39099. end;
  39100. procedure TPORTC_ODCC.clearODCC3; inline;
  39101. begin
  39102. pTDefRegMap(@Self)^.clr := $00000008;
  39103. end;
  39104. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  39105. begin
  39106. if thebits = 0 then
  39107. pTDefRegMap(@Self)^.clr := $00000008
  39108. else
  39109. pTDefRegMap(@Self)^.&set := $00000008;
  39110. end;
  39111. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  39112. begin
  39113. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39114. end;
  39115. procedure TPORTC_ODCC.setODCC4; inline;
  39116. begin
  39117. pTDefRegMap(@Self)^.&set := $00000010;
  39118. end;
  39119. procedure TPORTC_ODCC.clearODCC4; inline;
  39120. begin
  39121. pTDefRegMap(@Self)^.clr := $00000010;
  39122. end;
  39123. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  39124. begin
  39125. if thebits = 0 then
  39126. pTDefRegMap(@Self)^.clr := $00000010
  39127. else
  39128. pTDefRegMap(@Self)^.&set := $00000010;
  39129. end;
  39130. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  39131. begin
  39132. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39133. end;
  39134. procedure TPORTC_ODCC.setODCC5; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.&set := $00000020;
  39137. end;
  39138. procedure TPORTC_ODCC.clearODCC5; inline;
  39139. begin
  39140. pTDefRegMap(@Self)^.clr := $00000020;
  39141. end;
  39142. procedure TPORTC_ODCC.setODCC5(thebits : TBits_1); inline;
  39143. begin
  39144. if thebits = 0 then
  39145. pTDefRegMap(@Self)^.clr := $00000020
  39146. else
  39147. pTDefRegMap(@Self)^.&set := $00000020;
  39148. end;
  39149. function TPORTC_ODCC.getODCC5 : TBits_1; inline;
  39150. begin
  39151. getODCC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39152. end;
  39153. procedure TPORTC_ODCC.setODCC6; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.&set := $00000040;
  39156. end;
  39157. procedure TPORTC_ODCC.clearODCC6; inline;
  39158. begin
  39159. pTDefRegMap(@Self)^.clr := $00000040;
  39160. end;
  39161. procedure TPORTC_ODCC.setODCC6(thebits : TBits_1); inline;
  39162. begin
  39163. if thebits = 0 then
  39164. pTDefRegMap(@Self)^.clr := $00000040
  39165. else
  39166. pTDefRegMap(@Self)^.&set := $00000040;
  39167. end;
  39168. function TPORTC_ODCC.getODCC6 : TBits_1; inline;
  39169. begin
  39170. getODCC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39171. end;
  39172. procedure TPORTC_ODCC.setODCC7; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.&set := $00000080;
  39175. end;
  39176. procedure TPORTC_ODCC.clearODCC7; inline;
  39177. begin
  39178. pTDefRegMap(@Self)^.clr := $00000080;
  39179. end;
  39180. procedure TPORTC_ODCC.setODCC7(thebits : TBits_1); inline;
  39181. begin
  39182. if thebits = 0 then
  39183. pTDefRegMap(@Self)^.clr := $00000080
  39184. else
  39185. pTDefRegMap(@Self)^.&set := $00000080;
  39186. end;
  39187. function TPORTC_ODCC.getODCC7 : TBits_1; inline;
  39188. begin
  39189. getODCC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39190. end;
  39191. procedure TPORTC_ODCC.setODCC8; inline;
  39192. begin
  39193. pTDefRegMap(@Self)^.&set := $00000100;
  39194. end;
  39195. procedure TPORTC_ODCC.clearODCC8; inline;
  39196. begin
  39197. pTDefRegMap(@Self)^.clr := $00000100;
  39198. end;
  39199. procedure TPORTC_ODCC.setODCC8(thebits : TBits_1); inline;
  39200. begin
  39201. if thebits = 0 then
  39202. pTDefRegMap(@Self)^.clr := $00000100
  39203. else
  39204. pTDefRegMap(@Self)^.&set := $00000100;
  39205. end;
  39206. function TPORTC_ODCC.getODCC8 : TBits_1; inline;
  39207. begin
  39208. getODCC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39209. end;
  39210. procedure TPORTC_ODCC.setODCC9; inline;
  39211. begin
  39212. pTDefRegMap(@Self)^.&set := $00000200;
  39213. end;
  39214. procedure TPORTC_ODCC.clearODCC9; inline;
  39215. begin
  39216. pTDefRegMap(@Self)^.clr := $00000200;
  39217. end;
  39218. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  39219. begin
  39220. if thebits = 0 then
  39221. pTDefRegMap(@Self)^.clr := $00000200
  39222. else
  39223. pTDefRegMap(@Self)^.&set := $00000200;
  39224. end;
  39225. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  39226. begin
  39227. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39228. end;
  39229. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  39230. begin
  39231. pTDefRegMap(@Self)^.val := thebits;
  39232. end;
  39233. function TPORTC_ODCC.getw : TBits_32; inline;
  39234. begin
  39235. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39236. end;
  39237. procedure TPORTC_CNPUC.setCNPUC0; inline;
  39238. begin
  39239. pTDefRegMap(@Self)^.&set := $00000001;
  39240. end;
  39241. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  39242. begin
  39243. pTDefRegMap(@Self)^.clr := $00000001;
  39244. end;
  39245. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  39246. begin
  39247. if thebits = 0 then
  39248. pTDefRegMap(@Self)^.clr := $00000001
  39249. else
  39250. pTDefRegMap(@Self)^.&set := $00000001;
  39251. end;
  39252. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  39253. begin
  39254. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39255. end;
  39256. procedure TPORTC_CNPUC.setCNPUC1; inline;
  39257. begin
  39258. pTDefRegMap(@Self)^.&set := $00000002;
  39259. end;
  39260. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  39261. begin
  39262. pTDefRegMap(@Self)^.clr := $00000002;
  39263. end;
  39264. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  39265. begin
  39266. if thebits = 0 then
  39267. pTDefRegMap(@Self)^.clr := $00000002
  39268. else
  39269. pTDefRegMap(@Self)^.&set := $00000002;
  39270. end;
  39271. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  39272. begin
  39273. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39274. end;
  39275. procedure TPORTC_CNPUC.setCNPUC2; inline;
  39276. begin
  39277. pTDefRegMap(@Self)^.&set := $00000004;
  39278. end;
  39279. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  39280. begin
  39281. pTDefRegMap(@Self)^.clr := $00000004;
  39282. end;
  39283. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  39284. begin
  39285. if thebits = 0 then
  39286. pTDefRegMap(@Self)^.clr := $00000004
  39287. else
  39288. pTDefRegMap(@Self)^.&set := $00000004;
  39289. end;
  39290. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  39291. begin
  39292. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39293. end;
  39294. procedure TPORTC_CNPUC.setCNPUC3; inline;
  39295. begin
  39296. pTDefRegMap(@Self)^.&set := $00000008;
  39297. end;
  39298. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  39299. begin
  39300. pTDefRegMap(@Self)^.clr := $00000008;
  39301. end;
  39302. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  39303. begin
  39304. if thebits = 0 then
  39305. pTDefRegMap(@Self)^.clr := $00000008
  39306. else
  39307. pTDefRegMap(@Self)^.&set := $00000008;
  39308. end;
  39309. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  39310. begin
  39311. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39312. end;
  39313. procedure TPORTC_CNPUC.setCNPUC4; inline;
  39314. begin
  39315. pTDefRegMap(@Self)^.&set := $00000010;
  39316. end;
  39317. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  39318. begin
  39319. pTDefRegMap(@Self)^.clr := $00000010;
  39320. end;
  39321. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  39322. begin
  39323. if thebits = 0 then
  39324. pTDefRegMap(@Self)^.clr := $00000010
  39325. else
  39326. pTDefRegMap(@Self)^.&set := $00000010;
  39327. end;
  39328. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  39329. begin
  39330. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39331. end;
  39332. procedure TPORTC_CNPUC.setCNPUC5; inline;
  39333. begin
  39334. pTDefRegMap(@Self)^.&set := $00000020;
  39335. end;
  39336. procedure TPORTC_CNPUC.clearCNPUC5; inline;
  39337. begin
  39338. pTDefRegMap(@Self)^.clr := $00000020;
  39339. end;
  39340. procedure TPORTC_CNPUC.setCNPUC5(thebits : TBits_1); inline;
  39341. begin
  39342. if thebits = 0 then
  39343. pTDefRegMap(@Self)^.clr := $00000020
  39344. else
  39345. pTDefRegMap(@Self)^.&set := $00000020;
  39346. end;
  39347. function TPORTC_CNPUC.getCNPUC5 : TBits_1; inline;
  39348. begin
  39349. getCNPUC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39350. end;
  39351. procedure TPORTC_CNPUC.setCNPUC6; inline;
  39352. begin
  39353. pTDefRegMap(@Self)^.&set := $00000040;
  39354. end;
  39355. procedure TPORTC_CNPUC.clearCNPUC6; inline;
  39356. begin
  39357. pTDefRegMap(@Self)^.clr := $00000040;
  39358. end;
  39359. procedure TPORTC_CNPUC.setCNPUC6(thebits : TBits_1); inline;
  39360. begin
  39361. if thebits = 0 then
  39362. pTDefRegMap(@Self)^.clr := $00000040
  39363. else
  39364. pTDefRegMap(@Self)^.&set := $00000040;
  39365. end;
  39366. function TPORTC_CNPUC.getCNPUC6 : TBits_1; inline;
  39367. begin
  39368. getCNPUC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39369. end;
  39370. procedure TPORTC_CNPUC.setCNPUC7; inline;
  39371. begin
  39372. pTDefRegMap(@Self)^.&set := $00000080;
  39373. end;
  39374. procedure TPORTC_CNPUC.clearCNPUC7; inline;
  39375. begin
  39376. pTDefRegMap(@Self)^.clr := $00000080;
  39377. end;
  39378. procedure TPORTC_CNPUC.setCNPUC7(thebits : TBits_1); inline;
  39379. begin
  39380. if thebits = 0 then
  39381. pTDefRegMap(@Self)^.clr := $00000080
  39382. else
  39383. pTDefRegMap(@Self)^.&set := $00000080;
  39384. end;
  39385. function TPORTC_CNPUC.getCNPUC7 : TBits_1; inline;
  39386. begin
  39387. getCNPUC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39388. end;
  39389. procedure TPORTC_CNPUC.setCNPUC8; inline;
  39390. begin
  39391. pTDefRegMap(@Self)^.&set := $00000100;
  39392. end;
  39393. procedure TPORTC_CNPUC.clearCNPUC8; inline;
  39394. begin
  39395. pTDefRegMap(@Self)^.clr := $00000100;
  39396. end;
  39397. procedure TPORTC_CNPUC.setCNPUC8(thebits : TBits_1); inline;
  39398. begin
  39399. if thebits = 0 then
  39400. pTDefRegMap(@Self)^.clr := $00000100
  39401. else
  39402. pTDefRegMap(@Self)^.&set := $00000100;
  39403. end;
  39404. function TPORTC_CNPUC.getCNPUC8 : TBits_1; inline;
  39405. begin
  39406. getCNPUC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39407. end;
  39408. procedure TPORTC_CNPUC.setCNPUC9; inline;
  39409. begin
  39410. pTDefRegMap(@Self)^.&set := $00000200;
  39411. end;
  39412. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  39413. begin
  39414. pTDefRegMap(@Self)^.clr := $00000200;
  39415. end;
  39416. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  39417. begin
  39418. if thebits = 0 then
  39419. pTDefRegMap(@Self)^.clr := $00000200
  39420. else
  39421. pTDefRegMap(@Self)^.&set := $00000200;
  39422. end;
  39423. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  39424. begin
  39425. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39426. end;
  39427. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  39428. begin
  39429. pTDefRegMap(@Self)^.val := thebits;
  39430. end;
  39431. function TPORTC_CNPUC.getw : TBits_32; inline;
  39432. begin
  39433. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39434. end;
  39435. procedure TPORTC_CNPDC.setCNPDC0; inline;
  39436. begin
  39437. pTDefRegMap(@Self)^.&set := $00000001;
  39438. end;
  39439. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.clr := $00000001;
  39442. end;
  39443. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  39444. begin
  39445. if thebits = 0 then
  39446. pTDefRegMap(@Self)^.clr := $00000001
  39447. else
  39448. pTDefRegMap(@Self)^.&set := $00000001;
  39449. end;
  39450. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  39451. begin
  39452. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39453. end;
  39454. procedure TPORTC_CNPDC.setCNPDC1; inline;
  39455. begin
  39456. pTDefRegMap(@Self)^.&set := $00000002;
  39457. end;
  39458. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.clr := $00000002;
  39461. end;
  39462. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  39463. begin
  39464. if thebits = 0 then
  39465. pTDefRegMap(@Self)^.clr := $00000002
  39466. else
  39467. pTDefRegMap(@Self)^.&set := $00000002;
  39468. end;
  39469. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  39470. begin
  39471. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39472. end;
  39473. procedure TPORTC_CNPDC.setCNPDC2; inline;
  39474. begin
  39475. pTDefRegMap(@Self)^.&set := $00000004;
  39476. end;
  39477. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  39478. begin
  39479. pTDefRegMap(@Self)^.clr := $00000004;
  39480. end;
  39481. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  39482. begin
  39483. if thebits = 0 then
  39484. pTDefRegMap(@Self)^.clr := $00000004
  39485. else
  39486. pTDefRegMap(@Self)^.&set := $00000004;
  39487. end;
  39488. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  39489. begin
  39490. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39491. end;
  39492. procedure TPORTC_CNPDC.setCNPDC3; inline;
  39493. begin
  39494. pTDefRegMap(@Self)^.&set := $00000008;
  39495. end;
  39496. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  39497. begin
  39498. pTDefRegMap(@Self)^.clr := $00000008;
  39499. end;
  39500. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  39501. begin
  39502. if thebits = 0 then
  39503. pTDefRegMap(@Self)^.clr := $00000008
  39504. else
  39505. pTDefRegMap(@Self)^.&set := $00000008;
  39506. end;
  39507. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  39508. begin
  39509. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39510. end;
  39511. procedure TPORTC_CNPDC.setCNPDC4; inline;
  39512. begin
  39513. pTDefRegMap(@Self)^.&set := $00000010;
  39514. end;
  39515. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  39516. begin
  39517. pTDefRegMap(@Self)^.clr := $00000010;
  39518. end;
  39519. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  39520. begin
  39521. if thebits = 0 then
  39522. pTDefRegMap(@Self)^.clr := $00000010
  39523. else
  39524. pTDefRegMap(@Self)^.&set := $00000010;
  39525. end;
  39526. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  39527. begin
  39528. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39529. end;
  39530. procedure TPORTC_CNPDC.setCNPDC5; inline;
  39531. begin
  39532. pTDefRegMap(@Self)^.&set := $00000020;
  39533. end;
  39534. procedure TPORTC_CNPDC.clearCNPDC5; inline;
  39535. begin
  39536. pTDefRegMap(@Self)^.clr := $00000020;
  39537. end;
  39538. procedure TPORTC_CNPDC.setCNPDC5(thebits : TBits_1); inline;
  39539. begin
  39540. if thebits = 0 then
  39541. pTDefRegMap(@Self)^.clr := $00000020
  39542. else
  39543. pTDefRegMap(@Self)^.&set := $00000020;
  39544. end;
  39545. function TPORTC_CNPDC.getCNPDC5 : TBits_1; inline;
  39546. begin
  39547. getCNPDC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39548. end;
  39549. procedure TPORTC_CNPDC.setCNPDC6; inline;
  39550. begin
  39551. pTDefRegMap(@Self)^.&set := $00000040;
  39552. end;
  39553. procedure TPORTC_CNPDC.clearCNPDC6; inline;
  39554. begin
  39555. pTDefRegMap(@Self)^.clr := $00000040;
  39556. end;
  39557. procedure TPORTC_CNPDC.setCNPDC6(thebits : TBits_1); inline;
  39558. begin
  39559. if thebits = 0 then
  39560. pTDefRegMap(@Self)^.clr := $00000040
  39561. else
  39562. pTDefRegMap(@Self)^.&set := $00000040;
  39563. end;
  39564. function TPORTC_CNPDC.getCNPDC6 : TBits_1; inline;
  39565. begin
  39566. getCNPDC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39567. end;
  39568. procedure TPORTC_CNPDC.setCNPDC7; inline;
  39569. begin
  39570. pTDefRegMap(@Self)^.&set := $00000080;
  39571. end;
  39572. procedure TPORTC_CNPDC.clearCNPDC7; inline;
  39573. begin
  39574. pTDefRegMap(@Self)^.clr := $00000080;
  39575. end;
  39576. procedure TPORTC_CNPDC.setCNPDC7(thebits : TBits_1); inline;
  39577. begin
  39578. if thebits = 0 then
  39579. pTDefRegMap(@Self)^.clr := $00000080
  39580. else
  39581. pTDefRegMap(@Self)^.&set := $00000080;
  39582. end;
  39583. function TPORTC_CNPDC.getCNPDC7 : TBits_1; inline;
  39584. begin
  39585. getCNPDC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39586. end;
  39587. procedure TPORTC_CNPDC.setCNPDC8; inline;
  39588. begin
  39589. pTDefRegMap(@Self)^.&set := $00000100;
  39590. end;
  39591. procedure TPORTC_CNPDC.clearCNPDC8; inline;
  39592. begin
  39593. pTDefRegMap(@Self)^.clr := $00000100;
  39594. end;
  39595. procedure TPORTC_CNPDC.setCNPDC8(thebits : TBits_1); inline;
  39596. begin
  39597. if thebits = 0 then
  39598. pTDefRegMap(@Self)^.clr := $00000100
  39599. else
  39600. pTDefRegMap(@Self)^.&set := $00000100;
  39601. end;
  39602. function TPORTC_CNPDC.getCNPDC8 : TBits_1; inline;
  39603. begin
  39604. getCNPDC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39605. end;
  39606. procedure TPORTC_CNPDC.setCNPDC9; inline;
  39607. begin
  39608. pTDefRegMap(@Self)^.&set := $00000200;
  39609. end;
  39610. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  39611. begin
  39612. pTDefRegMap(@Self)^.clr := $00000200;
  39613. end;
  39614. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  39615. begin
  39616. if thebits = 0 then
  39617. pTDefRegMap(@Self)^.clr := $00000200
  39618. else
  39619. pTDefRegMap(@Self)^.&set := $00000200;
  39620. end;
  39621. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  39622. begin
  39623. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39624. end;
  39625. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  39626. begin
  39627. pTDefRegMap(@Self)^.val := thebits;
  39628. end;
  39629. function TPORTC_CNPDC.getw : TBits_32; inline;
  39630. begin
  39631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39632. end;
  39633. procedure TPORTC_CNCONC.setSIDL; inline;
  39634. begin
  39635. pTDefRegMap(@Self)^.&set := $00002000;
  39636. end;
  39637. procedure TPORTC_CNCONC.clearSIDL; inline;
  39638. begin
  39639. pTDefRegMap(@Self)^.clr := $00002000;
  39640. end;
  39641. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  39642. begin
  39643. if thebits = 0 then
  39644. pTDefRegMap(@Self)^.clr := $00002000
  39645. else
  39646. pTDefRegMap(@Self)^.&set := $00002000;
  39647. end;
  39648. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  39649. begin
  39650. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39651. end;
  39652. procedure TPORTC_CNCONC.setON; inline;
  39653. begin
  39654. pTDefRegMap(@Self)^.&set := $00008000;
  39655. end;
  39656. procedure TPORTC_CNCONC.clearON; inline;
  39657. begin
  39658. pTDefRegMap(@Self)^.clr := $00008000;
  39659. end;
  39660. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  39661. begin
  39662. if thebits = 0 then
  39663. pTDefRegMap(@Self)^.clr := $00008000
  39664. else
  39665. pTDefRegMap(@Self)^.&set := $00008000;
  39666. end;
  39667. function TPORTC_CNCONC.getON : TBits_1; inline;
  39668. begin
  39669. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39670. end;
  39671. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  39672. begin
  39673. pTDefRegMap(@Self)^.val := thebits;
  39674. end;
  39675. function TPORTC_CNCONC.getw : TBits_32; inline;
  39676. begin
  39677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39678. end;
  39679. procedure TPORTC_CNENC.setCNIEC0; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.&set := $00000001;
  39682. end;
  39683. procedure TPORTC_CNENC.clearCNIEC0; inline;
  39684. begin
  39685. pTDefRegMap(@Self)^.clr := $00000001;
  39686. end;
  39687. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  39688. begin
  39689. if thebits = 0 then
  39690. pTDefRegMap(@Self)^.clr := $00000001
  39691. else
  39692. pTDefRegMap(@Self)^.&set := $00000001;
  39693. end;
  39694. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  39695. begin
  39696. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39697. end;
  39698. procedure TPORTC_CNENC.setCNIEC1; inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.&set := $00000002;
  39701. end;
  39702. procedure TPORTC_CNENC.clearCNIEC1; inline;
  39703. begin
  39704. pTDefRegMap(@Self)^.clr := $00000002;
  39705. end;
  39706. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  39707. begin
  39708. if thebits = 0 then
  39709. pTDefRegMap(@Self)^.clr := $00000002
  39710. else
  39711. pTDefRegMap(@Self)^.&set := $00000002;
  39712. end;
  39713. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  39714. begin
  39715. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39716. end;
  39717. procedure TPORTC_CNENC.setCNIEC2; inline;
  39718. begin
  39719. pTDefRegMap(@Self)^.&set := $00000004;
  39720. end;
  39721. procedure TPORTC_CNENC.clearCNIEC2; inline;
  39722. begin
  39723. pTDefRegMap(@Self)^.clr := $00000004;
  39724. end;
  39725. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  39726. begin
  39727. if thebits = 0 then
  39728. pTDefRegMap(@Self)^.clr := $00000004
  39729. else
  39730. pTDefRegMap(@Self)^.&set := $00000004;
  39731. end;
  39732. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  39733. begin
  39734. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39735. end;
  39736. procedure TPORTC_CNENC.setCNIEC3; inline;
  39737. begin
  39738. pTDefRegMap(@Self)^.&set := $00000008;
  39739. end;
  39740. procedure TPORTC_CNENC.clearCNIEC3; inline;
  39741. begin
  39742. pTDefRegMap(@Self)^.clr := $00000008;
  39743. end;
  39744. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  39745. begin
  39746. if thebits = 0 then
  39747. pTDefRegMap(@Self)^.clr := $00000008
  39748. else
  39749. pTDefRegMap(@Self)^.&set := $00000008;
  39750. end;
  39751. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  39752. begin
  39753. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39754. end;
  39755. procedure TPORTC_CNENC.setCNIEC4; inline;
  39756. begin
  39757. pTDefRegMap(@Self)^.&set := $00000010;
  39758. end;
  39759. procedure TPORTC_CNENC.clearCNIEC4; inline;
  39760. begin
  39761. pTDefRegMap(@Self)^.clr := $00000010;
  39762. end;
  39763. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  39764. begin
  39765. if thebits = 0 then
  39766. pTDefRegMap(@Self)^.clr := $00000010
  39767. else
  39768. pTDefRegMap(@Self)^.&set := $00000010;
  39769. end;
  39770. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  39771. begin
  39772. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39773. end;
  39774. procedure TPORTC_CNENC.setCNIEC5; inline;
  39775. begin
  39776. pTDefRegMap(@Self)^.&set := $00000020;
  39777. end;
  39778. procedure TPORTC_CNENC.clearCNIEC5; inline;
  39779. begin
  39780. pTDefRegMap(@Self)^.clr := $00000020;
  39781. end;
  39782. procedure TPORTC_CNENC.setCNIEC5(thebits : TBits_1); inline;
  39783. begin
  39784. if thebits = 0 then
  39785. pTDefRegMap(@Self)^.clr := $00000020
  39786. else
  39787. pTDefRegMap(@Self)^.&set := $00000020;
  39788. end;
  39789. function TPORTC_CNENC.getCNIEC5 : TBits_1; inline;
  39790. begin
  39791. getCNIEC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39792. end;
  39793. procedure TPORTC_CNENC.setCNIEC6; inline;
  39794. begin
  39795. pTDefRegMap(@Self)^.&set := $00000040;
  39796. end;
  39797. procedure TPORTC_CNENC.clearCNIEC6; inline;
  39798. begin
  39799. pTDefRegMap(@Self)^.clr := $00000040;
  39800. end;
  39801. procedure TPORTC_CNENC.setCNIEC6(thebits : TBits_1); inline;
  39802. begin
  39803. if thebits = 0 then
  39804. pTDefRegMap(@Self)^.clr := $00000040
  39805. else
  39806. pTDefRegMap(@Self)^.&set := $00000040;
  39807. end;
  39808. function TPORTC_CNENC.getCNIEC6 : TBits_1; inline;
  39809. begin
  39810. getCNIEC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39811. end;
  39812. procedure TPORTC_CNENC.setCNIEC7; inline;
  39813. begin
  39814. pTDefRegMap(@Self)^.&set := $00000080;
  39815. end;
  39816. procedure TPORTC_CNENC.clearCNIEC7; inline;
  39817. begin
  39818. pTDefRegMap(@Self)^.clr := $00000080;
  39819. end;
  39820. procedure TPORTC_CNENC.setCNIEC7(thebits : TBits_1); inline;
  39821. begin
  39822. if thebits = 0 then
  39823. pTDefRegMap(@Self)^.clr := $00000080
  39824. else
  39825. pTDefRegMap(@Self)^.&set := $00000080;
  39826. end;
  39827. function TPORTC_CNENC.getCNIEC7 : TBits_1; inline;
  39828. begin
  39829. getCNIEC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39830. end;
  39831. procedure TPORTC_CNENC.setCNIEC8; inline;
  39832. begin
  39833. pTDefRegMap(@Self)^.&set := $00000100;
  39834. end;
  39835. procedure TPORTC_CNENC.clearCNIEC8; inline;
  39836. begin
  39837. pTDefRegMap(@Self)^.clr := $00000100;
  39838. end;
  39839. procedure TPORTC_CNENC.setCNIEC8(thebits : TBits_1); inline;
  39840. begin
  39841. if thebits = 0 then
  39842. pTDefRegMap(@Self)^.clr := $00000100
  39843. else
  39844. pTDefRegMap(@Self)^.&set := $00000100;
  39845. end;
  39846. function TPORTC_CNENC.getCNIEC8 : TBits_1; inline;
  39847. begin
  39848. getCNIEC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39849. end;
  39850. procedure TPORTC_CNENC.setCNIEC9; inline;
  39851. begin
  39852. pTDefRegMap(@Self)^.&set := $00000200;
  39853. end;
  39854. procedure TPORTC_CNENC.clearCNIEC9; inline;
  39855. begin
  39856. pTDefRegMap(@Self)^.clr := $00000200;
  39857. end;
  39858. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  39859. begin
  39860. if thebits = 0 then
  39861. pTDefRegMap(@Self)^.clr := $00000200
  39862. else
  39863. pTDefRegMap(@Self)^.&set := $00000200;
  39864. end;
  39865. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  39866. begin
  39867. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39868. end;
  39869. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  39870. begin
  39871. pTDefRegMap(@Self)^.val := thebits;
  39872. end;
  39873. function TPORTC_CNENC.getw : TBits_32; inline;
  39874. begin
  39875. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39876. end;
  39877. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  39878. begin
  39879. pTDefRegMap(@Self)^.&set := $00000001;
  39880. end;
  39881. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  39882. begin
  39883. pTDefRegMap(@Self)^.clr := $00000001;
  39884. end;
  39885. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  39886. begin
  39887. if thebits = 0 then
  39888. pTDefRegMap(@Self)^.clr := $00000001
  39889. else
  39890. pTDefRegMap(@Self)^.&set := $00000001;
  39891. end;
  39892. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  39893. begin
  39894. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39895. end;
  39896. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  39897. begin
  39898. pTDefRegMap(@Self)^.&set := $00000002;
  39899. end;
  39900. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  39901. begin
  39902. pTDefRegMap(@Self)^.clr := $00000002;
  39903. end;
  39904. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  39905. begin
  39906. if thebits = 0 then
  39907. pTDefRegMap(@Self)^.clr := $00000002
  39908. else
  39909. pTDefRegMap(@Self)^.&set := $00000002;
  39910. end;
  39911. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  39912. begin
  39913. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39914. end;
  39915. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  39916. begin
  39917. pTDefRegMap(@Self)^.&set := $00000004;
  39918. end;
  39919. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  39920. begin
  39921. pTDefRegMap(@Self)^.clr := $00000004;
  39922. end;
  39923. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  39924. begin
  39925. if thebits = 0 then
  39926. pTDefRegMap(@Self)^.clr := $00000004
  39927. else
  39928. pTDefRegMap(@Self)^.&set := $00000004;
  39929. end;
  39930. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  39931. begin
  39932. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39933. end;
  39934. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  39935. begin
  39936. pTDefRegMap(@Self)^.&set := $00000008;
  39937. end;
  39938. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  39939. begin
  39940. pTDefRegMap(@Self)^.clr := $00000008;
  39941. end;
  39942. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  39943. begin
  39944. if thebits = 0 then
  39945. pTDefRegMap(@Self)^.clr := $00000008
  39946. else
  39947. pTDefRegMap(@Self)^.&set := $00000008;
  39948. end;
  39949. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  39950. begin
  39951. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39952. end;
  39953. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  39954. begin
  39955. pTDefRegMap(@Self)^.&set := $00000010;
  39956. end;
  39957. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  39958. begin
  39959. pTDefRegMap(@Self)^.clr := $00000010;
  39960. end;
  39961. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  39962. begin
  39963. if thebits = 0 then
  39964. pTDefRegMap(@Self)^.clr := $00000010
  39965. else
  39966. pTDefRegMap(@Self)^.&set := $00000010;
  39967. end;
  39968. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  39969. begin
  39970. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39971. end;
  39972. procedure TPORTC_CNSTATC.setCNSTATC5; inline;
  39973. begin
  39974. pTDefRegMap(@Self)^.&set := $00000020;
  39975. end;
  39976. procedure TPORTC_CNSTATC.clearCNSTATC5; inline;
  39977. begin
  39978. pTDefRegMap(@Self)^.clr := $00000020;
  39979. end;
  39980. procedure TPORTC_CNSTATC.setCNSTATC5(thebits : TBits_1); inline;
  39981. begin
  39982. if thebits = 0 then
  39983. pTDefRegMap(@Self)^.clr := $00000020
  39984. else
  39985. pTDefRegMap(@Self)^.&set := $00000020;
  39986. end;
  39987. function TPORTC_CNSTATC.getCNSTATC5 : TBits_1; inline;
  39988. begin
  39989. getCNSTATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39990. end;
  39991. procedure TPORTC_CNSTATC.setCNSTATC6; inline;
  39992. begin
  39993. pTDefRegMap(@Self)^.&set := $00000040;
  39994. end;
  39995. procedure TPORTC_CNSTATC.clearCNSTATC6; inline;
  39996. begin
  39997. pTDefRegMap(@Self)^.clr := $00000040;
  39998. end;
  39999. procedure TPORTC_CNSTATC.setCNSTATC6(thebits : TBits_1); inline;
  40000. begin
  40001. if thebits = 0 then
  40002. pTDefRegMap(@Self)^.clr := $00000040
  40003. else
  40004. pTDefRegMap(@Self)^.&set := $00000040;
  40005. end;
  40006. function TPORTC_CNSTATC.getCNSTATC6 : TBits_1; inline;
  40007. begin
  40008. getCNSTATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40009. end;
  40010. procedure TPORTC_CNSTATC.setCNSTATC7; inline;
  40011. begin
  40012. pTDefRegMap(@Self)^.&set := $00000080;
  40013. end;
  40014. procedure TPORTC_CNSTATC.clearCNSTATC7; inline;
  40015. begin
  40016. pTDefRegMap(@Self)^.clr := $00000080;
  40017. end;
  40018. procedure TPORTC_CNSTATC.setCNSTATC7(thebits : TBits_1); inline;
  40019. begin
  40020. if thebits = 0 then
  40021. pTDefRegMap(@Self)^.clr := $00000080
  40022. else
  40023. pTDefRegMap(@Self)^.&set := $00000080;
  40024. end;
  40025. function TPORTC_CNSTATC.getCNSTATC7 : TBits_1; inline;
  40026. begin
  40027. getCNSTATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40028. end;
  40029. procedure TPORTC_CNSTATC.setCNSTATC8; inline;
  40030. begin
  40031. pTDefRegMap(@Self)^.&set := $00000100;
  40032. end;
  40033. procedure TPORTC_CNSTATC.clearCNSTATC8; inline;
  40034. begin
  40035. pTDefRegMap(@Self)^.clr := $00000100;
  40036. end;
  40037. procedure TPORTC_CNSTATC.setCNSTATC8(thebits : TBits_1); inline;
  40038. begin
  40039. if thebits = 0 then
  40040. pTDefRegMap(@Self)^.clr := $00000100
  40041. else
  40042. pTDefRegMap(@Self)^.&set := $00000100;
  40043. end;
  40044. function TPORTC_CNSTATC.getCNSTATC8 : TBits_1; inline;
  40045. begin
  40046. getCNSTATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40047. end;
  40048. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  40049. begin
  40050. pTDefRegMap(@Self)^.&set := $00000200;
  40051. end;
  40052. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  40053. begin
  40054. pTDefRegMap(@Self)^.clr := $00000200;
  40055. end;
  40056. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  40057. begin
  40058. if thebits = 0 then
  40059. pTDefRegMap(@Self)^.clr := $00000200
  40060. else
  40061. pTDefRegMap(@Self)^.&set := $00000200;
  40062. end;
  40063. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  40064. begin
  40065. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40066. end;
  40067. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  40068. begin
  40069. pTDefRegMap(@Self)^.val := thebits;
  40070. end;
  40071. function TPORTC_CNSTATC.getw : TBits_32; inline;
  40072. begin
  40073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40074. end;
  40075. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  40076. begin
  40077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  40078. end;
  40079. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  40080. begin
  40081. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  40082. end;
  40083. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  40084. begin
  40085. pTDefRegMap(@Self)^.&set := $10000000;
  40086. end;
  40087. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  40088. begin
  40089. pTDefRegMap(@Self)^.clr := $10000000;
  40090. end;
  40091. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  40092. begin
  40093. if thebits = 0 then
  40094. pTDefRegMap(@Self)^.clr := $10000000
  40095. else
  40096. pTDefRegMap(@Self)^.&set := $10000000;
  40097. end;
  40098. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  40099. begin
  40100. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40101. end;
  40102. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  40103. begin
  40104. pTDefRegMap(@Self)^.&set := $20000000;
  40105. end;
  40106. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  40107. begin
  40108. pTDefRegMap(@Self)^.clr := $20000000;
  40109. end;
  40110. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  40111. begin
  40112. if thebits = 0 then
  40113. pTDefRegMap(@Self)^.clr := $20000000
  40114. else
  40115. pTDefRegMap(@Self)^.&set := $20000000;
  40116. end;
  40117. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  40118. begin
  40119. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  40120. end;
  40121. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  40122. begin
  40123. pTDefRegMap(@Self)^.&set := $40000000;
  40124. end;
  40125. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  40126. begin
  40127. pTDefRegMap(@Self)^.clr := $40000000;
  40128. end;
  40129. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  40130. begin
  40131. if thebits = 0 then
  40132. pTDefRegMap(@Self)^.clr := $40000000
  40133. else
  40134. pTDefRegMap(@Self)^.&set := $40000000;
  40135. end;
  40136. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  40137. begin
  40138. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  40139. end;
  40140. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  40141. begin
  40142. pTDefRegMap(@Self)^.&set := $80000000;
  40143. end;
  40144. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  40145. begin
  40146. pTDefRegMap(@Self)^.clr := $80000000;
  40147. end;
  40148. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  40149. begin
  40150. if thebits = 0 then
  40151. pTDefRegMap(@Self)^.clr := $80000000
  40152. else
  40153. pTDefRegMap(@Self)^.&set := $80000000;
  40154. end;
  40155. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  40156. begin
  40157. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  40158. end;
  40159. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  40160. begin
  40161. pTDefRegMap(@Self)^.val := thebits;
  40162. end;
  40163. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  40164. begin
  40165. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40166. end;
  40167. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  40168. begin
  40169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  40170. end;
  40171. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  40172. begin
  40173. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  40174. end;
  40175. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  40176. begin
  40177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  40178. end;
  40179. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  40180. begin
  40181. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  40182. end;
  40183. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  40184. begin
  40185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  40186. end;
  40187. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  40188. begin
  40189. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  40190. end;
  40191. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  40192. begin
  40193. pTDefRegMap(@Self)^.val := thebits;
  40194. end;
  40195. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  40196. begin
  40197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40198. end;
  40199. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  40200. begin
  40201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  40202. end;
  40203. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  40204. begin
  40205. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  40206. end;
  40207. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  40208. begin
  40209. pTDefRegMap(@Self)^.&set := $00000020;
  40210. end;
  40211. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  40212. begin
  40213. pTDefRegMap(@Self)^.clr := $00000020;
  40214. end;
  40215. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  40216. begin
  40217. if thebits = 0 then
  40218. pTDefRegMap(@Self)^.clr := $00000020
  40219. else
  40220. pTDefRegMap(@Self)^.&set := $00000020;
  40221. end;
  40222. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  40223. begin
  40224. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40225. end;
  40226. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  40227. begin
  40228. pTDefRegMap(@Self)^.&set := $00000080;
  40229. end;
  40230. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  40231. begin
  40232. pTDefRegMap(@Self)^.clr := $00000080;
  40233. end;
  40234. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  40235. begin
  40236. if thebits = 0 then
  40237. pTDefRegMap(@Self)^.clr := $00000080
  40238. else
  40239. pTDefRegMap(@Self)^.&set := $00000080;
  40240. end;
  40241. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  40242. begin
  40243. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40244. end;
  40245. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  40246. begin
  40247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  40248. end;
  40249. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  40250. begin
  40251. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  40252. end;
  40253. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  40254. begin
  40255. pTDefRegMap(@Self)^.&set := $00000400;
  40256. end;
  40257. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  40258. begin
  40259. pTDefRegMap(@Self)^.clr := $00000400;
  40260. end;
  40261. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  40262. begin
  40263. if thebits = 0 then
  40264. pTDefRegMap(@Self)^.clr := $00000400
  40265. else
  40266. pTDefRegMap(@Self)^.&set := $00000400;
  40267. end;
  40268. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  40269. begin
  40270. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40271. end;
  40272. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  40273. begin
  40274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  40275. end;
  40276. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  40277. begin
  40278. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  40279. end;
  40280. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  40281. begin
  40282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  40283. end;
  40284. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  40285. begin
  40286. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  40287. end;
  40288. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  40289. begin
  40290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  40291. end;
  40292. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  40293. begin
  40294. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  40295. end;
  40296. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  40297. begin
  40298. pTDefRegMap(@Self)^.&set := $00400000;
  40299. end;
  40300. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  40301. begin
  40302. pTDefRegMap(@Self)^.clr := $00400000;
  40303. end;
  40304. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  40305. begin
  40306. if thebits = 0 then
  40307. pTDefRegMap(@Self)^.clr := $00400000
  40308. else
  40309. pTDefRegMap(@Self)^.&set := $00400000;
  40310. end;
  40311. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  40312. begin
  40313. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40314. end;
  40315. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  40316. begin
  40317. pTDefRegMap(@Self)^.&set := $00800000;
  40318. end;
  40319. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  40320. begin
  40321. pTDefRegMap(@Self)^.clr := $00800000;
  40322. end;
  40323. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  40324. begin
  40325. if thebits = 0 then
  40326. pTDefRegMap(@Self)^.clr := $00800000
  40327. else
  40328. pTDefRegMap(@Self)^.&set := $00800000;
  40329. end;
  40330. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  40331. begin
  40332. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  40333. end;
  40334. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  40335. begin
  40336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  40337. end;
  40338. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  40339. begin
  40340. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  40341. end;
  40342. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  40343. begin
  40344. pTDefRegMap(@Self)^.val := thebits;
  40345. end;
  40346. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  40347. begin
  40348. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40349. end;
  40350. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  40351. begin
  40352. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40353. end;
  40354. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  40355. begin
  40356. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40357. end;
  40358. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  40359. begin
  40360. pTDefRegMap(@Self)^.&set := $00000004;
  40361. end;
  40362. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  40363. begin
  40364. pTDefRegMap(@Self)^.clr := $00000004;
  40365. end;
  40366. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  40367. begin
  40368. if thebits = 0 then
  40369. pTDefRegMap(@Self)^.clr := $00000004
  40370. else
  40371. pTDefRegMap(@Self)^.&set := $00000004;
  40372. end;
  40373. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  40374. begin
  40375. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40376. end;
  40377. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  40378. begin
  40379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  40380. end;
  40381. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  40382. begin
  40383. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  40384. end;
  40385. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_9); inline;
  40386. begin
  40387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF803FF or ( thebits shl 10 );
  40388. end;
  40389. function TDEVCFG_DEVCFG0.getPWP : TBits_9; inline;
  40390. begin
  40391. getPWP := (pTDefRegMap(@Self)^.val and $0007FC00) shr 10;
  40392. end;
  40393. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  40394. begin
  40395. pTDefRegMap(@Self)^.&set := $01000000;
  40396. end;
  40397. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  40398. begin
  40399. pTDefRegMap(@Self)^.clr := $01000000;
  40400. end;
  40401. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  40402. begin
  40403. if thebits = 0 then
  40404. pTDefRegMap(@Self)^.clr := $01000000
  40405. else
  40406. pTDefRegMap(@Self)^.&set := $01000000;
  40407. end;
  40408. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  40409. begin
  40410. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  40411. end;
  40412. procedure TDEVCFG_DEVCFG0.setCP; inline;
  40413. begin
  40414. pTDefRegMap(@Self)^.&set := $10000000;
  40415. end;
  40416. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  40417. begin
  40418. pTDefRegMap(@Self)^.clr := $10000000;
  40419. end;
  40420. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  40421. begin
  40422. if thebits = 0 then
  40423. pTDefRegMap(@Self)^.clr := $10000000
  40424. else
  40425. pTDefRegMap(@Self)^.&set := $10000000;
  40426. end;
  40427. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  40428. begin
  40429. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40430. end;
  40431. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  40432. begin
  40433. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40434. end;
  40435. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  40436. begin
  40437. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40438. end;
  40439. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  40440. begin
  40441. pTDefRegMap(@Self)^.val := thebits;
  40442. end;
  40443. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  40444. begin
  40445. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40446. end;
  40447. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  40448. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  40449. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  40450. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  40451. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  40452. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  40453. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  40454. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  40455. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  40456. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  40457. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  40458. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  40459. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  40460. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  40461. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  40462. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  40463. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  40464. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  40465. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  40466. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  40467. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  40468. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  40469. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  40470. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  40471. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  40472. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  40473. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  40474. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  40475. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  40476. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  40477. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  40478. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  40479. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  40480. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  40481. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  40482. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  40483. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  40484. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  40485. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  40486. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  40487. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  40488. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  40489. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  40490. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  40491. procedure Vectors; assembler; nostackframe;
  40492. label interrupt_vectors;
  40493. asm
  40494. .section ".init.interrupt_vectors,\"ax\",@progbits"
  40495. interrupt_vectors:
  40496. j _CORE_TIMER_VECTOR_interrupt
  40497. nop
  40498. nop
  40499. nop
  40500. nop
  40501. nop
  40502. nop
  40503. nop
  40504. j _CORE_SOFTWARE_0_VECTOR_interrupt
  40505. nop
  40506. nop
  40507. nop
  40508. nop
  40509. nop
  40510. nop
  40511. nop
  40512. j _CORE_SOFTWARE_1_VECTOR_interrupt
  40513. nop
  40514. nop
  40515. nop
  40516. nop
  40517. nop
  40518. nop
  40519. nop
  40520. j _EXTERNAL_0_VECTOR_interrupt
  40521. nop
  40522. nop
  40523. nop
  40524. nop
  40525. nop
  40526. nop
  40527. nop
  40528. j _TIMER_1_VECTOR_interrupt
  40529. nop
  40530. nop
  40531. nop
  40532. nop
  40533. nop
  40534. nop
  40535. nop
  40536. j _INPUT_CAPTURE_1_VECTOR_interrupt
  40537. nop
  40538. nop
  40539. nop
  40540. nop
  40541. nop
  40542. nop
  40543. nop
  40544. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  40545. nop
  40546. nop
  40547. nop
  40548. nop
  40549. nop
  40550. nop
  40551. nop
  40552. j _EXTERNAL_1_VECTOR_interrupt
  40553. nop
  40554. nop
  40555. nop
  40556. nop
  40557. nop
  40558. nop
  40559. nop
  40560. j _TIMER_2_VECTOR_interrupt
  40561. nop
  40562. nop
  40563. nop
  40564. nop
  40565. nop
  40566. nop
  40567. nop
  40568. j _INPUT_CAPTURE_2_VECTOR_interrupt
  40569. nop
  40570. nop
  40571. nop
  40572. nop
  40573. nop
  40574. nop
  40575. nop
  40576. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  40577. nop
  40578. nop
  40579. nop
  40580. nop
  40581. nop
  40582. nop
  40583. nop
  40584. j _EXTERNAL_2_VECTOR_interrupt
  40585. nop
  40586. nop
  40587. nop
  40588. nop
  40589. nop
  40590. nop
  40591. nop
  40592. j _TIMER_3_VECTOR_interrupt
  40593. nop
  40594. nop
  40595. nop
  40596. nop
  40597. nop
  40598. nop
  40599. nop
  40600. j _INPUT_CAPTURE_3_VECTOR_interrupt
  40601. nop
  40602. nop
  40603. nop
  40604. nop
  40605. nop
  40606. nop
  40607. nop
  40608. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  40609. nop
  40610. nop
  40611. nop
  40612. nop
  40613. nop
  40614. nop
  40615. nop
  40616. j _EXTERNAL_3_VECTOR_interrupt
  40617. nop
  40618. nop
  40619. nop
  40620. nop
  40621. nop
  40622. nop
  40623. nop
  40624. j _TIMER_4_VECTOR_interrupt
  40625. nop
  40626. nop
  40627. nop
  40628. nop
  40629. nop
  40630. nop
  40631. nop
  40632. j _INPUT_CAPTURE_4_VECTOR_interrupt
  40633. nop
  40634. nop
  40635. nop
  40636. nop
  40637. nop
  40638. nop
  40639. nop
  40640. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  40641. nop
  40642. nop
  40643. nop
  40644. nop
  40645. nop
  40646. nop
  40647. nop
  40648. j _EXTERNAL_4_VECTOR_interrupt
  40649. nop
  40650. nop
  40651. nop
  40652. nop
  40653. nop
  40654. nop
  40655. nop
  40656. j _TIMER_5_VECTOR_interrupt
  40657. nop
  40658. nop
  40659. nop
  40660. nop
  40661. nop
  40662. nop
  40663. nop
  40664. j _INPUT_CAPTURE_5_VECTOR_interrupt
  40665. nop
  40666. nop
  40667. nop
  40668. nop
  40669. nop
  40670. nop
  40671. nop
  40672. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  40673. nop
  40674. nop
  40675. nop
  40676. nop
  40677. nop
  40678. nop
  40679. nop
  40680. j _ADC_VECTOR_interrupt
  40681. nop
  40682. nop
  40683. nop
  40684. nop
  40685. nop
  40686. nop
  40687. nop
  40688. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40689. nop
  40690. nop
  40691. nop
  40692. nop
  40693. nop
  40694. nop
  40695. nop
  40696. j _RTCC_VECTOR_interrupt
  40697. nop
  40698. nop
  40699. nop
  40700. nop
  40701. nop
  40702. nop
  40703. nop
  40704. j _FCE_VECTOR_interrupt
  40705. nop
  40706. nop
  40707. nop
  40708. nop
  40709. nop
  40710. nop
  40711. nop
  40712. j _COMPARATOR_1_VECTOR_interrupt
  40713. nop
  40714. nop
  40715. nop
  40716. nop
  40717. nop
  40718. nop
  40719. nop
  40720. j _COMPARATOR_2_VECTOR_interrupt
  40721. nop
  40722. nop
  40723. nop
  40724. nop
  40725. nop
  40726. nop
  40727. nop
  40728. j _COMPARATOR_3_VECTOR_interrupt
  40729. nop
  40730. nop
  40731. nop
  40732. nop
  40733. nop
  40734. nop
  40735. nop
  40736. j _USB_1_VECTOR_interrupt
  40737. nop
  40738. nop
  40739. nop
  40740. nop
  40741. nop
  40742. nop
  40743. nop
  40744. j _SPI_1_VECTOR_interrupt
  40745. nop
  40746. nop
  40747. nop
  40748. nop
  40749. nop
  40750. nop
  40751. nop
  40752. j _UART_1_VECTOR_interrupt
  40753. nop
  40754. nop
  40755. nop
  40756. nop
  40757. nop
  40758. nop
  40759. nop
  40760. j _I2C_1_VECTOR_interrupt
  40761. nop
  40762. nop
  40763. nop
  40764. nop
  40765. nop
  40766. nop
  40767. nop
  40768. j _CHANGE_NOTICE_VECTOR_interrupt
  40769. nop
  40770. nop
  40771. nop
  40772. nop
  40773. nop
  40774. nop
  40775. nop
  40776. j _PMP_VECTOR_interrupt
  40777. nop
  40778. nop
  40779. nop
  40780. nop
  40781. nop
  40782. nop
  40783. nop
  40784. j _SPI_2_VECTOR_interrupt
  40785. nop
  40786. nop
  40787. nop
  40788. nop
  40789. nop
  40790. nop
  40791. nop
  40792. j _UART_2_VECTOR_interrupt
  40793. nop
  40794. nop
  40795. nop
  40796. nop
  40797. nop
  40798. nop
  40799. nop
  40800. j _I2C_2_VECTOR_interrupt
  40801. nop
  40802. nop
  40803. nop
  40804. nop
  40805. nop
  40806. nop
  40807. nop
  40808. j _CTMU_VECTOR_interrupt
  40809. nop
  40810. nop
  40811. nop
  40812. nop
  40813. nop
  40814. nop
  40815. nop
  40816. j _DMA_0_VECTOR_interrupt
  40817. nop
  40818. nop
  40819. nop
  40820. nop
  40821. nop
  40822. nop
  40823. nop
  40824. j _DMA_1_VECTOR_interrupt
  40825. nop
  40826. nop
  40827. nop
  40828. nop
  40829. nop
  40830. nop
  40831. nop
  40832. j _DMA_2_VECTOR_interrupt
  40833. nop
  40834. nop
  40835. nop
  40836. nop
  40837. nop
  40838. nop
  40839. nop
  40840. j _DMA_3_VECTOR_interrupt
  40841. nop
  40842. nop
  40843. nop
  40844. nop
  40845. nop
  40846. nop
  40847. nop
  40848. .weak _CORE_TIMER_VECTOR_interrupt
  40849. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  40850. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  40851. .weak _EXTERNAL_0_VECTOR_interrupt
  40852. .weak _TIMER_1_VECTOR_interrupt
  40853. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  40854. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  40855. .weak _EXTERNAL_1_VECTOR_interrupt
  40856. .weak _TIMER_2_VECTOR_interrupt
  40857. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  40858. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  40859. .weak _EXTERNAL_2_VECTOR_interrupt
  40860. .weak _TIMER_3_VECTOR_interrupt
  40861. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  40862. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  40863. .weak _EXTERNAL_3_VECTOR_interrupt
  40864. .weak _TIMER_4_VECTOR_interrupt
  40865. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  40866. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  40867. .weak _EXTERNAL_4_VECTOR_interrupt
  40868. .weak _TIMER_5_VECTOR_interrupt
  40869. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  40870. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  40871. .weak _ADC_VECTOR_interrupt
  40872. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40873. .weak _RTCC_VECTOR_interrupt
  40874. .weak _FCE_VECTOR_interrupt
  40875. .weak _COMPARATOR_1_VECTOR_interrupt
  40876. .weak _COMPARATOR_2_VECTOR_interrupt
  40877. .weak _COMPARATOR_3_VECTOR_interrupt
  40878. .weak _USB_1_VECTOR_interrupt
  40879. .weak _SPI_1_VECTOR_interrupt
  40880. .weak _UART_1_VECTOR_interrupt
  40881. .weak _I2C_1_VECTOR_interrupt
  40882. .weak _CHANGE_NOTICE_VECTOR_interrupt
  40883. .weak _PMP_VECTOR_interrupt
  40884. .weak _SPI_2_VECTOR_interrupt
  40885. .weak _UART_2_VECTOR_interrupt
  40886. .weak _I2C_2_VECTOR_interrupt
  40887. .weak _CTMU_VECTOR_interrupt
  40888. .weak _DMA_0_VECTOR_interrupt
  40889. .weak _DMA_1_VECTOR_interrupt
  40890. .weak _DMA_2_VECTOR_interrupt
  40891. .weak _DMA_3_VECTOR_interrupt
  40892. .text
  40893. end;
  40894. end.