MSP430 DriverLib for MSP430FR2xx_4xx Devices  2.91.13.01
sysctl.h
1 //*****************************************************************************
2 //
3 // sysctl.h - Driver for the SYSCTL Module.
4 //
5 //*****************************************************************************
6 
7 #ifndef __MSP430WARE_SYSCTL_H__
8 #define __MSP430WARE_SYSCTL_H__
9 
10 #include "inc/hw_memmap.h"
11 
12 #ifdef __MSP430_HAS_SYS__
13 
14 //*****************************************************************************
15 //
16 // If building with a C++ compiler, make all of the definitions in this header
17 // have a C binding.
18 //
19 //*****************************************************************************
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 //*****************************************************************************
26 //
27 // The following are values that can be passed to the BSLRAMAssignment
28 // parameter for functions: SysCtl_setRAMAssignedToBSL().
29 //
30 //*****************************************************************************
31 #define SYSCTL_BSLRAMASSIGN_NORAM (!(SYSBSLR))
32 #define SYSCTL_BSLRAMASSIGN_LOWEST16BYTES (SYSBSLR)
33 
34 //*****************************************************************************
35 //
36 // The following are values that can be passed to the mailboxSizeSelect
37 // parameter for functions: SysCtl_initJTAGMailbox().
38 //
39 //*****************************************************************************
40 #define SYSCTL_JTAGMBSIZE_16BIT (!(JMBMODE))
41 #define SYSCTL_JTAGMBSIZE_32BIT (JMBMODE)
42 
43 //*****************************************************************************
44 //
45 // The following are values that can be passed to the autoClearInboxFlagSelect
46 // parameter for functions: SysCtl_initJTAGMailbox().
47 //
48 //*****************************************************************************
49 #define SYSCTL_JTAGINBOX0AUTO_JTAGINBOX1AUTO (!(JMBCLR0OFF + JMBCLR1OFF))
50 #define SYSCTL_JTAGINBOX0AUTO_JTAGINBOX1SW (JMBCLR1OFF)
51 #define SYSCTL_JTAGINBOX0SW_JTAGINBOX1AUTO (JMBCLR0OFF)
52 #define SYSCTL_JTAGINBOX0SW_JTAGINBOX1SW (JMBCLR0OFF + JMBCLR1OFF)
53 
54 //*****************************************************************************
55 //
56 // The following are values that can be passed to the mailboxFlagMask parameter
57 // for functions: SysCtl_getJTAGMailboxFlagStatus(), and
58 // SysCtl_clearJTAGMailboxFlagStatus().
59 //
60 //*****************************************************************************
61 #define SYSCTL_JTAGOUTBOX_FLAG0 (JMBOUT0FG)
62 #define SYSCTL_JTAGOUTBOX_FLAG1 (JMBOUT1FG)
63 #define SYSCTL_JTAGINBOX_FLAG0 (JMBIN0FG)
64 #define SYSCTL_JTAGINBOX_FLAG1 (JMBIN1FG)
65 
66 //*****************************************************************************
67 //
68 // The following are values that can be passed to the inboxSelect parameter for
69 // functions: SysCtl_getJTAGInboxMessage16Bit().
70 //
71 //*****************************************************************************
72 #define SYSCTL_JTAGINBOX_0 (0x0)
73 #define SYSCTL_JTAGINBOX_1 (0x2)
74 
75 //*****************************************************************************
76 //
77 // The following are values that can be passed to the outboxSelect parameter
78 // for functions: SysCtl_setJTAGOutgoingMessage16Bit().
79 //
80 //*****************************************************************************
81 #define SYSCTL_JTAGOUTBOX_0 (0x0)
82 #define SYSCTL_JTAGOUTBOX_1 (0x2)
83 
84 //*****************************************************************************
85 //
86 // The following are values that can be passed toThe following are values that
87 // can be returned by the SysCtl_getBSLEntryIndication() function.
88 //
89 //*****************************************************************************
90 #define SYSCTL_BSLENTRY_INDICATED (0x1)
91 #define SYSCTL_BSLENTRY_NOTINDICATED (0x0)
92 
93 //*****************************************************************************
94 //
95 // The following are values that can be passed to the writeEnable parameter for
96 // functions: SysCtl_enableFRAMWrite(); the writeProtect parameter for
97 // functions: SysCtl_protectFRAMWrite().
98 //
99 //*****************************************************************************
100 #define SYSCTL_FRAMWRITEPROTECTION_DATA (0x2)
101 #define SYSCTL_FRAMWRITEPROTECTION_PROGRAM (0x1)
102 
103 //*****************************************************************************
104 //
105 // The following are values that can be passed to the dataSource parameter for
106 // functions: SysCtl_setInfraredConfig().
107 //
108 //*****************************************************************************
109 #define SYSCTL_INFRAREDDATASOURCE_CONFIG (0x0)
110 #define SYSCTL_INFRAREDDATASOURCE_IRDATA (IRDSSEL)
111 
112 //*****************************************************************************
113 //
114 // The following are values that can be passed to the mode parameter for
115 // functions: SysCtl_setInfraredConfig().
116 //
117 //*****************************************************************************
118 #define SYSCTL_INFRAREDMODE_ASK (0x0)
119 #define SYSCTL_INFRAREDMODE_FSK (IRMSEL)
120 
121 //*****************************************************************************
122 //
123 // The following are values that can be passed to the polarity parameter for
124 // functions: SysCtl_setInfraredConfig().
125 //
126 //*****************************************************************************
127 #define SYSCTL_INFRAREDPOLARITY_NORMAL (0x0)
128 #define SYSCTL_INFRAREDPOLARITY_INVERTED (IRPSEL)
129 
130 //*****************************************************************************
131 //
132 // The following are values that can be passed to the offsetAddress parameter
133 // for functions: SysCtl_setFRWPOA().
134 //
135 //*****************************************************************************
136 #define SYSCTL_FRWPOA0 FRWPOA0
137 #define SYSCTL_FRWPOA1 FRWPOA1
138 #define SYSCTL_FRWPOA2 FRWPOA2
139 #define SYSCTL_FRWPOA3 FRWPOA3
140 #define SYSCTL_FRWPOA4 FRWPOA4
141 #define SYSCTL_FRWPOA5 FRWPOA5
142 
143 //*****************************************************************************
144 //
145 // Prototypes for the APIs.
146 //
147 //*****************************************************************************
148 
149 //*****************************************************************************
150 //
151 //! \brief Sets the JTAG pins to be exclusively for JTAG until a BOR occurs.
152 //!
153 //! This function sets the JTAG pins to be exclusively used for the JTAG, and
154 //! not to be shared with the GPIO pins. This setting can only be cleared when
155 //! a BOR occurs.
156 //!
157 //!
158 //! \return None
159 //
160 //*****************************************************************************
161 extern void SysCtl_enableDedicatedJTAGPins(void);
162 
163 //*****************************************************************************
164 //
165 //! \brief Returns the indication of a BSL entry sequence from the Spy-Bi-Wire.
166 //!
167 //! This function returns the indication of a BSL entry sequence from the Spy-
168 //! Bi-Wire.
169 //!
170 //!
171 //! \return One of the following:
172 //! - \b SYSCTL_BSLENTRY_INDICATED
173 //! - \b SYSCTL_BSLENTRY_NOTINDICATED
174 //! \n indicating if a BSL entry sequence was detected
175 //
176 //*****************************************************************************
177 extern uint8_t SysCtl_getBSLEntryIndication(void);
178 
179 //*****************************************************************************
180 //
181 //! \brief Enables PMM Access Protection.
182 //!
183 //! This function enables the PMM Access Protection, which will lock any
184 //! changes on the PMM control registers until a BOR occurs.
185 //!
186 //!
187 //! \return None
188 //
189 //*****************************************************************************
190 extern void SysCtl_enablePMMAccessProtect(void);
191 
192 //*****************************************************************************
193 //
194 //! \brief Enables RAM-based Interrupt Vectors.
195 //!
196 //! This function enables RAM-base Interrupt Vectors, which means that
197 //! interrupt vectors are generated with the end address at the top of RAM,
198 //! instead of the top of the lower 64kB of flash.
199 //!
200 //!
201 //! \return None
202 //
203 //*****************************************************************************
204 extern void SysCtl_enableRAMBasedInterruptVectors(void);
205 
206 //*****************************************************************************
207 //
208 //! \brief Disables RAM-based Interrupt Vectors.
209 //!
210 //! This function disables the interrupt vectors from being generated at the
211 //! top of the RAM.
212 //!
213 //!
214 //! \return None
215 //
216 //*****************************************************************************
218 
219 //*****************************************************************************
220 //
221 //! \brief Enables BSL memory protection.
222 //!
223 //! This function enables protection on the BSL memory, which prevents any
224 //! reading, programming, or erasing of the BSL memory.
225 //!
226 //!
227 //! \return None
228 //
229 //*****************************************************************************
230 extern void SysCtl_enableBSLProtect(void);
231 
232 //*****************************************************************************
233 //
234 //! \brief Disables BSL memory protection.
235 //!
236 //! This function disables protection on the BSL memory.
237 //!
238 //!
239 //! \return None
240 //
241 //*****************************************************************************
242 extern void SysCtl_disableBSLProtect(void);
243 
244 //*****************************************************************************
245 //
246 //! \brief Enables BSL memory.
247 //!
248 //! This function enables BSL memory, which allows BSL memory to be addressed
249 //!
250 //!
251 //! \return None
252 //
253 //*****************************************************************************
254 extern void SysCtl_enableBSLMemory(void);
255 
256 //*****************************************************************************
257 //
258 //! \brief Disables BSL memory.
259 //!
260 //! This function disables BSL memory, which makes BSL memory act like vacant
261 //! memory.
262 //!
263 //!
264 //! \return None
265 //
266 //*****************************************************************************
267 extern void SysCtl_disableBSLMemory(void);
268 
269 //*****************************************************************************
270 //
271 //! \brief Sets RAM assignment to BSL area.
272 //!
273 //! This function allows RAM to be assigned to BSL, based on the selection of
274 //! the BSLRAMAssignment parameter.
275 //!
276 //! \param BSLRAMAssignment is the selection of if the BSL should be placed in
277 //! RAM or not.
278 //! Valid values are:
279 //! - \b SYSCTL_BSLRAMASSIGN_NORAM [Default]
280 //! - \b SYSCTL_BSLRAMASSIGN_LOWEST16BYTES
281 //! \n Modified bits are \b SYSBSLR of \b SYSBSLC register.
282 //!
283 //! \return None
284 //
285 //*****************************************************************************
286 extern void SysCtl_setRAMAssignedToBSL(uint8_t BSLRAMAssignment);
287 
288 //*****************************************************************************
289 //
290 //! \brief Initializes JTAG Mailbox with selected properties.
291 //!
292 //! This function sets the specified settings for the JTAG Mailbox system. The
293 //! settings that can be set are the size of the JTAG messages, and the auto-
294 //! clearing of the inbox flags. If the inbox flags are set to auto-clear, then
295 //! the inbox flags will be cleared upon reading of the inbox message buffer,
296 //! otherwise they will have to be reset by software using the
297 //! SYS_clearJTAGMailboxFlagStatus() function.
298 //!
299 //! \param mailboxSizeSelect is the size of the JTAG Mailboxes, whether 16- or
300 //! 32-bits.
301 //! Valid values are:
302 //! - \b SYSCTL_JTAGMBSIZE_16BIT [Default] - the JTAG messages will take
303 //! up only one JTAG mailbox (i. e. an outgoing message will take up
304 //! only 1 outbox of the JTAG mailboxes)
305 //! - \b SYSCTL_JTAGMBSIZE_32BIT - the JTAG messages will be contained
306 //! within both JTAG mailboxes (i. e. an outgoing message will take
307 //! up both Outboxes of the JTAG mailboxes)
308 //! \n Modified bits are \b JMBMODE of \b SYSJMBC register.
309 //! \param autoClearInboxFlagSelect decides how the JTAG inbox flags should be
310 //! cleared, whether automatically after the corresponding outbox has
311 //! been written to, or manually by software.
312 //! Valid values are:
313 //! - \b SYSCTL_JTAGINBOX0AUTO_JTAGINBOX1AUTO [Default] - both JTAG
314 //! inbox flags will be reset automatically when the corresponding
315 //! inbox is read from.
316 //! - \b SYSCTL_JTAGINBOX0AUTO_JTAGINBOX1SW - only JTAG inbox 0 flag is
317 //! reset automatically, while JTAG inbox 1 is reset with the
318 //! - \b SYSCTL_JTAGINBOX0SW_JTAGINBOX1AUTO - only JTAG inbox 1 flag is
319 //! reset automatically, while JTAG inbox 0 is reset with the
320 //! - \b SYSCTL_JTAGINBOX0SW_JTAGINBOX1SW - both JTAG inbox flags will
321 //! need to be reset manually by the
322 //! \n Modified bits are \b JMBCLR0OFF and \b JMBCLR1OFF of \b SYSJMBC
323 //! register.
324 //!
325 //! \return None
326 //
327 //*****************************************************************************
328 extern void SysCtl_initJTAGMailbox(uint8_t mailboxSizeSelect,
329  uint8_t autoClearInboxFlagSelect);
330 
331 //*****************************************************************************
332 //
333 //! \brief Returns the status of the selected JTAG Mailbox flags.
334 //!
335 //! This function will return the status of the selected JTAG Mailbox flags in
336 //! bit mask format matching that passed into the mailboxFlagMask parameter.
337 //!
338 //! \param mailboxFlagMask is the bit mask of JTAG mailbox flags that the
339 //! status of should be returned.
340 //! Mask value is the logical OR of any of the following:
341 //! - \b SYSCTL_JTAGOUTBOX_FLAG0 - flag for JTAG outbox 0
342 //! - \b SYSCTL_JTAGOUTBOX_FLAG1 - flag for JTAG outbox 1
343 //! - \b SYSCTL_JTAGINBOX_FLAG0 - flag for JTAG inbox 0
344 //! - \b SYSCTL_JTAGINBOX_FLAG1 - flag for JTAG inbox 1
345 //!
346 //! \return A bit mask of the status of the selected mailbox flags.
347 //
348 //*****************************************************************************
349 extern uint8_t SysCtl_getJTAGMailboxFlagStatus(uint8_t mailboxFlagMask);
350 
351 //*****************************************************************************
352 //
353 //! \brief Clears the status of the selected JTAG Mailbox flags.
354 //!
355 //! This function clears the selected JTAG Mailbox flags.
356 //!
357 //! \param mailboxFlagMask is the bit mask of JTAG mailbox flags that the
358 //! status of should be cleared.
359 //! Mask value is the logical OR of any of the following:
360 //! - \b SYSCTL_JTAGOUTBOX_FLAG0 - flag for JTAG outbox 0
361 //! - \b SYSCTL_JTAGOUTBOX_FLAG1 - flag for JTAG outbox 1
362 //! - \b SYSCTL_JTAGINBOX_FLAG0 - flag for JTAG inbox 0
363 //! - \b SYSCTL_JTAGINBOX_FLAG1 - flag for JTAG inbox 1
364 //!
365 //! \return None
366 //
367 //*****************************************************************************
368 extern void SysCtl_clearJTAGMailboxFlagStatus(uint8_t mailboxFlagMask);
369 
370 //*****************************************************************************
371 //
372 //! \brief Returns the contents of the selected JTAG Inbox in a 16 bit format.
373 //!
374 //! This function returns the message contents of the selected JTAG inbox. If
375 //! the auto clear settings for the Inbox flags were set, then using this
376 //! function will automatically clear the corresponding JTAG inbox flag.
377 //!
378 //! \param inboxSelect is the chosen JTAG inbox that the contents of should be
379 //! returned
380 //! Valid values are:
381 //! - \b SYSCTL_JTAGINBOX_0 - return contents of JTAG inbox 0
382 //! - \b SYSCTL_JTAGINBOX_1 - return contents of JTAG inbox 1
383 //!
384 //! \return The contents of the selected JTAG inbox in a 16 bit format.
385 //
386 //*****************************************************************************
387 extern uint16_t SysCtl_getJTAGInboxMessage16Bit(uint8_t inboxSelect);
388 
389 //*****************************************************************************
390 //
391 //! \brief Returns the contents of JTAG Inboxes in a 32 bit format.
392 //!
393 //! This function returns the message contents of both JTAG inboxes in a 32 bit
394 //! format. This function should be used if 32-bit messaging has been set in
395 //! the SYS_initJTAGMailbox() function. If the auto clear settings for the
396 //! Inbox flags were set, then using this function will automatically clear
397 //! both JTAG inbox flags.
398 //!
399 //!
400 //! \return The contents of both JTAG messages in a 32 bit format.
401 //
402 //*****************************************************************************
403 extern uint32_t SysCtl_getJTAGInboxMessage32Bit(void);
404 
405 //*****************************************************************************
406 //
407 //! \brief Sets a 16 bit outgoing message in to the selected JTAG Outbox.
408 //!
409 //! This function sets the outgoing message in the selected JTAG outbox. The
410 //! corresponding JTAG outbox flag is cleared after this function, and set
411 //! after the JTAG has read the message.
412 //!
413 //! \param outboxSelect is the chosen JTAG outbox that the message should be
414 //! set it.
415 //! Valid values are:
416 //! - \b SYSCTL_JTAGOUTBOX_0 - set the contents of JTAG outbox 0
417 //! - \b SYSCTL_JTAGOUTBOX_1 - set the contents of JTAG outbox 1
418 //! \param outgoingMessage is the message to send to the JTAG.
419 //! \n Modified bits are \b MSGHI and \b MSGLO of \b SYSJMBOx register.
420 //!
421 //! \return None
422 //
423 //*****************************************************************************
424 extern void SysCtl_setJTAGOutgoingMessage16Bit(uint8_t outboxSelect,
425  uint16_t outgoingMessage);
426 
427 //*****************************************************************************
428 //
429 //! \brief Sets a 32 bit message in to both JTAG Outboxes.
430 //!
431 //! This function sets the 32-bit outgoing message in both JTAG outboxes. The
432 //! JTAG outbox flags are cleared after this function, and set after the JTAG
433 //! has read the message.
434 //!
435 //! \param outgoingMessage is the message to send to the JTAG.
436 //! \n Modified bits are \b MSGHI and \b MSGLO of \b SYSJMBOx register.
437 //!
438 //! \return None
439 //
440 //*****************************************************************************
441 extern void SysCtl_setJTAGOutgoingMessage32Bit(uint32_t outgoingMessage);
442 
443 //*****************************************************************************
444 //
445 //! \brief Sets write protected for data FRAM and program FRAM.
446 //!
447 //! \param writeProtect is the value setting data FRAM and program write
448 //! protection.
449 //! Mask value is the logical OR of any of the following:
450 //! - \b SYSCTL_FRAMWRITEPROTECTION_DATA - data FRAM write protected
451 //! - \b SYSCTL_FRAMWRITEPROTECTION_PROGRAM - program FRAM write
452 //! protected
453 //!
454 //! \return None
455 //
456 //*****************************************************************************
457 extern void SysCtl_protectFRAMWrite(uint8_t writeProtect);
458 
459 //*****************************************************************************
460 //
461 //! \brief Sets write enable for data FRAM and program FRAM.
462 //!
463 //! \param writeEnable is the value setting data FRAM and program write
464 //! enabled.
465 //! Mask value is the logical OR of any of the following:
466 //! - \b SYSCTL_FRAMWRITEPROTECTION_DATA - data FRAM write protected
467 //! - \b SYSCTL_FRAMWRITEPROTECTION_PROGRAM - program FRAM write
468 //! protected
469 //!
470 //! \return None
471 //
472 //*****************************************************************************
473 extern void SysCtl_enableFRAMWrite(uint8_t writeEnable);
474 
475 //*****************************************************************************
476 //
477 //! \brief Sets infrared configuration bits.
478 //!
479 //! \param dataSource is the value setting infrared data source.
480 //! Valid values are:
481 //! - \b SYSCTL_INFRAREDDATASOURCE_CONFIG - infrared data from hardware
482 //! peripherals upon device configuration
483 //! - \b SYSCTL_INFRAREDDATASOURCE_IRDATA - infrared data from IRDATA
484 //! bit
485 //! \param mode is the value setting infrared mode.
486 //! Valid values are:
487 //! - \b SYSCTL_INFRAREDMODE_ASK - infrared ASK mode
488 //! - \b SYSCTL_INFRAREDMODE_FSK - infrared FSK mode
489 //! \param polarity is the value setting infrared polarity.
490 //! Valid values are:
491 //! - \b SYSCTL_INFRAREDPOLARITY_NORMAL - infrared normal polarity
492 //! - \b SYSCTL_INFRAREDPOLARITY_INVERTED - infrared inverted polarity
493 //!
494 //! \return None
495 //
496 //*****************************************************************************
497 extern void SysCtl_setInfraredConfig(uint8_t dataSource,
498  uint8_t mode,
499  uint8_t polarity);
500 
501 //*****************************************************************************
502 //
503 //! \brief Enables infrared function.
504 //!
505 //!
506 //! \return None
507 //
508 //*****************************************************************************
509 extern void SysCtl_enableInfrared(void);
510 
511 //*****************************************************************************
512 //
513 //! \brief Disables infrared function.
514 //!
515 //!
516 //! \return None
517 //
518 //*****************************************************************************
519 extern void SysCtl_disableInfrared(void);
520 
521 //*****************************************************************************
522 //
523 //! \brief This function returns the infrared data if the infrared data source
524 //! is configured as from IRDATA bit.
525 //!
526 //!
527 //! \return the infrared logic data '0' or '1'
528 //
529 //*****************************************************************************
530 extern uint8_t SysCtl_getInfraredData(void);
531 
532 //*****************************************************************************
533 //
534 //! \brief This function sets the Program FRAM write protection offset address
535 //! from the beginning of Program FRAM. The offset increases by 1 kB
536 //! resolution.
537 //!
538 //! \param offsetAddress is the Program FRAM write protection offset address
539 //! from the beginning of Program FRAM, with offset increases of 1KB
540 //! resolution.
541 //! Mask value is the logical OR of any of the following:
542 //! - \b SYSCTL_FRWPOA0
543 //! - \b SYSCTL_FRWPOA1
544 //! - \b SYSCTL_FRWPOA2
545 //! - \b SYSCTL_FRWPOA3
546 //! - \b SYSCTL_FRWPOA4
547 //! - \b SYSCTL_FRWPOA5
548 //!
549 //! \return None
550 //
551 //*****************************************************************************
552 extern void SysCtl_setFRWPOA(uint8_t offsetAddress);
553 
554 //*****************************************************************************
555 //
556 // Mark the end of the C bindings section for C++ compilers.
557 //
558 //*****************************************************************************
559 #ifdef __cplusplus
560 }
561 #endif
562 
563 #endif
564 #endif // __MSP430WARE_SYSCTL_H__
void SysCtl_enableFRAMWrite(uint8_t writeEnable)
Sets write enable for data FRAM and program FRAM.
Definition: sysctl.c:135
void SysCtl_disableBSLProtect(void)
Disables BSL memory protection.
Definition: sysctl.c:55
uint8_t SysCtl_getInfraredData(void)
This function returns the infrared data if the infrared data source is configured as from IRDATA bit...
Definition: sysctl.c:168
void SysCtl_setJTAGOutgoingMessage16Bit(uint8_t outboxSelect, uint16_t outgoingMessage)
Sets a 16 bit outgoing message in to the selected JTAG Outbox.
Definition: sysctl.c:107
void SysCtl_enableRAMBasedInterruptVectors(void)
Enables RAM-based Interrupt Vectors.
Definition: sysctl.c:40
void SysCtl_enableBSLMemory(void)
Enables BSL memory.
Definition: sysctl.c:60
uint16_t SysCtl_getJTAGInboxMessage16Bit(uint8_t inboxSelect)
Returns the contents of the selected JTAG Inbox in a 16 bit format.
Definition: sysctl.c:94
void SysCtl_enableBSLProtect(void)
Enables BSL memory protection.
Definition: sysctl.c:50
void SysCtl_setRAMAssignedToBSL(uint8_t BSLRAMAssignment)
Sets RAM assignment to BSL area.
Definition: sysctl.c:70
void SysCtl_setInfraredConfig(uint8_t dataSource, uint8_t mode, uint8_t polarity)
Sets infrared configuration bits.
Definition: sysctl.c:151
uint8_t SysCtl_getBSLEntryIndication(void)
Returns the indication of a BSL entry sequence from the Spy-Bi-Wire.
Definition: sysctl.c:26
void SysCtl_setJTAGOutgoingMessage32Bit(uint32_t outgoingMessage)
Sets a 32 bit message in to both JTAG Outboxes.
Definition: sysctl.c:113
void SysCtl_enableInfrared(void)
Enables infrared function.
Definition: sysctl.c:158
void SysCtl_disableRAMBasedInterruptVectors(void)
Disables RAM-based Interrupt Vectors.
Definition: sysctl.c:45
void SysCtl_protectFRAMWrite(uint8_t writeProtect)
Sets write protected for data FRAM and program FRAM.
Definition: sysctl.c:119
void SysCtl_enablePMMAccessProtect(void)
Enables PMM Access Protection.
Definition: sysctl.c:35
void SysCtl_clearJTAGMailboxFlagStatus(uint8_t mailboxFlagMask)
Clears the status of the selected JTAG Mailbox flags.
Definition: sysctl.c:89
void SysCtl_enableDedicatedJTAGPins(void)
Sets the JTAG pins to be exclusively for JTAG until a BOR occurs.
Definition: sysctl.c:21
uint8_t SysCtl_getJTAGMailboxFlagStatus(uint8_t mailboxFlagMask)
Returns the status of the selected JTAG Mailbox flags.
Definition: sysctl.c:84
void SysCtl_setFRWPOA(uint8_t offsetAddress)
This function sets the Program FRAM write protection offset address from the beginning of Program FRA...
Definition: sysctl.c:173
void SysCtl_disableInfrared(void)
Disables infrared function.
Definition: sysctl.c:163
void SysCtl_initJTAGMailbox(uint8_t mailboxSizeSelect, uint8_t autoClearInboxFlagSelect)
Initializes JTAG Mailbox with selected properties.
Definition: sysctl.c:76
uint32_t SysCtl_getJTAGInboxMessage32Bit(void)
Returns the contents of JTAG Inboxes in a 32 bit format.
Definition: sysctl.c:99
void SysCtl_disableBSLMemory(void)
Disables BSL memory.
Definition: sysctl.c:65

Copyright 2020, Texas Instruments Incorporated