Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
ssc.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) Infineon Technologies AG
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
8  * following conditions are met:
9  *
10  * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11  * disclaimer.
12  *
13  * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
14  * following disclaimer in the documentation and/or other materials provided with the distribution.
15  *
16  * Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
17  * products derived from this software without specific prior written permission.
18  *
19  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24  * WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
25  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  *
27  **********************************************************************************************************************/
43 /*******************************************************************************
44 ** Author(s) Identity **
45 ********************************************************************************
46 ** Initials Name **
47 ** ---------------------------------------------------------------------------**
48 ** DM Daniel Mysliwitz **
49 ** BG Blandine Guillot **
50 ** JO Julia Ott **
51 *******************************************************************************/
52 
53 /*******************************************************************************
54 ** Revision Control History **
55 ********************************************************************************
56 ** V0.1.0: 2019-10-28, DM: Initial version **
57 ** V0.2.0: 2020-04-28, BG: Updated revision history format **
58 ** V0.3.0: 2020-08-26, BG: Added first functions **
59 ** V0.3.1: 2020-09-16, BG: Added interrupt enable/disable functions **
60 ** V0.3.2: 2020-10-21, BG: EP-539: Considered the enable checkbox in CW in **
61 ** the initialization function **
62 ** V0.3.3: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
63 ** avoid doxygen warning **
64 ** Added end of group for doxygen **
65 ** V0.3.4: 2020-11-20, BG: EP-610: Corrected MISRA 2012 errors **
66 ** The following rules are globally deactivated: **
67 ** - Info 774: Boolean within 'if' always evaluates **
68 ** to False/True **
69 ** V0.3.5: 2020-12-18, BG: EP-652: Corrected name of error code variable **
70 ** V0.3.6: 2021-04-06, BG: EP-760: Replaced if instructions to check if the **
71 ** module is enabled with preprocessor directives to**
72 ** avoid compiler warnings **
73 ** V0.3.7: 2021-05-18, JO: EP-818: Corrected name of deprecated functions **
74 ** V0.3.8: 2021-11-12, JO: EP-937: Updated copyright and branding **
75 *******************************************************************************/
76 
77 #ifndef _SSC_H
78 #define _SSC_H
79 
80 /*******************************************************************************
81 ** Includes **
82 *******************************************************************************/
83 
84 #include "types.h"
85 #include "tle989x.h"
86 #include "tle_variants.h"
87 #include "ssc_defines.h"
88 #include "scu_defines.h"
89 
90 /*******************************************************************************
91 ** Global Constant Declarations **
92 *******************************************************************************/
93 
94 /*******************************************************************************
95 ** Global Type Declarations **
96 *******************************************************************************/
97 
98 /*******************************************************************************
99 ** Global Macro Declarations **
100 *******************************************************************************/
101 
102 /*******************************************************************************
103 ** Global Function Declarations **
104 *******************************************************************************/
105 
106 sint8 SSC0_init(void);
107 sint8 SSC1_init(void);
109 INLINE void SSC0_setTXvalue(uint64 u64_TXvalue);
115 INLINE void SSC0_enTXErrInt(void);
116 INLINE void SSC0_enRXErrInt(void);
117 INLINE void SSC0_enPhaseErrInt(void);
118 INLINE void SSC0_enBaudrateErrInt(void);
121 INLINE void SSC0_disTXErrInt(void);
122 INLINE void SSC0_disRXErrInt(void);
123 INLINE void SSC0_disPhaseErrInt(void);
124 INLINE void SSC0_disBaudrateErrInt(void);
133 INLINE void SSC0_clrTXErrIntSts(void);
134 INLINE void SSC0_clrRXErrIntSts(void);
135 INLINE void SSC0_clrPhaseErrIntSts(void);
138 INLINE void SSC1_setTXvalue(uint64 u64_TXvalue);
144 INLINE void SSC1_enTXErrInt(void);
145 INLINE void SSC1_enRXErrInt(void);
146 INLINE void SSC1_enPhaseErrInt(void);
147 INLINE void SSC1_enBaudrateErrInt(void);
150 INLINE void SSC1_disTXErrInt(void);
151 INLINE void SSC1_disRXErrInt(void);
152 INLINE void SSC1_disPhaseErrInt(void);
153 INLINE void SSC1_disBaudrateErrInt(void);
162 INLINE void SSC1_clrTXErrIntSts(void);
163 INLINE void SSC1_clrRXErrIntSts(void);
164 INLINE void SSC1_clrPhaseErrIntSts(void);
166 
167 /*******************************************************************************
168 ** Deprecated Function Declarations **
169 *******************************************************************************/
170 
174 void SSC0_setEmptyTXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
175 
179 void SSC0_setEmptyRXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
180 
184 void SSC0_setTXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
185 
189 void SSC0_setRXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
190 
194 void SSC0_setPhaseErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
195 
199 void SSC0_setBaudrateErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
200 
204 void SSC1_setEmptyTXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
205 
209 void SSC1_setEmptyRXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
210 
214 void SSC1_setTXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
215 
219 void SSC1_setRXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
220 
224 void SSC1_setPhaseErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
225 
229 void SSC1_setBaudrateErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime, use the ConfigWizard to configure this feature!")));
230 
231 /*******************************************************************************
232 ** Global Inline Function Definitions **
233 *******************************************************************************/
234 
240 {
241  uint64 u64_tb1;
242  uint64 u64_tb0;
243  u64_tb1 = (uint64)SSC0->TB1.reg << 32u;
244  u64_tb0 = (uint64)SSC0->TB0.reg;
245  return (u64_tb1 | u64_tb0);
246 }
247 
252 INLINE void SSC0_setTXvalue(uint64 u64_TXvalue)
253 {
254  SSC0->TB1.bit.TB_VALUE_UPPER = (uint32)(u64_TXvalue >> 32u);
255  SSC0->TB0.bit.TB_VALUE_LOWER = (uint32)(u64_TXvalue & 0xFFFFFFFFu);
256 }
257 
263 {
264  uint64 u64_rb1;
265  uint64 u64_rb0;
266  u64_rb1 = (uint64)SSC0->RB1.reg << 32u;
267  u64_rb0 = (uint64)SSC0->RB0.reg;
268  return (u64_rb1 | u64_rb0);
269 }
270 
276 {
277  return (uint8)SSC0->STAT.bit.BC;
278 }
279 
285 {
286  return (uint8)SSC0->STAT.bit.BSY;
287 }
288 
292 {
293  SSC0->IEN.bit.TIREN = 1u;
294 }
295 
299 {
300  SSC0->IEN.bit.RIREN = 1u;
301 }
302 
306 {
307  SSC0->IEN.bit.TEIREN = 1u;
308 }
309 
313 {
314  SSC0->IEN.bit.REIREN = 1u;
315 }
316 
320 {
321  SSC0->IEN.bit.PEIREN = 1u;
322 }
323 
327 {
328  SSC0->IEN.bit.BEIREN = 1u;
329 }
330 
334 {
335  SSC0->IEN.bit.TIREN = 0u;
336 }
337 
341 {
342  SSC0->IEN.bit.RIREN = 0u;
343 }
344 
348 {
349  SSC0->IEN.bit.TEIREN = 0u;
350 }
351 
355 {
356  SSC0->IEN.bit.REIREN = 0u;
357 }
358 
362 {
363  SSC0->IEN.bit.PEIREN = 0u;
364 }
365 
369 {
370  SSC0->IEN.bit.BEIREN = 0u;
371 }
372 
378 {
379  return (uint8)SSC0->IS.bit.TIR;
380 }
381 
387 {
388  return (uint8)SSC0->IS.bit.RIR;
389 }
390 
396 {
397  return (uint8)SSC0->IS.bit.TEIR;
398 }
399 
405 {
406  return (uint8)SSC0->IS.bit.REIR;
407 }
408 
414 {
415  return (uint8)SSC0->IS.bit.PEIR;
416 }
417 
423 {
424  return (uint8)SSC0->IS.bit.BEIR;
425 }
426 
430 {
431  SSC0->ISC.bit.TIRCLR = 1u;
432 }
433 
437 {
438  SSC0->ISC.bit.RIRCLR = 1u;
439 }
440 
444 {
445  SSC0->ISC.bit.TEIRCLR = 1u;
446 }
447 
451 {
452  SSC0->ISC.bit.REIRCLR = 1u;
453 }
454 
458 {
459  SSC0->ISC.bit.PEIRCLR = 1u;
460 }
461 
465 {
466  SSC0->ISC.bit.BEIRCLR = 1u;
467 }
468 
474 {
475  uint64 u64_tb1;
476  uint64 u64_tb0;
477  u64_tb1 = (uint64)SSC1->TB1.reg << 32u;
478  u64_tb0 = (uint64)SSC1->TB0.reg;
479  return (u64_tb1 | u64_tb0);
480 }
481 
486 INLINE void SSC1_setTXvalue(uint64 u64_TXvalue)
487 {
488  SSC1->TB1.bit.TB_VALUE_UPPER = (uint32)(u64_TXvalue >> 32u);
489  SSC1->TB0.bit.TB_VALUE_LOWER = (uint32)(u64_TXvalue & 0xFFFFFFFFu);
490 }
491 
497 {
498  uint64 u64_rb1;
499  uint64 u64_rb0;
500  u64_rb1 = (uint64)SSC1->RB1.reg << 32u;
501  u64_rb0 = (uint64)SSC1->RB0.reg;
502  return (u64_rb1 | u64_rb0);
503 }
504 
510 {
511  return (uint8)SSC1->STAT.bit.BC;
512 }
513 
519 {
520  return (uint8)SSC1->STAT.bit.BSY;
521 }
522 
526 {
527  SSC1->IEN.bit.TIREN = 1u;
528 }
529 
533 {
534  SSC1->IEN.bit.RIREN = 1u;
535 }
536 
540 {
541  SSC1->IEN.bit.TEIREN = 1u;
542 }
543 
547 {
548  SSC1->IEN.bit.REIREN = 1u;
549 }
550 
554 {
555  SSC1->IEN.bit.PEIREN = 1u;
556 }
557 
561 {
562  SSC1->IEN.bit.BEIREN = 1u;
563 }
564 
568 {
569  SSC1->IEN.bit.TIREN = 0u;
570 }
571 
575 {
576  SSC1->IEN.bit.RIREN = 0u;
577 }
578 
582 {
583  SSC1->IEN.bit.TEIREN = 0u;
584 }
585 
589 {
590  SSC1->IEN.bit.REIREN = 0u;
591 }
592 
596 {
597  SSC1->IEN.bit.PEIREN = 0u;
598 }
599 
603 {
604  SSC1->IEN.bit.BEIREN = 0u;
605 }
606 
612 {
613  return (uint8)SSC1->IS.bit.TIR;
614 }
615 
621 {
622  return (uint8)SSC1->IS.bit.RIR;
623 }
624 
630 {
631  return (uint8)SSC1->IS.bit.TEIR;
632 }
633 
639 {
640  return (uint8)SSC1->IS.bit.REIR;
641 }
642 
648 {
649  return (uint8)SSC1->IS.bit.PEIR;
650 }
651 
657 {
658  return (uint8)SSC1->IS.bit.BEIR;
659 }
660 
664 {
665  SSC1->ISC.bit.TIRCLR = 1u;
666 }
667 
671 {
672  SSC1->ISC.bit.RIRCLR = 1u;
673 }
674 
678 {
679  SSC1->ISC.bit.TEIRCLR = 1u;
680 }
681 
685 {
686  SSC1->ISC.bit.REIRCLR = 1u;
687 }
688 
692 {
693  SSC1->ISC.bit.PEIRCLR = 1u;
694 }
695 
699 {
700  SSC1->ISC.bit.BEIRCLR = 1u;
701 }
702 
705 #endif /* _SSC_H */
#define SSC0
Definition: internal/tle989x.h:25615
#define SSC1
Definition: internal/tle989x.h:25616
INLINE void SSC0_enEmptyTXBufferInt(void)
Enable SSC0 Empty Transmit Buffer Interrupt.
Definition: ssc.h:291
INLINE void SSC0_enEmptyRXBufferInt(void)
Enable SSC0 Empty Receive Buffer Interrupt.
Definition: ssc.h:298
INLINE uint8 SSC1_getRXErrIntSts(void)
Get SSC1 Receive Error Interrupt Status SSC1.IS.REIR.
Definition: ssc.h:638
void SSC1_setEmptyRXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 Empty RX Buffer Interrupt Node Pointer.
void SSC1_setPhaseErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 Phase Error Interrupt Node Pointer.
INLINE void SSC0_clrBaudrateErrIntSts(void)
Clear SSC0 Baudrate Error Interrupt Status SSC0.ISC.BEIRCLR.
Definition: ssc.h:464
INLINE void SSC1_clrEmptyTXBufferIntSts(void)
Clear SSC1 Empty Transmit Buffer Interrupt Status SSC1.ISC.TIRCLR.
Definition: ssc.h:663
INLINE void SSC1_enRXErrInt(void)
Enable SSC1 Receive Error Interrupt.
Definition: ssc.h:546
INLINE void SSC0_disEmptyRXBufferInt(void)
Disable SSC0 Empty Receive Buffer Interrupt.
Definition: ssc.h:340
INLINE void SSC0_clrRXErrIntSts(void)
Clear SSC0 Receive Error Interrupt Status SSC0.ISC.REIRCLR.
Definition: ssc.h:450
INLINE void SSC0_disEmptyTXBufferInt(void)
Disable SSC0 Empty Transmit Buffer Interrupt.
Definition: ssc.h:333
INLINE uint8 SSC1_getEmptyTXBufferIntSts(void)
Get SSC1 Empty Transmit Buffer Interrupt Status SSC1.IS.TIR.
Definition: ssc.h:611
INLINE void SSC0_disRXErrInt(void)
Disable SSC0 Receive Error Interrupt.
Definition: ssc.h:354
INLINE uint8 SSC0_getRXErrIntSts(void)
Get SSC0 Receive Error Interrupt Status SSC0.IS.REIR.
Definition: ssc.h:404
INLINE uint8 SSC1_getBusySts(void)
Get SSC1 Busy Status.
Definition: ssc.h:518
INLINE uint64 SSC0_getTXvalue(void)
Get SSC0 Transmit Buffer value.
Definition: ssc.h:239
INLINE void SSC0_disPhaseErrInt(void)
Disable SSC0 Phase Error Interrupt.
Definition: ssc.h:361
void SSC1_setTXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 TX Error Interrupt Node Pointer.
INLINE void SSC0_enBaudrateErrInt(void)
Enable SSC0 Baudrate Error Interrupt.
Definition: ssc.h:326
INLINE void SSC1_disPhaseErrInt(void)
Disable SSC1 Phase Error Interrupt.
Definition: ssc.h:595
INLINE void SSC0_enRXErrInt(void)
Enable SSC0 Receive Error Interrupt.
Definition: ssc.h:312
INLINE void SSC0_clrEmptyTXBufferIntSts(void)
Clear SSC0 Empty Transmit Buffer Interrupt Status SSC0.ISC.TIRCLR.
Definition: ssc.h:429
sint8 SSC0_init(void)
Initialize all CW registers of the SSC0 module.
Definition: ssc.c:59
INLINE void SSC1_clrPhaseErrIntSts(void)
Clear SSC1 Phase Error Interrupt Status SSC1.ISC.PEIRCLR.
Definition: ssc.h:691
INLINE uint8 SSC0_getEmptyTXBufferIntSts(void)
Get SSC0 Empty Transmit Buffer Interrupt Status SSC0.IS.TIR.
Definition: ssc.h:377
INLINE uint8 SSC0_getEmptyRXBufferIntSts(void)
Get SSC0 Empty Receive Buffer Interrupt Status SSC0.IS.RIR.
Definition: ssc.h:386
INLINE uint64 SSC1_getTXvalue(void)
Get SSC1 Transmit Buffer value.
Definition: ssc.h:473
INLINE void SSC0_clrEmptyRXBufferIntSts(void)
Clear SSC0 Empty Receive Buffer Interrupt Status SSC0.ISC.RIRCLR.
Definition: ssc.h:436
INLINE uint64 SSC1_getRXvalue(void)
Get SSC1 Receive Buffer value.
Definition: ssc.h:496
INLINE uint8 SSC1_getBitCnt(void)
Get SSC1 Bit Count.
Definition: ssc.h:509
INLINE void SSC1_clrBaudrateErrIntSts(void)
Clear SSC1 Baudrate Error Interrupt Status SSC1.ISC.BEIRCLR.
Definition: ssc.h:698
INLINE uint8 SSC0_getBitCnt(void)
Get SSC0 Bit Count.
Definition: ssc.h:275
INLINE void SSC1_clrEmptyRXBufferIntSts(void)
Clear SSC1 Empty Receive Buffer Interrupt Status SSC1.ISC.RIRCLR.
Definition: ssc.h:670
INLINE uint8 SSC0_getTXErrIntSts(void)
Get SSC0 Transmit Error Interrupt Status SSC0.IS.TEIR.
Definition: ssc.h:395
void SSC1_setEmptyTXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 Empty TX Buffer Interrupt Node Pointer.
INLINE uint8 SSC1_getPhaseErrIntSts(void)
Get SSC1 Phase Error Interrupt Status SSC1.IS.PEIR.
Definition: ssc.h:647
INLINE void SSC1_clrTXErrIntSts(void)
Clear SSC1 Transmit Error Interrupt Status SSC1.ISC.TEIRCLR.
Definition: ssc.h:677
INLINE void SSC1_disEmptyRXBufferInt(void)
Disable SSC1 Empty Receive Buffer Interrupt.
Definition: ssc.h:574
INLINE void SSC1_enEmptyRXBufferInt(void)
Enable SSC1 Empty Receive Buffer Interrupt.
Definition: ssc.h:532
INLINE uint8 SSC0_getBaudrateErrIntSts(void)
Get SSC0 Baudrate Error Interrupt Status SSC0.IS.BEIR.
Definition: ssc.h:422
INLINE uint8 SSC0_getPhaseErrIntSts(void)
Get SSC0 Phase Error Interrupt Status SSC0.IS.PEIR.
Definition: ssc.h:413
void SSC0_setRXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 RX Error Interrupt Node Pointer.
INLINE void SSC0_clrTXErrIntSts(void)
Clear SSC0 Transmit Error Interrupt Status SSC0.ISC.TEIRCLR.
Definition: ssc.h:443
void SSC0_setBaudrateErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 Baudrate Error Interrupt Node Pointer.
INLINE void SSC1_disBaudrateErrInt(void)
Disable SSC1 Baudrate Error Interrupt.
Definition: ssc.h:602
void SSC1_setRXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 RX Error Interrupt Node Pointer.
INLINE void SSC1_enBaudrateErrInt(void)
Enable SSC1 Baudrate Error Interrupt.
Definition: ssc.h:560
INLINE uint8 SSC1_getTXErrIntSts(void)
Get SSC1 Transmit Error Interrupt Status SSC1.IS.TEIR.
Definition: ssc.h:629
INLINE void SSC0_enPhaseErrInt(void)
Enable SSC0 Phase Error Interrupt.
Definition: ssc.h:319
INLINE void SSC1_clrRXErrIntSts(void)
Clear SSC1 Receive Error Interrupt Status SSC1.ISC.REIRCLR.
Definition: ssc.h:684
INLINE void SSC1_enEmptyTXBufferInt(void)
Enable SSC1 Empty Transmit Buffer Interrupt.
Definition: ssc.h:525
INLINE void SSC0_disBaudrateErrInt(void)
Disable SSC0 Baudrate Error Interrupt.
Definition: ssc.h:368
INLINE uint64 SSC0_getRXvalue(void)
Get SSC0 Receive Buffer value.
Definition: ssc.h:262
void SSC0_setEmptyRXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 Empty RX Buffer Interrupt Node Pointer.
INLINE void SSC1_setTXvalue(uint64 u64_TXvalue)
Set SSC1 Transmit Buffer value.
Definition: ssc.h:486
void SSC1_setBaudrateErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC1 Baudrate Error Interrupt Node Pointer.
INLINE void SSC0_clrPhaseErrIntSts(void)
Clear SSC0 Phase Error Interrupt Status SSC0.ISC.PEIRCLR.
Definition: ssc.h:457
INLINE uint8 SSC1_getBaudrateErrIntSts(void)
Get SSC1 Baudrate Error Interrupt Status SSC1.IS.BEIR.
Definition: ssc.h:656
void SSC0_setPhaseErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 Phase Error Interrupt Node Pointer.
INLINE uint8 SSC0_getBusySts(void)
Get SSC0 Busy Status.
Definition: ssc.h:284
INLINE void SSC0_disTXErrInt(void)
Disable SSC0 Transmit Error Interrupt.
Definition: ssc.h:347
INLINE void SSC0_setTXvalue(uint64 u64_TXvalue)
Set SSC0 Transmit Buffer value.
Definition: ssc.h:252
INLINE void SSC1_disRXErrInt(void)
Disable SSC1 Receive Error Interrupt.
Definition: ssc.h:588
INLINE void SSC1_disEmptyTXBufferInt(void)
Disable SSC1 Empty Transmit Buffer Interrupt.
Definition: ssc.h:567
INLINE void SSC0_enTXErrInt(void)
Enable SSC0 Transmit Error Interrupt.
Definition: ssc.h:305
sint8 SSC1_init(void)
Initialize all CW registers of the SSC1 module.
Definition: ssc.c:77
void SSC0_setEmptyTXBufferIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 Empty TX Buffer Interrupt Node Pointer.
INLINE void SSC1_enPhaseErrInt(void)
Enable SSC1 Phase Error Interrupt.
Definition: ssc.h:553
INLINE uint8 SSC1_getEmptyRXBufferIntSts(void)
Get SSC1 Empty Receive Buffer Interrupt Status SSC1.IS.RIR.
Definition: ssc.h:620
void SSC0_setTXErrIntNodePtr(void) __attribute__((deprecated("Do not change this at runtime
Set SSC0 TX Error Interrupt Node Pointer.
INLINE void SSC1_disTXErrInt(void)
Disable SSC1 Transmit Error Interrupt.
Definition: ssc.h:581
INLINE void SSC1_enTXErrInt(void)
Enable SSC1 Transmit Error Interrupt.
Definition: ssc.h:539
__attribute__((noreturn))
Definition: startup_tle989x.c:221
Device specific memory layout defines and features.
General type declarations.
#define INLINE
Definition: types.h:167
uint8_t uint8
8 bit unsigned value
Definition: types.h:220
int8_t sint8
8 bit signed value
Definition: types.h:225
uint64_t uint64
64 bit unsigned value
Definition: types.h:223
uint32_t uint32
32 bit unsigned value
Definition: types.h:222