Functions | |
void | SysCtl_enableDedicatedJTAGPins (void) |
Sets the JTAG pins to be exclusively for JTAG until a BOR occurs. More... | |
uint8_t | SysCtl_getBSLEntryIndication (void) |
Returns the indication of a BSL entry sequence from the Spy-Bi-Wire. More... | |
void | SysCtl_enablePMMAccessProtect (void) |
Enables PMM Access Protection. More... | |
void | SysCtl_enableRAMBasedInterruptVectors (void) |
Enables RAM-based Interrupt Vectors. More... | |
void | SysCtl_disableRAMBasedInterruptVectors (void) |
Disables RAM-based Interrupt Vectors. More... | |
void | SysCtl_initJTAGMailbox (uint8_t mailboxSizeSelect, uint8_t autoClearInboxFlagSelect) |
Initializes JTAG Mailbox with selected properties. More... | |
uint8_t | SysCtl_getJTAGMailboxFlagStatus (uint8_t mailboxFlagMask) |
Returns the status of the selected JTAG Mailbox flags. More... | |
void | SysCtl_clearJTAGMailboxFlagStatus (uint8_t mailboxFlagMask) |
Clears the status of the selected JTAG Mailbox flags. More... | |
uint16_t | SysCtl_getJTAGInboxMessage16Bit (uint8_t inboxSelect) |
Returns the contents of the selected JTAG Inbox in a 16 bit format. More... | |
uint32_t | SysCtl_getJTAGInboxMessage32Bit (void) |
Returns the contents of JTAG Inboxes in a 32 bit format. More... | |
void | SysCtl_setJTAGOutgoingMessage16Bit (uint8_t outboxSelect, uint16_t outgoingMessage) |
Sets a 16 bit outgoing message in to the selected JTAG Outbox. More... | |
void | SysCtl_setJTAGOutgoingMessage32Bit (uint32_t outgoingMessage) |
Sets a 32 bit message in to both JTAG Outboxes. More... | |
void SysCtl_clearJTAGMailboxFlagStatus | ( | uint8_t | mailboxFlagMask | ) |
Clears the status of the selected JTAG Mailbox flags.
This function clears the selected JTAG Mailbox flags.
mailboxFlagMask | is the bit mask of JTAG mailbox flags that the status of should be cleared. Mask value is the logical OR of any of the following:
|
void SysCtl_disableRAMBasedInterruptVectors | ( | void | ) |
Disables RAM-based Interrupt Vectors.
This function disables the interrupt vectors from being generated at the top of the RAM.
void SysCtl_enableDedicatedJTAGPins | ( | void | ) |
Sets the JTAG pins to be exclusively for JTAG until a BOR occurs.
This function sets the JTAG pins to be exclusively used for the JTAG, and not to be shared with the GPIO pins. This setting can only be cleared when a BOR occurs.
void SysCtl_enablePMMAccessProtect | ( | void | ) |
Enables PMM Access Protection.
This function enables the PMM Access Protection, which will lock any changes on the PMM control registers until a BOR occurs.
void SysCtl_enableRAMBasedInterruptVectors | ( | void | ) |
Enables RAM-based Interrupt Vectors.
This function enables RAM-base Interrupt Vectors, which means that interrupt vectors are generated with the end address at the top of RAM, instead of the top of the lower 64kB of flash.
uint8_t SysCtl_getBSLEntryIndication | ( | void | ) |
Returns the indication of a BSL entry sequence from the Spy-Bi-Wire.
This function returns the indication of a BSL entry sequence from the Spy- Bi-Wire.
uint16_t SysCtl_getJTAGInboxMessage16Bit | ( | uint8_t | inboxSelect | ) |
Returns the contents of the selected JTAG Inbox in a 16 bit format.
This function returns the message contents of the selected JTAG inbox. If the auto clear settings for the Inbox flags were set, then using this function will automatically clear the corresponding JTAG inbox flag.
inboxSelect | is the chosen JTAG inbox that the contents of should be returned Valid values are:
|
uint32_t SysCtl_getJTAGInboxMessage32Bit | ( | void | ) |
Returns the contents of JTAG Inboxes in a 32 bit format.
This function returns the message contents of both JTAG inboxes in a 32 bit format. This function should be used if 32-bit messaging has been set in the SYS_initJTAGMailbox() function. If the auto clear settings for the Inbox flags were set, then using this function will automatically clear both JTAG inbox flags.
uint8_t SysCtl_getJTAGMailboxFlagStatus | ( | uint8_t | mailboxFlagMask | ) |
Returns the status of the selected JTAG Mailbox flags.
This function will return the status of the selected JTAG Mailbox flags in bit mask format matching that passed into the mailboxFlagMask parameter.
mailboxFlagMask | is the bit mask of JTAG mailbox flags that the status of should be returned. Mask value is the logical OR of any of the following:
|
void SysCtl_initJTAGMailbox | ( | uint8_t | mailboxSizeSelect, |
uint8_t | autoClearInboxFlagSelect | ||
) |
Initializes JTAG Mailbox with selected properties.
This function sets the specified settings for the JTAG Mailbox system. The settings that can be set are the size of the JTAG messages, and the auto- clearing of the inbox flags. If the inbox flags are set to auto-clear, then the inbox flags will be cleared upon reading of the inbox message buffer, otherwise they will have to be reset by software using the SYS_clearJTAGMailboxFlagStatus() function.
mailboxSizeSelect | is the size of the JTAG Mailboxes, whether 16- or 32-bits. Valid values are:
|
autoClearInboxFlagSelect | decides how the JTAG inbox flags should be cleared, whether automatically after the corresponding outbox has been written to, or manually by software. Valid values are:
|
void SysCtl_setJTAGOutgoingMessage16Bit | ( | uint8_t | outboxSelect, |
uint16_t | outgoingMessage | ||
) |
Sets a 16 bit outgoing message in to the selected JTAG Outbox.
This function sets the outgoing message in the selected JTAG outbox. The corresponding JTAG outbox flag is cleared after this function, and set after the JTAG has read the message.
outboxSelect | is the chosen JTAG outbox that the message should be set it. Valid values are:
|
outgoingMessage | is the message to send to the JTAG. Modified bits are MSGHI and MSGLO of SYSJMBOx register. |
void SysCtl_setJTAGOutgoingMessage32Bit | ( | uint32_t | outgoingMessage | ) |
Sets a 32 bit message in to both JTAG Outboxes.
This function sets the 32-bit outgoing message in both JTAG outboxes. The JTAG outbox flags are cleared after this function, and set after the JTAG has read the message.
outgoingMessage | is the message to send to the JTAG. Modified bits are MSGHI and MSGLO of SYSJMBOx register. |