aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/pal_lld.c
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2014-10-16 20:59:31 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2014-10-16 20:59:31 +0200
commit0214eb9bccecfee4598c8aa00b5af8c6f053ee31 (patch)
treecaa58710107270d6d0f9f5af104936353cebb17d /os/hal/ports/TIVA/LLD/pal_lld.c
parent6d5f529f2891287e10f51e2738c2d081e558b07f (diff)
downloadChibiOS-Contrib-0214eb9bccecfee4598c8aa00b5af8c6f053ee31.tar.gz
ChibiOS-Contrib-0214eb9bccecfee4598c8aa00b5af8c6f053ee31.tar.bz2
ChibiOS-Contrib-0214eb9bccecfee4598c8aa00b5af8c6f053ee31.zip
Changed some peripheral register structures in tm4c123x.h and tm4c129x.h to reduce the amount of duplicated text.
Updated gpt_lld, i2c_lld, pal_lld, pwm_lld, serial_lld, hal_lld register access to the changed peripheral register structures. Replaced old interrupt numbers from tm4c123x.h and tm4c129x.h in serial_lld.c with the new interrupt number defines from tiva_isr.h.
Diffstat (limited to 'os/hal/ports/TIVA/LLD/pal_lld.c')
-rw-r--r--os/hal/ports/TIVA/LLD/pal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/LLD/pal_lld.c b/os/hal/ports/TIVA/LLD/pal_lld.c
index 657f982..9939331 100644
--- a/os/hal/ports/TIVA/LLD/pal_lld.c
+++ b/os/hal/ports/TIVA/LLD/pal_lld.c
@@ -165,7 +165,7 @@ void gpio_init (GPIO_TypeDef *gpiop, const tiva_gpio_setup_t *config)
*/
void _pal_lld_init(const PALConfig *config)
{
- SYSCTL->RCGCGPIO = RCGCGPIO_VALUE;
+ SYSCTL->RCGC.GPIO = RCGCGPIO_VALUE;
__NOP();
__NOP();